mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
re-added fix for unicodes
This commit is contained in:
parent
5e130bf6fd
commit
5e53884030
2 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<addon id="plugin.video.emby"
|
<addon id="plugin.video.emby"
|
||||||
name="Emby"
|
name="Emby"
|
||||||
version="1.0.11"
|
version="1.0.12"
|
||||||
provider-name="Emby.media">
|
provider-name="Emby.media">
|
||||||
<requires>
|
<requires>
|
||||||
<import addon="xbmc.python" version="2.1.0"/>
|
<import addon="xbmc.python" version="2.1.0"/>
|
||||||
|
|
|
@ -175,7 +175,7 @@ def getThemeMedia():
|
||||||
for item in result[u'Items']:
|
for item in result[u'Items']:
|
||||||
itemId = item[u'Id']
|
itemId = item[u'Id']
|
||||||
folderName = item[u'Name']
|
folderName = item[u'Name']
|
||||||
folderName = utils.normalize_string(folderName)
|
folderName = utils.normalize_string(folderName.encode('utf-8'))
|
||||||
itemIds[itemId] = folderName
|
itemIds[itemId] = folderName
|
||||||
|
|
||||||
# Get paths for theme videos
|
# Get paths for theme videos
|
||||||
|
@ -216,7 +216,7 @@ def getThemeMedia():
|
||||||
for item in result[u'Items']:
|
for item in result[u'Items']:
|
||||||
itemId = item[u'Id']
|
itemId = item[u'Id']
|
||||||
folderName = item[u'Name']
|
folderName = item[u'Name']
|
||||||
folderName = utils.normalize_string(folderName)
|
folderName = utils.normalize_string(folderName.encode('utf-8'))
|
||||||
itemIds[itemId] = folderName
|
itemIds[itemId] = folderName
|
||||||
|
|
||||||
# Get paths
|
# Get paths
|
||||||
|
|
Loading…
Reference in a new issue