A language card on the settings page switches all texts right after
saving, without a restart; German is the default and the choice is kept
in settings.json. The laut.fm station ID and token fields are gone with
the library provider, and the device labels now read Für die Hörer and
Für dich.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Settings page gets a laut.fm card: a switch, the live access data
from Radioadmin (server, port, mountpoint, user, password) and the
station id and Radioadmin token for the library. Password and token
are written to settings.json encrypted with DPAPI for the Windows user.
While laut.fm is on, the Schedule page shows a Live button next to
"Jetzt starten". It logs in at the Icecast server with PUT and sends a
copy of the broadcast mix as MP3 at 128 kbit/s, encoded by Windows
Media Foundation. ProgramOutput hands that copy out through a live
feed. Each item that starts sets the stream title; ad items send
START_AD_BREAK at most once every 15 minutes.
LautFmProvider searches the station's tracks through the Radioadmin
API and the Import page lists it while laut.fm is on, so laut.fm tracks
are imported into the same library as local songs. Providers can now
hide themselves with IsAvailable.
Nothing was tested against a real laut.fm account; the tests use a
local fake server and fake HTTP answers.
Refs #15
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Songs and the microphone now go through one audio channel,
ProgramOutput, instead of each opening its own device. ProgramMixer
builds two mixes in one pass: the broadcast for the listeners and a
monitor mix for the person at the desk. With two playback devices each
mix gets its own device; with one device the desk hears the monitor
mix.
The Schedule page gets a microphone button that works with or without
a running broadcast, and sliders for the music and microphone levels
on the broadcast, the music level on the monitor, and an option to
hear the broadcast exactly. The Settings page lets the user choose
the playback devices for the broadcast and for themselves.
MusicPlayer plays its tracks into the mixer; pause takes the track
out of the mix and resume puts it back.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The main window shows a dialog, optionally with a bing sound, shortly before
a news or moderator item goes on air. The settings page sits in the footer
of the navigation; the empty home page is gone and the app starts on the
schedule. Pages switch off the navigation view's outer scrolling so their
lists stay virtualized.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>