mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +00:00
small fix for krypton compatibility
This commit is contained in:
parent
3753369dff
commit
bcd8f576df
1 changed files with 4 additions and 12 deletions
|
@ -78,23 +78,15 @@ def doMainListing():
|
||||||
''' because we do not use seperate entrypoints for each content type,
|
''' because we do not use seperate entrypoints for each content type,
|
||||||
we need to figure out which items to show in each listing.
|
we need to figure out which items to show in each listing.
|
||||||
for now we just only show picture nodes in the picture library
|
for now we just only show picture nodes in the picture library
|
||||||
video nodes in the video library and all nodes in any other window '''
|
video nodes in the video library and all nodes in any other window
|
||||||
|
'''
|
||||||
'''if path and xbmc.getCondVisibility("Window.IsActive(Pictures)") and node == "photos":
|
|
||||||
addDirectoryItem(label, path)
|
|
||||||
elif path and xbmc.getCondVisibility("Window.IsActive(VideoLibrary)")
|
|
||||||
and node != "photos":
|
|
||||||
addDirectoryItem(label, path)
|
|
||||||
elif path and not xbmc.getCondVisibility("Window.IsActive(VideoLibrary) |
|
|
||||||
Window.IsActive(Pictures) | Window.IsActive(MusicLibrary)"):
|
|
||||||
addDirectoryItem(label, path)'''
|
|
||||||
|
|
||||||
if path:
|
if path:
|
||||||
if xbmc.getCondVisibility("Window.IsActive(Pictures)") and node == "photos":
|
if xbmc.getCondVisibility("Window.IsActive(Pictures)") and node == "photos":
|
||||||
addDirectoryItem(label, path)
|
addDirectoryItem(label, path)
|
||||||
elif xbmc.getCondVisibility("Window.IsActive(VideoLibrary)") and node != "photos":
|
elif xbmc.getCondVisibility("Window.IsActive(Videos)") and node != "photos":
|
||||||
addDirectoryItem(label, path)
|
addDirectoryItem(label, path)
|
||||||
elif not xbmc.getCondVisibility("Window.IsActive(VideoLibrary) | Window.IsActive(Pictures) | Window.IsActive(MusicLibrary)"):
|
elif not xbmc.getCondVisibility("Window.IsActive(Videos) | Window.IsActive(Pictures) | Window.IsActive(Music)"):
|
||||||
addDirectoryItem(label, path)
|
addDirectoryItem(label, path)
|
||||||
|
|
||||||
# experimental live tv nodes
|
# experimental live tv nodes
|
||||||
|
|
Loading…
Reference in a new issue