Releases: DrKain/subclean
v1.4.0
What's Changed
Assuming there are no bugs that need fixing this will be the last code update in a while. If you are using an older version of subclean please update to 1.4.0! I will continue to update the filters as I find them.
- Converted 40 filters into 18 regex filters to optimize cleaning
- Much more information is logged when using
--debug
- Added
--ne
(no-empty). This will delete empty nodes instead of blanking them - Added
--testing
. When this is enabled the file will not be modified but everything else will be logged. - When using
--debug
alatest.log
file will be created in the app data location, this contains the output of the last clean. - App data folders are validated before cleaning to prevent errors
- When using
--debug
, internal filters will be used instead of downloaded filters. - 1.4.0 in #19
Full Changelog: v.1.3.5...v1.4.0
v1.3.5
This is a minor update that fixes one bug and optimizes multiple filters. You can simply use --update
to download the new filters. You do not need to download this version.
What's Changed
- Modified several domain filters for better matching by removing the TLD as they were unlikely to appear in any dialogue.
- Moved several users from
main.json
tousers.json
. - Filters will be de-duped during sorting. Thanks co-pilot for suggesting this.
- Fixed an incorrect directory target.
- Added 2 filters.
Full Changelog: v.1.3.4...v.1.3.5
1.3.4
1.3.2
What's Changed
Simply run subclean --update
to download new filters from GitHub.
Full Changelog: v1.3.1...v1.3.2
1.3.1
- 5 new filters
- Minor code cleanup
- Build script updated
- Filter lists are now sorted
The next version will include the ability to download filters through the command line instead of having to download subclean very version.
I'm using this tool too, so it's inconvenient for me also 🌧️
You'll also be able to use your own filters when this feature rolls out
Full Changelog: v1.3.0...v1.3.1
1.3.0
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.
Full Changelog: v1.2.7...v1.3.0
1.2.7
1.2.6
Minor update. Just 3 new filters I discovered when re-watching Kingdom.
Full Changelog: v1.2.5...v1.2.6
1.2.5
1.2.4
Not many new filters this release. The current filters remove nearly all advertising so far, it's mostly just domains being added now.
I'll continue to add new filters as I discover them.
Some code optimization is in the works too.
Added:
- Lint file for development
- 7 default filters
- 2 user filters