Commit Graph

58 Commits

Author SHA1 Message Date
TheCaptain989 b0bc301d28 Release 2.16.1 2025-06-09 12:52:38 +00:00
TheCaptain989 4b39f1ec48 Release 2.16.0 2025-06-03 15:53:59 -05:00
TheCaptain989 27dac65562 Release 2.15.0 2025-05-28 19:08:20 -05:00
TheCaptain989 97d0d81a83 Release 2.14.0 2025-05-09 20:33:40 -05:00
TheCaptain989 3313e4cabc Update command-line argument syntax in documentation and script for consistency 2025-05-03 16:55:54 -05:00
TheCaptain989 f4c387e1e6 Documentation update
- Repositioned reorder option
- Updated version
2025-04-28 07:55:01 -05:00
TheCaptain989 f6866e12c0 Release 2.13.3 2025-04-26 10:38:33 -05:00
TheCaptain989 7246fe3eba Minor changes (PATCH)
- Log messages with version
- Dockerfile case
2025-04-21 15:12:32 +00:00
TheCaptain989 53bec57fb1 Release 2.13.1 2025-04-16 18:52:51 +00:00
TheCaptain989 2395da4c36 Release 2.13..0 2025-03-08 10:46:29 -06:00
TheCaptain989 bea4ec9a99 Release 2.12.0 2025-02-09 10:43:16 -06:00
TheCaptain989 500c6e1ceb Release 2.9.0 2024-11-04 17:26:38 -06:00
TheCaptain989 4e9b53f2aa Release 2.8.0
- Added Kannada, Macedonian, and Slovenian language support
- Support for 'Except Language' in Custom Format (TheCaptain989/radarr-striptracks#78)
- Updated README
2024-09-25 20:45:14 -05:00
TheCaptain989 5a8d9f662b Minor fix for edge case
- Fixes thecaptain989/radarr-striptracks#76
2024-08-27 07:37:32 -05:00
TheCaptain989 d6d6f069f3 Release 2.7.1
# What's Changed
- **New** Uses semantic versioning
- **New** Added installation script and documentation for hotio containers
- **Fixes** TheCaptain989/radarr-striptracks#73
- Light editing of README
  - Added GHCR pull counts
- Updated Docker image labeling
2024-08-15 18:51:17 -05:00
TheCaptain989 c52b87f3c1 Revert "Release 2.7.1"
This reverts commit 57888b41fe.
2024-08-15 18:44:58 -05:00
TheCaptain989 57888b41fe Release 2.7.1
# What's Changed
- **New** Uses semantic versioning
- **New** Added installation script and documentation for hotio containers
- **Fixes** TheCaptain989/radar-striptracks#73
- Light editing of README
  - Added GHCR pull counts
- Updated Docker image labeling
2024-08-15 18:35:26 -05:00
TheCaptain989 21f36785c1 Release 2.6.1
- Allow use of optional environmental variables for Radarr/Sonarr config
- Updated Docker labels
2024-05-18 20:37:16 -05:00
TheCaptain989 8bd9f3fd09 Release 2.6
- **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
2024-05-11 22:07:11 -05:00
TheCaptain989 316a6c27dd Fix for awk error
- Fixes TheCaptain989/radarr-striptracks#68
2024-04-29 19:53:21 -05:00
TheCaptain989 9b1dcc1d17 Updated log date format 2024-03-08 18:09:24 -06:00
TheCaptain989 7f80e55fce Release 2.5
- **New:** Added support for *Custom Formats* language selection
- **New:** Now fully supports Sonarr v4
  - 'Original' language support
  - Deprecated `languageprofile` API endpoint accounted for (Fixes TheCaptain989/radarr-striptracks#64)
  - *Still* backward compatible with Sonarr v3
- Fixes TheCaptain989/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
2024-02-11 21:44:28 -06:00
TheCaptain989 39ad09af9c Release 2.4.3
- 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
2023-12-17 10:27:52 -06:00
TheCaptain989 37bf340244 Update striptracks.sh 2023-10-21 12:45:29 -05:00
TheCaptain989 a8f71600ab Release 2.4.1
## What's Changed
- Added special audio language handling (https://github.com/TheCaptain989/radarr-striptracks/issues/54)
- Better handling of Radarr's 'Any' profile selection
- Added `:any` command line language
- Preserves release group metadata after remux (partial fix of issue https://github.com/TheCaptain989/radarr-striptracks/issues/53)
- Removed exit code 12 (for when no remux occurred)
- Marked script files as executable
- Fully linted
2023-09-16 17:42:55 -05:00
TheCaptain989 4b5850e30a Update striptracks.sh
Comments only
2023-09-02 10:33:22 -05:00
TheCaptain989 8f77d45db2 Update striptracks.sh
- Second attempt at bug fix (commit 75039d3)
2023-08-31 20:05:06 -05:00
TheCaptain989 75039d3eb4 Update striptracks.sh
- Fixed small bug.
2023-08-28 17:35:07 -05:00
TheCaptain989 4a307cde0c radarr: striptracks Release 2.4
## 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
2023-08-27 15:57:45 -05:00
TheCaptain989 c35886d183 Release 2.3.5
## 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)")
  Resolves thecaptain989/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
2023-06-09 19:33:50 -05:00
TheCaptain989 d1187f04dc Release 2.3.4
- Resolves thecaptain989/radarr-striptracks#47
2023-05-28 15:08:31 -05:00
TheCaptain989 d683dd4ad3 radarr: striptracks Release 2.3.3
- New video now has temporary name until remux is complete
  Resolves thecaptain989/radarr-striptracks#46
  Repeals thecaptain989/radarr-striptracks#18
2023-05-21 13:43:37 -05:00
aptalca a53abee282 radarr-striptracks update/add workflows 2023-05-18 14:37:49 -04:00
TheCaptain989 5b20d34e2e Release 2.3.2
- Fixed missing executable attribute on some script files
- Fixed null subtitle option to remove all subtitles (resolves linuxserver/docker-mods#537)
- Named arguments now override positional arguments
- Updated cmd line help
- Updated README
2023-01-15 11:25:30 -06:00
TheCaptain989 6d98580a57 Update S6 run script
- Fixed missing executable attribute on some script files
- Fixed version display in log
2022-10-23 15:19:57 -05:00
TheCaptain989 ef8e3ab69e Fix to regex 2022-08-31 18:38:00 -05:00
TheCaptain989 1bcd422bc2 Release 2.3 candidate 1
- 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
2022-08-30 14:23:52 -05:00
TheCaptain989 d9abfefe2e Merge remote-tracking branch 'upstream/radarr-striptracks' into radarr-striptracks 2022-08-30 12:43:28 -05:00
aptalca 06fa22ab33 switch to hybrid 2022-08-18 13:03:55 -04:00
TheCaptain989 a93989a8a8 Patch 2.2a
- 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
2022-02-05 13:50:17 -06:00
aptalca 46aaf1ecab Merge branch 'radarr-striptracks' into radarr-striptracks 2022-01-28 16:05:35 -05:00
TheCaptain989 2e8ee2c919 Cosmetic change
- Add debug logging
- Parameter expansion for blank title
2022-01-23 10:14:16 -06:00
TheCaptain989 0872932cda Update striptracks.sh
Formatting updates only
2021-12-29 09:39:28 -06:00
TheCaptain989 73cdbaa2d4 Standardized apt-get update per aptalca 2021-12-27 16:00:55 -06:00
TheCaptain989 2122355540 Release 2.2
- 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
2021-12-27 15:57:22 -06:00
aptalca dc75c53b1d standardize apt-get, rebase to 3.14 2021-09-21 14:20:27 -04:00
TheCaptain989 7f413a28c6 Release 2.01
- 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
2021-07-04 17:36:37 -05:00
TheCaptain989 3a55ebd95c Release 2.0
- 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
2021-06-06 11:10:41 -05:00
TheCaptain989 513c095e0c Update 98-striptracks 2021-03-11 19:48:00 -06:00
TheCaptain989 d247f6c08d Update striptracks.sh 2021-03-11 19:43:31 -06:00