Another fix for #517.

pull/551/head
Louis Vézina 5 years ago
parent 3a7062c234
commit 94cfc53d02

@ -518,9 +518,14 @@ def series_download_subtitles(no):
if language is not None: if language is not None:
notifications.write(msg='Searching for series subtitles...', queue='get_subtitle', item=i, notifications.write(msg='Searching for series subtitles...', queue='get_subtitle', item=i,
length=count_episodes_details) length=count_episodes_details)
result = download_subtitle(path_replace(episode[0]), str(alpha3_from_alpha2(language)), result = download_subtitle(path_replace(episode[0]),
series_details[0], series_details[2], providers_list, str(alpha3_from_alpha2(language.split(':')[0])),
providers_auth, str(episode[3]), series_details[1], series_details[0],
"True" if len(language.split(':')) > 1 else "False",
providers_list,
providers_auth,
str(episode[3]),
series_details[1],
'series') 'series')
if result is not None: if result is not None:
message = result[0] message = result[0]

Loading…
Cancel
Save