also prefix the label

This commit is contained in:
Marcel van der Veldt 2015-05-03 23:55:49 +02:00
parent 5ec53e0326
commit c2c5743611

View file

@ -1061,7 +1061,7 @@ class WriteKodiDB():
xbmcvfs.mkdir(libraryPath)
nodefile = os.path.join(libraryPath, "index.xml")
root = Element("node", {"order":"1"})
SubElement(root, "label").text = tagname
SubElement(root, "label").text = "Emby - " + tagname
SubElement(root, "icon").text = "DefaultMovies.png"
try:
ET.ElementTree(root).write(nodefile, xml_declaration=True)