From d0c7c5d5e073c80af90569158c49072a87da89e6 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Sat, 19 Jun 2021 20:03:14 -0400 Subject: [PATCH] Added missing column to movies upgrade query. --- bazarr/get_subtitle.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bazarr/get_subtitle.py b/bazarr/get_subtitle.py index 0bedc8fb4..f2a4bd420 100644 --- a/bazarr/get_subtitle.py +++ b/bazarr/get_subtitle.py @@ -1458,7 +1458,8 @@ def upgrade_subtitles(): fn.MAX(TableHistoryMovie.timestamp).alias('timestamp'), TableMovies.monitored, TableMovies.tags, - TableMovies.radarrId)\ + TableMovies.radarrId, + TableMovies.title)\ .join(TableMovies, on=(TableHistoryMovie.radarrId == TableMovies.radarrId))\ .where(reduce(operator.and_, upgradable_movies_conditions))\ .group_by(TableHistoryMovie.video_path, TableHistoryMovie.language)\