Files
Radio/README.md
T
fraujulianandClaude Opus 5.5 a02081fe66 feat: add SQLite song database and repository
Store the music library in SQLite through Microsoft.Data.Sqlite.
SongRepository creates the database file and the Songs table if they
are missing and offers GetAll, GetById, Add, Update and Delete with
parameterized queries. The app opens the database on startup at
%LOCALAPPDATA%\Radiosender\radiosender.db.

Add an xUnit test project that covers CRUD, persistence across
instances, SQL characters in values and the duration check.

Refs #2

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 10:06:14 +01:00

28 lines
796 B
Markdown

# 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
```powershell
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](https://github.com/lepoco/wpfui) for the interface.
- `src/Radiosender/Models`: data and domain types
- `src/Radiosender/Views`: windows and pages (XAML)
- `src/Radiosender/Controllers`: logic that connects views and models
- `src/Radiosender/Services`: database, audio player and API access