2014-05-26, 10:26
(2014-05-25, 03:32)yellowjacket Wrote: The listing of games from MLS this week includes a match involving Ivory Coast using the French name for the country. This name has a unicode character in it which is causing the problem when passed to urlencode. The string from the listing is:
u"C\xf4te d'Ivoire at Bosnia and Herzegovina (05/30 21:30)"
Unfortunately I don't have time tonight to do a pull request, but a quick temporary fix is to open the file mlslive.py in the addon's folder (in linux, ~/.xbmc/addons/plugins/plugin.video.mlslive/) and change the last line in getGameString from:
return game_str
to
return game_str.encode('utf-8').strip()
That is line 298 in the version I'm using.
Thanks for the suggestion, this fixed the problem for me!