Allow homevideos under videos
Pictures won't display correctly, but restore previous behavior
This commit is contained in:
parent
467c474f4d
commit
e5aea3fbdc
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue