v0.58.0: the library search filters the sidebar's playlists

- Typing in the library search now also narrows the playlist list to names
  containing every word; folders stay when they or something inside match,
  open while filtering, and clearing puts back the folders you had open.
- AirPlay: an unreadable /info reply no longer fails the stream (pyatv died
  on shairport-sync's).
This commit is contained in:
2026-10-16 10:27:51 -07:00
parent bdeacd9793
commit d77a9fe7f9
8 changed files with 222 additions and 4 deletions
+15
View File
@@ -198,6 +198,12 @@ 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 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
name matches (with all it holds) or something inside does, opened while
filtering, and clearing restores the folders the user had open — so
`rebuild` reads the pre-filter expansion while a filter is up.
`track_table.py` is the shared track grid (drag/drop, copy/paste, drop
indicator). `playlist_ops.py::add_tracks_with_dup_check` is the single funnel
for every add-to-playlist path. `theme.py` applies the palette (highlight
@@ -860,6 +866,15 @@ persistence) → GUI (Qt widgets that read the manager and connect to its signal
everywhere, "2" = pyatv's AirPlay 2. `airplay_debug` puts pyatv's logger at
DEBUG; every stream's start, first audio and outcome are logged at INFO
under `lintunes.airplay`, and the chosen protocol in the control log.
**Testing without a speaker** (Round 89): shairport-sync in Docker
(`mikebrady/shairport-sync:5.5.2-classic`, its own dbus + avahi inside,
on the default bridge so nothing is advertised on the LAN, `-o stdout`
to a file) is a real third-party receiver whose decoded PCM can be
compared with what was sent — silent and bit-checkable. LinTunes' stream
decodes there; the WiiM still plays nothing from pyatv, though
Music Assistant's `cliairplay` binary plays on it. pyatv also died on
shairport's `/info` (not a plist), so the shim treats an unreadable
`/info` as none.
## Conventions & gotchas