# \[WS\] MusicBrainz XML Webservice

**URL:** <https://community.mp3tag.de/t/ws-musicbrainz-xml-webservice/3591>\
**Category:** Web Sources Scripts\
**Created:** [July 24, 2006, 3:01pm UTC](https://community.mp3tag.de/t/ws-musicbrainz-xml-webservice/3591 "2006-07-24T15:01:50Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![The\_Unknown](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/ba8739/32.png) [@The\_Unknown](https://community.mp3tag.de/u/The_Unknown)\
**Post date:** [October 23, 2015, 3:26pm UTC](https://community.mp3tag.de/t/ws-musicbrainz-xml-webservice/3591/81 "2015-10-23T15:26:29Z")

</div>

Thanks man, working fine now!

---

<div class="post-metadata">

**Author:** ![Hamstersex](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/ba8739/32.png) [@Hamstersex](https://community.mp3tag.de/u/Hamstersex)\
**Post date:** [October 26, 2015, 10:48am UTC](https://community.mp3tag.de/t/ws-musicbrainz-xml-webservice/3591/82 "2015-10-26T10:48:32Z")

</div>

Thank you **kkkqqq54**!

---

<div class="post-metadata">

**Author:** ![Anshelmo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/2acd7d/32.png) [@Anshelmo](https://community.mp3tag.de/u/Anshelmo)\
**Post date:** [November 1, 2015, 9:19pm UTC](https://community.mp3tag.de/t/ws-musicbrainz-xml-webservice/3591/83 "2015-11-01T21:19:15Z")

</div>

sorry, its not working for me... i think your solution is perfect but i make a mistake... can you edit the basic and the ws + id script for me (with a dl link maybe)? that would be really nice

---

<div class="post-metadata">

**Author:** ![Beluna](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/ed655f/32.png) [@Beluna](https://community.mp3tag.de/u/Beluna)\
**Post date:** [December 3, 2015, 1:55pm UTC](https://community.mp3tag.de/t/ws-musicbrainz-xml-webservice/3591/84 "2015-12-03T13:55:27Z")

</div>

Dano,

Want permission and instructions on how to add info to your Musicbrainz script.

Sample:  
MusicBrainz: [http://musicbrainz.org/release/ac1de4b5-64...3e-2af196848562](http://musicbrainz.org/release/ac1de4b5-642b-4935-b53e-2af196848562)  
Artist: Ingrid Lucia  
Album: Almost Blue

Under Credits it list website: [http://www.allmusic.com](http://www.allmusic.com) etc xxxxxxxx

(1). I would like to import that info and have it

output to: Web Media Url

(2) If possible, i would like it to be a hyperlink. If not just inputting the info is ok.

Curently I'm typing the info, it's a lot of typing or cut and paste.

Thanks

---

<div class="post-metadata">

**Author:** ![T3KN0GH057](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/8e8cbc/32.png) [@T3KN0GH057](https://community.mp3tag.de/u/T3KN0GH057)\
**Post date:** [December 14, 2015, 4:30am UTC](https://community.mp3tag.de/t/ws-musicbrainz-xml-webservice/3591/85 "2015-12-14T04:30:05Z")

</div>

Can someone help?

There are some albums I can't manage to get to with this script i know they exist because I found them in my browser. The problem being they have special characters in both the artist and album names (i.e P!nk - M!ssunaztood)

So I'm trying to modify this script so you can look up by the release-group id.

I tried changing the script here

```
[IndexUrl]=http://musicbrainz.org/ws/2/release/?limit=100&release-group=%s

```

as you can see from this it gives valid info **[P!nk - M!ssundaztood](http://musicbrainz.org/ws/2/release/?limit=100&release-group=1000b015-e841-3cc4-ab5b-f47931f574e3)**

but the script says "Sorry no entries are matching your search criteria"

If anyone can help with this it would really help out a lot!

---

<div class="post-metadata">

**Author:** ![Beluna](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/ed655f/32.png) [@Beluna](https://community.mp3tag.de/u/Beluna)\
**Post date:** [January 27, 2016, 3:57pm UTC](https://community.mp3tag.de/t/ws-musicbrainz-xml-webservice/3591/86 "2016-01-27T15:57:31Z")

</div>

I don't see the track info (composer, credits, recording) in the tags from Musicbrainz website.

see example: [http://musicbrainz.org/release/7323a556-16...94-0148f00aaef4](http://musicbrainz.org/release/7323a556-16a4-4a95-bc94-0148f00aaef4)

track 3, 4, 12, etc. I'm using all 3 src, but none pick ups the info.

how do i update the src to find it.

Thanks

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [January 27, 2016, 6:44pm UTC](https://community.mp3tag.de/t/ws-musicbrainz-xml-webservice/3591/87 "2016-01-27T18:44:38Z")

</div>

@Beluna: If you really need all this informations you should try the "official" MusicBrainz-Taggersoftware, called Picard\* [https://picard.musicbrainz.org/](https://picard.musicbrainz.org/)

Of course you still need Mp3tag, because of all the missing features in Picard. But at least you get all the visible informations on the MB website into your tracks.

- Please use one of the daily-builds from [https://picard.musicbrainz.org/downloads/](https://picard.musicbrainz.org/downloads/) The stable release is more then a year old.

---

<div class="post-metadata">

**Author:** ![ms6676749](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/b4bc9f/32.png) [@ms6676749](https://community.mp3tag.de/u/ms6676749)\
**Post date:** [March 26, 2016, 9:42pm UTC](https://community.mp3tag.de/t/ws-musicbrainz-xml-webservice/3591/88 "2016-03-26T21:42:22Z")

</div>

QUOTE (kkkqqq54 @ Oct 19 2015, 11:57) \<{POST\_SNAPBACK}\>

 findinline "track-list "

```
findinline "count=\""

```

And that's all! Working normally after that...

Thanks, this made the script (together with commenting out the coverart) run better and faster.

---

<div class="post-metadata">

**Author:** ![Hamstersex](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/ba8739/32.png) [@Hamstersex](https://community.mp3tag.de/u/Hamstersex)\
**Post date:** [May 16, 2016, 8:48am UTC](https://community.mp3tag.de/t/ws-musicbrainz-xml-webservice/3591/89 "2016-05-16T08:48:51Z")

</div>

It's just me or MusicBrainz script is broken and always return **503 service temporarily unavailable**?

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [May 16, 2016, 9:17am UTC](https://community.mp3tag.de/t/ws-musicbrainz-xml-webservice/3591/90 "2016-05-16T09:17:32Z")

</div>

The Webservice is not broken. Well not really...  
They write in a recent blog post:  
"In the past few weeks we’ve been hit with massive increases in traffic and a couple of hardware failures. Trying to maintain a decent service quality in light of both of these events have taken a lot of time of our team..."  
Source: [https://blog.musicbrainz.org/2016/05/15/imp...change-release/](https://blog.musicbrainz.org/2016/05/15/important-information-about-the-may-16-schema-change-release/)

The mentioned schema change - whenever it happens - interrupts the Webservice again.  
AFTER this schema change the chance is unfortunately very high, that the XML-Output will be broken... ☹ ![<_<](https://community.mp3tag.de/uploads/default/original/1X/5996dbb474c88b8f9fc49f09dc3858d081055a2d.gif "<\_<")

---

<div class="post-metadata">

**Author:** ![MillmoorRon](https://community.mp3tag.de/user_avatar/community.mp3tag.de/millmoorron/32/6888_2.png) [@MillmoorRon](https://community.mp3tag.de/u/MillmoorRon)\
**Post date:** [August 30, 2016, 7:03am UTC](https://community.mp3tag.de/t/ws-musicbrainz-xml-webservice/3591/91 "2016-08-30T07:03:08Z")

</div>

On the first post it refers to a script to get the Artist Country:

> MusicBrainz Artist Info  
> Imports: Artist, Artistsort, Artist Country, Artist Id, www  
> Search by: Artist

but I cannot find this in the attachments that are linked to the post.

Am I missing something obvious or is this no longer there?

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [August 30, 2016, 7:17am UTC](https://community.mp3tag.de/t/ws-musicbrainz-xml-webservice/3591/92 "2016-08-30T07:17:45Z")

</div>

Which "artist country" should this be?  
Can you please give us an example?

If you look at this URL  
[https://musicbrainz.org/artist/44b16e44-da7...51-0d765904573e](https://musicbrainz.org/artist/44b16e44-da77-4580-b851-0d765904573e)  
which one would be your "artist country"?

---

<div class="post-metadata">

**Author:** ![MillmoorRon](https://community.mp3tag.de/user_avatar/community.mp3tag.de/millmoorron/32/6888_2.png) [@MillmoorRon](https://community.mp3tag.de/u/MillmoorRon)\
**Post date:** [August 30, 2016, 11:21am UTC](https://community.mp3tag.de/t/ws-musicbrainz-xml-webservice/3591/93 "2016-08-30T11:21:24Z")

</div>

I came to this page from posts #4 & #7 here:

[/t/12459/1](https://community.mp3tag.de/t/12459/1)

In the example given there:

[http://musicbrainz.org/ws/2/artist?query=artist:bob,dylan](http://musicbrainz.org/ws/2/artist?query=artist:bob,dylan)

returns

Bob Dylan Dylan, Bob male US United States United States

I would like to map to a specific tag.

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [August 30, 2016, 11:46am UTC](https://community.mp3tag.de/t/ws-musicbrainz-xml-webservice/3591/94 "2016-08-30T11:46:52Z")

</div>

The result is easier to read, if you append "&fmt=json"  
[http://musicbrainz.org/ws/2/artist?query=a...an&fmt=json](http://musicbrainz.org/ws/2/artist?query=artist:bob,dylan&fmt=json)

In my example for my album, both "country-"scripts gets the release country US and save it to its id3tag:  
[![](http://fs5.directupload.net/images/160830/temp/acw8muqr.png)](http://www.directupload.net/file/d/4463/acw8muqr_png.htm)

What exactly do you get with your tracks?

BTW: This is NOT the artist country, this is the RELEASE Country (country where this album was released)

---

<div class="post-metadata">

**Author:** ![MillmoorRon](https://community.mp3tag.de/user_avatar/community.mp3tag.de/millmoorron/32/6888_2.png) [@MillmoorRon](https://community.mp3tag.de/u/MillmoorRon)\
**Post date:** [August 30, 2016, 12:26pm UTC](https://community.mp3tag.de/t/ws-musicbrainz-xml-webservice/3591/95 "2016-08-30T12:26:06Z")

</div>

This is where my confusion arises!

The example links are just for 'artist' info (no 'release' data there at all) but the script that is mentioned in the post is not there.

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [August 30, 2016, 1:11pm UTC](https://community.mp3tag.de/t/ws-musicbrainz-xml-webservice/3591/96 "2016-08-30T13:11:01Z")

</div>

If you open such a webscript in a notepad, you can see entries like  
[IndexUrl]  
and  
[AlbumUrl]  
For your scripts, both include a link like

```
http://musicbrainz.org/ws/2/release/?query=release

```

Now it should be clear that a **RELEASE** will be requested by this script and not an artist like in your demo urls.

And you are right: the description "Imports: ...Artist Country...." is actually not true.

---

<div class="post-metadata">

**Author:** ![MillmoorRon](https://community.mp3tag.de/user_avatar/community.mp3tag.de/millmoorron/32/6888_2.png) [@MillmoorRon](https://community.mp3tag.de/u/MillmoorRon)\
**Post date:** [August 30, 2016, 1:53pm UTC](https://community.mp3tag.de/t/ws-musicbrainz-xml-webservice/3591/97 "2016-08-30T13:53:52Z")

</div>

I tried the modifictaions suggested on post #4 here

[/t/12459/1](https://community.mp3tag.de/t/12459/1)

but there is obviously more down below that needs changing - which is beyond my capabilities!

---

<div class="post-metadata">

**Author:** ![Mihawk90](https://community.mp3tag.de/user_avatar/community.mp3tag.de/mihawk90/32/223_2.png) [@Mihawk90](https://community.mp3tag.de/u/Mihawk90)\
**Post date:** [December 30, 2016, 2:03am UTC](https://community.mp3tag.de/t/ws-musicbrainz-xml-webservice/3591/98 "2016-12-30T02:03:04Z")

</div>

Did this script ever write the Release Group ID? Or how come some of my files have a release group and some don't... I never used any other program then Mp3tag for tagging my collection, so I'm a little confused right now, because it currently doesn't seem to add the release group... And I can't see that it had an update in a long time either...

---

<div class="post-metadata">

**Author:** ![threepwood](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/8dc957/32.png) [@threepwood](https://community.mp3tag.de/u/threepwood)\
**Post date:** [July 1, 2018, 4:31pm UTC](https://community.mp3tag.de/t/ws-musicbrainz-xml-webservice/3591/99 "2018-07-01T16:31:56Z")

</div>

After yesterday's [update](https://blog.musicbrainz.org/2018/06/22/releasing-our-new-solr-search-infrastructure/) on the MusicBrainz search engine this script stopped working.

Can anyone tell if the changes made to the search engine were too significant for this script to be updated easily?

---

<div class="post-metadata">

**Author:** ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)\
**Post date:** [July 2, 2018, 8:13am UTC](https://community.mp3tag.de/t/ws-musicbrainz-xml-webservice/3591/100 "2018-07-02T08:13:11Z")

</div>

Can you please try with this tag source?

[MusicBrainz-20180702.zip](https://community.mp3tag.de/uploads/default/original/2X/c/c3de96aa9c75f08d19c893f0fc581c3f8a8db3f2.zip) (2.0 KB)

[Previous page](https://community.mp3tag.de/t/ws-musicbrainz-xml-webservice/3591.md?page=4)

[Next page](https://community.mp3tag.de/t/ws-musicbrainz-xml-webservice/3591.md?page=6)
