From 26dc35556e3ac14c4702b9d0e413d2125475d762 Mon Sep 17 00:00:00 2001 From: LASER-Yi Date: Thu, 1 Apr 2021 09:40:16 +0800 Subject: [PATCH] Fix issues on Movies Blacklist API --- bazarr/api.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bazarr/api.py b/bazarr/api.py index 4cd3b0035..ee48472ae 100644 --- a/bazarr/api.py +++ b/bazarr/api.py @@ -1603,9 +1603,11 @@ class MoviesBlacklist(Resource): provider = request.form.get('provider') subs_id = request.form.get('subs_id') language = request.form.get('language') + # TODO + forced = False + hi = False - data = database.execute("SELECT title, radarrId, provider, subs_id, path" - "timestamp FROM table_movies WHERE radarrId=?", (radarr_id), only_one=True) + data = database.execute("SELECT path FROM table_movies WHERE radarrId=?", (radarr_id,), only_one=True) media_path = data['path'] subtitles_path = request.form.get('subtitles_path')