mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-17 05:36:12 +00:00
Re-add decode to unicode
Then convert to utf-8, then ascii for the auth header.
This commit is contained in:
parent
af4b3bdd9e
commit
3caa2ae3a7
2 changed files with 2 additions and 2 deletions
|
@ -44,8 +44,7 @@ class ClientInfo():
|
|||
|
||||
if utils.settings('deviceNameOpt') == "false":
|
||||
# Use Kodi's deviceName
|
||||
deviceName = xbmc.getInfoLabel('System.FriendlyName')
|
||||
deviceName = utils.normalize_string(deviceName)
|
||||
deviceName = xbmc.getInfoLabel('System.FriendlyName').decode('utf-8')
|
||||
else:
|
||||
deviceName = utils.settings('deviceName')
|
||||
deviceName = deviceName.replace("\"", "_")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue