sort the "all" nodes by title

This commit is contained in:
Marcel van der Veldt 2015-05-04 00:04:10 +02:00
parent c2c5743611
commit 552a9a30bd

View file

@ -1075,6 +1075,7 @@ class WriteKodiDB():
SubElement(root, "match").text = "all" SubElement(root, "match").text = "all"
SubElement(root, "content").text = type SubElement(root, "content").text = type
SubElement(root, "icon").text = "DefaultMovies.png" SubElement(root, "icon").text = "DefaultMovies.png"
SubElement(root, "order", {"direction":"ascending"}).text = "sorttitle"
Rule = SubElement(root, "rule", {"field":"tag","operator":"is"}) Rule = SubElement(root, "rule", {"field":"tag","operator":"is"})
SubElement(Rule, "value").text = tagname SubElement(Rule, "value").text = tagname
try: try: