Commit ab82a396 authored by Aryan Noshirvnai's avatar Aryan Noshirvnai

Add real offline playback: download playlists/albums for no-connection listening

Spotify-style - you can only download a whole playlist or album, never a single
song, per explicit product direction. Audio is cached as IndexedDB blobs
(src/lib/offlineStorage.ts), reference-counted across sets and scoped per user,
with PlayerContext.playSong transparently preferring a local blob over the
network when one exists. Adds a download button to Playlists/AlbumDetail, a
pinned aggregated "Downloaded" view, a passive offline badge on SongRow, and an
OfflineBanner for when the network is actually down.
Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
parent b6cd0b29
Pipeline #1248 failed with stages