From 6adc42293672ebef1a1d50d0b585395108a57c3b Mon Sep 17 00:00:00 2001 From: marcelveldt Date: Wed, 6 Jan 2016 08:59:41 +0100 Subject: [PATCH] fix next episodes emby node --- resources/lib/videonodes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/lib/videonodes.py b/resources/lib/videonodes.py index 3fa83641..746aac87 100644 --- a/resources/lib/videonodes.py +++ b/resources/lib/videonodes.py @@ -116,7 +116,7 @@ class VideoNodes(object): '4': "inprogress", '5': "inprogressepisodes", '6': "unwatched", - '7': "nextupepisodes", + '7': "nextepisodes", '8': "sets", '9': "genres", '10': "random", @@ -161,7 +161,7 @@ class VideoNodes(object): label = stringid # Set window properties - if nodetype == "nextupepisodes": + if nodetype == "nextepisodes": # Custom query path = "plugin://plugin.video.emby/?id=%s&mode=nextup&limit=25" % tagname elif kodiversion == 14 and nodetype == "recentepisodes": @@ -198,7 +198,7 @@ class VideoNodes(object): # Create the root - if nodetype == "nextupepisodes" or (kodiversion == 14 and + if nodetype == "nextepisodes" or (kodiversion == 14 and nodetype in ('recentepisodes', 'inprogressepisodes')): # Folder type with plugin path root = self.commonRoot(order=node, label=label, tagname=tagname, roottype=2)