Skip to content

Client id and more - #5

Merged
zas merged 4 commits into
mainfrom
client-id
Mar 24, 2026
Merged

zas merged 4 commits into
mainfrom
client-id

Conversation

@zas

@zas zas commented Mar 24, 2026

Copy link
Copy Markdown
Owner

No description provided.

zas added 4 commits March 24, 2026 16:06
The MusicBrainz API requires a 'client' query parameter on all
submissions. Previously every submit/collection method required
the caller to pass this redundantly. Now it's built automatically
as '{app_name}-{app_version}' from the constructor arguments.

Removes client_id parameter from: submit_tags, submit_ratings,
submit_barcodes, submit_isrcs, collection_add, collection_remove.
Defaults to "2" (current ws/2 API). When ws/3 becomes available,
users can pass api_version="3" to opt in without waiting for a
library update. Ignored when base_url is set explicitly.
ws/2 returns entity-prefixed keys (e.g. recording-count,
recording-offset). ws/3 will use plain count/offset (MBS-9731).
Try unprefixed first, fall back to prefixed for backward compat.
Summarizes MBS tickets for ws/3 changes, what musicbrainzpy
already handles, and what will need work when ws/3 ships.
@zas
zas merged commit 0003ee9 into main Mar 24, 2026
15 checks passed
@zas
zas deleted the client-id branch March 24, 2026 15:33
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