Skip to content

Commit 5a76663

Browse files
DeToscDeTosc
authored andcommitted
Risolvi "Programmi on demand" vuoto nightflyer73#49
1 parent 6e52030 commit 5a76663

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

default.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def show_ondemand_root():
298298
raiplay = RaiPlay()
299299
items = raiplay.getMainMenu()
300300
for item in items:
301-
if item["sub-type"] in ("RaiPlay Tipologia Page", "RaiPlay Genere Page"):
301+
if item["sub-type"] in ("RaiPlay Tipologia Page", "RaiPlay Genere Page", "RaiPlay Tipologia Editoriale Page" ):
302302
liStyle = xbmcgui.ListItem(item["name"])
303303
addDirectoryItem({"mode": "ondemand", "path_id": item["PathID"], "sub_type": item["sub-type"]}, liStyle)
304304
liStyle = xbmcgui.ListItem("Cerca")
@@ -489,7 +489,7 @@ def log_country():
489489
elif mode == "ondemand":
490490
if subType == "":
491491
show_ondemand_root()
492-
elif subType in ("RaiPlay Tipologia Page", "RaiPlay Genere Page"):
492+
elif subType in ("RaiPlay Tipologia Page", "RaiPlay Genere Page", "RaiPlay Tipologia Editoriale Page"):
493493
show_ondemand_programmes(pathId)
494494
elif subType == "Raiplay Tipologia Item":
495495
show_ondemand_list(pathId)

0 commit comments

Comments
 (0)