Commit Graph
6 Commits
Author SHA1 Message Date
judeandClaude Opus 5.5 c84e7e715d Play new songs from YouTube in the browser
YouTube's bot checks block yt-dlp from fetching audio on the server, so
suggested songs now play in YouTube's embedded player, kept out of sight,
in the browser. yt-dlp is only used to search.

- GET /api/discover/youtube/<id> returns candidate video IDs, best first,
  or the one that played before (?refresh=true searches again).
- PUT /api/discover/youtube/<id> remembers the video that played.
- The UI tries the next candidate when a video can't be embedded, searches
  again when a remembered video is gone, and skips the song otherwise.
- Drop the YouTube audio proxy, and Deno from the image.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 10:59:40 +00:00
judeandClaude Opus 5.5 93e12cfc72 Create and delete genre mixes from the web UI
- Add a form to create a cluster mix rule: shown on first visit when there
  are no rules, and from a + in the sidebar for another Listenbrainz user.
  Backed by POST /api/discover/rules, which validates each setting and
  allows one rule per Listenbrainz user.
- Add deleting a user's mixes from a bin in the sidebar, optionally also
  deleting the mixes' playlists from Subsonic. Backed by
  DELETE /api/discover/rules/<id>?delete_playlists=true.
- Stop showing the previous user's mix while a new user's mixes build.
- Remove the per-account Listenbrainz token: LB Radio now always uses
  listenbrainz.token from the config. A migration drops the token columns
  from app_user, and PUT /api/auth/account/listenbrainz is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 09:45:52 +00:00
jude f5cb5076ca Merge pull request 'Genre mixes, discover UI, tracked playlist management and logging' (#1) from discover into master
Reviewed-on: #1
2026-11-21 21:56:30 +00:00
jude d217dd0b81 Moved listenbrainz api in as its tiny. Add initial schema 2023-08-16 15:50:31 +01:00
jude 41fcffb43d Structure 2023-08-14 11:27:37 +01:00
jude 0024150376 Initial 2023-08-13 21:48:41 +01:00