fix(lautfm): send track searches to the Radioadmin search host

Radioadmin reads its track search host from client/_/config.json,
which names search.api.radioadmin.laut.fm. The provider asked
api.radioadmin.laut.fm instead, so the laut.fm library stayed empty.

Refs #15

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
fraujulianandClaude Opus 5.5 committed 2026-11-25 08:51:23 +01:00
1 parent 816b902aca
commit 7a9ba99a27
3 files changed
+7 -4

No files matched your search

+1 -1
View File
@@ -141,7 +141,7 @@ Password and token are stored in `settings.json` encrypted with Windows DPAPI fo
Risks:
- The library uses the API behind Radioadmin (`api.radioadmin.laut.fm`). laut.fm does not publish it for other programs, so it can change or stop working without notice, and the token expires when Radioadmin logs out.
- The library uses the API behind Radioadmin (`search.api.radioadmin.laut.fm`). laut.fm does not publish it for other programs, so it can change or stop working without notice, and the token expires when Radioadmin logs out.
- The import downloads the prelisten link that Radioadmin uses. Whether that is the full track or a shorter preview has not been checked against a real station.
- laut.fm licenses the station's music for broadcasting on laut.fm. Imported laut.fm tracks are marked with that license and must not be played anywhere else.
- Nothing here has been tested against a real laut.fm account. The tests run against a local fake server. If laut.fm expects a different format or login method, the settings show the error but do not adapt.