mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-20 15:10:31 +00:00
fix subnodes for homevideos and photos
This commit is contained in:
parent
3caa2ae3a7
commit
333d6b2831
3 changed files with 32 additions and 13 deletions
|
@ -96,7 +96,7 @@ class VideoNodes(object):
|
|||
return
|
||||
|
||||
if mediatype=="photos":
|
||||
path = "plugin://plugin.video.emby/?id=%s&mode=browsecontent&type=photos&filter=index" % tagname
|
||||
path = "plugin://plugin.video.emby/?id=%s&mode=getsubfolders" % indexnumber
|
||||
|
||||
utils.window('Emby.nodes.%s.index' % indexnumber, value=path)
|
||||
|
||||
|
@ -192,7 +192,7 @@ class VideoNodes(object):
|
|||
path = "plugin://plugin.video.emby/?id=%s&mode=browsecontent&type=%s" %(tagname,mediatype)
|
||||
elif (mediatype == "homevideos" or mediatype == "photos"):
|
||||
# Custom query
|
||||
path = "plugin://plugin.video.emby/?id=%s&mode=browsecontent&type=%s&filter=%s" %(tagname,mediatype,nodetype)
|
||||
path = "plugin://plugin.video.emby/?id=%s&mode=browsecontent&type=%s&folderid=%s" %(tagname,mediatype,nodetype)
|
||||
elif nodetype == "nextepisodes":
|
||||
# Custom query
|
||||
path = "plugin://plugin.video.emby/?id=%s&mode=nextup&limit=25" % tagname
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue