I've changed how files are cleaned by introducing a queue system. When using the --sweep "path/to/media" command, subclean will recursively search through sub-directories looking for subtitle files.
You can use the --depth n to limit how deep subclean will look. This has a hard limit of 25.
When all files have been added to the queue, the cleaning will begin one by one. Each subtitle file should take 1/4th of a second at most, even with 100+ filters.
Better error handling should make things run a bit smoother.
Warning
Using the --sweep argument will enable --overwrite!
This is because there's no dynamic naming system set up. You can still use --output for single files, but when using sweep it will be ignored.
If you encounter any issues, please open an issue on GitHub.
Finally closes #9!
Preview Image
Developer notes
I've changed how files are cleaned by introducing a queue system. When using the
--sweep "path/to/media"
command, subclean will recursively search through sub-directories looking for subtitle files.You can use the
--depth n
to limit how deep subclean will look. This has a hard limit of 25.When all files have been added to the queue, the cleaning will begin one by one. Each subtitle file should take 1/4th of a second at most, even with 100+ filters.
Better error handling should make things run a bit smoother.
Warning
Using the
--sweep
argument will enable--overwrite
!This is because there's no dynamic naming system set up. You can still use
--output
for single files, but when using sweep it will be ignored.If you encounter any issues, please open an issue on GitHub.