Skip to content

Port: clickable links in notes, LRCLIB back-off - #1

Merged
Thopiax merged 3 commits into
mainfrom
fix/port-song-fixes
Oct 27, 2026
Merged

Thopiax merged 3 commits into
mainfrom
fix/port-song-fixes

Conversation

@Thopiax

@Thopiax Thopiax commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Two song fixes that landed in oliba after bemtevi was split out, ported here.

  • Clickable links in notes (from oliba 3b374ed): URLs in a song's notes become links on its page; line breaks stay.
  • LRCLIB back-off (from oliba aba8631): a busy LRCLIB (503) or throttling (429) is retried up to three times, honoring Retry-After up to 30 s. If it stays busy, the song still saves and the message says to try again in a moment.

Version 0.1.1.

Checks

  • node --test lib/*.test.mjs: 38/38 (new: notes links, backoff with Retry-After, still busy after three retries)
  • claude plugin validate .: pass
  • Tests use stubbed fetch and a temp BEMTEVI_DIR; no network
  • Fixtures synthetic (oliba's test used a real song title; replaced)

🤖 Generated with Claude Code

Thopiax and others added 3 commits October 27, 2026 13:36
URLs in a song's notes become links on its page; line breaks stay.
Ported from oliba 3b374ed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A busy LRCLIB (503) or throttling (429) is retried up to three times,
honoring Retry-After up to 30 s; a song still saves and says to try
again in a moment. Ported from oliba aba8631.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Thopiax
Thopiax merged commit 511cb8f into main Oct 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant