mirror of
https://github.com/d0zingcat/MoviePilot-Plugins.git
synced 2026-05-13 15:09:12 +00:00
fix(BrushFlow): trigger plugin event with downloader
This commit is contained in:
@@ -2034,10 +2034,12 @@ class BrushFlow(_PluginBase):
|
||||
"time": time.time()
|
||||
}
|
||||
|
||||
self.eventmanager.send_event(etype=EventType.PluginAction, data={
|
||||
"action": "brushflow_download_added",
|
||||
self.eventmanager.send_event(etype=EventType.PluginTriggered, data={
|
||||
"plugin_id": self.__class__.__name__,
|
||||
"event_name": "brushflow_download_added",
|
||||
"hash": hash_string,
|
||||
"data": torrent_task
|
||||
"data": torrent_task,
|
||||
"downloader": self.service_info.name
|
||||
})
|
||||
torrent_tasks[hash_string] = torrent_task
|
||||
|
||||
|
||||
Reference in New Issue
Block a user