Merge pull request #855 from alemonmk/suppress-dl-progress-logs

Suppress download progress update in logs
This commit is contained in:
Alex 2025-12-26 17:43:36 +02:00 committed by GitHub
commit 90299b227e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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: