Revert "More descriptive downloadable subtitles"

This reverts commit 8af180968b.
This commit is contained in:
croneter 2017-10-02 17:41:28 +02:00
parent cb285f97e7
commit 02a60fac20

View file

@ -2369,11 +2369,11 @@ class API():
# ext = stream.attrib.get('format')
if key:
# We do know the language - temporarily download
if stream.attrib.get('language') is not None:
if stream.attrib.get('languageCode') is not None:
path = self.download_external_subtitles(
"{server}%s" % key,
"subtitle%02d.%s.%s" % (fileindex,
stream.attrib['language'],
stream.attrib['languageCode'],
stream.attrib['codec']))
fileindex += 1
# We don't know the language - no need to download