mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-07-08 00:01:27 +08:00
Merge pull request #3531 from InfinityPacer/feature/subscribe
This commit is contained in:
@@ -227,7 +227,7 @@ class DownloadChain(ChainBase):
|
|||||||
# 发送资源下载事件,允许外部拦截下载
|
# 发送资源下载事件,允许外部拦截下载
|
||||||
event_data = ResourceDownloadEventData(
|
event_data = ResourceDownloadEventData(
|
||||||
context=context,
|
context=context,
|
||||||
episodes=episodes,
|
episodes=episodes or context.meta_info.episode_list,
|
||||||
channel=channel,
|
channel=channel,
|
||||||
origin=source,
|
origin=source,
|
||||||
downloader=downloader,
|
downloader=downloader,
|
||||||
@@ -384,7 +384,7 @@ class DownloadChain(ChainBase):
|
|||||||
"context": context,
|
"context": context,
|
||||||
"username": username,
|
"username": username,
|
||||||
"downloader": _downloader,
|
"downloader": _downloader,
|
||||||
"episodes": episodes,
|
"episodes": episodes or _meta.episode_list,
|
||||||
"source": source
|
"source": source
|
||||||
})
|
})
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user