From dcb860624f96a7355c085c0781d4eb7f2cd09cae Mon Sep 17 00:00:00 2001 From: Feramance Date: Sun, 27 Oct 2024 14:20:32 +0100 Subject: [PATCH] Search logs --- qBitrr/arss.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qBitrr/arss.py b/qBitrr/arss.py index cfe22d69..4a5954ef 100755 --- a/qBitrr/arss.py +++ b/qBitrr/arss.py @@ -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 @@ -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 @@ -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 @@ -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