Skip to content

Commit

Permalink
Search logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Oct 27, 2024
1 parent d724b19 commit dcb8606
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -1457,6 +1457,7 @@ def db_get_files_series(self) -> list[list[SeriesFilesModel, bool, bool]] | None
)
for i1, i2, i3 in self._search_todays(condition):
if i1 is not None:
self.logger.trace("Adding %s to search list", i1.Title)
entries.append([i1, i2, i3])
if not self.do_upgrade_search:
condition = self.series_file_model.Searched is False
Expand All @@ -1468,6 +1469,7 @@ def db_get_files_series(self) -> list[list[SeriesFilesModel, bool, bool]] | None
.order_by(self.series_file_model.EntryId.asc())
.execute()
):
self.logger.trace("Adding %s to search list", entry_.Title)
entries.append([entry_, False, False])
return entries

Expand Down Expand Up @@ -1533,9 +1535,11 @@ def db_get_files_episodes(self) -> list[list[EpisodeFilesModel, bool, bool]] | N
.order_by(self.model_file.EpisodeFileId.asc())
.execute()
):
self.logger.trace("Adding %s to search list", entry.Title)
entries.append([entry, False, False])
for i1, i2, i3 in self._search_todays(today_condition):
if i1 is not None:
self.logger.trace("Adding %s to search list", i1.Title)
entries.append([i1, i2, i3])
return entries

Expand Down Expand Up @@ -1576,6 +1580,7 @@ def db_get_files_movies(self) -> list[list[MoviesFilesModel, bool, bool]] | None
.order_by(self.model_file.MovieFileId.asc())
.execute()
):
self.logger.trace("Adding %s to search list", entry.Title)
entries.append([entry, False, False])
return entries

Expand Down

0 comments on commit dcb8606

Please sign in to comment.