Files
Radio/tests/Radiosender.Tests
fraujulianandClaude Opus 5.5 b1e361f728 feat: add playback engine that runs a schedule
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>
2026-11-23 10:52:35 +01:00
..