Skip to content

Commit f4c387e

Browse files
Documentation update
- Repositioned reorder option - Updated version
1 parent f6866e1 commit f4c387e

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/BuildImage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
echo "MULTI_ARCH=${{ env.MULTI_ARCH }}" >> $GITHUB_OUTPUT
3232
if [[ -z "${{ env.MOD_VERSION }}" ]]; then
3333
# **** If the mod needs to be versioned, set the versioning logic below. Otherwise leave as is. ****
34-
MOD_VERSION="2.13.1"
34+
MOD_VERSION="2.13.3"
3535
else
3636
MOD_VERSION=${{ env.MOD_VERSION }}
3737
echo "MOD_VERSION_OVERRIDE=true" >> $GITHUB_OUTPUT

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ All language conditions with positive scores *and* Negated conditions with negat
210210
The script also supports command-line arguments that will override the automatic language detection. More granular control can therefore be exerted or extended using tagging and defining multiple *Connect* scripts (this is native Radarr/Sonarr functionality outside the scope of this documentation).
211211

212212
The syntax for the command-line is:
213-
`striptracks.sh [{-a|--audio} <audio_languages> [{-s|--subs} <subtitle_languages>] [--reorder] [{-f|--file} <video_file>]] [{-l|--log} <log_file>] [{-c|--config} <config_file>] [{-d|--debug} [<level>]]`
213+
`striptracks.sh [{-a|--audio} <audio_languages> [{-s|--subs} <subtitle_languages>] [{-f|--file} <video_file>]] [--reorder] [{-l|--log} <log_file>] [{-c|--config} <config_file>] [{-d|--debug} [<level>]]`
214214

215215
<details>
216216
<summary>Table of Command-Line Arguments</summary>
@@ -219,8 +219,8 @@ Option|Argument|Description
219219
---|---|---
220220
`-a`, `--audio`|`<audio_languages>`|Audio languages to keep<br/>ISO 639-2 code(s) prefixed with a colon (`:`)<br/>Each code may optionally be followed by a plus (`+`) and one or more [modifiers](#language-code-modifiers).
221221
`-s`, `--subs`|`<subtitle_languages>`|Subtitle languages to keep<br/>ISO 639-2 code(s) prefixed with a colon (`:`)<br/>Each code may optionally be followed by a plus (`+`) and one or more modifiers.
222-
`--reorder`| |Reorder audio and subtitles tracks to match the language code order specified in the `<audio_languages>` and `<subtitle_languages>` arguments.
223222
`-f`, `--file`|`<video_file>`|If included, the script enters **[Batch Mode](#batch-mode)** and converts the specified video file.<br/>Requires the `--audio` option.<br/>![notes] **Do not** use this argument when called from Radarr or Sonarr!
223+
`--reorder`| |Reorder audio and subtitles tracks to match the language code order specified in the `<audio_languages>` and `<subtitle_languages>` arguments.
224224
`-l`, `--log`|`<log_file>`|The log filename<br/>Default is `/config/log/striptracks.txt`
225225
`-c`, `--config`|`<config_file>`|Radarr/Sonarr XML configuration file<br/>Default is `/config/config.xml`
226226
`-d`, `--debug`|`[<level>]`|Enables debug logging. Level is optional.<br/>Default is `1` (low)<br/>`2` includes JSON output<br/>`3` contains even more JSON output

root/usr/local/bin/striptracks.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ mode.
7676
Source: https://github.com/TheCaptain989/radarr-striptracks
7777
7878
Usage:
79-
$0 [{-a|--audio} <audio_languages> [{-s|--subs} <subtitle_languages>] [--reorder] [{-f|--file} <video_file>]] [{-l|--log} <log_file>] [{-c|--config} <config_file>] [{-d|--debug} [<level>]]
79+
$0 [{-a|--audio} <audio_languages> [{-s|--subs} <subtitle_languages>] [{-f|--file} <video_file>]] [--reorder] [{-l|--log} <log_file>] [{-c|--config} <config_file>] [{-d|--debug} [<level>]]
8080
8181
Options can also be set via the STRIPTRACKS_ARGS environment variable.
8282
Command-line arguments override the environment variable.
@@ -92,14 +92,14 @@ Options and Arguments:
9292
multiple codes may be concatenated.
9393
Each code may optionally be followed by a
9494
plus \`+\` and one or more modifiers.
95-
--reorder Reorder audio and subtitles tracks to match
96-
the language code order specified in the
97-
<audio_languages> and <subtitle_languages>
98-
arguments.
9995
-f, --file <video_file> If included, the script enters batch mode
10096
and converts the specified video file.
10197
WARNING: Do not use this argument when called
10298
from Radarr or Sonarr!
99+
--reorder Reorder audio and subtitles tracks to match
100+
the language code order specified in the
101+
<audio_languages> and <subtitle_languages>
102+
arguments.
103103
-l, --log <log_file> Log filename
104104
[default: /config/log/striptracks.txt]
105105
-c, --config <config_file> Radarr/Sonarr XML configuration file

0 commit comments

Comments
 (0)