From 732cc056bb68f4148f8af7dde6a6fb7809c3295b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Wed, 22 May 2019 23:50:09 -0400 Subject: [PATCH] Continuing development. --- bazarr/main.py | 4 ++-- views/movieseditor.tpl | 11 +++++++++++ views/serieseditor.tpl | 11 +++++++++++ 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/bazarr/main.py b/bazarr/main.py index 0235ead67..ad2b276c9 100644 --- a/bazarr/main.py +++ b/bazarr/main.py @@ -583,7 +583,7 @@ def serieseditor(): missing_count = missing_count[0] c.execute( - "SELECT tvdbId, title, path_substitution(path), languages, hearing_impaired, sonarrSeriesId, poster, audio_language FROM table_shows ORDER BY title ASC") + "SELECT tvdbId, title, path_substitution(path), languages, hearing_impaired, sonarrSeriesId, poster, audio_language, forced FROM table_shows ORDER BY title ASC") data = c.fetchall() c.execute("SELECT code2, name FROM table_settings_languages WHERE enabled = 1") languages = c.fetchall() @@ -778,7 +778,7 @@ def movieseditor(): missing_count = missing_count[0] c.execute( - "SELECT tmdbId, title, path_substitution(path), languages, hearing_impaired, radarrId, poster, audio_language FROM table_movies ORDER BY title ASC") + "SELECT tmdbId, title, path_substitution(path), languages, hearing_impaired, radarrId, poster, audio_language, forced FROM table_movies ORDER BY title ASC") data = c.fetchall() c.execute("SELECT code2, name FROM table_settings_languages WHERE enabled = 1") languages = c.fetchall() diff --git a/views/movieseditor.tpl b/views/movieseditor.tpl index 2b92ff138..3482943e9 100644 --- a/views/movieseditor.tpl +++ b/views/movieseditor.tpl @@ -64,6 +64,7 @@ Audio language Subtitles languages Hearing-impaired + Forced @@ -88,6 +89,7 @@ %end {{!"" if row[4] == None else row[4]}} + {{!"" if row[8] is None else row[8]}} %end @@ -115,6 +117,15 @@ +
+ + +
diff --git a/views/serieseditor.tpl b/views/serieseditor.tpl index 540d5de1f..4d99693c2 100644 --- a/views/serieseditor.tpl +++ b/views/serieseditor.tpl @@ -64,6 +64,7 @@ Audio language Subtitles languages Hearing-impaired + Forced @@ -88,6 +89,7 @@ %end {{!"" if row[4] is None else row[4]}} + {{!"" if row[8] is None else row[8]}} %end @@ -115,6 +117,15 @@
+
+ + +