finished video nodes change and main entrypoint listings

removed some redundant logging
This commit is contained in:
Marcel van der Veldt 2015-05-07 00:05:27 +02:00
parent d4e44122ba
commit 4ceb66762a
6 changed files with 41 additions and 11 deletions

View file

@ -38,6 +38,8 @@ class VideoNodes():
root = Element("node", {"order":"0"})
SubElement(root, "label").text = "Emby - " + tagname
SubElement(root, "icon").text = "special://home/addons/plugin.video.emby/icon.png"
path = "library://video/Emby - %s/"%tagname
WINDOW.setProperty("Emby.nodes.%s.index" %str(windowPropId),path)
try:
ET.ElementTree(root).write(nodefile, xml_declaration=True)
except: