Dezio/docs/PROGRESS.md
astar76 d25786de75 fm commands read ListenBrainz instead of the Last.fm API
The Last.fm API needs Pro for everything but scrobbling from 2026-12-01.
ListenBrainz is free and needs no key. api.rs turns its answers into the
old Last.fm shape, so the cards and commands work as before. Links are
kept in data/listenbrainz.json; data/lastfm.json is left alone. Lyrics
song search uses Deezer. MusicBrainz and Wikimedia now get a proper user
agent (they refused "Dezio", so artist photos never loaded).

The Last.fm version is the tag lastfm-api-backup.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 14:52:40 -06:00

1.3 KiB

Progress

One entry per session, newest last, ≤ 15 lines: done, verified how, not done, later.

2026-12-01 — fm commands moved from Last.fm to ListenBrainz (no plan, owner request)

  • Done: backup tag lastfm-api-backup (pushed). src/commands/lastfm/api.rs now reads ListenBrainz and turns results into the old Last.fm shape, so views/extras barely changed. Top lists, recent, profile, now playing, Who Knows, chart, Pixel Jumble, lyrics all on ListenBrainz + Cover Art Archive; lyrics title search on Deezer. Help, dashboard, website and privacy text updated.
  • Fixed on the way: MusicBrainz/Wikimedia refused the bare Dezio user agent (403/503), so artist photos never loaded; they now get Dezio/<version> (Discord bot).
  • Verified: cargo build; cargo test (only failures are worktree-only missing assets/data and ROMs); cargo test listenbrainz_live -- --ignored against the public user rob.
  • Not done: not tested in Discord 🧑; not deployed. Everyone must link again (/fm mode:link), ListenBrainz names can differ from Last.fm ones.
  • Differences: periods are ListenBrainz's (last week/month/quarter/half-year, this year), not rolling; stats update about once a day; Who Knows and "plays of this track" only see each person's all-time top 1000.

Later

  • (none yet)