mirror of
https://github.com/thsrite/MoviePilot-Plugins.git
synced 2026-05-20 07:16:45 +00:00
fix replace
This commit is contained in:
@@ -11,7 +11,7 @@ MoviePilot三方插件市场:https://github.com/thsrite/MoviePilot-Plugins/
|
||||
|
||||
- 站点数据统计 1.4 (无未读消息版本)(废弃)
|
||||
- 站点未读消息 1.4
|
||||
- [云盘Strm生成 3.9](docs%2FCloudStrm.md)
|
||||
- [云盘Strm生成 4.0](docs%2FCloudStrm.md)
|
||||
- [Strm文件模式转换 1.0](docs%2FStrmConvert.md)
|
||||
- 清理订阅缓存 1.0
|
||||
- 添加种子下载 1.0
|
||||
|
||||
@@ -2,11 +2,12 @@
|
||||
"CloudStrm": {
|
||||
"name": "云盘Strm生成",
|
||||
"description": "监控文件创建,生成Strm文件。",
|
||||
"version": "3.9",
|
||||
"version": "4.0",
|
||||
"icon": "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/create.png",
|
||||
"author": "thsrite",
|
||||
"level": 1,
|
||||
"history": {
|
||||
"v4.0": "fix replace",
|
||||
"v3.9": "修复bug",
|
||||
"v3.8": "支持联动其他转移插件",
|
||||
"v3.7": "api模式支持启用https",
|
||||
|
||||
@@ -26,7 +26,7 @@ class CloudStrm(_PluginBase):
|
||||
# 插件图标
|
||||
plugin_icon = "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/create.png"
|
||||
# 插件版本
|
||||
plugin_version = "3.9"
|
||||
plugin_version = "4.0"
|
||||
# 插件作者
|
||||
plugin_author = "thsrite"
|
||||
# 作者主页
|
||||
@@ -313,7 +313,7 @@ class CloudStrm(_PluginBase):
|
||||
event_data = event.event_data
|
||||
if not event_data or not event_data.get("transferinfo"):
|
||||
return
|
||||
source_file = event_data.get("transferinfo").target_path
|
||||
source_file = str(event_data.get("transferinfo").target_path)
|
||||
logger.info(f"收到命令,开始处理单个文件 {source_file} ...")
|
||||
if source_file:
|
||||
self.__strm(source_file)
|
||||
|
||||
Reference in New Issue
Block a user