diff --git a/resources/lib/Entrypoint.py b/resources/lib/Entrypoint.py index d64bd28d..f04cae12 100644 --- a/resources/lib/Entrypoint.py +++ b/resources/lib/Entrypoint.py @@ -166,6 +166,7 @@ def getThemeMedia(): for item in result[u'Items']: itemId = item[u'Id'] folderName = item[u'Name'] + folderName = utils.CleanName(folderName) itemIds[itemId] = folderName # Get paths @@ -189,7 +190,7 @@ def getThemeMedia(): playurl = playUtils.directPlay(theme) else: playurl = playUtils.directStream(result, server, theme[u'Id'], "Audio") - pathstowrite += ('%s' % playurl) + pathstowrite += ('%s' % playurl.encode('utf-8')) nfo_file.write( '%s' % pathstowrite