Fix type folders in photos

If "photo album" has no pictures in it, it's returned as type "Folder"
This commit is contained in:
angelblue05 2016-03-04 17:20:24 -06:00
parent c04a0bab64
commit 04acfb3200

View file

@ -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 = ""