3.1.05-fix audiobook

Audiobooks will now only appear under music to prevent visual bugs
This commit is contained in:
angelblue05 2018-09-08 04:04:38 -05:00
parent 2fa6b34039
commit 01a82eee2d
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,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', 'books', 'audiobooks'):
directory(label, path, artwork=artwork, context=context)
elif xbmc.getCondVisibility('Window.IsActive(Music)') and node in ('music', 'books', 'audiobooks'):
directory(label, path, artwork=artwork, context=context)