- 修改Plex排序名称为拼音,以便于进行中文影音的搜索及排序
- 整理影片标签,将英文标签转换为中文标签 (整理库时自动运行)
脚本为Python3 编写,需要安装python3环境,脚本中会自动安装所需依赖包
群晖默认无python3 及pip环境 可参考 此链接配置
✅ 电影 ✅ 剧集 ✅ 音乐
- 外部传参
- 脚本内部配置参数(将
USE_INIT
设为True
) - 直接运行(会提示输入选择要排序的库),运行命令
python SortTittle.py
- 将
SortTittle.py
文件放入 tautulli 的/config/script/目录下,SortTittle.py
填入相关配置,将USE_INIT
设为False
- Tautulli 中新建通知-类型选-script
- 选择
SortTittle.py
- 入库处填入下方代码
- 保存即可(当有新影片入库,自动执行脚本)
<movie>-mid {rating_key}</movie><show>-mid {grandparent_rating_key}</show><season>-mid {parent_rating_key}</season>
- 添加集合排序规则修改