Fix encoding

This commit is contained in:
tomkat83 2016-04-12 08:54:10 +02:00
parent ed83a7009f
commit 5aa337d03c

View file

@ -415,7 +415,7 @@ class PlayUtils():
% (self.server, selectSubsIndex) % (self.server, selectSubsIndex)
url = self.API.addPlexHeadersToUrl(url) url = self.API.addPlexHeadersToUrl(url)
self.logMsg("Downloadable sub: %s: %s" % (selectSubsIndex, url), 1) self.logMsg("Downloadable sub: %s: %s" % (selectSubsIndex, url), 1)
listitem.setSubtitles([url]) listitem.setSubtitles([url.encode('utf-8')])
else: else:
self.logMsg('Need to burn in subtitle %s' % selectSubsIndex, 1) self.logMsg('Need to burn in subtitle %s' % selectSubsIndex, 1)
playurlprefs["subtitleStreamID"] = selectSubsIndex playurlprefs["subtitleStreamID"] = selectSubsIndex