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. ''' Similar to window_node, but does not contain music, musicvideos.
Contains books, audiobooks. 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) path = self.window_browse(view, None if node in ('all', 'browse') else node)
else: else:
path = self.window_path(view, node) path = self.window_path(view, node)
if node in ('browse', 'books', 'audiobooks'): if node in ('browse', 'homevideos', 'photos', 'books', 'audiobooks'):
window_path = path window_path = path
else: else:
window_path = "ActivateWindow(Videos,%s,return)" % path window_path = "ActivateWindow(Videos,%s,return)" % path