mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-24 09:00:31 +00:00
Fixing unicode bug for device name
Removing decode to unicode, because we use it for the downloadutils. We need it in utf-8, not unicode.
This commit is contained in:
parent
8adfa7a911
commit
65be0b6262
2 changed files with 4 additions and 4 deletions
|
@ -44,7 +44,7 @@ class ClientInfo():
|
|||
|
||||
if utils.settings('deviceNameOpt') == "false":
|
||||
# Use Kodi's deviceName
|
||||
deviceName = xbmc.getInfoLabel('System.FriendlyName').decode('utf-8')
|
||||
deviceName = xbmc.getInfoLabel('System.FriendlyName')
|
||||
else:
|
||||
deviceName = utils.settings('deviceName')
|
||||
deviceName = deviceName.replace("\"", "_")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue