Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion package.v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -327,11 +327,12 @@
"name": "智能重命名",
"description": "自定义适配多场景重命名。",
"labels": "刮削",
"version": "1.5",
"version": "1.5.1",
"icon": "https://raw.githubusercontent.com/InfinityPacer/MoviePilot-Plugins/main/icons/smartrename.png",
"author": "InfinityPacer",
"level": 1,
"history": {
"v1.5.1": "修正默认词替换规则在新版 Python 中触发的转义告警",
"v1.5": "支持与其它重命名插件链式协作,词替换可叠加在上游已渲染结果上",
"v1.4": "支持根据TMDB或二级分类自定义重命名模板规则",
"v1.3": "支持自定义替换词及修改自定义占位符分隔符",
Expand Down
4 changes: 2 additions & 2 deletions plugins.v2/smartrename/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class SmartRename(_PluginBase):
# 插件图标
plugin_icon = "https://raw.githubusercontent.com/InfinityPacer/MoviePilot-Plugins/main/icons/smartrename.png"
# 插件版本
plugin_version = "1.5"
plugin_version = "1.5.1"
# 插件作者
plugin_author = "InfinityPacer"
# 作者主页
Expand Down Expand Up @@ -319,7 +319,7 @@ def get_form(self) -> Tuple[List[dict], Dict[str, Any]]:
"separator_types": ["audioCodec", "videoCodec", "videoFormat", "edition", "effect",
"resourceType"],
"custom_separator": "@",
"word_replacements": """(?i)(?<=[\W_])BluRay.REMUX(?=[\W_]) => REMUX
"word_replacements": r"""(?i)(?<=[\W_])BluRay.REMUX(?=[\W_]) => REMUX
(?i)(?<=[\W_])HDR.DV(?=[\W_]) => DoVi.HDR
(?i)(?<=[\W_])DV(?=[\W_]) => DoVi
(?i)(?<=[\W_])H264(?=[\W_]) => x264
Expand Down