From 70632f1749bb5609fff80c100cf0cee3087df2f7 Mon Sep 17 00:00:00 2001 From: croneter Date: Tue, 1 Jan 2019 13:19:26 +0100 Subject: [PATCH] Enable Plex Hub listings to be used for widgets - Fixes #585 --- resources/lib/entrypoint.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/lib/entrypoint.py b/resources/lib/entrypoint.py index 989c502c..cf6717be 100644 --- a/resources/lib/entrypoint.py +++ b/resources/lib/entrypoint.py @@ -664,6 +664,9 @@ def hub(content_type): __build_folder(entry) elif content_type == 'image' and api.plex_type() == v.PLEX_TYPE_PHOTO: __build_folder(entry) + else: + # Needed for widgets, where no content_type is provided + __build_folder(entry) xbmcplugin.endOfDirectory( handle=int(argv[1]), cacheToDisc=utils.settings('enableTextureCache') == 'true')