Added event for item in archive

This commit is contained in:
arabcoders 2025-07-24 15:44:32 +03:00
parent bdbc2f5b7a
commit 3f338dba20

View file

@ -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()