mirror of https://github.com/morpheus65535/bazarr
Fix for missing language name from Radarr v3.
This commit is contained in:
parent
55cff62139
commit
f740231e64
|
@ -151,6 +151,7 @@ def update_movies():
|
|||
audio_language = profile_id_to_language(movie['qualityProfileId'], audio_profiles)
|
||||
else:
|
||||
if len(movie['movieFile']['languages']):
|
||||
if 'name' in movie['movieFile']['languages'][0]:
|
||||
audio_language = movie['movieFile']['languages'][0]['name']
|
||||
|
||||
tags = [d['label'] for d in tagsDict if d['id'] in movie['tags']]
|
||||
|
|
Loading…
Reference in New Issue