fix 订阅匹配锁增加超时,避免罕见的长时间卡任务问题

This commit is contained in:
景大侠
2025-07-07 11:33:05 +08:00
parent 647c0929c5
commit 2ed13c7e5b
3 changed files with 35 additions and 10 deletions

View File

@@ -562,9 +562,12 @@ class FileManagerModule(_ModuleBase):
if not settings.LOCAL_EXISTS_SEARCH:
return None
logger.debug(f"正在本地媒体库中查找 {mediainfo.title_year}...")
# 检查媒体库
fileitems = self.media_files(mediainfo)
if not fileitems:
logger.debug(f"{mediainfo.title_year} 不在本地媒体库中")
return None
if mediainfo.type == MediaType.MOVIE: