-
Notifications
You must be signed in to change notification settings - Fork 13
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] Custom naming #29
Comments
Thank you for your feedback. Isn't there some text missing from the post? (actual Linux commands). At first glance, I would say, that if it is doable outside jncep, it doesn't seem necessary to add transformations in the program itself. However, for the transformations you want, if you can list the rules you would like to see, then I would accept a patch that would add an option that takes as values a rule name (or list of rule names) to apply to the file names. Something like: |
https://gist.github.com/mizz141/4ef0c984c51d3968525aaf2a2666d071 It works somehow lol |
OK Thanks. I will have a look. |
It took a while but I got around to implement that feature (it turns out it was something I needed and I wanted to take into account your use case and mine). It is a bit complex and not documented yet but I will do that for the next release. |
Currently when updating a series, it jncep generates a name based on the Volume and Parts of the Prepub, I'd like a configuration where only the Volume is shown and numbered, additionally flags could be set for converting spelled out numbers into decimals and removing underscores etc.
this is doable on linux currently with
"Rebuild_World_Volume_2_Part_Two_Parts_1_to_9.epub"
You'd get "Rebuild_World_Volume_2_Part_Two.epub"
now if the spelled out numbers could be regenerated into a decimal:
"Rebuild_World_Volume_2_Part_2.epub"
Adding some padding and replacing the "part" with a decimal:
"Rebuild_World_Volume_02.2.epub"
The text was updated successfully, but these errors were encountered: