Added missing column to movies upgrade query.

This commit is contained in:
morpheus65535 2021-06-19 20:03:14 -04:00
parent 6c1fdc57c4
commit d0c7c5d5e0
1 changed files with 2 additions and 1 deletions

View File

@ -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)\