Channel numbers in the radio EPG (1 Viewer)

CyberSimian

Test Group
  • Team MediaPortal
  • June 10, 2013
    3,069
    1,924
    Southampton
    Home Country
    United Kingdom United Kingdom
    In "MP Config" the following setting enables the display of channel numbers in the TV EPG:

    tv_settings_3.jpg

    But there is no equivalent setting in "MP Config" for the radio EPG. However, the ability to display channel numbers in the radio EPG does exist, it is simply not externalised in "MP Config".

    To display channel numbers in the radio EPG, you must edit "MediaPortal.xml" and add the following line to the "myradio" section:

    Code:
    <entry name="showchannelnumber">yes</entry>

    There is a second configuration setting that is supported in the radio EPG, but which is not externalised in "MP Config", namely "Select channel by index". If you want to select radio channels by channel number, add the following line to the "myradio" section in "MP Config":

    Code:
    <entry name="byindex">no</entry>

    -- from CyberSimian in the UK
     

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    3,069
    1,924
    Southampton
    Home Country
    United Kingdom United Kingdom
    And then, what would you like ?
    TV blue surrounded inside radio settings ?
    Your blue rectangle prompted me to look again at the code, and I see that there is a third setting that is already implemented in the radio guide, but which is missing from "MP Config", namely "channelnumbermaxlength" (see the "LoadSettings()" function in "RadioGuideBase.cs", starting around line 170).

    The built-in default for this setting for the radio guide is "3", which happens to be the maximum length of DVB-T radio channel numbers in the UK, and is why I had never noticed before that this setting was missing from "MP Config".

    If it is straightforward to add these three settings to "MP Config", it would seem sensible to do so. (y) :)

    -- from CyberSimian in the UK
     

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    6,164
    2,235
    South of France
    Home Country
    France France
    OK, here we are. :)
    Please put config.exe in MP progfiles folder (backup the older before).
    Note that I have tested setting saved in MP.xml but, since I changed Internet provider, I don't have radio anymore then, I have not tested the "client" sutff.

    Please, let me know if OK. ;)
     

    Attachments

    • Configuration.rar
      1.8 MB

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    3,069
    1,924
    Southampton
    Home Country
    United Kingdom United Kingdom
    Please put config.exe in MP progfiles folder (backup the older before).
    I installed the new EXE on my MP 1.36 64-bit system (Win 10 laptop), and... it works fine. (y) :)

    radio_epg_settings.jpg

    Thank you for making this change :). I hope that it will be included in the next release.

    -- from CyberSimian in the UK
     

    Users who are viewing this thread

    Top Bottom