DrKain / subclean

A cross-platform CLI tool and node module to remove advertising from subtitles. Supports Bazarr and bulk cleaning!
MIT License
54 stars 5 forks source link

[Feature Request] Multiple subtitles #9

Closed DrKain closed 2 years ago

DrKain commented 2 years ago

Right now a script exists in the wiki to do just this, but it does require the user to install Node.
The ideal outcome is something like:

subclean --sweep "path/to/media" -w

This would scan path/to/media and all sub-directories for subtitle files, then clean them one by one.
To keep things simple: -w or --overwrite must be enabled for --sweep to function.

DrKain commented 2 years ago

This is a fairly simple feature so I'll probably add it this weekend

DrKain commented 2 years ago

2 days late. Oops

DrKain commented 2 years ago

Final test for anyone curious, these are the log files for my own small library:

subclean --sweep "F:/Media/TV Shows/"

~ 1 minute tv-output.txt

subclean --sweep "F:/Media/Movies/"

~ 3 minutes
mv-output.txt

Very little matches because I have cleaned them many times already. This was mostly just to test the duration of each sweep.