Use languageCode, not language for temp subtitles

- Fixes #394
This commit is contained in:
croneter 2018-02-04 17:42:15 +01:00
parent e82d5fec6c
commit dea8e6d5f5

View file

@ -298,7 +298,7 @@ class PlayUtils():
if 'language' in stream.attrib: if 'language' in stream.attrib:
path = self.api.download_external_subtitles( path = self.api.download_external_subtitles(
'{server}%s' % stream.attrib['key'], '{server}%s' % stream.attrib['key'],
"subtitle.%s.%s" % (stream.attrib['language'], "subtitle.%s.%s" % (stream.attrib['languageCode'],
stream.attrib['codec'])) stream.attrib['codec']))
# We don't know the language - no need to download # We don't know the language - no need to download
else: else: