diff --git a/qBitrr/arss.py b/qBitrr/arss.py index f93dc4ee..f0a3be37 100755 --- a/qBitrr/arss.py +++ b/qBitrr/arss.py @@ -3420,16 +3420,6 @@ def refresh_download_queue(self): self.queue_file_ids = { entry["episodeId"] for entry in self.queue if entry.get("episodeId") } - # if self.model_queue: - # queue = [] - # for entry in self.queue: - # if r := entry.get("movieId"): - # queue.append(r) - # self.model_queue.insert( - # Completed=False, - # EntryId=r, - # ).on_conflict_replace().execute() - # self.model_queue.delete().where(self.model_queue.EntryId.not_in(queue)).execute() elif self.type == "radarr": self.requeue_cache = { entry["id"]: entry["movieId"] for entry in self.queue if entry.get("movieId") @@ -3437,16 +3427,6 @@ def refresh_download_queue(self): self.queue_file_ids = { entry["movieId"] for entry in self.queue if entry.get("movieId") } - # if self.model_queue: - # queue = [] - # for entry in self.queue: - # if r := entry.get("movieId"): - # queue.append(r) - # self.model_queue.insert( - # Completed=False, - # EntryId=r, - # ).on_conflict_replace().execute() - # self.model_queue.delete().where(self.model_queue.EntryId.not_in(queue)).execute() self._update_bad_queue_items()