mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-14 15:30:18 -04:00
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
This commit is contained in:
+4
-1
@@ -1,11 +1,14 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
|
|
||||||
|
## Buildstage ##
|
||||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.17 as buildstage
|
FROM ghcr.io/linuxserver/baseimage-alpine:3.17 as buildstage
|
||||||
|
|
||||||
ARG MOD_VERSION
|
ARG MOD_VERSION
|
||||||
|
|
||||||
|
# copy local files
|
||||||
COPY root/ /root-layer/
|
COPY root/ /root-layer/
|
||||||
|
|
||||||
|
# Add version to script
|
||||||
RUN \
|
RUN \
|
||||||
MOD_VERSION="${MOD_VERSION:-unknown}" && \
|
MOD_VERSION="${MOD_VERSION:-unknown}" && \
|
||||||
sed -i -e "s/{{VERSION}}/$MOD_VERSION/" \
|
sed -i -e "s/{{VERSION}}/$MOD_VERSION/" \
|
||||||
@@ -17,5 +20,5 @@ FROM scratch
|
|||||||
|
|
||||||
LABEL maintainer="TheCaptain989"
|
LABEL maintainer="TheCaptain989"
|
||||||
|
|
||||||
# Copy local files
|
# Add files from buildstage
|
||||||
COPY --from=buildstage /root-layer/ /
|
COPY --from=buildstage /root-layer/ /
|
||||||
|
|||||||
@@ -12,9 +12,9 @@ Container info:
|
|||||||
Production Container info: 
|
Production Container info: 
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
1. Pull your selected container ([linuxserver/radarr](https://hub.docker.com/r/linuxserver/radarr "LinuxServer.io's Radarr container") or [linuxserver/sonarr](https://hub.docker.com/r/linuxserver/sonarr "LinuxServer.io's Sonarr container")) from Docker Hub:
|
1. Pull your selected container ([linuxserver/radarr](https://hub.docker.com/r/linuxserver/radarr "LinuxServer.io's Radarr container") or [linuxserver/sonarr](https://hub.docker.com/r/linuxserver/sonarr "LinuxServer.io's Sonarr container")) from GitHub Container Registry or Docker Hub:
|
||||||
`docker pull linuxserver/radarr:latest` OR
|
`docker pull lscr.io/linuxserver/radarr:latest` OR
|
||||||
`docker pull linuxserver/sonarr:latest`
|
`docker pull lscr.io/linuxserver/sonarr:latest`
|
||||||
|
|
||||||
2. Configure the Docker container with all the port, volume, and environment settings from the *original container documentation* here:
|
2. Configure the Docker container with all the port, volume, and environment settings from the *original container documentation* here:
|
||||||
**[linuxserver/radarr](https://hub.docker.com/r/linuxserver/radarr "Radarr Docker container")**
|
**[linuxserver/radarr](https://hub.docker.com/r/linuxserver/radarr "Radarr Docker container")**
|
||||||
@@ -36,7 +36,7 @@ Production Container info: `) or the series title plus episode information (ex: `Happy! 01x01 - What Smiles Are For`).
|
(ex: `The Sting (1973)`) or the series title plus episode information (ex: `Happy! 01x01 - What Smiles Are For`).
|
||||||
The language of the video file will be updated in the Radarr or Sonarr database to reflect the actual languages preserved in the remuxed video.
|
The language of the video file will be updated in the Radarr or Sonarr database to reflect the actual languages preserved in the remuxed video.
|
||||||
|
|
||||||
If you've configured the Radarr/Sonarr **Recycle Bin** path correctly, the original video will be moved there.
|
If you've configured the Radarr/Sonarr **Recycle Bin** path correctly, the original video will be moved there.
|
||||||
![danger] **NOTE:** If you have *not* configured the Recycle Bin, the original video file will be deleted/overwritten and permanently lost.
|
![danger] **NOTE:** If you have *not* configured the Recycle Bin, the original video file will be deleted/overwritten and permanently lost.
|
||||||
|
|
||||||
|
If the resulting video file would contain the same tracks as the original, the remux step is skipped *unless* the source file is not an MKV.
|
||||||
|
|
||||||
### Syntax
|
### Syntax
|
||||||
Beginning with version 2.0 of this mod, the script may be called with no arguments. In this configuration it will detect the language(s) defined in the profile (*Quality Profile* for Radarr, *Language Profile* for Sonarr) configured on the particular movie or TV show.
|
Beginning with version 2.0 of this mod, the script may be called with no arguments. In this configuration it will detect the language(s) defined in the profile (*Quality Profile* for Radarr, *Language Profile* for Sonarr) configured on the particular movie or TV show.
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -6,8 +6,8 @@ Only the latest major and minor version are supported.
|
|||||||
|
|
||||||
| Version | Supported |
|
| Version | Supported |
|
||||||
| ------- | ------------------ |
|
| ------- | ------------------ |
|
||||||
| 2.3.x | :heavy_check_mark: |
|
| 2.4.x | :heavy_check_mark: |
|
||||||
| < 2.3 | :x: |
|
| < 2.4 | :x: |
|
||||||
|
|
||||||
## Reporting a Vulnerability
|
## Reporting a Vulnerability
|
||||||
|
|
||||||
|
|||||||
+654
-296
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user