v0.96.0: now-playing words grow to fill the panel side by side; Spotify/Apple imports untick songs already in the library and put those copies in their place, so the playlist comes out the same; the shown playlist's cover fills the art panel while nothing plays

This commit is contained in:
2026-11-17 22:04:11 -08:00
parent cea9daa09f
commit 9f2f9222dd
13 changed files with 560 additions and 42 deletions
+13 -1
View File
@@ -242,6 +242,9 @@ persistence) → GUI (Qt widgets that read the manager and connect to its signal
Its words are `transport.NowPlayingText` (Round 130): the title on the
left with artist over album beside it when all of it fits the width,
else the old stack (title over "Artist — Album", elided with "…").
Side by side the words grow to fill the panel (title up to its full
height, the two lines up to half each, by one shared share as far as
the width allows); the stack keeps the normal sizes.
Decided from the text's widths on every resize and song; DJ mode's
lines (`set_lines`) always stack.
**The look is `~/Documents/shared-resources/design.html`** (canonical
@@ -862,7 +865,16 @@ persistence) → GUI (Qt widgets that read the manager and connect to its signal
Spotify/Apple link gets the link's cover in `<data_dir>/playlist_art/
<pid>.jpg|png` (synced, never in the playlist JSON, so no merge or
"edited" stamp; downloaded on a daemon thread when the playlist is made).
Nothing displays it yet.
The sidebar art panel shows the *shown* playlist's cover while nothing
is playing (`SidebarArt.set_playlist_art`, fed by
`MainWindow._update_playlist_art`); a song's art always wins.
**Songs already owned** (`library_match.LibraryMatcher`, Shazam's rule
plus a ±15 s length check) are listed "already in your library" and
unticked; `link_rows()` keeps them in the list's order as the library's
copy, and `MainWindow._place_url_rows` fills the playlists in the link's
order as downloads land (a pending download holds back what follows, a
failed one is skipped, the rest go in when the worker ends) — so the
playlist comes out the same and only new songs download.
**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