IPB

Welcome Guest ( Log In | Register )

5 Pages V   1 2 3 > »   
Reply to this topicStart new topic
> [WS] MusicBrainz XML Webservice, web sources script
dano
post Jul 24 2006, 18:01
Post #1


Moderator


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



Mp3tag 2.40 or higher required

How do I install the script? / Wie installiere ich das Script?

MusicBrainz Web Service
  • MusicBrainz Web Service#Search by Artist
    Search by: Artist
    Imports: Artist, Album, Titles, Year, ASIN, Cover
  • MusicBrainz Web Service#Search by Artist + Title
    Search by: Artist + Title
    Imports: Album, Year
  • MusicBrainz Web Service#Search by Artist + Title (Orig Tags)
    Search by: Artist + Title
    Imports: Origalbum, Origyear


MusicBrainz Web Service ID (+ ID Tags)
Imports: Artist, Album, Titles, Year, ASIN, Cover + several MusicBrainz ID Tags
  • Search by: Album
  • Search by: Album + Artist
  • Search by: Album + Total Tracks
  • Search by: Artist



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


This post has been edited by dano: Dec 6 2013, 20:59
Attached File(s)
Attached File  MusicBrainz_v2_04.zip ( 5.27K ) Number of downloads: 833
Attached File  MusicBrainz_v2_direct_id_.zip ( 2.18K ) Number of downloads: 387
 


--------------------
Go to the top of the page
 
+Quote Post
hanshans
post Aug 18 2006, 15:57
Post #2


Member


Group: Full Members
Posts: 16
Joined: 26-April 05
From: bei Dresden
Member No.: 1767
Mp3tag Version: 2.44



hi dano

your MusicBrainzXML-script is working fine. I only had some issues if it finds albums which doesn't contian the "type" of the release, so i modified it a little bit. smile.gif

CODE
38    # Type
39    if "\" type=\""
40        findinline "type=\""
41        sayuntil "\""
42    else
43        say "unknown"
44    endif
45    say "|"


Best regards
Tommy

This post has been edited by dano: Oct 8 2006, 16:55
Go to the top of the page
 
+Quote Post
dano
post Aug 18 2006, 16:29
Post #3


Moderator


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



I've fixed that some time ago but forgot to update here..


--------------------
Go to the top of the page
 
+Quote Post
hanshans
post Aug 18 2006, 17:47
Post #4


Member


Group: Full Members
Posts: 16
Joined: 26-April 05
From: bei Dresden
Member No.: 1767
Mp3tag Version: 2.44



hi again dano

thanx for your update wink.gif

i am trying to write a web source for MusicBrainz XML lookup based on your album lookup, but i don't get it to work.
i get an error that there is no connection to the url musicbrainz.org.
don't know how i have to skip the search part and only run the album part of the script

i hope you can help me

regards
tommy

BTW: i modified your MB-non-XML web source to lookup with the id which works fine.

This post has been edited by hanshans: Aug 18 2006, 17:51
Attached File(s)
Attached File  MusicBrainz_XML_id.zip ( 947bytes ) Number of downloads: 827
 
Go to the top of the page
 
+Quote Post
dano
post Aug 18 2006, 19:23
Post #5


Moderator


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



You must have the complete url in [IndexUrl]
CODE
[IndexUrl]=http://musicbrainz.org/ws/1/release/%s?type=xml&inc=tracks+artist+release-events
[AlbumUrl]=
[WordSeperator]=
[IndexFormat]=%_url%|%Album%|%Artist%|%Year%
[SearchBy]=%comment%
[Encoding]=utf-8

[ParserScriptIndex]=...
# ###################################################################
#                    I  N  D  E  X
# ###################################################################
#debug "on" "c:\\debug_MusicBrainz-XML_A.html" "5"

sayoutput "CurrentUrl"
say "|"
say "|"
say "|"
saynewline


--------------------
Go to the top of the page
 
+Quote Post
hanshans
post Aug 20 2006, 14:22
Post #6


Member


Group: Full Members
Posts: 16
Joined: 26-April 05
From: bei Dresden
Member No.: 1767
Mp3tag Version: 2.44



Thanks dano

it works fine wink.gif
But there yet another problem to lookup the following disc with the xml script:
- Paul McCartney - Wingspan: Hits
http://musicbrainz.org/release/8cec0b4d-ae...7ac076934d.html

only 15 tracks are read and there is an error for the artist column.

regards
Tommy
Go to the top of the page
 
+Quote Post
dano
post Aug 20 2006, 15:14
Post #7


Moderator


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



The xml file does not have an artist for every track.
It leaves out the artist when the track artist is the same as the main artist (here it is Paul McCartney)
I can only make it skip the empty artists (update in first post)

I also made a new topic...


--------------------
Go to the top of the page
 
+Quote Post
willmcelwain
post Oct 4 2006, 03:12
Post #8


Member


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



Thanks dano for this alternate websource. I knew that would be the better way to access musicbrainz, but never got around to writing a parser. For those of you who still use the old musicbrainz websource (that grabs the album art), here's an updated version that fixes a small bug where it wouldn't find tracks that were flagged for revision. Let me know if there are any more bugs.

-will

Added.

This post has been edited by dano: Oct 8 2006, 16:54
Go to the top of the page
 
+Quote Post
mll
post Jan 9 2007, 14:50
Post #9


Member


Group: Full Members
Posts: 22
Joined: 14-July 04
Member No.: 1041
Mp3tag Version: 2.37h



Very cool script. Thanks dano. smile.gif
Go to the top of the page
 
+Quote Post
PhenX
post Apr 6 2007, 23:53
Post #10


Member


Group: Full Members
Posts: 11
Joined: 8-March 06
Member No.: 2857
Mp3tag Version: 2.42



Is it just me or is this script not working anymore?

For example, the Album "Neon Bible" (Arcade Fire) can't be found even though musicbrainz.org lists it (http://musicbrainz.org/release/b326d239-245a-49b5-b5e1-2adb94df7740.html). Same thing with many other albums. Can't find a working one just now..

Regards
PhenX
Go to the top of the page
 
+Quote Post
dano
post Apr 7 2007, 00:21
Post #11


Moderator


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



One char rolleyes.gif .. get update.


--------------------
Go to the top of the page
 
+Quote Post
DaReal
post Apr 8 2007, 16:35
Post #12


Member


Group: Members
Posts: 3
Joined: 4-December 02
Member No.: 286



Thank you very much biggrin.gif


--------------------
MfG
DaReal
Go to the top of the page
 
+Quote Post
Lipton
post May 12 2007, 11:03
Post #13


Member


Group: Members
Posts: 4
Joined: 5-February 07
Member No.: 4398
Mp3tag Version: 2.38



Any idea why the character encoding sometimes doesn't work as it should when fetching data with this script? It seems to be totally random if the encoding works or if the special characters are messed up. So far I've been able to get correct data by trying a few times, but I wonder if the problem is in the script or at MB's end.

But thanks for the excellent script, made me a devoted MusicBrainz user.
Go to the top of the page
 
+Quote Post
dano
post May 13 2007, 16:00
Post #14


Moderator


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



This problem has occured before but nobody could find the reason.
The script cannot influence this, it could be Musicbraniz server or Mp3tag. It happens not very often, it's hard to find the problem.
Maybe you can give a few search terms that caused the problem.


--------------------
Go to the top of the page
 
+Quote Post
dano
post Feb 12 2008, 17:35
Post #15


Moderator


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



Added length display and ASIN Tag and a script that also adds MusicBrainz ID Tags!


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

5 Pages V   1 2 3 > » 
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: 1st November 2014 - 12:51