22 lines
2.5 KiB
Markdown
22 lines
2.5 KiB
Markdown
# 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.
|
|
|
|
## 2026-12-01 — covers and artist photos with fallbacks (owner request)
|
|
- Done: `covers.rs` (cover chain, artist photos, missing album names via Deezer); listens keep the player's tag IDs (`mbids`), tags win over ListenBrainz's guess; play counts and Who Knows match by ID first. Every card, chart and Pixel Jumble uses it.
|
|
- Verified: `cargo test` (same 8 worktree-only asset failures); `cargo test covers_live -- --ignored` and `listenbrainz_live` pass.
|
|
- Not done: not deployed at commit time; not checked in Discord 🧑.
|
|
|
|
## 2026-12-01 — S001 uploads by speed
|
|
- Done: `media::budget_for` / `upload_budget(ctx)` with `UPLOAD_SECONDS`=75 and `UPLOAD_BYTES_PER_SEC`=114_000 (reuse in S002, S008). Real limit 10 MiB. `/download` plans by budget, retries only reset/429/5xx, timeout becomes a website link. Convert and /media use the budget.
|
|
- Verified: `cargo check` only. /download video still over budget after compress goes out as a link. Music card already drops to a still on a slow line; quote/games send small images, left as is. Not done: link for audio/gallery over budget; per-call HTTP timeout (twilight sets one timeout per client).
|
|
|
|
## Later
|
|
- Per-request shorter timeout for plain Discord API calls: not done in S001.
|