Commit Graph
54 Commits
Author SHA1 Message Date
fraujulianandClaude Opus 5.5 faa1dc19cc feat: add music library page with search, edit and delete
Add a Library page reachable from the navigation. It lists all songs
from the SQLite database, filters them by title or artist, edits title,
artist, license and attribution in a dialog, and deletes a song after a
confirmation prompt. File path, duration and source stay read-only.

LibraryController wraps SongRepository so the view only forwards user
actions. Changes are written to the database immediately, and the list
reloads every time the page is shown.

Refs #3

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 10:24:12 +01:00
fraujulianandClaude Opus 5.5 2241c57203 feat: add ad and moderator placeholder content
Add AdSpot and ModeratorSegment models with Title and Duration and a
read-only in-memory seed list for each in PlaceholderContent. Ads and
moderator talk are placeholders without audio, so no database table is
needed. Lengths vary (ads 30 s to 2 min, moderator 30 s to 3 min) so the
schedule generator can size these segments to end songs exactly before
the news. Tests check the lists are non-empty with titles and positive
durations.

Refs #7

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 10:20:59 +01:00
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
fraujulianandClaude Opus 5.5 910709fe26 feat: initialize WPF project with WPF UI
Add the Radiosender solution on .NET 10 with the WPF-UI 4.3.0 package.
The main window is a FluentWindow with a title bar and a NavigationView
that opens a home page. Models, Controllers and Services folders hold
the MVC structure for the next issues. Replace the GitLab template
README with build instructions.

Refs #1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 09:57:35 +01:00