Skip to content

Commit

Permalink
[ServiceList]
Browse files Browse the repository at this point in the history
* fix other mode

[SkinSelector]
* reload ChannelSelection
  • Loading branch information
jbleyel committed Aug 31, 2024
1 parent 7085b71 commit 43452e2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/python/Components/ServiceList.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ def parseTemplateModes(template):

for mode in template.findall("mode"):

serviceName = "EntryName" if mode == "other" else "ServiceName"
modeName = mode.get("name")
serviceName = "EntryName" if modeName == "other" else "ServiceName"
subModeName = f"{subMode}Name" if subMode else ""

includeItemIndexes = []
Expand All @@ -148,7 +149,6 @@ def parseTemplateModes(template):
optionalExcludeItemIndexes.append("FolderImage")

items = []
modeName = mode.get("name")
if modeName == "services":
if subMode:
continue
Expand Down
5 changes: 5 additions & 0 deletions lib/python/Screens/SkinSelection.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ def keySave(self):
if config.skin.lcdSkin.value != config.skin.display_skin.value:
config.skin.display_skin.value = config.skin.lcdSkin.value
config.skin.display_skin.save()

This comment has been minimized.

Copy link
@fairbird

fairbird Aug 31, 2024

Contributor

From my side I have got crash and solved with this commit ..

ModuleNotFoundError: No module named 'Screens.ChannelSelection.ChannelSelectionSetup'; 'Screens.ChannelSelection' is not a package

fairbird/enigma2-dreambox@9a5ffb3

if config.channelSelection.screenStyle.isChanged() or config.channelSelection.widgetStyle.isChanged():
from Screens.ChannelSelection.ChannelSelectionSetup import updateSettings
updateSettings(self.session)

Setup.keySave(self)

def loadPreview(self):
Expand Down

0 comments on commit 43452e2

Please sign in to comment.