mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 12:16:12 +00:00
Fix for unicode error
The normalize_string method needs utf-8 encoding, not unicode.
This commit is contained in:
parent
3118434c47
commit
2abee11c6b
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ def getThemeMedia():
|
|||
for item in result[u'Items']:
|
||||
itemId = item[u'Id']
|
||||
folderName = item[u'Name']
|
||||
folderName = utils.normalize_string(folderName)
|
||||
folderName = utils.normalize_string(folderName.encode('utf-8'))
|
||||
itemIds[itemId] = folderName
|
||||
|
||||
# Get paths
|
||||
|
|
Loading…
Reference in a new issue