Fix last played node value for playcount
This commit is contained in:
parent
37f1bddf9d
commit
453098ef4f
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ def node_lastplayed(section, node_name):
|
|||
etree.SubElement(rule, 'value').text = section.name
|
||||
rule = etree.SubElement(xml, 'rule', attrib={'field': 'playcount',
|
||||
'operator': 'greaterthan'})
|
||||
etree.SubElement(rule, 'value').text = 0
|
||||
etree.SubElement(rule, 'value').text = '0'
|
||||
etree.SubElement(xml, 'label').text = node_name
|
||||
etree.SubElement(xml, 'icon').text = ICON_PATH
|
||||
etree.SubElement(xml, 'content').text = section.content
|
||||
|
|
Loading…
Reference in a new issue