mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
fix next episodes emby node
This commit is contained in:
parent
9468adfbe3
commit
6adc422936
1 changed files with 3 additions and 3 deletions
|
@ -116,7 +116,7 @@ class VideoNodes(object):
|
||||||
'4': "inprogress",
|
'4': "inprogress",
|
||||||
'5': "inprogressepisodes",
|
'5': "inprogressepisodes",
|
||||||
'6': "unwatched",
|
'6': "unwatched",
|
||||||
'7': "nextupepisodes",
|
'7': "nextepisodes",
|
||||||
'8': "sets",
|
'8': "sets",
|
||||||
'9': "genres",
|
'9': "genres",
|
||||||
'10': "random",
|
'10': "random",
|
||||||
|
@ -161,7 +161,7 @@ class VideoNodes(object):
|
||||||
label = stringid
|
label = stringid
|
||||||
|
|
||||||
# Set window properties
|
# Set window properties
|
||||||
if nodetype == "nextupepisodes":
|
if nodetype == "nextepisodes":
|
||||||
# Custom query
|
# Custom query
|
||||||
path = "plugin://plugin.video.emby/?id=%s&mode=nextup&limit=25" % tagname
|
path = "plugin://plugin.video.emby/?id=%s&mode=nextup&limit=25" % tagname
|
||||||
elif kodiversion == 14 and nodetype == "recentepisodes":
|
elif kodiversion == 14 and nodetype == "recentepisodes":
|
||||||
|
@ -198,7 +198,7 @@ class VideoNodes(object):
|
||||||
|
|
||||||
|
|
||||||
# Create the root
|
# Create the root
|
||||||
if nodetype == "nextupepisodes" or (kodiversion == 14 and
|
if nodetype == "nextepisodes" or (kodiversion == 14 and
|
||||||
nodetype in ('recentepisodes', 'inprogressepisodes')):
|
nodetype in ('recentepisodes', 'inprogressepisodes')):
|
||||||
# Folder type with plugin path
|
# Folder type with plugin path
|
||||||
root = self.commonRoot(order=node, label=label, tagname=tagname, roottype=2)
|
root = self.commonRoot(order=node, label=label, tagname=tagname, roottype=2)
|
||||||
|
|
Loading…
Reference in a new issue