This commit is contained in:
thsrite
2024-11-11 14:06:31 +08:00
parent 97a59b9096
commit dd8bf698a2
6 changed files with 41 additions and 12 deletions

View File

@@ -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'
})
# 移动模式删除空目录

View 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: