Radio stations that Sonda makes by itself #29

Merged
squid merged 1 commit from feat/radio-stations into main 2026-11-16 11:14:17 +00:00
Owner

Closes #27

Radio stations made from my music, random and without end, with nothing to set up.

  • Stations: the mixes I have (genres, favourites, rediscover, new to me), everything, one for each decade that has 30 songs by 4 artists, and the radio of an artist (artist:<id>: their songs four times as likely, and the songs of the two genres most of theirs have).
  • Every time a station is asked for it picks other songs, with the weights of the mixes (my taste, my hearts, nothing skipped lately, at most 3 by one artist).
  • GET /radio and GET /radio/{id}.
  • OpenSubsonic: each station is a playlist (rd-<id>, "Radio · Rock") with other songs every time it is opened, because apps cannot play a radio that never ends. They cannot be changed or deleted.
  • Checked: Go tests with -race on SQLite, storage/mixes/opensubsonic/api on PostgreSQL, and on a copy of my real library (24 stations, 50 songs each, under a second).
Closes #27 Radio stations made from my music, random and without end, with nothing to set up. - Stations: the mixes I have (genres, favourites, rediscover, new to me), everything, one for each decade that has 30 songs by 4 artists, and the radio of an artist (`artist:<id>`: their songs four times as likely, and the songs of the two genres most of theirs have). - Every time a station is asked for it picks other songs, with the weights of the mixes (my taste, my hearts, nothing skipped lately, at most 3 by one artist). - `GET /radio` and `GET /radio/{id}`. - OpenSubsonic: each station is a playlist (`rd-<id>`, "Radio · Rock") with other songs every time it is opened, because apps cannot play a radio that never ends. They cannot be changed or deleted. - Checked: Go tests with -race on SQLite, storage/mixes/opensubsonic/api on PostgreSQL, and on a copy of my real library (24 stations, 50 songs each, under a second).
Stations made from the music, random and without end, with nothing to set up: the
mixes the listener has (genres, favourites, rediscover, new to you), everything,
one for each decade that has 30 songs by 4 artists, and the radio of an artist (their
songs, four times as likely, and the songs of the two genres most of theirs have).
Every time a station is asked for it picks other songs, with the same weights as the
mixes (taste, hearts, nothing skipped lately).

- mixes.Service.Radios and Radio; Filter has All and years, the store has Decades
- GET /radio and GET /radio/{id}, in the OpenAPI spec
- OpenSubsonic: each station is a playlist (rd-<id>, "Radio · Rock") that has other
  songs every time it is opened, for apps that cannot play a radio that never ends
squid merged commit f146a94368 into main 2026-11-16 11:14:17 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
squid/sonda!29
No description provided.