mirror of
https://github.com/thsrite/MoviePilot-Plugins.git
synced 2026-05-22 23:16:43 +00:00
fix
This commit is contained in:
@@ -239,10 +239,6 @@ class CloudStrmCompanion(_PluginBase):
|
||||
logger.error("未获取到可用目录监控配置,请检查")
|
||||
return
|
||||
|
||||
if not self._115client:
|
||||
logger.error("115_cookie 未配置或cookie已失效,请检查配置")
|
||||
return
|
||||
|
||||
if event:
|
||||
event_data = event.event_data
|
||||
if not event_data or event_data.get("action") != "cloudStrmCompanion":
|
||||
@@ -252,6 +248,10 @@ class CloudStrmCompanion(_PluginBase):
|
||||
title="开始云盘Strm助手同步生成 ...",
|
||||
userid=event.event_data.get("user"))
|
||||
|
||||
if not self._115client:
|
||||
logger.error("115_cookie 未配置或cookie已失效,请检查配置")
|
||||
return
|
||||
|
||||
logger.info("云盘Strm助手同步生成任务开始")
|
||||
# 首次扫描或者重建索引
|
||||
if Path(self._cloud_files_json).exists():
|
||||
|
||||
Reference in New Issue
Block a user