mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Add music to addon menu
This commit is contained in:
parent
19b4e90291
commit
21dd8d95e8
1 changed files with 1 additions and 8 deletions
|
@ -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)
|
||||
|
||||
for server in servers:
|
||||
context = []
|
||||
|
|
Loading…
Reference in a new issue