mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
3.1.05-fix audiobook
Audiobooks will now only appear under music to prevent visual bugs
This commit is contained in:
parent
2fa6b34039
commit
01a82eee2d
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,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'):
|
elif xbmc.getCondVisibility('Window.IsActive(Videos)') and node not in ('photos', 'homevideos', 'music', 'books', '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', 'books', 'audiobooks'):
|
elif xbmc.getCondVisibility('Window.IsActive(Music)') and node in ('music', 'books', 'audiobooks'):
|
||||||
directory(label, path, artwork=artwork, context=context)
|
directory(label, path, artwork=artwork, context=context)
|
||||||
|
|
Loading…
Reference in a new issue