Skip to content

Introduce PsyAudio to MusicBrainz with its version and address - #25

Merged
Psychotoxical merged 1 commit into
mainfrom
fix/user-agent
Nov 19, 2026
Merged

Psychotoxical merged 1 commit into
mainfrom
fix/user-agent

Conversation

@Psychotoxical

Copy link
Copy Markdown
Member

What changes

PsyAudio sent PsyAudio/1.0 (CD-Ripper) or PsyAudio/1.0 to MusicBrainz, the Cover Art Archive and CTDB: a fixed version and no contact. The MusicBrainz API rules ask every application for a meaningful user agent with name, version and contact, and may throttle or block clients without one.

  • One constant USER_AGENT in psyaudio-core: PsyAudio/<version> ( https://github.com/Psysonic/PsyAudio ), the version taken from Cargo.toml at build time.
  • All three requests use it; a test checks the format.
  • Changelog entry.

Checked

  • cargo fmt --all -- --check, cargo clippy -p psyaudio-core --all-targets -- -D warnings and cargo test -p psyaudio-core pass
  • CHANGELOG.md has an entry under [Unreleased]
  • No new visible texts.

MusicBrainz, the Cover Art Archive and CTDB now get one user agent with the real version and the project address, as the MusicBrainz API rules ask.
@Psychotoxical
Psychotoxical merged commit c0019f6 into main Nov 19, 2026
5 checks passed
@Psychotoxical
Psychotoxical deleted the fix/user-agent branch November 19, 2026 21:32
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