sonda/migrations/postgres
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi fb9e923197 feat(lidarr): set up Lidarr as a provider and read what it offers
Lidarr is a server of the user's own that looks for and downloads music. Sonda
never downloads; this is the first piece of letting an admin send it an artist.

- The `lidarr` provider, off by default: an address, an API key (32 hexadecimal
  characters, never returned) and, chosen once, a quality profile, a metadata
  profile, a root folder, the monitor option and whether to search for missing
  albums. It cannot be enabled without an address and a key.
- The address is checked: http or https, no user and password, no query, no
  fragment, no closing slash.
- A small client of its own, apart from the outbound one (which only makes plain
  GETs): the key travels in a header, no redirect is ever followed, answers and
  time are bounded, and the address and key are read for every request.
  Status, options, artist by MusicBrainz id and add (lookup, then the add that
  Lidarr's own screen sends).
- `GET /providers/lidarr/options` lists the profiles and root folders; the test of
  the provider checks the address and the key (`no_address` when it has none).
- Migration 0017 adds the address and the options to the provider settings.
- OpenAPI, contract test and README say what is sent and where.
2026-11-12 11:04:53 +01:00
..
0001_init.sql feat: add sondad server with config, storage, auth and listening API 2026-11-11 12:06:15 +01:00
0002_users_listening.sql feat: add sondad server with config, storage, auth and listening API 2026-11-11 12:06:15 +01:00
0003_name_keys.sql fix(library): harden the scanner against special files, stat errors and lossy logging 2026-11-11 12:28:44 +01:00
0004_admin_refresh.sql feat(auth): add refresh tokens, admin role and user management 2026-11-11 12:38:42 +01:00
0005_libraries.sql fix(library): make the libraries upgrade and validation robust 2026-11-11 13:34:44 +01:00
0006_track_title_key.sql feat(catalog): add the read API for artists, albums and tracks 2026-11-11 13:43:38 +01:00
0007_provider_settings.sql feat(providers): provider settings in a table and a careful outbound HTTP client 2026-11-11 16:07:12 +01:00
0008_artist_similar.sql fix(discovery): concurrent writes, adopted artists and a client that leaves 2026-11-11 16:47:33 +01:00
0009_artist_tags.sql feat(discovery): artist tags from Last.fm and MusicBrainz, and ids from my files 2026-11-11 17:01:43 +01:00
0010_track_genres.sql feat(discovery): remove provider data, genres from my files, full rescans 2026-11-11 17:27:29 +01:00
0011_user_settings.sql feat(settings): my own settings, starting with Discover from my listening 2026-11-11 19:16:26 +01:00
0012_artist_feedback.sql feat(feedback): a wishlist and "not interested" 2026-11-11 20:11:18 +01:00
0013_images.sql fix(images): limit parallel builds, no stale saves, safer files 2026-11-11 21:03:26 +01:00
0014_artist_descriptions.sql feat(about): artist descriptions from Wikipedia 2026-11-11 21:36:27 +01:00
0015_image_credit.sql feat(images): free photos of artists from Wikimedia Commons 2026-11-11 22:03:32 +01:00
0016_search_keys.sql feat(search): search ignores accents 2026-11-12 10:17:21 +01:00
0017_lidarr_settings.sql feat(lidarr): set up Lidarr as a provider and read what it offers 2026-11-12 11:04:53 +01:00