Suppress download progress update

...by sending them to debug
This commit is contained in:
Lemon Lam
2025-12-26 19:42:09 +08:00
parent 318f4f9f21
commit dae710a339
2 changed files with 2 additions and 2 deletions

View File

@@ -140,7 +140,7 @@ class Notifier(DownloadQueueNotifier):
await sio.emit('added', serializer.encode(dl))
async def updated(self, dl):
log.info(f"Notifier: Download updated - {dl.title}")
log.debug(f"Notifier: Download updated - {dl.title}")
await sio.emit('updated', serializer.encode(dl))
async def completed(self, dl):

View File

@@ -187,7 +187,7 @@ class Download:
self.info.percent = status['downloaded_bytes'] / total * 100
self.info.speed = status.get('speed')
self.info.eta = status.get('eta')
log.info(f"Updating status for {self.info.title}: {status}")
log.debug(f"Updating status for {self.info.title}: {status}")
await self.notifier.updated(self.info)
class PersistentQueue: