veilamp 0.5.0
This is the broadcast release. Back in October we gave you a sneak peek at running your own radio station straight out of Veilamp. It’s here: go live from the desktop app or from your server, run the show from a real DJ booth, let AutoDJ and the scheduler keep you on air around the clock, and list your station in a directory so people can find it. As always, it runs over Veilid, with no streaming server to set up and nobody in the middle.
There’s plenty more besides: links to a single track or album, linked devices that share your friends, Opus streaming to save data on the go, a one-tap heart, and a big security upgrade for veilamp-server.
Before you upgrade your server
veilamp-server 0.3.0 changes how apps connect to it on your LAN, so read this first if you run one:
- Apps now pair with the server. Each app pairs once with a one-time code from
sudo veilamp-server pair(in the app: Server tab → Pairing code → Pair and connect). After that it connects over HTTPS on the usual port, 5177, to the server’s own certificate, which the app pins. The code never crosses the network. - You have 14 days. A server that already had a library and no token starts a 14-day grace period the first time it starts after the upgrade. Requests without a token still work during that time (pairing, Veilid access and links still need one), and the server log names each client that still needs pairing. Update your apps to 0.5.0 and pair each one in that window. To end the grace period early, set
VEILAMP_AUTH=enforceinserver.envand restart. - Scripts need a token. Scripts that reach the server from another machine need the master token from
veilamp-server tokenand thehttps://address. Plain HTTP still works from the server itself; from other machines it’s refused unless you setVEILAMP_PLAIN_HTTP=on. - The share code is no longer written to the log. Read it with
veilamp-server share-code.
New: live radio stations
- Run a live radio station — Anyone can now run a live station over Veilid, from the desktop app or from
veilamp-server. Open the new Broadcast screen (a tab in the Modern, LCARS and Neonwave skins, and a title-bar button in Classic, Circular and Sci-Fi), fill in the station’s name, genre, description, country and languages, pick a quality and press GO LIVE. You get a broadcast code (VLCAST1-...) to hand out. Quality is Lossless (FLAC) or Opus at 128, 96 or 64 kbps, which needs 7 to 12 times less bandwidth. The booth shows how many people are listening. - Private by design — Each station has its own Veilid identity, separate from the one your friends know, so a station code doesn’t reveal or reach your device; “New station identity” replaces it. Listeners share the load: while tuned in, they pass the station on to other listeners, and every piece of audio is signed by the station so relayed audio can’t be tampered with. Relaying can be turned off in Settings → Network.
- Stations hosted on your server —
veilamp-servercan run the station itself, from its own library, so it stays on air while your computer is off. The Broadcast screen switches between “This machine” and “LAN server” and drives the server’s booth over the LAN. Talk over the server’s stream with your own mic, hear its mix with almost no delay through Monitor, and upload bumpers from your computer. A server station keeps its code each time it goes live, and a station that was on air comes back by itself after a server restart, with the same queue. Hosting a station needsVEILAMP_VEILID=on. - The DJ booth — The deck plays an Up Next queue with crossfades: drag to reorder, remove, skip, or pause the music. The library sits beside the queue and marks tracks that are already queued or on air; add single tracks, albums, artists, a selection or every search match, or load a playlist or M3U file as a set list. The mic channel ducks the music while you talk, or with Break-in pauses it until you stop. HEAR MIC leaves your voice out of your own monitor while it still goes out live, and the headphone cue lets you pre-listen to the next track on a separate output device without it going on air. Backlit analog VU meters show the program and the mic, each with a peak lamp. Bumpers (station IDs and jingles) come from a pool of your own files and play every N tracks, in order or at random, or right away with “Drop now”. A dead-air alarm shows when the station has sent silence for 10 seconds.
- Station automation — AutoDJ keeps a station on air when the queue runs low, picking from the whole library with radio rotation rules that keep the same artist or album from coming back too soon. Loudness match evens out levels toward -18 LUFS using the library’s ReplayGain. Both are on by default and live in the Automation shelf. A never-on-air list keeps chosen tracks, artists or albums out of AutoDJ and scheduled music, and “Never again” under Up Next skips the airing track and adds it to the list. Server stations also get a scheduler: categories of music from library filters or playlists, hourly rotation clocks with bumper slots, dayparts by day and time of day, and timed events that play a category, playlist or track at a set time.
- Live shows from other software — An Icecast source client (Liquidsoap, LibreTime, BUTT, Mixxx, ffmpeg and others) can send a live show into a server station. While it’s connected it takes over the program, and the queue, AutoDJ and scheduler pick up again when it disconnects. Its song titles and cover art become the station’s now playing, and listeners still only receive audio over Veilid. It’s off until you set
VEILAMP_INGEST_PASSWORDinserver.env; the source port is 5178 (change it withVEILAMP_INGEST_ADDR). - Station art and royalty reports — Listeners see the cover of the track on air, or the station’s logo when the track has none, in every now-playing view and in MPRIS. Stations keep the play log and listener figures that SoundExchange and performing rights organisations ask webcasters for — ISRC, label and composer from the tags, listeners per play, and aggregate tuning hours. The Reports & Royalties shelf shows the totals and tracks missing an ISRC, and exports CSV files. Only counts are stored, never who listened.
- Listening to stations — In the Radio tab, Add a Veilamp stream takes a broadcast code, and the station then plays like any other radio station. My Stations shows each Veilamp station’s logo, genre, country, languages and quality, what’s on air (or its description when it’s off air) and the listener count, with an ON AIR badge, or SILENT when a station is live but sending silence. The song title changes when the song starts in what you hear, not when the station announces it. Broadcast listens are scrobbled under the existing “Scrobble internet radio” setting. Each tune-in uses a throwaway identity, so a station never sees who you are and can’t tell one visit from the next.
- Station directories — Discover can now browse Veilamp stations next to radio-browser.info, filtered by text, genre, country and language, with each station’s logo, quality and an on-air lamp. Play tunes in, Save adds the station to My Stations, Report flags it to every directory that lists it, and Hide keeps it out of your view. The Veilamp Project Directory is built in, and Settings → Network → Station directories adds others by their
VLDIR1-code. Listing is opt-in: a DJ turns on “List in station directory”, picks the directories and accepts each one’s rules. An unlisted station can only be reached by people who have its code. - Run your own station directory — The new
veilamp-directorydaemon runs a directory on its own Veilid node. It checks that each station owns its code and answers on air, lists stations openly or after approval, makes the logo thumbnails, and drops stations that stop announcing or fail liveness checks. It runs as a hardened systemd service under its own user. - Stream Deck control — The booth can be driven from a Stream Deck, a button box or a script: mic, pause, break-in, hear mic, skip, bumper, faders, and go live or off air (press twice within 3 seconds). Turn it on in Settings → Stream Deck;
veilamp-serverserves the same controls with control keys that reach only the booth. There’s a StreamController plugin for Linux, a Bitfocus Companion module, an Elgato Stream Deck plugin for Windows and macOS (not yet tried in the Stream Deck app itself) and aveilamp-deckcommand for scripts.
New: everything else
- Item links — Copy link, on the track menu, album and artist pages and playlists, makes a
vlmp://link to just that item. Pick how long it works (always, 1 day, 7 days or 30 days) and give it an optional private label. Whoever opens the link gets that item and nothing else from your library. Opening a link always asks first (Play now, Play next, Add to queue or Not now), and a link pasted into search (Ctrl+K) opens too. Settings → Sharing lists your links with how often each was opened, and turns them off. Copy link on your LAN server’s items asks the server to make the link, so it works while your app is closed. - Linked devices — A phone or second computer can use this device’s friends without pairing with each friend again. Open Friends → Your devices → Link a device, paste the code (or scan the QR code) on the other device, check that both show the same check code, and approve. The linked device can browse and stream from those friends and add, rename or remove them. Friends need veilamp 0.5.0 for a linked device to reach them.
- Pair a device from the app — An app paired with a
veilamp-servercan show a one-time pairing code and QR code (Server tab → Pair a device), so the other device pairs with the server’s certificate already pinned. Admin apps also list the paired apps and can unpair them. - One-tap heart — A heart beside the transport controls likes the playing track in every layout, the mini player, custom layouts and imported Winamp skins. It works for library tracks and your own server’s tracks, and an app paired with your server can now like its tracks over Veilid when you’re away from home.
- Opus streaming to save data — Friends and servers can send a track as an Opus copy instead of the original file, with seeking and the cache working as usual. Settings → Network → Data saver chooses when: on mobile data (the default), always or never, at 64 to 192 kbps (128 by default). The signal-path badge shows OPUS and the bitrate.
- .opus files — Opus files now play in the library, from servers, on broadcast decks and from live sources, and their R128 gain tags are read as ReplayGain.
- Add several tracks to a playlist — In Library, Server and friends’ libraries, Ctrl/Cmd-click or tick tracks, or shift-click a range, then press Add to playlist on the selection bar.
- Add one track from album and artist pages — Each track on album and artist pages now has a + button that adds it to a playlist.
- Lidarr webhook —
veilamp-servertakes Lidarr’s webhook at/hooks/lidarr, so imports, upgrades, renames, retags and deletes show up without a rescan, and upgraded or renamed files keep their likes and playlist entries.VEILAMP_LIDARR_PATH_MAPmaps container paths. - Sonic similarity (experimental) — With a self-hosted AudioMuse-AI and
VEILAMP_AUDIOMUSE=on,veilamp-serveroffers similar-track mixes, a song path between two tracks, search by sound, and an AutoDJ “sonic flow” that queues tracks that sound like the last one. Off by default. - More for visualizer plugins — Visualizer frames now carry beat and tempo tracking, plugins can read the files bundled in their package, and a visualizer can add an options button to the Visualizer screen. Two new example plugins use them: Route 66, a night-and-day desert drive, and Street Runner, a 3D runner who parkours down a city street on the beat.
Changed
veilamp-server0.3.0 — Pairing or a token for LAN access, and HTTPS on port 5177 (see Before you upgrade your server above). Newserver.envsettings:VEILAMP_SERVER_TOKEN,VEILAMP_AUTH,VEILAMP_PLAIN_HTTP,VEILAMP_INGEST_PASSWORD,VEILAMP_INGEST_ADDR,VEILAMP_LIDARR_PATH_MAPand theVEILAMP_AUDIOMUSEsettings. New commands:pair,devices,revoke,promote,demote,token,share-code,control-keyandaudiomuse-key(runveilamp-server help).- Rescans hide missing tracks — A rescan now hides tracks whose files are gone and brings them back, with the same playlists and likes, when the files return. A music folder that’s missing or empty is left alone, so an unmounted share can’t empty your library.
- Veilamp keeps your place — Coming back to Library, Server or a friend’s library returns to the same tab, search, sort, scroll position and open album or artist page, instead of starting over at the top. Playlists keep their scroll too, until veilamp closes.
- Opus library on Linux — The Linux packages now depend on the Opus library (
libopus0on Debian and Ubuntu,opuson Fedora and Arch). - License text — The source now includes the MPL-2.0 license text, and the app’s package metadata no longer says MIT.
Fixed & improved
- Removed tracks stop playing — Tracks removed from the library were still played by shuffle and Next. They now leave the queue (the playing track finishes), and a saved queue restored at launch leaves them out.
- Switching layouts resizes the window on Linux — Switching to a fixed-size skin such as Circular or Classic left the window at the old size on Wayland. The Modern layout’s tabs now scroll instead of pushing the window controls off-screen, and resizable layouts shrink to fit a small window instead of cutting off controls. (GitLab #28)
- Dragging in queues and playlists works — Dragging tracks in the listen-party queue, local playlists and server playlists did nothing with a mouse in the desktop app. It works now, a row’s own buttons still click, and dropping a playlist row no longer starts playing it.
- Surround files on stereo outputs — 5.1 and other surround files played only their front pair on stereo outputs. They’re now folded down to stereo (centre and surrounds at -3 dB, without clipping) in playback, rooms, listen parties and Opus copies.
Security
- The server’s LAN API needs pairing or a token — Covered above. On top of that, wrong tokens or codes from one address are blocked for five minutes after ten failures, and browser requests from other sites are refused.
- Server hardening — The server no longer puts file paths in error messages or M3U exports, and scan results no longer tell a missing path from an unreadable one. Adding a scan folder refuses the filesystem root, system folders and the server’s data folder.
server.envis now readable only by root and theveilampgroup (set again on every install or upgrade), the share secret file is kept at 0600, and on macOS the service account can no longer replace its log file with a link. The live-source password is checked in constant time, and an address with 5 wrong passwords in a minute is turned away for 5 minutes. - Local rooms server is locked — The rooms server the desktop app runs for itself now needs a token made at each launch, so other programs and web pages on your computer can’t drive it.
Getting 0.5.0
- AppImage and Windows — The in-app updater offers 0.5.0 on next launch.
- macOS, Arch, and the .deb / .rpm packages — Grab them from the download page.
- apt and dnf — The veilamp.com package repositories are updated. Run
sudo apt update && sudo apt upgrade, orsudo dnf upgrade veilamp. That also bringsveilamp-serverto 0.3.0 if you have it installed — so read Before you upgrade your server first.