b1e361f728d22d36bc1c70b2aacc387d147c94fb
PlaybackEngine plays a generated schedule from start to end without user input. Songs play through the MusicPlayer singleton and the next item starts on TrackFinished. News, ads and moderator placeholders are held for their duration. A song that cannot be started, or that does not finish within its length plus 10 seconds, raises ItemFailed and the engine moves on, so one broken file or a device error does not stop the broadcast. Start replaces a running schedule and Stop ends playback. MusicPlayer now implements a small IAudioPlayer interface so the engine can be tested with a fake player and a fake delay. Refs #9 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Blockwoche 3.1: Radiosender
WPF desktop app that plans and plays a radio program: random music from a SQLite library, news at :00 and :30, and ad and moderator blocks.
Requirements
- Windows
- .NET SDK 10
Build and run
dotnet build Radiosender.slnx
dotnet run --project src/Radiosender
dotnet test Radiosender.slnx
The app creates its SQLite database on first start at %LOCALAPPDATA%\Radiosender\radiosender.db.
Structure
The app uses the MVC pattern and WPF UI for the interface.
src/Radiosender/Models: data and domain typessrc/Radiosender/Views: windows and pages (XAML)src/Radiosender/Controllers: logic that connects views and modelssrc/Radiosender/Services: database, audio player and API access
Description
📻 Program to stream radio specially to lautfm.
350 KiB
0 Stars
1 Watchers
0 Forks
Languages
C#
100%