InternetRadio - GREEN button issues

  • Hi,


    • GSOD when switching filterlist Countries/Genre
    • GREEN text in different lists


    When pushing GREEN twice it will make an GSOD.


    Code
    Traceback (most recent call last):
      File "/usr/lib/enigma2/python/enigma.py", line 7824, in __call__
        return ret(*args, **kwargs)
      File "/usr/lib/enigma2/python/Components/ActionMap.py", line 63, in action
        res = self.actions[action]()
      File "/usr/lib/enigma2/python/Plugins/Extensions/InternetRadio/InternetRadioScreen.py", line 560, in green_pressed
        config.plugins.internetradio.filter.value = self.filterSwitch[config.plugins.internetradio.filter.value]
    KeyError: 'Countries'


    Have studied InternetRadioScreen.py and it seem that "removing" (make workaround) some _() regarding config.plugins.internetradio.filter.value fixes the problem.


    I also find that the GREEN button "status" text ("Countries" / "Genres") is misleading from what you see on screen when GREEN and OK are used in different lists.


    This is my code that seems to solve this problem. Be nice with me, it is only a suggestion for what I think it should work like. It may be done more pretty for experts...