Commit Graph
6 Commits
Author SHA1 Message Date
fraujulianandClaude Opus 5.5 fc461b74cb feat: add Openverse audio search and import
Add an Openverse page that searches free audio through the anonymous
Openverse API, previews a result by streaming its URL with MediaPlayer
and imports it into the library.

OpenverseClient uses HttpClient with a timeout and a generic User-Agent.
It downloads only the result's https URL, limits files to 50 MB, never
overwrites an existing file and deletes partial files on failure.
Timeouts, HTTP 429 and other errors become readable messages. Imported
songs get Source = Openverse plus license and attribution from the API.
Results without a duration cannot be imported, because songs need one.

Refs #5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 10:26:11 +01:00
Julian Lechner 89b7959404 Merge branch 'j.lechner/sqlite-database' into 'main'
feat: add SQLite song database and repository

Closes #2

See merge request julian/blockwoche3.1-radiosender!2
2026-11-23 09:08:18 +00: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
Julian Lechner f301829e58 Merge branch 'j.lechner/initialize' into 'main'
feat: initialize WPF project with WPF UI

Closes #1

See merge request julian/blockwoche3.1-radiosender!1
2026-11-23 09:02:38 +00: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
Julian Lechner 145fc13f31 Initial commit 2026-11-23 08:30:43 +00:00