mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 09:46:11 +00:00
Normalize device name
Server is unable to display unicode correctly for device names. Luke is aware of this.
This commit is contained in:
parent
65be0b6262
commit
c54108cfa7
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ class ClientInfo():
|
|||
if utils.settings('deviceNameOpt') == "false":
|
||||
# Use Kodi's deviceName
|
||||
deviceName = xbmc.getInfoLabel('System.FriendlyName')
|
||||
deviceName = utils.normalize_string(deviceName)
|
||||
else:
|
||||
deviceName = utils.settings('deviceName')
|
||||
deviceName = deviceName.replace("\"", "_")
|
||||
|
|
Loading…
Reference in a new issue