Better Music Player Online Music library

Casting

The TV can skip and play tracks in its queue. Keep this player open to continue beyond that queue and change shuffle or repeat. Visualisations stay on this device.

YOUR COLLECTION

Your library

Choose where to start listening

YOUR COLLECTION

Find music

Browse your collection

Artwork

Track Title

Artist

Album • Year

0:00 0:00

About this player

A self-hosted player for a personally curated library.

Better Music Player · digitalstream

A self-hosted, mobile-first PWA for a personally curated music library, with artwork, audio-reactive visualisations and playback on compatible TVs and speakers.

Library & Metadata

The music files are the source of truth. Their metadata is indexed into SQL Server Express for folder browsing and searches by song, artist, album, genre and year. The library home groups Artists, Hits, Playlists, Rock and Shows, with Find music alongside them.

Playback & Preloading

Playback can begin while the audio file continues downloading. Once the current download finishes, the player prepares the next track to reduce gaps on slower connections. Seeking uses HTTP byte-range requests.

A service worker manages temporary audio caching and resumable downloads where supported. This is a playback cache rather than a permanent offline library.

Artwork

The player uses an available track-list thumbnail immediately, then replaces it with larger artwork when the audio buffer is healthy. The previous artwork stays visible if the next thumbnail is still loading.

Lock Screen & Background Playback

On supported browsers, system media controls show the current track title, artist, artwork and playback progress. iPhone playback can continue with the screen locked, including automatic track changes. Leave the PWA running; it does not need to stay visible.

Visualisations

The waveform button switches between artwork and visualisations. Arrows beneath the display select a visualisation; your choice is remembered in this browser. On desktop, double-click the visualisation to enlarge it or return it to normal size.

Some displays reuse Better Radio modules. Web Audio analyses the music already playing, without a separate audio download. Animation stops while paused, browsing or hidden. Visualisations are disabled during Chromecast and AirPlay playback.

Browse & Navigation

Find music is on the library home and in the menu, with genre and year filters in the same search panel. Desktop folders show clickable breadcrumbs, with Back beside the device controls. On mobile, Back names its destination and a right-to-left swipe goes back one level. The menu also has Up one level and Keep Screen Awake where supported.

Chromecast & Google TV

Cast sends temporary, signed audio and artwork links from LibraryAPI directly to a compatible device. The branded Better Media Receiver shows artwork, track details, progress and queue position on the TV.

The player and TV can control playback and track changes; shuffle and repeat stay in sync. Keep this player open to continue longer playlists and use the TV’s playlist controls. After stopping Cast, tap Play to listen here again.

AirPlay

In supported Safari browsers, the AirPlay button opens Apple’s device picker for a compatible TV or speaker. It sends music without screen mirroring. The player prepares the following track’s link in advance and starts it automatically. Leave the PWA running; the iPhone can be locked while music and track changes continue.

iPhone system controls show track information, artwork and progress. The TV display is controlled by Safari and the receiver. On the tested Sony TV, audio and remote playback controls work, but the screen stays black apart from a brief title, artist and progress overlay. TV artwork and a persistent music display are not currently available in this setup.

Technology

LibraryAPI uses ASP.NET Core Web API, Entity Framework Core and SQL Server Express. The PWA uses HTML, CSS, JavaScript, a service worker, the Cache API, Web Audio, SVG and Canvas. Google Cast uses a Web Sender and a separate custom Web Receiver. Library processing also uses PowerShell automation and FFmpeg.

Credits

Music, artwork and file metadata belong to their respective owners.

Now Playing
Not Playing