mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16: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.
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue