summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2021-06-19 20:03:14 -0400
committermorpheus65535 <[email protected]>2021-06-19 20:03:14 -0400
commitd0c7c5d5e073c80af90569158c49072a87da89e6 (patch)
tree6218e273e39d8dbf95d78edb3d31fd79b1773482
parent6c1fdc57c4ce04219988a48f7f06b0340a5e5698 (diff)
downloadbazarr-d0c7c5d5e073c80af90569158c49072a87da89e6.tar.gz
bazarr-d0c7c5d5e073c80af90569158c49072a87da89e6.zip
Added missing column to movies upgrade query.
-rw-r--r--bazarr/get_subtitle.py3
1 files changed, 2 insertions, 1 deletions
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)\