This commit is contained in:
thsrite
2025-04-17 14:49:55 +08:00
parent 76a59c437e
commit 02bf7e3425
2 changed files with 4 additions and 1 deletions

View File

@@ -8,6 +8,7 @@
"author": "thsrite",
"level": 1,
"history": {
"v2.2.8": "修复按照历史记录刷新auto默认为true",
"v2.2.7": "优化多季剧集封面刷新逻辑",
"v2.2.6": "更新封面逻辑",
"v2.2.5": "覆盖元数据和图片增加auto选项",

View File

@@ -41,7 +41,7 @@ class EmbyMetaRefresh(_PluginBase):
# 插件图标
plugin_icon = "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/emby-icon.png"
# 插件版本
plugin_version = "2.2.7"
plugin_version = "2.2.8"
# 插件作者
plugin_author = "thsrite"
# 作者主页
@@ -197,6 +197,8 @@ class EmbyMetaRefresh(_PluginBase):
logger.error(f"获取 神医助手 配置失败:{str(e)}")
if str(self._refresh_type) == "历史记录":
self._ReplaceAllMetadata = "true"
self._ReplaceAllImages = "true"
# 获取days内入库的媒体
current_date = datetime.now()
# 计算几天前的日期