|
|
|
@ -815,6 +815,7 @@ def upgrade_subtitles():
|
|
|
|
|
|
|
|
|
|
if settings.general.getboolean('use_sonarr'):
|
|
|
|
|
for i, episode in enumerate(episodes_to_upgrade, 1):
|
|
|
|
|
if episode[9] != "None":
|
|
|
|
|
if episode[1] in ast.literal_eval(str(episode[9])):
|
|
|
|
|
notifications.write(msg='Upgrading series subtitles...',
|
|
|
|
|
queue='upgrade_subtitle', item=i, length=count_episode_to_upgrade)
|
|
|
|
@ -833,6 +834,7 @@ def upgrade_subtitles():
|
|
|
|
|
|
|
|
|
|
if settings.general.getboolean('use_radarr'):
|
|
|
|
|
for i, movie in enumerate(movies_to_upgrade, 1):
|
|
|
|
|
if movie[8] != "None":
|
|
|
|
|
if movie[1] in ast.literal_eval(str(movie[8])):
|
|
|
|
|
notifications.write(msg='Upgrading movie subtitles...',
|
|
|
|
|
queue='upgrade_subtitle', item=i, length=count_movie_to_upgrade)
|
|
|
|
|