feat(web+android): search play queues only the tapped song (radio fills the rest)

Playing a song from search results queued the whole result list. Now it plays only
the clicked song; Radio mode, if on, fills the rest — closer to Spotify. Both
platforms already trigger a radio top-up on the first track (web playQueue →
fillRadioQueue; Android onMediaItemTransition → checkRadioRefill), so no extra wiring
is needed. Album/playlist play still queues the full list. Bump SW cache to ns-v44.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
HoneyandClaude Opus 4.8 committed 2026-07-25 22:00:58 +02:00
1 parent 14fd5119f2
commit 1e242796fe
5 files changed
+9 -7

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ export async function doLocalSearch(q, el) {
if(songs.length) {
const sec = mkSection('Titel');
const list = document.createElement('div'); list.className = 'song-list';
songs.forEach((so,i) => list.appendChild(makeSongItem(so, i, songs)));
songs.forEach((so,i) => list.appendChild(makeSongItem(so, i, songs, { singlePlay: true })));
sec.appendChild(list); el.appendChild(sec);
}
} catch(e) { el.innerHTML = `<p style="color:var(--danger)">${e.message}</p>`; }