mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-13 21:56:11 +00:00
Fix wnodes
This commit is contained in:
parent
3e6f604712
commit
ee23d73848
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue