This commit is contained in:
morpheus65535 2021-01-30 22:34:40 -05:00
parent 6564ce62f2
commit 40c92bc89d
1 changed files with 5 additions and 5 deletions

View File

@ -1330,16 +1330,16 @@ def upgrade_subtitles():
if not providers:
logging.info("BAZARR All providers are throttled")
return
if episode['language'].endswith('forced'):
language = episode['language'].split(':')[0]
if movie['language'].endswith('forced'):
language = movie['language'].split(':')[0]
is_forced = True
is_hi = False
elif episode['language'].endswith('hi'):
language = episode['language'].split(':')[0]
elif movie['language'].endswith('hi'):
language = movie['language'].split(':')[0]
is_forced = False
is_hi = True
else:
language = episode['language'].split(':')[0]
language = movie['language'].split(':')[0]
is_forced = False
is_hi = False