mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-26 09:37:25 +00:00
Fix for #1036.
This commit is contained in:
parent
ed5fb86080
commit
9df87c0e2b
1 changed files with 4 additions and 5 deletions
|
@ -1488,9 +1488,8 @@ class WantedSeries(Resource):
|
|||
"table_episodes.sonarrEpisodeId, table_episodes.scene_name, table_shows.tags, "
|
||||
"table_episodes.failedAttempts, table_shows.seriesType FROM table_episodes INNER JOIN "
|
||||
"table_shows on table_shows.sonarrSeriesId = table_episodes.sonarrSeriesId WHERE "
|
||||
"table_episodes.missing_subtitles != '[]' ORDER BY table_episodes._rowid_ DESC LIMIT ? "
|
||||
"OFFSET ?", (length, start))
|
||||
data = filter_exclusions(data, 'series')
|
||||
"table_episodes.missing_subtitles != '[]' ORDER BY table_episodes._rowid_ DESC")
|
||||
data = filter_exclusions(data, 'series')[int(start):int(start)+int(length)]
|
||||
|
||||
for item in data:
|
||||
# Parse missing subtitles
|
||||
|
@ -1527,8 +1526,8 @@ class WantedMovies(Resource):
|
|||
row_count = len(data_count)
|
||||
data = database.execute("SELECT title, missing_subtitles, radarrId, path, hearing_impaired, sceneName, "
|
||||
"failedAttempts, tags, monitored FROM table_movies WHERE missing_subtitles != '[]' "
|
||||
"ORDER BY _rowid_ DESC LIMIT ? OFFSET ?", (length, start))
|
||||
data = filter_exclusions(data, 'movie')
|
||||
"ORDER BY _rowid_ DESC")
|
||||
data = filter_exclusions(data, 'movie')[int(start):int(start)+int(length)]
|
||||
|
||||
for item in data:
|
||||
# Parse missing subtitles
|
||||
|
|
Loading…
Reference in a new issue