mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Fix subtitles encoding
This commit is contained in:
parent
e8ab4945f0
commit
b4f142c01d
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue