From 5aa337d03c7ab6de9d427491e63d32b1f901950e Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Tue, 12 Apr 2016 08:54:10 +0200 Subject: [PATCH] Fix encoding --- resources/lib/playutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/playutils.py b/resources/lib/playutils.py index fed6f684..4bb491cd 100644 --- a/resources/lib/playutils.py +++ b/resources/lib/playutils.py @@ -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