v0.60.0: cliairplay fallback; rounded playlist frame; empty art is a button on hover; no black in the art window
AirPlay: when LinTunes' own sender can't connect (or airplay_backend is "cli"), Music Assistant's cliairplay is downloaded once, refused unless its SHA-256 matches the pinned one, and streamed through. The playlist list gets the panels' 8 px corners. The empty album-art panel pops up as a plain button under the cursor and sinks darker while held. The big art window keeps the art's shape after a resize and paints the art to cover, so it never shows a background.
This commit is contained in:
@@ -198,6 +198,16 @@ persistence) → GUI (Qt widgets that read the manager and connect to its signal
|
||||
(right: previous/next style, wrapping) — hit-tested on release. No
|
||||
double-click. Both big windows (visualizer, album art) close on a click
|
||||
or Esc.
|
||||
The playlist list's frame is a `sidebar.RoundedFrame` (Round 91): the
|
||||
panels' 8 px corners, painted *over* the list by a mouse-transparent
|
||||
overlay (window color outside the curve, then Fusion's own frame line,
|
||||
`frame_color`), since a mask would be jagged. The empty art panel is a
|
||||
button (click = download art) that only looks like one under the
|
||||
cursor: embossed in the Library button's face on hover, sunk and darker
|
||||
while held. The big art window has **no background**: it is snapped
|
||||
back to the art's shape after a resize (`art_window.reshaped`, the
|
||||
dimension the user dragged leads) and paints the art to *cover*, so a
|
||||
shape it can't take (maximized) crops a sliver instead of showing a bar.
|
||||
The library search box filters the sidebar too (Round 89):
|
||||
`LibraryView.search_changed` → `PlaylistTree.set_filter`, same rule as
|
||||
the songs (every word, case-folded, in the name); a folder shows when its
|
||||
@@ -873,7 +883,16 @@ persistence) → GUI (Qt widgets that read the manager and connect to its signal
|
||||
the WiiM. `use_compat`: config.json's `airplay_protocol` "auto" = the
|
||||
native sender for everything but Apple's own hardware (a HomePod is
|
||||
AirPlay 2 only), "1" = native everywhere, "2" = pyatv's AirPlay 2;
|
||||
`airplay_latency_ms` overrides the 2 s. `airplay_debug` puts pyatv's and
|
||||
`airplay_latency_ms` overrides the 2 s. **cliairplay is the fallback**
|
||||
(Round 91, trav's go-ahead): when the native sender can't connect, or
|
||||
config.json's `airplay_backend` is `"cli"` (`"native"` = never fall
|
||||
back), `cli.ensure_binary` downloads Music Assistant's pinned release
|
||||
into `$XDG_DATA_HOME/lintunes/bin/` once and **refuses it unless its
|
||||
SHA-256 matches** the one pinned in `cli.py` — then `CliAirPlaySink`
|
||||
runs ffmpeg → cliairplay per stretch of playback (commands on a fifo,
|
||||
`[STATUS]` lines back on stderr; `started at_unix_ms` / `playing
|
||||
elapsed_ms` give the position). Bumping its version means new pinned
|
||||
hashes from that release's SHA256SUMS. `airplay_debug` puts pyatv's and
|
||||
`lintunes.airplay.raop`'s loggers at DEBUG (every RTSP request); every
|
||||
stream's start, first audio and outcome are logged at INFO under
|
||||
`lintunes.airplay`, and the chosen sender in the control log.
|
||||
|
||||
Reference in New Issue
Block a user