mirror of https://github.com/morpheus65535/bazarr
Fix for audio language profiles.
This commit is contained in:
parent
d704686cd5
commit
859bc90662
|
@ -100,7 +100,7 @@ def update_series():
|
|||
'overview': overview,
|
||||
'poster': poster,
|
||||
'fanart': fanart,
|
||||
'audio_language': profile_id_to_language(show['qualityProfileId'], audio_profiles),
|
||||
'audio_language': profile_id_to_language((show['qualityProfileId'] if get_sonarr_version().startswith('2') else show['languageProfileId']), audio_profiles),
|
||||
'sort_title': show['sortTitle'],
|
||||
'year': show['year'],
|
||||
'alternate_titles': alternateTitles,
|
||||
|
@ -113,7 +113,7 @@ def update_series():
|
|||
'overview': overview,
|
||||
'poster': poster,
|
||||
'fanart': fanart,
|
||||
'audio_language': profile_id_to_language(show['qualityProfileId'], audio_profiles),
|
||||
'audio_language': profile_id_to_language((show['qualityProfileId'] if get_sonarr_version().startswith('2') else show['languageProfileId']), audio_profiles),
|
||||
'sort_title': show['sortTitle'],
|
||||
'year': show['year'],
|
||||
'alternate_title': alternateTitles})
|
||||
|
|
Loading…
Reference in New Issue