mirror of
https://github.com/thsrite/MoviePilot-Plugins.git
synced 2026-03-27 10:05:57 +00:00
fix
This commit is contained in:
@@ -430,9 +430,9 @@ class EmbyDanmu(_PluginBase):
|
|||||||
retry_cnt = -1
|
retry_cnt = -1
|
||||||
else:
|
else:
|
||||||
logger.warn(
|
logger.warn(
|
||||||
f"{emby_name} {parent_path} 下未找到弹幕文件:{danmu_path_pattern},等待10秒后重试 ({retry_cnt}次)")
|
f"{emby_name} {parent_path} 下未找到弹幕文件:{danmu_path_pattern},等待5秒后重试 ({retry_cnt}次)")
|
||||||
retry_cnt -= 1
|
retry_cnt -= 1
|
||||||
time.sleep(10)
|
time.sleep(5)
|
||||||
|
|
||||||
if len(list(parent_path.glob(danmu_path_pattern))) >= 1:
|
if len(list(parent_path.glob(danmu_path_pattern))) >= 1:
|
||||||
logger.info(
|
logger.info(
|
||||||
@@ -656,9 +656,9 @@ class EmbyDanmu(_PluginBase):
|
|||||||
# 判断是否完成任务
|
# 判断是否完成任务
|
||||||
if len(_downloaded_danmu_files) != len(season_items):
|
if len(_downloaded_danmu_files) != len(season_items):
|
||||||
logger.warn(
|
logger.warn(
|
||||||
f"{parent_path} 下弹幕文件:{danmu_path_pattern} 未下载完成,等待10秒后重试 ({retry_cnt}次)")
|
f"{parent_path} 下弹幕文件:{danmu_path_pattern} 未下载完成,等待5秒后重试 ({retry_cnt}次)")
|
||||||
retry_cnt -= 1
|
retry_cnt -= 1
|
||||||
time.sleep(10)
|
time.sleep(5)
|
||||||
|
|
||||||
return len(_downloaded_danmu_files), len(season_items)
|
return len(_downloaded_danmu_files), len(season_items)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user