From dae710a339c46f64b3d4d1982ef6784deda74176 Mon Sep 17 00:00:00 2001 From: Lemon Lam Date: Fri, 26 Dec 2025 19:42:09 +0800 Subject: [PATCH] Suppress download progress update ...by sending them to debug --- app/main.py | 2 +- app/ytdl.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/main.py b/app/main.py index 2afd881..8be3725 100644 --- a/app/main.py +++ b/app/main.py @@ -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): diff --git a/app/ytdl.py b/app/ytdl.py index 4c69644..4cffda9 100644 --- a/app/ytdl.py +++ b/app/ytdl.py @@ -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: