- Added Kannada, Macedonian, and Slovenian language support
- Support for 'Except Language' in Custom Format (TheCaptain989/radarr-striptracks#78)
- Updated README
- **New** Settings can now be passed to the script via the STRIPTRACKS_ARGS environment variable
- **New** Added check for invalid eventtypes
- File ownership is only attempted when running as root
- **New:** Added support for *Custom Formats* language selection
- **New:** Now fully supports Sonarr v4
- 'Original' language support
- Deprecated `languageprofile` API endpoint accounted for (FixesTheCaptain989/radarr-striptracks#64)
- *Still* backward compatible with Sonarr v3
- FixesTheCaptain989/radarr-striptracks#66
- Added Radarr/Sonarr feature compatibility tests
- Added quick drop-out if unable to determine Radarr/Sonarr version
- Added a longer wait for rescan, delete, and update completion
- Improved Radarr/Sonarr database update logic
- Editor API will no longer be called if there are no changes
- No update with 'Unknown' language
- Improved automatic language detection logic
- Improved debug logging
- Incremented GitHub workflow actions, per the [Node.js 16 deprecation](https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/ "GitHub Actions: Transitioning from Node 16 to Node 20") announcement
- Updated README
- Added command-line option for log file
- Added checks for log file and path
- Added loop and wait on some functions when database is locked
- Changed temporary file name generation to avoid possible race condition with Radarr/Sonarr refresh
- Shows temp filename in debug output
- Fix for TheCaptain989/radarr-striptracks#61
- Fix for populated urlbase (Addresses TheCaptain989/radarr-striptracks#57)
- Fix for multiline message on API error
- Improved mkvmerge error handling
- Edited README and SECURITY
- Update help
## 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
## What's changed
- Adds additional documentation, warnings, and modifies logic of `:org` code, with special warnings for [use in Sonarr](./README.md#original-language-code "(e.g., it doesn't work)")
Resolvesthecaptain989/striptracks#48
- Fixed missing Romanian language selection when using 'Any' in Radarr profile
- Added language code support for: Bosnian, Bengali, Malayalam, Ukrainian, Catalan, Croatian, Estonian, Indonesian, Latvian, Serbian, Slovak, Tamil, Telugu, and Persian
- 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
- Added Original language feature
- Added :org special purpose language code (Resolves#392)
- Added example scripts to use :org code
- Cleaned up awk code
- Modified removed track logging to be a single line
- Removed tracks now are logged as Informational instead of Debug
- Moved position argument check earlier
- Updated README
- Changed some log messages to make them more concise
- Added version option
- Reverted to single-stage build
- Insert version into scripts during build
- Updates Radarr/Sonarr version check to use v3 API. This makes the script fully compatible with Radarr v4.
- Added debug info for system API
- Added debug info for config API
- Preparation for S6 V3
- Updates version check to use v3 API. This makes the script fully compatible with Radarr v4.
- Added debug info for system API
- Added debug info for config API
- Added error checking for when Recycle Bin is configured but doesn't exist
- **Added batch mode as a result of issue** [#41](https://github.com/TheCaptain989/radarr-striptracks/issues/41)
- Moved command line option check earlier in the script and completely reworked options/arguments processing
Correctly handles positional arguments regardless of relation to flagged options.
Added flagged options for audio and subtitles.
Added long arguments options.
- Made mode detection more robust
- Normalized test event output
- Added error checking for curl, mv, and rm issues
Added additional error text.
Normalized some rare error messages.
- Fixed the broken codec detection awk code
- Explicitly add "und" to track log if no language detected
- Corrected issue where the wrong language is chosen in some cases.
(Radarr and Sonarr don't use the same numeric language IDs. Code was updated to use the name of the language, not the numeric code.)
- **Script will now try to set the language(s) in Radarr or Sonarr to what was retained after the video remux.**
This fixes the lagging 'Multi-Language' issue in Radarr, among other things. See issue #42 for more details.
(This is a little messy and may be tightened up later.)
- Added check for mkvmerge -J return
- **Added multiple debug logging levels, defaults to lowest**
Default debug level excludes the returned JSON, making it more readable and useful
- Tightened up some jq code
- **Added additional languages to codemap: Thai, Romanian**
- Added handler for unknown language code
- Updated help text and documentation