diff --git a/resources/lib/helper/playutils.py b/resources/lib/helper/playutils.py index 0c1d371b..8e9df5f7 100644 --- a/resources/lib/helper/playutils.py +++ b/resources/lib/helper/playutils.py @@ -441,7 +441,7 @@ class PlayUtils(object): LOG.info("[ subtitles/%s ] %s", index, url) if 'Language' in stream: - filename = "Stream.%s.%s" % (stream['Language'].encode('utf-8'), stream['Codec']) + filename = "Stream.%s.%s" % (stream['Language'].encode('utf-8'), stream['Codec'].encode('utf-8')) try: subs.append(self.download_external_subs(url, filename))