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