- 调整了CookieCloud同步逻辑,不再会同步无法登录的站点
- 新增了手动添加站点功能 - 增强了目录监控插件,支持配置独立的转移目的目录 - 历史记录重新整理支持目录监控产生的记录 - 增强了RSS订阅插件,支持直接下载模式 - 修复了剧集刮削集的TMDBID错误的问题 - 修复了部分站点动漫电影分类无法搜索的问题 - 修复了媒体库多盘目录选择的问题 - 修复了自动转移做种插件 - 修复了媒体库刮削插件刮削错误的问题 - 增加了优先级匹配的日志打印
This commit is contained in:
parent
36dbdb57f0
commit
9a74177d73
@ -180,7 +180,7 @@ class FilterModule(_ModuleBase):
|
|||||||
if self.__match_group(torrent, parsed_group.as_list()[0]):
|
if self.__match_group(torrent, parsed_group.as_list()[0]):
|
||||||
# 出现匹配时中断
|
# 出现匹配时中断
|
||||||
matched = True
|
matched = True
|
||||||
logger.info(f"种子 {torrent.site_name} - {torrent.title} 优先级为 {res_order}")
|
logger.info(f"种子 {torrent.site_name} - {torrent.title} 优先级为 {100 - res_order + 1}")
|
||||||
torrent.pri_order = res_order
|
torrent.pri_order = res_order
|
||||||
break
|
break
|
||||||
# 优先级降低,继续匹配
|
# 优先级降低,继续匹配
|
||||||
|
@ -260,6 +260,9 @@ class LibraryScraper(_PluginBase):
|
|||||||
# 查找目录下所有的文件
|
# 查找目录下所有的文件
|
||||||
files = SystemUtils.list_files_with_extensions(path, settings.RMT_MEDIAEXT)
|
files = SystemUtils.list_files_with_extensions(path, settings.RMT_MEDIAEXT)
|
||||||
for file in files:
|
for file in files:
|
||||||
|
if self._event.is_set():
|
||||||
|
logger.info(f"媒体库刮削服务停止")
|
||||||
|
return
|
||||||
# 排除目录
|
# 排除目录
|
||||||
exclude_flag = False
|
exclude_flag = False
|
||||||
for exclude_path in exclude_paths:
|
for exclude_path in exclude_paths:
|
||||||
@ -271,6 +274,11 @@ class LibraryScraper(_PluginBase):
|
|||||||
continue
|
continue
|
||||||
# 识别媒体文件
|
# 识别媒体文件
|
||||||
meta_info = MetaInfo(file.name)
|
meta_info = MetaInfo(file.name)
|
||||||
|
if meta_info.type == MediaType.TV:
|
||||||
|
dir_info = MetaInfo(file.parent.parent.name)
|
||||||
|
else:
|
||||||
|
dir_info = MetaInfo(file.parent.name)
|
||||||
|
meta_info.merge(dir_info)
|
||||||
# 优先读取本地nfo文件
|
# 优先读取本地nfo文件
|
||||||
tmdbid = None
|
tmdbid = None
|
||||||
if meta_info.type == MediaType.MOVIE:
|
if meta_info.type == MediaType.MOVIE:
|
||||||
@ -297,7 +305,7 @@ class LibraryScraper(_PluginBase):
|
|||||||
logger.warn(f"未识别到媒体信息:{file}")
|
logger.warn(f"未识别到媒体信息:{file}")
|
||||||
continue
|
continue
|
||||||
# 开始刮削
|
# 开始刮削
|
||||||
self.chain.scrape_metadata(path=path, mediainfo=mediainfo)
|
self.chain.scrape_metadata(path=file, mediainfo=mediainfo)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def __get_tmdbid_from_nfo(file_path: Path):
|
def __get_tmdbid_from_nfo(file_path: Path):
|
||||||
|
@ -1 +1 @@
|
|||||||
APP_VERSION = 'v1.0.2'
|
APP_VERSION = 'v1.0.3'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user