## What's Changed
- **New:** Video remux is now skipped if no tracks will be removed and if file is already an MKV (issue thecaptain989/striptracks#49)
- **New:** Calls the Radarr/Sonarr rename API if required by Movie/Episode naming rules (issue thecaptain989/striptracks#50)
- **New:** Now uses the Radarr/Sonarr API to delete or recycle old videos
- Improved some code that handles differences between Radarr and Sonarr
- All API calls are now functions
- Fixed the detection of all Norwegian codes
- Fixed logging of curl errors and improved error handling
- Removed rescan loop
- Added check for 'queued' job status
- More consistent ending of script
- Fixed missing executable attribute on some script files
- Fixed null subtitle option to remove all subtitles (resolveslinuxserver/docker-mods#537)
- Named arguments now override positional arguments
- Updated cmd line help
- Updated README
- Script can now be called with no arguments. Languages are pulled from the configured quality or language profile. Command line arguments are still supported and override what is detected.
- Only Radarr and Sonarr version 3 and later are supported. Using API v3 for most functions.
- Losing quality setting during rescan is 100% fixed in both Radarr and Sonarr
- Now uses the API to detect RecycleBin (removing undocumented dependency on sqlite3)
- Fixes formatting bug with submitted JSON in curl
- Adding URL quoting to curl commands
- Renamed more variables to avoid name collisions
- Added additional debug logging