FYI https://github.com/O...b62d3cf9923eb3f (resolved... but you might get it still just once due the so called chicken/egg syndrome).
+ https://github.com/O...c8271fbfa4f0b86
Edited by littlesat, 10 December 2024 - 08:44.
Posted 10 December 2024 - 08:38
FYI https://github.com/O...b62d3cf9923eb3f (resolved... but you might get it still just once due the so called chicken/egg syndrome).
+ https://github.com/O...c8271fbfa4f0b86
Edited by littlesat, 10 December 2024 - 08:44.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 10 December 2024 - 08:48
I would choose the other way to fix it:
config.usage.setupShowDefault = ConfigSelection(default="", choices=[ ("", _("Don't show default")),
Because this is the way it's done with ALL settings. (when a value is the default, there's no need to save it in the settings file)
Edited by Stan, 10 December 2024 - 08:52.
Posted 10 December 2024 - 09:12
I advise you never to use an empty value.
It can cause potential problems.
Empty value example:
config.usage.show_second_infobar = ConfigSelection(default="0", choices=[("", _("None"))] + choicelist + [("EPG", _("EPG"))])
https://github.com/O...geConfig.py#L87
Edited by Dimitrij, 10 December 2024 - 09:15.
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Posted 10 December 2024 - 09:29
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 10 December 2024 - 09:52
maybe need
and config.usage.show_second_infobar.value not in ("no", "EPG")
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Posted 10 December 2024 - 10:01
Using
config.usage.setupShowDefault = ConfigSelection(default="", choices=[ ("", _("Don't show default")),should not be problematic. Problematic is only with loading from settings.
Why woult it be problematic? If it's the default, it is not stored in settings,right?
Edited by Stan, 10 December 2024 - 10:05.
Posted 10 December 2024 - 10:09
Using
config.usage.setupShowDefault = ConfigSelection(default="", choices=[ ("", _("Don't show default")),should not be problematic. Problematic is only with loading from settings.
Why woult it be problematic? If it's the default, it is not stored in settings,right?
I meant the subsequent comparison when you go to Customize.
Posted 10 December 2024 - 10:50
@littlesat
After the elaboration, I think it's better stick to the Enigma conventions.
Could you please revert the commits and go with:
config.usage.setupShowDefault = ConfigSelection(default="", choices=[
and
config.usage.show_second_infobar = ConfigSelection(default="", choices=[("", _("None"))] + choicelist + [("EPG", _("EPG"))])
instead.
Thanks
Edited by Stan, 10 December 2024 - 10:58.
Posted 10 December 2024 - 14:58
EPG is fetched in the if earlier but with an extra isStandardInfoBar check.... when this was wrong somehow it was wrong for a longer time.....
and config.usage.show_second_infobar.value not in ("no", "EPG")
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
0 members, 7 guests, 0 anonymous users