mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-25 01:02:19 +00:00
Added audio language variables to post processing command. Required to use with subsync.
This commit is contained in:
parent
e5ecd17f80
commit
1af408f684
1 changed files with 2 additions and 2 deletions
|
@ -1807,7 +1807,7 @@ def get_subtitle():
|
|||
sonarrEpisodeId = request.forms.get('sonarrEpisodeId')
|
||||
title = request.forms.title
|
||||
|
||||
data = database.execute("SELECT audio_language FROM table_shows WHERE sonarrSeriesId=?", (sonarrSeriesId,))
|
||||
data = database.execute("SELECT audio_language FROM table_shows WHERE sonarrSeriesId=?", (sonarrSeriesId,), only_one=True)
|
||||
audio_language = data['audio_language']
|
||||
|
||||
providers_list = get_providers()
|
||||
|
@ -1946,7 +1946,7 @@ def get_subtitle_movie():
|
|||
radarrId = request.forms.get('radarrId')
|
||||
title = request.forms.title
|
||||
|
||||
data = database.execute("SELECT audio_language FROM table_movies WHERE radarrId=?", (radarrId,))
|
||||
data = database.execute("SELECT audio_language FROM table_movies WHERE radarrId=?", (radarrId,), only_one=True)
|
||||
audio_language = data['audio_language']
|
||||
|
||||
providers_list = get_providers()
|
||||
|
|
Loading…
Reference in a new issue