diff --git a/dev/rest-api/endpoints/index.html b/dev/rest-api/endpoints/index.html index 58d4392f..c733a8eb 100644 --- a/dev/rest-api/endpoints/index.html +++ b/dev/rest-api/endpoints/index.html @@ -3563,14 +3563,11 @@ server, uses the server's own cache and returns no cache field.

-

Each serialized title carries type ("episode", "movie", or "other"), name, id, language, description, date, and cover_url. Episodes and movies add year. Episodes also add series_title, season, and number.

-
-

A song serializes as "other"

-

A song has no type of its own. The server sends it as "other", and the response -carries none of its music fields: no artist, no album, no track or disc number, and no -year. name holds the song name. To read the disc and track numbers of a release, -operate the CLI with --list-titles. You can still select songs over the API, -through the wanted parameter.

+

Each serialized title carries type ("episode", "movie", "song", or "other"), name, id, language, description, date, and cover_url. Episodes and movies add year. Episodes also add series_title, season, and number.

+
+

The number that wanted takes for a song

+

A song adds year and its music fields, such as artist, album, disc, track and +position. wanted takes position when it is not null, else disc and track as in "2x3".

These keys are sent only when the title carries them, so a title without them serializes exactly as before:

@@ -3719,7 +3716,7 @@ ignore it safely. See Split e - + @@ -3956,7 +3953,7 @@ ignore it safely. See Split e - + diff --git a/dev/service-architecture/index.html b/dev/service-architecture/index.html index fdc8c7ba..90504fca 100644 --- a/dev/service-architecture/index.html +++ b/dev/service-architecture/index.html @@ -2939,6 +2939,11 @@ plain text: the tagger embeds it as is. With synced_lyrics (timed L lyrics_suffix (".lrc", ".ttml"), unshackle also saves the timed lyrics beside the final audio file under that suffix. You can set these fields in get_tracks() too, and a remote client gets them back.

+

For a playlist whose songs keep the tags of their own album, give position (a positive integer, +from 1) to every song. The track list, the download order and -w then use that number. The +tags, the file name and the folder keep track, disc and album. Set it in get_titles(), +because a remote client does not read it again after the listing. Such a song also needs an id that +stays the same in each listing: position does not identify it.

The tagger also falls back to Song.data for fields the constructor did not get, such as the composer or a full release date. It reads the top level of that dict and a nested metadata sub-dict, with the nested keys winning, so either shape works. The keys diff --git a/guide/cli-reference/index.html b/guide/cli-reference/index.html index 2bfa812f..832f55fc 100644 --- a/guide/cli-reference/index.html +++ b/guide/cli-reference/index.html @@ -3255,7 +3255,7 @@ configuration file.

- + diff --git a/guide/downloading/index.html b/guide/downloading/index.html index 5e04278a..5d9f6053 100644 --- a/guide/downloading/index.html +++ b/guide/downloading/index.html @@ -3948,7 +3948,9 @@ with - to exclude it. For a music release, the same option takes tr

Music tracks

-w selects the tracks of an album, EP, single, or playlist. Give a track by its number. A release with more than one disc uses the {disc}x{track} form. A number on its own is a -track on disc 1, which is the number the track list shows for a single-disc release.

+track on disc 1, which is the number the track list shows for a single-disc release. The +songs of a playlist can have a position in the playlist. The track list then shows that position, +and -w takes it. The tags and the file name keep the album track number.

@@ -3982,8 +3984,7 @@ track on disc 1, which is the number the track list shows for a single-disc rele

Read the track list first

-

--list-titles prints the release with its disc and track numbers, so you can see -which numbers to give -w.

+

--list-titles prints the release with the numbers that -w takes.

Daily and date-based content

Talk shows, news and sports have no official episode numbering, so unshackle names them @@ -4743,7 +4744,7 @@ authoritative list.

- + diff --git a/objects.inv b/objects.inv index 0bf0a3a3..401934c6 100644 Binary files a/objects.inv and b/objects.inv differ diff --git a/reference/api/titles/index.html b/reference/api/titles/index.html index 59ed8b89..0ea77d90 100644 --- a/reference/api/titles/index.html +++ b/reference/api/titles/index.html @@ -2061,6 +2061,17 @@
wanted string / string[] noEpisode/season range (e.g. "S01E01-S01E03"), or a song selector (e.g. "1-5", "1,3,7", or "2x3" for disc 2 track 3). A list of selectors is accepted too.Episode/season range (e.g. "S01E01-S01E03"), or a song by its number in the track list (e.g. "1-5", "1,3,7", or "2x3" for disc 2 track 3). A list of selectors is accepted too.
seasonwanted string / string[] []Episode/season selectors, as a list or as one comma-separated string. Accepts the part form, "S01E01.2", and the air-date form, "2026-08-11" or "2026-08-01:2026-08-31". For a music release, a selector is a track number, "1-5" or "1,3,7", or "{disc}x{track}" such as "2x3".Episode/season selectors, as a list or as one comma-separated string. Accepts the part form, "S01E01.2", and the air-date form, "2026-08-11" or "2026-08-01:2026-08-31". For a music release, a selector is a number of the track list, "1-5" or "1,3,7", or "{disc}x{track}" such as "2x3".
latest_episode
-w, --wantedWanted episodes, e.g. S01-S05,S07, S01E01-S02E03. Supports exclusions with a leading - (e.g. -S03). For a split episode, .N picks one part (S01E01.2), a range must stay inside the episode (S01E01.1-S01E01.3), and S01E01 on its own takes every part. For a dated episode, a token can also be an ISO air date (2026-08-11) or a date range with a colon (2026-08-01:2026-08-31). For a music release, a token is a track number (1-5, 1,3,7), or {disc}x{track} (2x3) when the release has more than one disc.Wanted episodes, e.g. S01-S05,S07, S01E01-S02E03. Supports exclusions with a leading - (e.g. -S03). For a split episode, .N picks one part (S01E01.2), a range must stay inside the episode (S01E01.1-S01E01.3), and S01E01 on its own takes every part. For a dated episode, a token can also be an ISO air date (2026-08-11) or a date range with a colon (2026-08-01:2026-08-31). For a music release, a token is a number of the track list (1-5, 1,3,7), or {disc}x{track} (2x3) when the release has more than one disc.
--select-titles
--wanted -wEpisode/season range, an air date, or a track number for a music release (1-5, 2x3).Episode/season range, an air date, or a number of the track list for a music release (1-5, 2x3).
--daily