Giter Club home page Giter Club logo

srvfi_rename's People

Contributors

hyw-dev avatar tohrusky avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

tohrusky

srvfi_rename's Issues

辅助命名脚本,使用pymediainfo

[SRVFI-Raws] America, F**K Yeah! S02 [01] [810p HEVC-10bit FLAC].mkv
每一个文件,只命名第二个[]内的内容,其余通过该脚本辅助命名

  1. America, F**K Yeah! S02期望为交互输入,不用考虑字符串转义
  2. 2160p 遍历每个视频使用pymediainfo读取,下面同理
  3. HEVC-10bit这里使用pymediainfo读两参数即可,最后写成这四个:HEVC-10bit/HEVC-8bit/AVC-10bit/AVC-8bit。不对就抛个错误出来,AV1/VP9等格式后续组内使用了再考虑
  4. 遍历音轨,得到的格式统一upper()。填写FLAC优先,否则写一个码率最高的。二维列表排个序完事sorted(ls,key=(lambda x:x[1]))

提交要求:
主仓库下写在name_python.py。Github Action增加一个-n SRVFI-Name的ci构建。

可选:

  1. withdraw_python.py应当与该脚本兼容,可撤回该脚本的命名。
  2. 使用pytest等单元测试框架编写单元测试,在主仓库下的/test目录里编写。测试覆盖率>50%即可。

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.