IPB

Welcome Guest ( Log In | Register )

5 Pages V  < 1 2 3 4 > »   
Reply to this topicStart new topic
> [WS] MusicBrainz XML Webservice, web sources script
willmcelwain
post Feb 23 2008, 23:00
Post #16


Member


Group: Full Members
Posts: 28
Joined: 18-February 05
Member No.: 1564
Mp3tag Version: 2.46c



For those of you who want to search by more than album title (for those releases that have very common names, like "Greatest Hits"), here are two more MusicBrainz Web Service web sources. In one, you can search by artist (lists all albums by that artist), and the other, you can search by the unique MB Disc ID that's usually at the bottom of that album's page. You need to find the album on MusicBrainz's site first, then copy that Disc ID string (which looks something like "0iGW9Brqglc3pz77ugFj5a6YW6I-"), and paste it into the Mp3tag web sources search dialog.

If you want to modify this script to search for other parameters, go to http://musicbrainz.org/doc/XMLWebService and scroll down to the "release resources" section. Copy which parameter you want to use, then open up the .src file you want to modify, and the only part you need to change is the "[IndexUrl]" line, at the end, immediately before the "=%s" part. Change that to whatever you want to search for. For example, when searching by album name, the line used to be:
[IndexUrl]=http://musicbrainz.org/ws/1/release/?type=xml&limit=20&title=%s

To search by Disc ID, I changed it (including increasing the # of matches returned to 100) to:
[IndexUrl]=http://musicbrainz.org/ws/1/release/?type=xml&limit=100&discid=%s

I didn't include the extra IDs that dano extracts with the "+ID Tags" script. This just grabs the same basic info as the Web Service Search by Album script.

Thanks again to dano and Florian for such an excellent program. v2.40 is a fantastic improvement, especially for the web sources UI. Great work!

-Will

This post has been edited by willmcelwain: Feb 23 2008, 23:02
Attached File(s)
Attached File  MusicBrainz_Search_by_Artist_or_Disc_ID.zip ( 2.67K ) Number of downloads: 543
 
Go to the top of the page
 
+Quote Post
Grumb13
post Feb 25 2008, 04:40
Post #17


Member


Group: Full Members
Posts: 12
Joined: 15-December 04
Member No.: 1381
Mp3tag Version: 2.27



umm odd question, but is there any way to get the MB websource to show times in minutes and seconds? It looks like it is doing it in seconds, but it is hard to cross reference the track to the db when they are in different units of measure.

I really don't know how to do this myself, that's why I am asking.

Regards,
G
Go to the top of the page
 
+Quote Post
dano
post Feb 25 2008, 11:42
Post #18


Moderator


Group: Moderators
Posts: 5673
Joined: 4-September 03
From: Germany
Member No.: 201
Mp3tag Version: 2.59a



You must have the latest Mp3tag version then it shows minutes and seconds.


--------------------
Go to the top of the page
 
+Quote Post
Grumb13
post Feb 27 2008, 13:50
Post #19


Member


Group: Full Members
Posts: 12
Joined: 15-December 04
Member No.: 1381
Mp3tag Version: 2.27



QUOTE (dano @ Feb 25 2008, 11:42) *
You must have the latest Mp3tag version then it shows minutes and seconds.



Thanks Dano,

I am running 2.39


I'll update.

You rock brother,
G
Go to the top of the page
 
+Quote Post
locutus
post Mar 6 2008, 22:41
Post #20


Member


Group: Full Members
Posts: 5
Joined: 6-March 08
Member No.: 6611
Mp3tag Version: 2.40



I´m not a programmer, so i have some problems to change the scripts. What i want to do is have a search by artist and title, which shows only official albums with ( or sorted by ) year.

In many cases i have a tag with Greatest hits or something else and want to change it to the origin album.

Can someone help me please?

Thanks in advance!
Go to the top of the page
 
+Quote Post
willmcelwain
post Mar 7 2008, 07:59
Post #21


Member


Group: Full Members
Posts: 28
Joined: 18-February 05
Member No.: 1564
Mp3tag Version: 2.46c



I don't believe you can search for both at the same time, but I could be wrong. I originally wanted to search by Artist instead of album for exactly that reason. I guess for artists with lots of albums, it could return too many results (and not even show the album you're looking for), but just change the "limit" parameter like I described above to get around that. To sort by anything when you get the results, just click on the column name (year, album, etc.).
Go to the top of the page
 
+Quote Post
locutus
post Mar 7 2008, 09:08
Post #22


Member


Group: Full Members
Posts: 5
Joined: 6-March 08
Member No.: 6611
Mp3tag Version: 2.40



QUOTE (willmcelwain @ Mar 7 2008, 07:59) *
I don't believe you can search for both at the same time, but I could be wrong. I originally wanted to search by Artist instead of album for exactly that reason. I guess for artists with lots of albums, it could return too many results (and not even show the album you're looking for), but just change the "limit" parameter like I described above to get around that. To sort by anything when you get the results, just click on the column name (year, album, etc.).


True, but in the case you have only "greatest hits" as album, you must look first at MB, allmusic or LastFM for the right album, before quering MB. In this case i could also directly go to MB and look for the discID. Too much work. I thought it is probably possible to filter the result of the artist query.

In any query i did so far no year is shown!
Go to the top of the page
 
+Quote Post
dano
post Mar 7 2008, 09:43
Post #23


Moderator


Group: Moderators
Posts: 5673
Joined: 4-September 03
From: Germany
Member No.: 201
Mp3tag Version: 2.59a



I see my code to grab the year in the result window is broken that's why you don't see it. Gonna fix these..

I also have a script that searches for artist + title and tags only album and year, but it cannot show year and album type, they don't seem to be available.

This post has been edited by dano: Sep 23 2009, 09:18


--------------------
Go to the top of the page
 
+Quote Post
LyricsLover
post Mar 15 2008, 14:41
Post #24


Member


Group: Full Members
Posts: 778
Joined: 21-September 06
From: Central Europe
Member No.: 3709
Mp3tag Version: 2.59a



Thank you dano for this great websource!
Is it possible to save the MusicBrainz-IDs (i.e. for the album, artist, track) in a id3tag?

You use one of this IDs already to click on the blue URL ('This album on Musicbrainz web source').
Example: http://musicbrainz.org/album/08e4f585-24ed...f3e88d5d01.html

I would like to save the part '08e4f585-24ed-4d65-9402-1df3e88d5d01' in the Tag
MUSICBRAINZ ALBUM ID
(like the 'MusicBrainz-Piccard' does it)

If available, the content of
MUSICBRAINZ ARTIST ID
and/or
MUSICBRAINZ_TRACKID
would be nice too! w00t.gif

What do you think about?


UPS: SORRY! Some minutes later I found your SEARCH BY ALBUM + ID TAGS Source!
Everything solved!!
I just have to remove the id3tag PERFORMERSORTORDER and ALBUM TYPE, which I don't need.

This post has been edited by LyricsLover: Mar 15 2008, 14:47
Go to the top of the page
 
+Quote Post
LyricsLover
post Mar 15 2008, 16:31
Post #25


Member


Group: Full Members
Posts: 778
Joined: 21-September 06
From: Central Europe
Member No.: 3709
Mp3tag Version: 2.59a



Dano: I have another little wish for your MusicBrainz-websource.

Is it possible to reduce the offered results of the search to the ones matching the number of selected tracks?

I look for an album called 'The Black Parade'. I get 3 entries back:
- Single Official with 2 tracks
- Ep Official with 2 tracks
- Album Official with 14 tracks

Since I have marked 14 tracks it should be obvious, that I'm looking for the third one.

What do you think?
Go to the top of the page
 
+Quote Post
LyricsLover
post Jul 12 2009, 13:19
Post #26


Member


Group: Full Members
Posts: 778
Joined: 21-September 06
From: Central Europe
Member No.: 3709
Mp3tag Version: 2.59a



I like this Musicbrainz-Websource very much and it works great!

Now I found something, that I can't explain:
If I search for
"ballad of sally rose" AND artist:"Emmylou Harris"
I get exact the matching album with all the needed information.

If I search with
"Ballad Of Sally Rose" AND artist:"Emmylou Harris"
I don't get any result.

It seems, that the capitalized word "of" makes the difference.
If I search with
"Ballad of Sally Rose" AND artist:"Emmylou Harris"
I get exactly what I need.

Any idea, why it is important to write the search-word "of" in small letters?

BTW: MB has done some improvements in the XML Webservice. Mabye you could have a look to this informations:
http://wiki.musicbrainz.org/XMLWebService
and
http://wiki.musicbrainz.org/Text_Search_Syntax wink.gif


Ich hab noch ein weiteres Muster gefunden:
"Like Red On A Rose" von "Alan Jackson" wird nicht gefunden.
"Like Red on a Rose" von "Alan Jackson" matcht wunderbar.

This post has been edited by LyricsLover: Jul 12 2009, 14:58
Go to the top of the page
 
+Quote Post
dano
post Jul 12 2009, 21:10
Post #27


Moderator


Group: Moderators
Posts: 5673
Joined: 4-September 03
From: Germany
Member No.: 201
Mp3tag Version: 2.59a



I don't use quotation marks in my scripts.
Ballad Of Sally Rose AND artist:Emmylou Harris
works fine.


--------------------
Go to the top of the page
 
+Quote Post
dano
post Sep 23 2009, 11:26
Post #28


Moderator


Group: Moderators
Posts: 5673
Joined: 4-September 03
From: Germany
Member No.: 201
Mp3tag Version: 2.59a



Updates...


--------------------
Go to the top of the page
 
+Quote Post
pandaking
post Oct 20 2009, 17:25
Post #29


Member


Group: Full Members
Posts: 14
Joined: 27-October 07
From: Brighton, UK
Member No.: 5831
Mp3tag Version: v2.43



Found a little bug in this script, I only use the ID versions but it could be in all of them:

If an album is all one artist, but for example it has a few guest artists on a few tracks then it errors. It seems whatever is listed as "Band" will not also show in "Artist".

I've had this for loads of albums now, so it's definately not a one off.

An example album is:
http://musicbrainz.org/album/fb13dd43-3773...0d86a4446c.html

See how the first track has two artists listed, and then the rest are all Dizzee Rascal but with your script it only sets the artist for the first track, and the rest are all blank while "band" is set to Dizzee Rascal.

So yea, in short it seems:
If "Artist" is the same as "Band" then it's set as blank. It should however set both "Artist" and "Band" the same...
Go to the top of the page
 
+Quote Post
dano
post Oct 21 2009, 10:20
Post #30


Moderator


Group: Moderators
Posts: 5673
Joined: 4-September 03
From: Germany
Member No.: 201
Mp3tag Version: 2.59a



Thank you, I knew about this but didn' think I could fix it. Now I took a second try and it was pretty easy.
You can try it in the ID scripts.


--------------------
Go to the top of the page
 
+Quote Post

5 Pages V  < 1 2 3 4 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th April 2014 - 06:32