Skip to content
New issue

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

[Feature Request] 希望参数能从配置文件中取 #48

Open
verygoodlee opened this issue Apr 16, 2024 · 0 comments
Open

[Feature Request] 希望参数能从配置文件中取 #48

verygoodlee opened this issue Apr 16, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@verygoodlee
Copy link

verygoodlee commented Apr 16, 2024

有个这种需求,qbit使用rss订阅某部番的某个字幕组,文件名想保留字幕组信息和尽可能多的原始文件名信息。
例如原文件名:[Sakurato] Girls Band Cry [02][AVC-8bit 1080p AAC][CHT].mp4
如果手动调用的话只需要 EpisodeReName.exe --path "D:\...\S01" --name_format "[Sakurato] Girls Band Cry [S{season}E{ep}][AVC-8bit 1080p AAC][CHT]"
但是使用qbit配置自动调用的话,会同时订阅很多剧,--name_format各自都不一样肯定不能写死。

为此我提议可以从季文件夹下某个配置文件读取参数,例如 S01\EpisodeReName_Params.txt

name_format "......"
force_rename 1

除了path参数之外,感觉其他参数都可以加进来,
如果命令行和配置文件有同名参数,应该还是命令行参数优先。

甚至all.txt也可以合并到这里,加一个偏移量参数。

offset 12
@verygoodlee verygoodlee added the enhancement New feature or request label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants