From c54108cfa748cc04b258ee6a64afc9d504b78488 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Thu, 21 Jan 2016 16:32:30 -0600 Subject: [PATCH] Normalize device name Server is unable to display unicode correctly for device names. Luke is aware of this. --- resources/lib/clientinfo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/lib/clientinfo.py b/resources/lib/clientinfo.py index 94f7d207..4479d8b9 100644 --- a/resources/lib/clientinfo.py +++ b/resources/lib/clientinfo.py @@ -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("\"", "_")