mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Remove helix support for views
This commit is contained in:
parent
68bf8655f3
commit
eaadec0079
1 changed files with 1 additions and 19 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue