Another fix for Radarr v3.

pull/1096/head
Louis Vézina 4 years ago
parent d95dc2b823
commit d6ce71b16f

@ -150,7 +150,7 @@ def update_movies():
if radarr_version.startswith('0'):
audio_language = profile_id_to_language(movie['qualityProfileId'], audio_profiles)
else:
if 'language' in movie['movieFile'] and len(movie['movieFile']['languages']):
if 'languages' in movie['movieFile'] and len(movie['movieFile']['languages']):
if 'name' in movie['movieFile']['languages'][0]:
audio_language = movie['movieFile']['languages'][0]['name']

Loading…
Cancel
Save