Compare commits
4 Commits
2025.12.25
...
2025.12.26
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
90299b227e | ||
|
|
6445517751 | ||
|
|
dae710a339 | ||
|
|
318f4f9f21 |
@@ -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):
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user