v0.93.0: Import from URL takes Apple Music songs, albums and playlists, found on YouTube like Spotify's, with a playlist of the same name offered

This commit is contained in:
2026-11-17 19:09:15 -08:00
parent 8afcd4433b
commit 2069e1b1d0
7 changed files with 448 additions and 19 deletions
+8
View File
@@ -845,6 +845,14 @@ persistence) → GUI (Qt widgets that read the manager and connect to its signal
track number into the mp3 **before** emitting `downloaded`, so the
import files it under the right artist and Identify ranks by that artist.
If the embed page changes shape, `parse_embed` raises `SpotifyError`.
**An Apple Music link** (Round 130, `apple_music_link.py`) is the same
path with another reader: `AppleMusicProbe` returns `SpotifyTrack`s
(kind `"apple"`, same `"spotify"` entry key, same worker). Albums and
songs (`/song/<id>`, `/album/…?i=<id>`) come from the keyless iTunes
Lookup API (track/disc numbers, `limit=200`); a playlist has no keyless
API, so its `music.apple.com` page's `serialized-server-data` JSON is read
— measured to hold every song (143 of 143), with album and length each.
Private `/library/` playlists can't be read and aren't matched.
**Several songs are identified as one batch** (Round 77,
`identify_batch.py` + `gui/identify_batch_dialog.py`): an import of more
than one song never pops a dialog mid-download. `IdentifyCollector` looks