Fix encoding

This commit is contained in:
tomkat83 2016-04-12 08:54:10 +02:00
parent ed83a7009f
commit 5aa337d03c
1 changed files with 1 additions and 1 deletions

View File

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