Skip to content

Commit

Permalink
Quality unmet fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Nov 16, 2023
1 parent 09c77e4 commit e6cbd51
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -1873,11 +1873,7 @@ def db_update_single_series(
completed = True

QualityUnmet = EpisodeMetadata.get("qualityCutoffNotMet")
if (
db_entry.EpisodeFileId != 0
and QualityUnmet
and not self.quality_unmet_search
):
if db_entry.EpisodeFileId != 0 and not self.quality_unmet_search:
searched = True
self.model_queue.update(Completed=True).where(
self.model_queue.EntryId == db_entry.Id
Expand Down Expand Up @@ -2049,7 +2045,7 @@ def db_update_single_series(
):
completed = True
QualityUnmet = movieData.get("qualityCutoffNotMet")
if db_entry.MovieFileId != 0 and QualityUnmet and not self.quality_unmet_search:
if db_entry.MovieFileId != 0 and not self.quality_unmet_search:
searched = True
self.model_queue.update(Completed=True).where(
self.model_queue.EntryId == db_entry.Id
Expand All @@ -2070,7 +2066,7 @@ def db_update_single_series(
year = movieMetadata.Year
entryId = db_entry.Id
movieFileId = db_entry.MovieFileId
qualityMet = db_entry.MovieFileId != 0 and not QualityUnmet
qualityMet = QualityUnmet

self.logger.trace("Updating database entry | %s (%s)", title, tmdbId)
to_update = {
Expand Down

0 comments on commit e6cbd51

Please sign in to comment.