Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

MusicBrainz Artist releases-urls

Display releases urls on artists page

Description

Display releases urls (Amazon, Discogs, Wikipedia, IMDb, ...) on the artist page

Screenshot

Known limitations

The script currently only works for official and single-artist releases due to MusicBrainz webservice limitation (http://bugs.musicbrainz.org/ticket/2431)

Updates

  • 2008-08-02: Added support for CoverArtLink
  • 2008-07-28: Minor fix for Opera users submitted by jesus2099
  • 2008-06-13: Added Script Update Checker support
  • 2007-09-18: Added support for IMDb & CreativeCommons downloads
  • 2007-07-13: Updated Discogs icon URL
  • 2007-03-24: Added support for the staging server (test.musicbrainz.org) ; now works when you're not logged on






1 point
login to vote
jesus2099 scriptwright
Posted Jun 26, 2008

Hi murdos,

Now seeing you snapshot I see that I have the same screen already. I thought you didn't have the white cellpadding between empty cells but you also do.

Look at mine, it's the same, isn't it ? *MusicBrainz Artist releases-urls* now working in Opera !

I just used the function (getSizeOfHashTable) of my last comment to make it work. It was because the length attribute is not always existing on hashtables in javascript (I just learnt it at that same time) …

I'm e-mailing you my current version of your script in case I forgot to say something here. (^_^)

Thank you murdos ! ♥
Tristan

1 point
login to vote
murdos script's author
Posted Jun 13, 2008

He is a screen capture:

I've also applied the function names anti-conflict to all my scripts, with a fix for the update checker too (that won't work in Opera anyway).

1 point
login to vote
jesus2099 scriptwright
Posted Jun 13, 2008

Thank you Murdos, no more conflict between them.
Maybe you may apply this function names anti-conflict to your other scripts ?
Or is it too strange ?
I'll try to get a better rendering when I have some time … Could you show me a screen capture of yours please Murdos ?

I have two issues, h2.colspan and a table padding or something.
For the colspan it's because hashtable doesn't have length attribute and alert(relationsIconsURLs.length) gives undefined.
So I used this function (modified because I had errors with the prototype thing. It worked but generated errors elsewhere ?):

function getSizeOfHashTable(ht) {
      	var l = ht.length ? --ht.length : 0;
      	for (var k in ht) {
      		l++;
      	}
      	return l;
      }
Now it's OK, I mean getSizeOfHashTable(relationsIconsURLs) returns 5.

1st problem solved (but maybe just works on Opera?)

For the second one I need a snapshot or something since I have cell padding and it seems you don't. Please :)

PS. you forgot to turn off debug :)

1 point
login to vote
murdos script's author
Posted Jun 12, 2008

Could you try the updated version? It should fix function names issues and includes your modified log function.

About, the presentation, it works perfectly for me under Firefox with the compact mode.
Sorry, that means you should look further if you want it to work for you ;)

1 point
login to vote
jesus2099 scriptwright
Posted Jun 11, 2008

It works in Opera now: I renamed two function names to xmlhttpChange7947 and NSResolver7947, I think it's normal that it bugged because they have the same name in your other script (MusicBrainz Subscriptions script:8266).
But what's strange is that I also had to rename xmlhttp to xmlhttp7947! This is not logical (because it's a var declared variable) but now it works … ?!
I wondered if I had to rename xmldoc and other vars but well it already works without doing so …

I changed the debug function to:

function myGM_log(message) {
      	if(DEBUG) {
      		var logged = false;
      		try {
      			GM_log(message);
      			logged = true;
      		} catch(e) {}
      		try {
      			opera.postError(message);
      			logged = true;
      		} catch(e) {}
      		if (!logged) {
      			alert(message);
      		}
      	}
      }

That's it for the functional part. Before I look further into the presentation bits, could you confirm that, in compact mode, you don't have display problems such as broken colspan on <h2> Albums, Singles, Live, etc. or empty cells after Amazon link.

Here's what I have with "AJICO" for instance :
← without script
← with script

1 point
login to vote
murdos script's author
Posted Jun 10, 2008

Hi jesus2099!
Yes it still works. Tested with Firefox 2 or 3. And with the new (but a bit old now) MB website release.
It's probably due to Opera (have you upgraded your version?).
Anyway, if you have some fixes for Opera, as usual, I'll be happy to integrate them ;)

1 point
login to vote
jesus2099 scriptwright
Posted Jun 6, 2008

Hi Murdos !
Is this script still supposed to work ?
It doesn't work in my Opera, but maybe it is because of a new MB website release.

Or maybe I don't look at the right place on the page as I'm not sure where it is supposed to insert those links. :)

1 point
login to vote
Aaron Cooper scriptwright
Posted Dec 16, 2007

Ah, the problem was Discog's favicon moved.

1 point
login to vote
Aaron Cooper scriptwright
Posted Dec 16, 2007

Discogs links do not seem to be showing up anymore... am I the only one having this trouble?

1 point
login to vote
murdos script's author
Posted May 29, 2007

Brian: the script currently only works for *official* and *single-artists* releases (see Known limitations in the description above).

1 point
login to vote
Brian Schwei... scriptwright
Posted May 28, 2007

Oops - make that murdos :P

1 point
login to vote
Brian Schwei... scriptwright
Posted May 28, 2007

Hey cooperaa - REALLY useful script. I notice, though, on larger discographies, it seems to only list for the first few dozen releases. (See Nirvana for an example.)

1 point
login to vote
Aaron Cooper scriptwright
Posted Apr 8, 2007

Idea: add greyed-out icons for missing release URLs and implement a mod of the MusicBrainz.org Search script to search the appropriate source to find the releases URL!

1 point
login to vote
Aaron Cooper scriptwright
Posted Apr 8, 2007

Excellent! I've been wanting this for a long time! Thanks a lot murdos! :)

You could comment on this script if you were logged in.