Skip to content

Commit

Permalink
Add setting change for secondinfobar simple and infobar
Browse files Browse the repository at this point in the history
Previously it could only be toggled instantly, but users might better
use it when it is also visible in the config setting. Also arrange that
with conditional you can show setups when specific screens are available
in a skin or not show them when they are not available.
  • Loading branch information
Littlesat committed May 6, 2024
1 parent 0d569ff commit d0fe68d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions data/setup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@
<item level="2" text="Remember last service in PiP" description="Configure if and how long the latest service in Picture in Picture mode will be remembered." requires="PIPAvailable">config.usage.pip_last_service_timeout</item>
<item level="2" text="Show VCR scart on main menu" description="When enabled, the VCR scart option will be shown on the main menu" requires="ScartSwitch">config.usage.show_vcr_scart</item>
<item level="2" text="Show True/False as graphical switch" description="Enable to display all true/false, yes/no, on/off and enable/disable set up options as a graphical switch.">config.usage.boolean_graphic</item>
<item level="2" text="Show simple second infobar" conditional="findSkinScreen('SecondInfoBarSimple')" description="When enabled a simplified version from the second infobar is shown. This can also be toggled instantly by holding the OK buttin when the second infobar is visible. The infobar will shortly disappear and then shown in the other mode.">config.usage.show_simple_second_infobar</item>
<item level="2" text="Show additional information on infobar" conditional="findSkinScreen('InfoBarAdds')" description="When enabled extra information is shown on the infobar. This can also be toggled instantly by holding the OK button when the inforbar is not visible.">config.usage.show_simple_second_infobar</item>
</setup>
<setup key="epgsettings" title="EPG settings">
<item level="2" text="Show EIT now/next in infobar" description="When enabled, display the EIT now/next eventdata in infobar. When disabled, display now/next eventdata from the EPG cache instead.">config.usage.show_eit_nownext</item>
Expand Down
2 changes: 1 addition & 1 deletion lib/python/Screens/Setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from Components.Pixmap import Pixmap
from Components.Sources.StaticText import StaticText
from Components.Sources.Boolean import Boolean
from skin import parameters
from skin import parameters, findSkinScreen
from enigma import eEnv

import xml.etree.ElementTree
Expand Down

0 comments on commit d0fe68d

Please sign in to comment.