From 1a42639e4c09e74a32f5a500f8d563dafef34d80 Mon Sep 17 00:00:00 2001 From: Feramance Date: Fri, 30 Aug 2024 13:37:22 +0200 Subject: [PATCH] Added logging --- qBitrr/arss.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qBitrr/arss.py b/qBitrr/arss.py index 426040e1..09ba7ca9 100755 --- a/qBitrr/arss.py +++ b/qBitrr/arss.py @@ -4481,6 +4481,7 @@ def custom_format_unmet_check(self, torrent: qbittorrentapi.TorrentDictionary) - else: return False elif self.type == "radarr": + self.logger.debug("custom_format_unmet_check: [queue:%s]", queue["records"]) entry = list( filter(lambda x: x["downloadId"] == torrent.hash, queue["records"]) ) @@ -4492,11 +4493,11 @@ def custom_format_unmet_check(self, torrent: qbittorrentapi.TorrentDictionary) - # ), # None, # ) + self.logger.debug("custom_format_unmet_check: [entry:%s]", entry) if not len(entry) > 0: return False else: entry = entry[0]["movieId"] - self.logger.debug("custom_format_unmet_check: [entry:%s]", entry) customFormat = list( filter(lambda x: x["downloadId"] == torrent.hash, queue["records"]) )[0]["customFormatScore"]