Skip to main content

An aid to add information from Spotify to MusicBrainz.

Project description

An aid to add information from Spotify to MusicBrainz.


Spotify has a lot of music. Like, a lot a lot. But due to Spotify’s interface, it can be a bit clunky to use userscripts on the web site, and there’s no way to hook into the desktop or mobile app interfaces.

The script uses the API and command-line interface to hopefully make it a bit easier to copy information from Spotify into the MusicBrainz database, while also including information that isn’t actually being shown in any of the public phasing Spotify interfaces (such as bar codes).


Spotify2MusicBrainz can be installed using pip on most platforms, like so:

pip install spotify2musicbrainz


There are currently no tests. :(


The project is still in its very early stages. Feel free to submit PRs, but please adhere to code style and respect that not all the project goals have been fully fleshed out yet, so your patch may not be in line with the author’s vision.

Code style

The script will have a strict adherence to PEP8, with the exception of the line length. It is nice to stay under the 72/79 characters per line, but not an absolute necessity.


Commits going into the master branch should strive to be atomic commits with good commit messages.


The project is hosted on GitLab, and any bugs, feature requests, etc. should go there:

The project lead can also be found as “Freso” on Freenode IRC, mainly in the #metabrainz and #musicbrainz channels. Feel free say hi.


This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <>.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for spotify2musicbrainz, version 0.3.2
Filename, size File type Python version Upload date Hashes
Filename, size spotify2musicbrainz-0.3.2.tar.gz (20.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page