Commit Graph

83 Commits

Author SHA1 Message Date
TheCaptain989 452e6f0674 Merge branch 'linuxserver:radarr-striptracks' into radarr-striptracks 2024-05-02 10:55:54 -05:00
aptalca daf891ad57 Use alpine 3.19
Signed-off-by: aptalca <541623+aptalca@users.noreply.github.com>
2024-05-02 10:55:20 -05:00
TheCaptain989 316a6c27dd Fix for awk error
- Fixes TheCaptain989/radarr-striptracks#68
2024-04-29 19:53:21 -05:00
aptalca 9991fb3e76 Merge pull request #881 from linuxserver/radarr-striptracks-3.19
radarr-striptracks: Use alpine 3.19
2024-04-19 00:31:38 -04:00
aptalca 844802e166 Use alpine 3.19
Signed-off-by: aptalca <541623+aptalca@users.noreply.github.com>
2024-04-18 21:05:35 -04:00
TheCaptain989 9b1dcc1d17 Updated log date format 2024-03-08 18:09:24 -06:00
aptalca 096e5c6390 Merge pull request #844 from TheCaptain989/radarr-striptracks
radarr: striptracks release 2.5
2024-02-16 22:18:21 -05:00
TheCaptain989 34c62a61c2 Update BuildImage.yml
MULTI_ARCH is false
2024-02-16 21:16:07 -06:00
TheCaptain989 fb84fb2c4d Update BuildImage.yml 2024-02-16 17:28:23 -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
aptalca 97f6660648 Merge pull request #800 from TheCaptain989/radarr-striptracks
radarr: striptracks release 2.4.3
2023-12-17 11:54:04 -05: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
aptalca af92432b5d Merge pull request #775 from TheCaptain989/radarr-striptracks
radarr: striptracks release 2.4.2
2023-10-24 14:59:11 -05:00
TheCaptain989 37bf340244 Update striptracks.sh 2023-10-21 12:45:29 -05:00
aptalca e436b776b8 Merge pull request #765 from TheCaptain989/radarr-striptracks
radarr: striptracks Release 2.4.1
2023-09-25 17:28:06 -04: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
aptalca c84ccd4f47 Merge pull request #752 from TheCaptain989/radarr-striptracks
radarr: striptracks Release 2.4
2023-09-02 15:52:39 -04: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
aptalca 647a4bb668 Merge pull request #711 from TheCaptain989/radarr-striptracks
radarr: striptracks Release 2.3.5
2023-06-09 20:51:04 -04: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
aptalca cd025fc439 Merge pull request #705 from TheCaptain989/radarr-striptracks
radarr: striptracks Release 2.3.3
2023-05-21 15:07:01 -04: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