Skip to content

Commit

Permalink
Fix Kodi-Helper producing invalid XML
Browse files Browse the repository at this point in the history
  • Loading branch information
Maista6969 committed Jan 22, 2024
1 parent fc7b4cc commit b369520
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/kodi-helper/kodi-helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,7 @@ def generateSTRM(scene):
return scene["paths"]["stream"]

def generateNFO(scene, args):
ret = """
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
ret = """<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<movie>
<title>{title}</title>
<userrating>{rating}</userrating>
Expand All @@ -243,8 +242,7 @@ def generateNFO(scene, args):
{thumbs}
{fanart}
{genres}
</movie>
"""
</movie>"""
tags = ""
for t in scene["tags"]:
tags = tags + """
Expand Down

0 comments on commit b369520

Please sign in to comment.