From 3f338dba202fdca8f146708dde113ce81553073e Mon Sep 17 00:00:00 2001 From: arabcoders Date: Thu, 24 Jul 2025 15:44:32 +0300 Subject: [PATCH] Added event for item in archive --- app/library/DownloadQueue.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/library/DownloadQueue.py b/app/library/DownloadQueue.py index 5b59d544..8ccb6ffb 100644 --- a/app/library/DownloadQueue.py +++ b/app/library/DownloadQueue.py @@ -650,6 +650,7 @@ class DownloadQueue(metaclass=Singleton): if downloaded is True and id_dict: message = f"'{id_dict.get('id')}': The URL '{item.url}' is already downloaded and recorded in archive." LOG.error(message) + await self._notify.emit(Events.LOG_INFO, title="Already Downloaded", message=message) return {"status": "error", "msg": message} started: float = time.perf_counter()