Fix wnodes

This commit is contained in:
angelblue05 2018-09-13 15:04:51 -05:00
parent 3e6f604712
commit ee23d73848

View file

@ -751,12 +751,12 @@ class Views(object):
''' Similar to window_node, but does not contain music, musicvideos.
Contains books, audiobooks.
'''
if view['Media'] in ('homevideos', 'photos'):
if view['Media'] in ('homevideos', 'photos', 'books', 'audiobooks'):
path = self.window_browse(view, None if node in ('all', 'browse') else node)
else:
path = self.window_path(view, node)
if node in ('browse', 'books', 'audiobooks'):
if node in ('browse', 'homevideos', 'photos', 'books', 'audiobooks'):
window_path = path
else:
window_path = "ActivateWindow(Videos,%s,return)" % path