From 04acfb32003d5e8f080e7deb8f6161ce17e3054a Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Fri, 4 Mar 2016 17:20:24 -0600 Subject: [PATCH] Fix type folders in photos If "photo album" has no pictures in it, it's returned as type "Folder" --- resources/lib/entrypoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/entrypoint.py b/resources/lib/entrypoint.py index d6d03cab..6a1cf19e 100644 --- a/resources/lib/entrypoint.py +++ b/resources/lib/entrypoint.py @@ -468,7 +468,7 @@ def BrowseContent(viewname, type="", folderid=""): itemtype = "Video,Folder,PhotoAlbum" elif type.lower() == "photos": xbmcplugin.setContent(int(sys.argv[1]), 'files') - itemtype = "Photo,PhotoAlbum" + itemtype = "Photo,PhotoAlbum,Folder" else: itemtype = ""