jncep
jncep copied to clipboard
[Feature Request] Folder Cleanup / Completed Only
I run this periodically to keep a cache of up to volumes I fall behind on when I get swamped. However, I find manually cleaning up the old files (_Parts_1_to_2, all the way to _Parts_1_to_X, then _Complete) to be an extra step that may be implemented in the code.
I am recommending the following additional options / features in the config:
- To only download Completed _(very rarely a complete volume is downloaded, but isn't tagged as Complete)
- To clean up old versions (AKA when Part_1_to_4 is in the output folder, and Part_1_to_5 is generated, remove Part_1_to_4)
- To default tracking at Volume 1 Part 1 instead of latest part
Excellent work! These are but minor things that I could play around with in a fork when I am back in a couple weeks.
Thank you for your feedback.
To only download Completed _(very rarely a complete volume is downloaded, but isn't tagged as Complete)
There is an option --whole-only
for that in the current development version (not yet released): https://github.com/gvellut/jncep/issues/43
To clean up old versions (AKA when Part_1_to_4 is in the output folder, and Part_1_to_5 is generated, remove Part_1_to_4)
This could be added as an option but there is now an option in the development version to change the output file name, so the name may not always have a Part_x suffix. But, if restricted to the standard case, I guess it could work easily enough.
To default tracking at Volume 1 Part 1 instead of latest part
There is an option called --beginning
: https://github.com/gvellut/jncep/issues/33 . In the development version, the same parameter has also been added to the track add
command to make it consistent, but it has not been released yet.