Simplify v2.2
What's Changed
- General performance improvements.
- Changed the default behavior to target the current working directory of terminal/console if a library path is not provided explicitly.
- Added usage comments on options in
Config.jsonfile. - Added a proper error message for when the program fails to parse
Config.json. - Added a new option to remove curly brackets and its contents
{ ... }. - Improved season + episode appending function to extract info from brackets
{ ... },( ... ),[ ... ]even if they are configured to be removed. - Added option to change the prefix of season + episode in
Config.jsonfile underSeasonAndOrEpisodePrefixoption. - Removed
CliSeparatorfunction as it conflicts with prefix of season + episode appending function. The extra steps to fix conflicts are not worth it. - Completely rewrote bracket removing functions to account for nested brackets
{ {} },( () ),[ [] ]. A recursive implementation is used, so brackets of any depthncan be removed. - Added failsafe condition to prevent bracket removal functions from removing unbalanced brackets where the number of opening brackets do not match the number of closing brackets. Removing unbalanced brackets may result in unintended loss of information.
- Moved documentation from an external website to GitHub readme.
- Added missing documentation for new features added since
v1. - Improved regex performance using the new .NET compiled, source generated regex patterns.
Usage
Before running the console app, install the latest .NET 7 Runtime
https://dotnet.microsoft.com/en-us/download/dotnet/7.0