srvfi-raws / srvfi_rename Goto Github PK
View Code? Open in Web Editor NEWSRVFI用一键重命名脚本
License: MIT License
SRVFI用一键重命名脚本
License: MIT License
[SRVFI-Raws] Bokutachi no Remake 01 [1440×810 HEVC-Main10 AC-3].mkv
[SRVFI-Raws] America, F**K Yeah! S02 [01] [810p HEVC-10bit FLAC].mkv
每一个文件,只命名第二个[]
内的内容,其余通过该脚本辅助命名
America, F**K Yeah! S02
期望为交互输入,不用考虑字符串转义2160p
遍历每个视频使用pymediainfo
读取,下面同理HEVC-10bit
这里使用pymediainfo
读两参数即可,最后写成这四个:HEVC-10bit/HEVC-8bit/AVC-10bit/AVC-8bit
。不对就抛个错误出来,AV1/VP9
等格式后续组内使用了再考虑upper()
。填写FLAC优先,否则写一个码率最高的。二维列表排个序完事sorted(ls,key=(lambda x:x[1]))
提交要求:
主仓库下写在name_python.py
。Github Action增加一个-n SRVFI-Name
的ci构建。
可选:
withdraw_python.py
应当与该脚本兼容,可撤回该脚本的命名。pytest
等单元测试框架编写单元测试,在主仓库下的/test目录里编写。测试覆盖率>50%即可。[SRVFIRaws] Sword Art Online Alicization [01][2160P HEVC Main10 FLAC].mkv
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.