Giter Site home page Giter Site logo

plex-sorttittle's Introduction

Plex-SortTittle

功能介绍

  • 修改Plex排序名称为拼音,以便于进行中文影音的搜索及排序
  • 整理影片标签,将英文标签转换为中文标签 (整理库时自动运行)

脚本为Python3 编写,需要安装python3环境,脚本中会自动安装所需依赖包
群晖默认无python3 及pip环境 可参考 此链接配置

支持类型

✅ 电影 ✅ 剧集 ✅ 音乐

效果预览

脚本使用方式

  1. 外部传参
  2. 脚本内部配置参数(将 USE_INIT 设为 True)
  3. 直接运行(会提示输入选择要排序的库),运行命令 python SortTittle.py

配合 Tautulli 使用 - 外部传参

方法

  • 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>

TODO list

  • 添加集合排序规则修改

plex-sorttittle's People

Contributors

alano-i avatar wadechenn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.