From d610026693d9c88e58b70db15961bcafc4ef2f1e Mon Sep 17 00:00:00 2001 From: TheCaptain989 Date: Fri, 21 Jun 2024 15:44:28 -0500 Subject: [PATCH] Update README.md - Grammar only --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 3d7094e..a30d014 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # About -A [Docker Mod](https://github.com/linuxserver/docker-mods) for the LinuxServer.io Radarr/Sonarr v3 Docker container that adds a script to automatically strip out unwanted audio and subtitle tracks, keeping only the desired languages. +A [Docker Mod](https://github.com/linuxserver/docker-mods) for the LinuxServer.io Radarr/Sonarr v3 or higher Docker containers that adds a script to automatically strip out unwanted audio and subtitle tracks, keeping only the desired languages. **Beginning with version 2.0 of this mod, it only supports v3 or later of Radarr/Sonarr. For legacy Radarr/Sonarr v2 please use mod release 1.3 or earlier** @@ -102,7 +102,7 @@ The language selection **'Unknown'** will match tracks with **no configured lang The Radarr language selection **'Any'** has two purposes: 1) It will trigger a search of languages in ***Custom Formats*** - 2) If none are found, it will will preserve **all languages** in the video file. This is functionally equivalent to calling the script with `--audio :any --subs :any` command-line options. See [Any language code](./README.md#any-language-code) below for more details. + 2) If none are found, it will preserve **all languages** in the video file. This is functionally equivalent to calling the script with `--audio :any --subs :any` command-line options. See [Any language code](./README.md#any-language-code) below for more details. >**Note:** When using the *Custom Format* conditions and scoring to select languages you may not get the results you expect. >This can be non-intuitive configuration, especially when using negative scoring and the 'Negate' option. @@ -155,15 +155,15 @@ Where: Option|Argument|Description ---|---|--- --a, --audio||Audio languages to keep
ISO639-2 code(s) prefixed with a colon (`:`) --s, --subs||Subtitle languages to keep
IISO639-2 code(s) prefixed with a colon (`:`) +-a, --audio||Audio languages to keep
ISO 639-2 code(s) prefixed with a colon (`:`) +-s, --subs||Subtitle languages to keep
ISO 639-2 code(s) prefixed with a colon (`:`) -f, --file||If included, the script enters **[Batch Mode](./README.md#batch-mode)** and converts the specified video file.
Requires the `-a` option.
![danger] **WARNING:** Do not use this argument when called from Radarr or Sonarr! -l, --log|\|The log filename
Default of /config/log/striptracks.txt -d, --debug|\[\\]|Enables debug logging. Level is optional.
Default of 1 (low)
2 includes JSON output
3 contains even more JSON output --help| |Display help and exit. --version| |Display version and exit. -The `` and `` are optional arguments that are colon (`:`) prepended language codes in [ISO639-2](https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes "List of ISO 639-2 codes") format. +The `` and `` are optional arguments that are colon (`:`) prepended language codes in [ISO 639-2](https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes "List of ISO 639-2 codes") format. For example: * `:eng` @@ -189,7 +189,7 @@ Several [Included Wrapper Scripts](./README.md#included-wrapper-scripts) use thi ### Unknown language code The `:und` language code is a special code. When used, the script will match on any track that has a null or blank language attribute. If not included, tracks with no language attribute will be removed. ->![danger] **NOTE:** It is common for M2TS and AVI containers to have tracks with unknown languages! It is strongly recommended to include `:und` in most instances unless you know exactly what you're doing. +>![danger] **NOTE:** It is common for M2TS and AVI files to have tracks with unknown languages! It is strongly recommended to include `:und` in most instances unless you know exactly what you're doing. ## Special Handling of Audio The script is smart enough to not remove the last audio track. There is in fact no way to force the script to remove all audio. This way you don't have to specify every possible language if you are importing a foreign film, for example.