We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
featrue request
功能需求:捕获片源文件名中的一些信息,例如:节目时间、剧集编号、小标题 将捕获到的内容按需填到avs文件名中。
例如: 20160822_0730_NHKBSプレミアム 連続テレビ小説 とと姉ちゃん(121)「常子、子供たちの面倒をみる」[解][字][デ].ts
尝试去捕获其中的: 节目编号:121 小标题:常子、子供たちの面倒をみる 节目日期:20160822
将捕获的内容填到avs文件名:20160822.当家姐姐.EP121.「常子、子供たちの面倒をみる」.avs
The text was updated successfully, but these errors were encountered:
既然这是个java项目,java从7开始支持带有命名捕获组的正则表达式。
实现本功能的核心思路: 匹配前将文件名全角数字转为半角数字, 使用命名的捕获组进行捕获, 将捕获的内容根据avs文件名中的{{}}标记来替换上去,这样就可以实现本功能
Sorry, something went wrong.
用户接口设计方案
用--filename-match定义regex:
--filename-match=^(?<date>\d{8}).*((?<ep>\d+))「(?<title>.*)」.*
生成avs时引用匹配的内容
--gen-avs=preview::preview.tpl.avs::[小档]{{date}}.当家姐姐.EP{{ep}}.「{{title}}」.avs
v1.4.7 已实现
No branches or pull requests
featrue request
功能需求:捕获片源文件名中的一些信息,例如:节目时间、剧集编号、小标题
将捕获到的内容按需填到avs文件名中。
例如:
20160822_0730_NHKBSプレミアム 連続テレビ小説 とと姉ちゃん(121)「常子、子供たちの面倒をみる」[解][字][デ].ts
尝试去捕获其中的:
节目编号:121
小标题:常子、子供たちの面倒をみる
节目日期:20160822
将捕获的内容填到avs文件名:20160822.当家姐姐.EP121.「常子、子供たちの面倒をみる」.avs
The text was updated successfully, but these errors were encountered: