mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-27 01:57:33 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
bd5709a583
1 changed files with 4 additions and 2 deletions
|
@ -87,12 +87,14 @@ def update_series():
|
||||||
if serie_default_enabled is True:
|
if serie_default_enabled is True:
|
||||||
series_to_add.append((show["title"], show["path"], show["tvdbId"], serie_default_language,
|
series_to_add.append((show["title"], show["path"], show["tvdbId"], serie_default_language,
|
||||||
serie_default_hi, show["id"], overview, poster, fanart,
|
serie_default_hi, show["id"], overview, poster, fanart,
|
||||||
profile_id_to_language(show['qualityProfileId'], audio_profiles), show['sortTitle'],
|
profile_id_to_language(
|
||||||
|
(show['qualityProfileId'] if get_sonarr_version().startswith('2') else show['languageProfileId']), audio_profiles), show['sortTitle'],
|
||||||
show['year'], alternateTitles, serie_default_forced))
|
show['year'], alternateTitles, serie_default_forced))
|
||||||
else:
|
else:
|
||||||
series_to_add.append((show["title"], show["path"], show["tvdbId"], show["tvdbId"],
|
series_to_add.append((show["title"], show["path"], show["tvdbId"], show["tvdbId"],
|
||||||
show["tvdbId"], show["id"], overview, poster, fanart,
|
show["tvdbId"], show["id"], overview, poster, fanart,
|
||||||
profile_id_to_language(show['qualityProfileId'], audio_profiles), show['sortTitle'],
|
profile_id_to_language(
|
||||||
|
(show['qualityProfileId'] if get_sonarr_version().startswith('2') else show['languageProfileId']), audio_profiles), show['sortTitle'],
|
||||||
show['year'], alternateTitles, show["id"]))
|
show['year'], alternateTitles, show["id"]))
|
||||||
|
|
||||||
# Update or insert series in DB
|
# Update or insert series in DB
|
||||||
|
|
Loading…
Reference in a new issue