Remove helix support for views

This commit is contained in:
angelblue05 2018-02-10 20:54:21 -06:00
parent 68bf8655f3
commit eaadec0079

View file

@ -662,23 +662,6 @@ class VideoNodes(object):
} }
path = urllib_path("plugin://plugin.video.emby/", params) path = urllib_path("plugin://plugin.video.emby/", params)
elif KODI == 14 and nodetype == "recentepisodes":
params = {
'id': tagname.encode('utf-8'),
'mode': "recentepisodes",
'limit': 25
}
path = urllib_path("plugin://plugin.video.emby/", params)
elif KODI == 14 and nodetype == "inprogressepisodes":
params = {
'id': tagname.encode('utf-8'),
'mode': "inprogressepisodes",
'limit': 25
}
path = urllib_path("plugin://plugin.video.emby/", params)
else: else:
path = "library://video/emby/%s/%s.xml" % (viewid, nodetype) path = "library://video/emby/%s/%s.xml" % (viewid, nodetype)
@ -716,8 +699,7 @@ class VideoNodes(object):
continue continue
# Create the root # Create the root
if (nodetype == "nextepisodes" or mediatype == "homevideos" or if (nodetype == "nextepisodes" or mediatype == "homevideos"):
(KODI == 14 and 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)
etree.SubElement(root, 'path').text = path etree.SubElement(root, 'path').text = path