mirror of
https://github.com/thsrite/MoviePilot-Plugins.git
synced 2026-06-07 07:26:53 +00:00
fix #121
This commit is contained in:
@@ -559,7 +559,7 @@ class CloudLinkMonitor(_PluginBase):
|
||||
# 通知Strm助手生成
|
||||
self.eventmanager.send_event(EventType.PluginAction, {
|
||||
'file_path': str(transferinfo.target_item.path),
|
||||
'action': 'strm_file'
|
||||
'action': 'cloudstrm_file'
|
||||
})
|
||||
|
||||
# 移动模式删除空目录
|
||||
|
||||
@@ -235,7 +235,7 @@ class CloudStrmCompanion(_PluginBase):
|
||||
def strm_one(self, event: Event = None):
|
||||
if event:
|
||||
event_data = event.event_data
|
||||
if not event_data or event_data.get("action") != "strm_file":
|
||||
if not event_data or event_data.get("action") != "cloudstrm_file":
|
||||
return
|
||||
file_path = event_data.get("file_path")
|
||||
if not file_path:
|
||||
|
||||
Reference in New Issue
Block a user