2023-07-14, 03:01
I went through the code and don't see where a space can be getting introduced. Can you exit Kodi, delete guisettings.xml entirely, and restart Kodi, verifying that it's starting from fresh settings? Then insert your username in the GUI, and check guisettings.xml to see if a space was erroneously added.