mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-11 01:07:36 +08:00
Another fix for Radarr v3.
This commit is contained in:
parent
f740231e64
commit
d95dc2b823
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ def update_movies():
|
|||
if radarr_version.startswith('0'):
|
||||
audio_language = profile_id_to_language(movie['qualityProfileId'], audio_profiles)
|
||||
else:
|
||||
if len(movie['movieFile']['languages']):
|
||||
if 'language' in movie['movieFile'] and len(movie['movieFile']['languages']):
|
||||
if 'name' in movie['movieFile']['languages'][0]:
|
||||
audio_language = movie['movieFile']['languages'][0]['name']
|
||||
|
||||
|
|
Loading…
Reference in a new issue