mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 09:46:11 +00:00
Fix type folders in photos
If "photo album" has no pictures in it, it's returned as type "Folder"
This commit is contained in:
parent
c04a0bab64
commit
04acfb3200
1 changed files with 1 additions and 1 deletions
|
@ -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 = ""
|
||||
|
||||
|
|
Loading…
Reference in a new issue