diff --git a/jellyfin_kodi/entrypoint/default.py b/jellyfin_kodi/entrypoint/default.py index eab81ff3..97222f6a 100644 --- a/jellyfin_kodi/entrypoint/default.py +++ b/jellyfin_kodi/entrypoint/default.py @@ -160,14 +160,7 @@ def listing(): LOG.debug("--[ listing/%s/%s ] %s", node, label, path) if path: - if xbmc.getCondVisibility('Window.IsActive(Pictures)') and node in ('photos', 'homevideos'): - directory(label, path, artwork=artwork) - elif xbmc.getCondVisibility('Window.IsActive(Videos)') and node not in ('photos', 'music', 'audiobooks'): - directory(label, path, artwork=artwork, context=context) - elif xbmc.getCondVisibility('Window.IsActive(Music)') and node in ('music'): - directory(label, path, artwork=artwork, context=context) - elif not xbmc.getCondVisibility('Window.IsActive(Videos) | Window.IsActive(Pictures) | Window.IsActive(Music)'): - directory(label, path, artwork=artwork) + directory(label, path, artwork=artwork, context=context) for server in servers: context = []