acgtools / sub-renamer Goto Github PK
View Code? Open in Web Editor NEWCLI tool to automatically rename subtitle files to match corresponding video files. 自动为字幕文件匹配视频并重命名的 CLI 工具。
License: MIT License
CLI tool to automatically rename subtitle files to match corresponding video files. 自动为字幕文件匹配视频并重命名的 CLI 工具。
License: MIT License
Is your feature request related to a problem? Please describe.
There are no flags for sub-renamer to get version info
Describe the solution you'd like
Add version info and use -v
to display the version
Why is the feature needed?
This can tell users the app version they are using
Example
$ sub-renamer -v
version v0.1.1
Is your feature request related to a problem? Please describe.
After renaming the sub files, the user has to copy subs manually.
Describe the solution you'd like
Add flag for copying subs to video directory
Why is the feature needed?
Enhance user experience.
Example
$ sub-renamer -c <vid> <sub>
Describe the bug
Cannot get episode number when the number have different length
How To Reproduce
Subtitle file looks like this :
灼眼的夏娜 (1).ass
...
灼眼的夏娜 (10).ass
$ sub-renamer videopath subpath
...
Error: failed to parse subtitle episode: failed to get episode position in file name: "灼眼的夏娜 (1).ass", episode number not found
...
Expected behavior
Rename subtitle file successfully
Screenshots
N/A
Environment (please complete the following information):
Additional context
N/A
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.