Skip to content

Simplify v2.2

Choose a tag to compare

@Az-21 Az-21 released this 14 Feb 19:33
· 15 commits to main since this release

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.json file.
  • 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.json file under SeasonAndOrEpisodePrefix option.
  • Removed CliSeparator function 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 depth n can 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