fixed nextup node

This commit is contained in:
Marcel van der Veldt 2015-05-08 19:10:58 +02:00
parent b6af96f8c0
commit 68c7c7ac64

View file

@ -198,7 +198,8 @@ class VideoNodes():
label = language(30179) label = language(30179)
etree.SubElement(root, "label").text = label etree.SubElement(root, "label").text = label
etree.SubElement(root, "content").text = "episodes" etree.SubElement(root, "content").text = "episodes"
etree.SubElement(root, "path").text = nodefile_root path = "plugin://plugin.video.emby/?id=%s&mode=nextup&limit=25" %tagname
etree.SubElement(root, "path").text = path
etree.SubElement(root, "icon").text = "special://home/addons/plugin.video.emby/icon.png" etree.SubElement(root, "icon").text = "special://home/addons/plugin.video.emby/icon.png"
WINDOW.setProperty("Emby.nodes.%s.nextepisodes.title" %str(windowPropId),label) WINDOW.setProperty("Emby.nodes.%s.nextepisodes.title" %str(windowPropId),label)
path = "library://video/Emby - %s/%s_nextup_episodes.xml"%(tagname,tagname) path = "library://video/Emby - %s/%s_nextup_episodes.xml"%(tagname,tagname)