- 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
- Fixed error output on 'mv' commands
- Added error checking for when Recycle Bin is configured but doesn't exist
- Reordered error redirects. No functional difference.
- Updated Readme
- Updated Usage display
- 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