Commit Graph

68 Commits

Author SHA1 Message Date
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 855d9c42be Merge pull request #673 from linuxserver/radarr-striptracks-update
radarr-striptracks update/add workflows
2023-05-20 10:41:51 -04:00
aptalca a53abee282 radarr-striptracks update/add workflows 2023-05-18 14:37:49 -04:00
aptalca ab57c411eb Merge pull request #558 from TheCaptain989/radarr-striptracks
radarr: striptracks Release 2.3.2
2023-01-24 20:38:29 -05: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
aptalca 8e2fda6f25 Merge pull request #516 from TheCaptain989/radarr-striptracks
Radar: striptracks Release 2.3.1
2022-10-23 16:43:17 -04: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
aptalca ba5c926672 Merge pull request #486 from TheCaptain989/radarr-striptracks
radarr: striptracks Release 2.3
2022-09-04 20:47:51 -04: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 7c92f7ccc7 Merge pull request #457 from linuxserver/radarr-striptracks-s6v3
switch to hybrid (radarr-striptracks)
2022-08-30 13:25:15 -04: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 6146a336af Merge pull request #277 from TheCaptain989/radarr-striptracks
radarr: striptracks Release 2.2
2022-01-28 16:06:03 -05:00
aptalca 46aaf1ecab Merge branch 'radarr-striptracks' into radarr-striptracks 2022-01-28 16:05:35 -05:00
TheCaptain989 d6ecff2c2e Merge branch 'radarr-striptracks' of https://github.com/TheCaptain989/docker-mods into radarr-striptracks 2022-01-23 10:14:26 -06:00
TheCaptain989 2e8ee2c919 Cosmetic change
- Add debug logging
- Parameter expansion for blank title
2022-01-23 10:14:16 -06:00
TheCaptain989 d31a4f0974 Release 2.2
Removed duplicate Icelandic language from ISO codemap
2022-01-13 07:21:59 -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
Roxedus 4c2f639342 Merge pull request #250 from linuxserver/radarr-striptracks-apt 2021-09-26 22:16:40 +02: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
aptalca 194b1c7b85 Merge pull request #211 from TheCaptain989/radarr-striptracks
radarr: striptracks Release 2.0
2021-06-06 14:12:02 -04: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
aptalca 9cf3e1e32b Merge pull request #199 from TheCaptain989/radarr-striptracks
radarr: striptracks release 1.3
2021-04-08 08:18:02 -04:00
TheCaptain989 e1ab43019e Update build variable
VERSION calculated differently
2021-04-08 06:05:14 -05:00
TheCaptain989 c6bd071501 Update README.md 2021-04-08 06:01:03 -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
TheCaptain989 e84d159632 Fixes Sonarr issue
- Resolves #168
2021-03-11 19:37:36 -06:00
TheCaptain989 7ad6432069 Updated documentation and build 2021-03-11 18:33:17 -06:00
aptalca 78f59199b5 Merge pull request #170 from bxlouis/patch-1
Add English & French wrapper script
2021-02-25 16:04:24 -05:00
bxlouis b691618723 Add English & French wrapper script
This new wrapper only keeps English, French and Undetermined Audio and English and French subtitles.
2021-02-06 02:06:24 +01:00
aptalca a7c70961e1 Merge pull request #110 from linuxserver/radarr-striptracks-gha-ghcr
Switch to GHA, add GHCR
2020-11-02 16:51:29 -05:00
aptalca a89dde4d68 change baseimage to ghcr 2020-11-02 16:50:07 -05:00
Eric Nemchik 8963e74ee7 Update BuildImage.yml 2020-11-02 11:53:55 -06:00
Eric Nemchik 3e33ec6a70 Switch to GHA, add GHCR 2020-11-01 15:36:02 -06:00