Disable Audiobooks

Server doesn't have a set structure yet. This feature is broken atm.
This commit is contained in:
angelblue05 2019-01-24 05:35:25 -06:00
parent 65b71b5885
commit e42e7e5c90
2 changed files with 4 additions and 4 deletions

View file

@ -167,7 +167,7 @@ def listing():
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', 'homevideos', 'music'):
elif xbmc.getCondVisibility('Window.IsActive(Videos)') and node not in ('photos', 'homevideos', '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)