From 01a82eee2d934c0c3c4f4dc63868219e95ab7de2 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sat, 8 Sep 2018 04:04:38 -0500 Subject: [PATCH] 3.1.05-fix audiobook Audiobooks will now only appear under music to prevent visual bugs --- resources/lib/entrypoint/default.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/entrypoint/default.py b/resources/lib/entrypoint/default.py index 0ebe14b5..fb70a866 100644 --- a/resources/lib/entrypoint/default.py +++ b/resources/lib/entrypoint/default.py @@ -154,7 +154,7 @@ def listing(): if path: if xbmc.getCondVisibility('Window.IsActive(Pictures)') and node in ('photos', 'homevideos'): 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) elif xbmc.getCondVisibility('Window.IsActive(Music)') and node in ('music', 'books', 'audiobooks'): directory(label, path, artwork=artwork, context=context)