mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-07-07 15:51:28 +08:00
feat(event): add downloader field to DownloadAdded event
This commit is contained in:
@@ -354,7 +354,8 @@ class DownloadChain(ChainBase):
|
|||||||
self.eventmanager.send_event(EventType.DownloadAdded, {
|
self.eventmanager.send_event(EventType.DownloadAdded, {
|
||||||
"hash": _hash,
|
"hash": _hash,
|
||||||
"context": context,
|
"context": context,
|
||||||
"username": username
|
"username": username,
|
||||||
|
"downloader": _downloader
|
||||||
})
|
})
|
||||||
else:
|
else:
|
||||||
# 下载失败
|
# 下载失败
|
||||||
|
|||||||
Reference in New Issue
Block a user