veilamp 0.4.0
This is the listen together release, and the biggest one yet. Music is better with other people around — so 0.4.0 makes the room as large as you like: fill every speaker in your house with multi-room audio, or pull friends in from across the internet for a listen party. On top of that is a long run of library, playlist and server improvements.
New
- Multi-room audio — Play one queue in sync across several speakers on your network, lossless and bit-perfect where the speaker allows.
veilamp-serverruns the group: it keeps its own room queue and streams it to Sendspin speakers it finds over mDNS (other veilamp apps, the standaloneveilamp-receiverplayer, and other Sendspin players). A new Rooms panel — opened from the Library toolbar or a LAN server connection’s toolbar — shows what the rooms are playing with seek and transport, group volume, and per-speaker approve, join/leave, volume, mute, delay and forget. The server listens on TCP 8927; setVEILAMP_ROOMS=offinserver.envto turn it off. (Older servers, or servers with rooms off, show an explanation instead of an error.) - Use the desktop app as a speaker — Settings → Network → Speaker makes this computer one of a server’s rooms, playing on the app’s chosen output device — including an exclusive USB DAC or bit-perfect output, with the device’s hi-res rates (88.2/96/192 kHz) offered so hi-res tracks aren’t skipped. Whoever starts last gets the device: incoming room audio pauses local playback, and pressing play locally takes the speaker out of the group.
- Play on: Rooms — A “Play on” switch, in the Rooms panel and beside the output-device picker, makes the rooms the app’s output. The app keeps its own queue and the rooms play it; Now Playing, the transport, media keys, MPRIS and the visualizer follow the rooms, and queue edits, seeks and volume go to them.
- AirPlay rooms — Apple TVs, Macs and other AirPlay 2 receivers now show up as rooms alongside the Sendspin ones and play in sync (sent as 44.1 kHz/16-bit ALAC). Older AirPlay 1 receivers (such as an AirPort Express) work automatically through a fallback sender, and receivers that need a PIN get a Pair button — approve once and it’s remembered.
- Rooms without a server — The desktop app can host rooms itself, so you can play your local library to AirPlay and Sendspin speakers with no
veilamp-serverat all. Hosting is on by default and starts the first time you open the Rooms panel; a bar in the panel shows it and can stop it. (Connected to a LAN server, its rooms are used instead.) - Room delay and calibration — Each room has a 0–500 ms delay slider to line speakers up by ear, kept across restarts and reconnects. For a measured result, pick a microphone once and press Calibrate on each speaker: veilamp plays a short sweep five times, takes the median, and suggests each room’s delay relative to the slowest speaker — press Use for one room or Apply all for every measured room at once. AirPlay rooms can be calibrated too.
- Listen parties — Listen together with friends, whether they’re across the room or across the internet. Start a party from the Friends screen (or the new party button in the Classic, Circular and Sci-Fi skins) and share the invite code. Everyone shares one queue that anyone can add to, remove from, reorder and skip, and everyone hears the same song at about the same spot (within about a second over the internet). A member who doesn’t have the current track streams it from whoever added it, and the next track is fetched ahead of time. The full-screen party room shows the shared now-playing with cover art and progress, transport controls, who’s here, and the queue with who added each track and whether its owner is online — plus a search box to add tracks from your library. Pressing play on a track asks whether to play it for everyone now or add it to the shared queue.
- Server tracks in a listen party — Connected to a veilamp server, you can add its tracks to a party from the party room’s Server tab, the Server view’s “Add to party queue” menu item, or the party prompt. Your app fetches them for the other members, so the server needs no changes and is never exposed to them; members on the same LAN fetch from it directly.
- Tight sync for party members in the same place — Party members on the same LAN find each other automatically and play the party as one tightly-synced group, like a multi-room group, instead of each following the internet timeline on its own. No LAN addresses are shared over the internet. A “Room sync” indicator shows how many members are present and what it’s doing.
- Parties survive the host leaving — If the host goes quiet for 20 seconds, another member takes over hosting (in the order people joined) and the party carries on with a notice. A member whose connection drops briefly rejoins on its own, and if the host ends the party or removes you, you’re told instead of being left with silence.
- Albums grouped by album artist — The scanner now reads the album-artist tag and groups albums by album name plus album artist, so same-titled albums by different artists stay apart and a guest on one track no longer turns an album into “Various Artists” or splits it into several cards. Sorting the track list by Artist uses the album artist when it’s tagged. (Run a rescan to pick this up.)
- Multi-disc albums — The scanner now reads disc numbers (falling back to a
CD2/Disc 2folder name, which no longer shows up as the album name). Tracks sort by disc and then track number everywhere, and album pages (local, LAN server, friend and share-code) show a header per disc with a Play disc button. (Rescan to pick up disc numbers.) - Reorder playlist tracks — Local playlists and editable server playlists now have a drag handle and move up/down buttons on each track.
- Import JSPF playlists — The local and server playlist sidebars can import a JSPF playlist from a file or a URL. Entries are matched against your library by title and artist, matches are added in order, and a summary lists the tracks that weren’t found.
- Global search reaches online friends and saved servers — Global search (Ctrl+K) now searches the libraries of friends who are online right now and every reachable saved server, not just the connected one. Results appear group by group as each answers, and picking a server result switches to that server and plays it.
- Play queue as a view — The queue drawer can be opened as a full Queue view from its “open as view” button, or from the navigation in the default, LCARS and Neonwave skins.
- Always on Top (macOS) — The View menu has an “Always on Top” item that keeps the full-size window above other windows.
- Scan specific folders or files on the server —
veilamp-serverhas a newPOST /scanendpoint that scans just the paths you give it instead of every music folder, withGET/DELETE /scan-rootsto remember and forget folders outside your music folders (seedocs/SERVER_API.md). - Log file — veilamp now keeps a log at
logs/veilamp.login its data folder, with the previous run inveilamp.log.1. - Docker Compose example for the server —
examples/docker-compose/has a Dockerfile and a compose file for runningveilamp-serverwith its state kept in a named volume. - Website link — Settings → About has a button that opens veilamp.com in your browser.
Fixed & improved
- Plugins must declare the hosts they reach — Plugins now run under a content-security policy that blocks all network access by default. A plugin lists the hosts it needs in a new
networkfield inplugin.json, and Settings → Plugins shows those hosts next to anetworkpermission that’s off until you grant it. Plugins that used the network without declaring it need to add the field (seedocs/EXTENDING.md). - Lower idle CPU — An idle player no longer resends the same playback state several times a second or rewrites its saved queue every two seconds, and enabled visualizer plugins that aren’t the current mode no longer keep running in the background.
- Faster metadata enrichment — Enriching a large library is much quicker (fewer cover-art checks per track, and no fixed pause on top of the MusicBrainz rate limit), and temporary MusicBrainz errors are retried instead of failing the track or album.
- Large libraries over share codes and Veilid — Servers reached by share code, or over Veilid when the LAN connection fails, are now browsed a page at a time, so libraries of tens of thousands of tracks open quickly. Older servers load the old way. On these connections the Album and Artist tabs are hidden, and tracks show their length and title as soon as they start.
- Clearer share-code sharing — The server quick-start guides now explain that a share code only exposes shared playlists unless Share all is on. The server logs a warning when a share code is used while nothing is shared, and a friend connected with that code sees why the library is empty.
- Switching the output device works without restarting — Changing the output device (for example from a USB DAC to the system default, or back) could stop audio until veilamp was restarted. The old device is now released and the new one picked up live.
- The whole title bar drags the window — Skins whose title bars could only be dragged by empty background now drag from the whole bar (the Modern top bar, the Classic, Sci-Fi and LCARS title bars, the Neonwave strip, the Circular dial, and the mini player’s cover and title), while their buttons still work. On Linux (KDE and GNOME) the window edges now show a resize cursor.
- Library tracks that won’t play say why — Playing a track whose file is missing (an unmounted share or unplugged drive) or can’t be opened used to do nothing; veilamp now shows an error, including on Next, Previous and auto-advance.
- No stutter at the start of LAN server tracks — veilamp now reads ahead in the background and buffers about three seconds before starting a LAN-server track, and the next track fills its buffer while the current one plays. Podcasts benefit too.
- The mini player stays on top again — The mini player was meant to float above other windows but the request was being refused; it works again.
nix runworks again — Running veilamp straight from the Nix flake failed with a missing runtime library (libopenmpt); the flake now wraps the binary with its runtime dependencies.
Thanks to this release’s community contributors — Ben Brown (@moongoat) and Casey Marshall.