Allow homevideos under videos

Pictures won't display correctly, but restore previous behavior
This commit is contained in:
angelblue05 2019-01-27 09:17:40 -06:00
parent 467c474f4d
commit e5aea3fbdc
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ def listing():
if path: if path:
if xbmc.getCondVisibility('Window.IsActive(Pictures)') and node in ('photos', 'homevideos'): if xbmc.getCondVisibility('Window.IsActive(Pictures)') and node in ('photos', 'homevideos'):
directory(label, path, artwork=artwork) directory(label, path, artwork=artwork)
elif xbmc.getCondVisibility('Window.IsActive(Videos)') and node not in ('photos', 'homevideos', 'music', 'audiobooks'): elif xbmc.getCondVisibility('Window.IsActive(Videos)') and node not in ('photos', 'music', 'audiobooks'):
directory(label, path, artwork=artwork, context=context) directory(label, path, artwork=artwork, context=context)
elif xbmc.getCondVisibility('Window.IsActive(Music)') and node in ('music'): elif xbmc.getCondVisibility('Window.IsActive(Music)') and node in ('music'):
directory(label, path, artwork=artwork, context=context) directory(label, path, artwork=artwork, context=context)