Normalize device name

Server is unable to display unicode correctly for device names. Luke is
aware of this.
This commit is contained in:
angelblue05 2016-01-21 16:32:30 -06:00
parent 65be0b6262
commit c54108cfa7

View file

@ -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("\"", "_")