feat:新增同盘优先设置

This commit is contained in:
jxxghp
2024-05-24 11:19:21 +08:00
parent be11ef72a9
commit eb4e4b5141
5 changed files with 46 additions and 12 deletions

View File

@ -233,7 +233,7 @@ class DownloadChain(ChainBase):
if not save_path:
# 获取下载目录
dir_info = self.directoryhelper.get_download_dir(_media)
if not dir_info or not dir_info.path:
if not dir_info:
logger.error(f"未找到下载目录:{_media.type.value} {_media.title_year}")
self.messagehelper.put(f"{_media.type.value} {_media.title_year} 未找到下载目录!",
title="下载失败", role="system")