diff --git a/dev/rest-api/endpoints/index.html b/dev/rest-api/endpoints/index.html index 7a4c7fa6..269a1668 100644 --- a/dev/rest-api/endpoints/index.html +++ b/dev/rest-api/endpoints/index.html @@ -2966,6 +2966,10 @@

POST /api/list-tracks

List the video, audio, and subtitle tracks for a title. For series, you can scope to specific episodes.

+
+

Spotting the original-language audio

+

Each audio track carries is_original, which marks the track the default lang of orig selects. Unshackle resolves it with the same language matcher the downloader uses, so it stays correct for regional variants a client cannot separate from tag text alone (pt marks pt-BR rather than pt-PT). Services need not report a title's language, so every track can legitimately come back false.

+

Request body

@@ -3032,7 +3036,7 @@ "audio": [ { "id": "a-1", "codec": "EC3", "codec_display": "DD+", - "bitrate": 640, "channels": "5.1", "language": "en", + "bitrate": 640, "channels": "5.1", "language": "en", "is_original": true, "atmos": false, "descriptive": false, "drm": [], "descriptor": "DASH" } ], diff --git a/guide/output-and-naming/index.html b/guide/output-and-naming/index.html index 2a199af4..1ac75c76 100644 --- a/guide/output-and-naming/index.html +++ b/guide/output-and-naming/index.html @@ -2223,7 +2223,7 @@ The folder name comes from the series folder template and the file For an episode with no on-screen name, {episode_name?} and its adjacent dot simply disappear.

Separator style (dots vs. spaces)

-

unshackle looks at the characters you place between variables to decide the filename's separator style. If spaces outnumber dots in your template, it sanitizes with spaces; otherwise it uses dots (the scene-style default). This is also applied to the auto-generated date separators for daily/dated content.

+

unshackle looks at the characters you place between variables to decide the filename's separator style. If spaces outnumber dots in your template, it sanitizes with spaces; otherwise it uses dots (the scene-style default). This is also applied to the auto-generated date separators for daily/dated content, and to every segment of a nested folder template.

@@ -2482,7 +2482,7 @@ For an episode with no on-screen name, {episode_name?} and its adja
-

The per-kind folder keys are movies, series, songs, and albums. Any other key produces a startup warning. Path separators (/ or \) are allowed in folder templates. Each segment is formatted independently, so you can build nested directory structures like Show/Season 01.

+

The per-kind folder keys are movies, series, songs, and albums. Any other key produces a startup warning. Path separators (/ or \) are allowed in folder templates. Each segment is formatted independently, so you can build nested directory structures like Show/Season 01. unshackle reads the separator style from the whole template, so every segment is spaced alike.

Fallback behavior: