Intro
This Mp3tag Web Sources Script (WSS) collects metadata from MusicBrainz using the JSON-based MusicBrainz API.
Please scroll down for the download- and installation instructions.
Like any other Web Sources Script it will add tags and metadata to all your selected files.
Metadata in already existing tags will be replaced without any further information or reconfirmation!
Script Info - Functionality
The main objectives for this WSS are:
1.) Best possible compatibility to MusicBrainz official tagger "Picard"
2.) Using JSON (instead of XML)
This script is working best with a complete release (most of us are using the term "Album").
The first overview "List of search results..." after a search by
- Artist + Album
or - Artist + Album + Tracks
or - Artist + Album + Tracks + MediaType + Country
or - ASIN
or - Barcode
or - Catalog number
or - Album-Artist + Album (thanks to @make-nz!)
is listing all available relases/albums with the additional columns "No of media" (1), Disambiguation (2), ASIN (3), Barcode (4) and Status (5). This should help you to identify the correct release for your tracks ready to be tagged.
Since May 2024 you can also search by MusicBrainz Album ID, but this will not show you the above list of search results, because this MB ID is unique to one release. You directly get the "Adjust tag information" window.
The main "Adjust tag information" window let you check if you really have found the matching release.
Most important are the track titles and track lengths. Sometimes tracks do not appear in the correct sort order. Then you can Move Up or Move Down your local filename on the right side to the correct place.
In addition to the usual release-level tags (like ARTIST, ALBUM, YEAR, TRACK, TITLE) you will get the following expanded tags ***:
ALBUMARTIST
ALBUMARTISTSORT
ARTISTS
ARTISTSORT
ASIN
Barcode
Catalog Number
COMPILATION
DATE
DISAMBIGUATION
DISCNUMBER
ISRC
LANGUAGE
MB_ArtistCredit_Artist_Country
MEDIATYPE
MUSICBRAINZ_ALBUMARTISTID
MUSICBRAINZ_ALBUMID
MUSICBRAINZ_ALBUMRELEASECOUNTRY
MUSICBRAINZ_ALBUMSTATUS
MUSICBRAINZ_ALBUMTYPE
MUSICBRAINZ_ARTISTID
MUSICBRAINZ_RELEASEGROUPID
MUSICBRAINZ_RELEASETRACKID
MUSICBRAINZ_TRACKID
ORIGINALYEAR
ORIGYEAR
PRODUCER (only if set on release-level)
PUBLISHER
QUALITY
SCRIPT
SetSubtitle
The following tags are no more available since v2.00, because they are available on track-level only.
INVOLVEDPEOPLE
PERFORMING_ORCHESTRA
PERFORMING_ORCHESTRA_BEGINDATE
PERFORMING_ORCHESTRA_ENDDATE
Maybe I will find some time to write an additional WSS-Script "MusicBrainz involved"...
(I make no promises)
Can I reduce the number of tags?
How can I strip the tags down to the one I need?
If you don't need all tags *** offered by this Web Sources Script, you can easily deselect them.
Since Mp3tag v3.13 you can select or deselect the checkboxes in the "Adjust tag information" result window in front of any tag in the sections "Metadata Title" or "Metadata Album".
*** The number of tags highly depends on the existing data at MusicBrainz.
Not every release has a complete set of all tags. All these metadata have been provided by users like you and me.
Script Info - Exceptions
The exceptions to the main objective "compatibility to MB Picard" are:
a) This script does NOT manipulate the official MusicBrainz metadata in any way.
- That means, there is no change to lowercase for the primary and secondary "Release Type" like "Album" or "Compilation" by default.
Since v2.00 you can now change this in the script settings - There is no change to lowercase for the "Release Status" like "Official" by default.
Since v2.00 you can now change this in the script settings - There is no apostrophe replacement for
'with'and noGB->UKcountry replacement. - There is no ISRC formatting.
- There is no filtering of duplicate Catalog-Numbers from different Labels.
- All metadata are written 1:1 as delivered from the source.
- If you want to format such metadata, please use the according Actions from Mp3tag.
b) The INVOLVEDPEOPLE tag needs data from track-level and will no more be filled with this script since June 2024 and v2.00
b) This script does NOT map any source tag to target tag.
- That means, there is no "live sound" transformed into Engineer or "orchestrator" into Arranger.
All types of relationships will be filled 1:1 into the INVOLVEDPEOPLE tag.
There are only a few exceptions with own tags like COMPOSER, CONDUCTOR, LYRICIST, WORK, WRITER
(Hint: MB Picard also shows the Mixer or Engineer or Producer as separate tags, but merge it together with all kind of Instrument- and Vocal-Performers into the same INVOLVEDPEOPLE tag).
c) If you want to modify the tag SetSubtitle in both programs, Mp3tag AND MB Picard, you have to add this two Tagger Script Lines in MB Picard (Options -> Options -> Scripting -> Tagger Scripts):
$set(SetSubtitle,%discsubtitle%)
$unset(discsubtitle)
Details about this topic.
Why the version jump from v1.30 to v2.00?
This Web Sources Script was rewritten from scratch.
With this new version v2.00 I introduce "Settings":
You don't need to modify the script code anymore, if you want to
a) always fill the DISCNUMBER, also for releases with only one media
-> You get 1/1 for 1 disc media
b) see some more non-standard metadata. This is experimental and slow.
c) see some more non-standard metadata. This is experimental and slow.
d) convert the ALBUMSTATUS and ALBUMTYPE to lowercase like in MB Picard
-> Album -> album, Official -> official, EP -> ep
e) download the album front picture from Cover Art Archive
-> If you DON'T want to download and see album art, then disable this setting
f) Download the small thumbnail album pictures for preview in 'List of search results'
-> If you DON'T want to download the various small cover thumnails, then disable this setting
On Windows you can also hover over the settings to see some help text.
What about the Cover Art?
Some Cover Art pictures from MusicBrainz can be huge!
You will find pictures with more then 4000x Pixels and sizes about 50 MB and more.
Downloading and preview take a lot of time, because the Cover Art Archive isn't the fastest delivering source. If you think Mp3tag freezes during the search for tag data, then it is very likely that a huge cover will be downloaded. Please be patient.
Good news:
Since Mp3tag v3.11h (released 2022-01-14) one of the 4 available "MusicBrainz Cover Size" in File -> Options -> Tag Sources: 250 Pixels, 500 Pixels, 1200 Pixels or the Original size can be configured.
This script doesn't resize the picture in any way, it just download the predefined size from the MusicBrainz Cover Art Archive. If you like the biggest available cover picture (and are patiently waiting for the download), then configure the size to "Original".
Download
Newest Mp3tag, at least v3.27c
Important: This WSS will NOT work with older Mp3tag versions then v3.27c
Current v2.31: MusicBrainz expanded (v2.31).zip (23,9 KB) / Modified: 2025-08-23
Previous v2.30: MusicBrainz expanded (v2.30).zip (23,8 KB) / Modified: 2025-04-22
Previous v2.20: MusicBrainz expanded (v2.20).zip (21,9 KB) / Modified: 2024-10-10
Old v1.30: MusicBrainz expanded v1.30.zip (12,4 KB) / Modified: 2024-05-10
Previous old: MusicBrainz expanded v1.20.zip (11,2 KB) / Modified: 2022-04-28
How to Install
- Download the above
.zipand extract it to the%appdata%\mp3tag\data\sourcesdirectory
(Just hit Win+R and copy & paste%appdata%\mp3tag\data\sources)
Or you can click on menuFile->Open configuration folderand then open the folder\dataand open the subfolder\sources - You can access all WS scripts either by using the menu
Tag sourcesor by right-clicking on the selected tracks andTag sources->....
Version History
2025-08-23: v2.31 - Bugfix release, details see here
2025-04-22: v2.30 - One new column, one addition, one fix, details see here
2024-10-10: v2.20 - One addition, details see here
2024-08-27: v2.10 - One addition, details see here
2024-06-19: v2.00 - One addition, two new features and four removed tags, details see here
2024-05-10: v1.30 - One addition and one new feature, details see here
2022-04-28: v1.20 - One addition and one fix, details see here
2022-01-25: v1.01 - Two changes and one fix, details see here
2022-01-15: v1.00 - First Public Release
(special thanks to @Florian and @ohrenkino for the support and tests of the preview-releases)
Last but not least
Please let me know if you have found any error or inconsistency using this script.
Attach a screenshot with your current result and your expected values.
Don't forget to note the MusicBrainz release ID, where the source data is available.
If you prefer, write such infos in a PM.





:

