Revert "More descriptive downloadable subtitles"
This reverts commit 8af180968b
.
This commit is contained in:
parent
cb285f97e7
commit
02a60fac20
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue