[WS] Metal Archives

Your order works .)

Thank you for your help

May have forgotten my login but It's me DaveyJones again.

I've updated both scripts slightly.

Album Script now retrieves the ISRC from metal-archives

Band Script has had some frustrating amount of time put into it.
It now shows a list of artists with a country and genre tag when searching (Similar to how album script does it.)
It also now retrieves Location tag.

I'm still not really used to writing scripts for this especially when I'm adapting someone else's script but let me know if there's anything else that people want.

_a_Metal_Archives___Search_by_Album.src (5.46 KB)

_b_Metal_Archives___Band_Info.src (3.49 KB)

Put this request out there at one point but it seemed to fall by the wayside and I am unable to figure it out myself...any assistance would be appreciated...

New Script request OR assistance on modifying existing script

Hi! Good evening/night/day.

After watching this thread, and being inspired by both @dano and @DaveyJones2, I took the liberty to create a Github repository with the original versions of the scripts, plus a couple of fixes.

I though that it could be great to have them available on Github because in that way we could collaborate improving them, and/or fixing things when (if) the MA layout changes.

I hope that it isn't an issue to @dano, and if its the case, please let me know.

Also any comments, suggestions, are welcome.


1 Like

A little update:

[FIX]: Fetching Artist tag, as it was detected that the content of the artist/band wasn't on the expected location (thanks to Melvinkooi @ Github).

1 Like

Is there a way to implement those two scripts (both metal archive scripts by dano and modified by camzo) into one script?

One script retrieves informartion such country, year, info et. while the other script retrieves infos such as artist, album, band url etc.

Thanks in advanced,

Files.zip (3.7 KB)

Hi! Sorry for the late reply... Somehow I'm not getting the notifications on my email :thinking:

Well, funny enough, I was just wondering the same just today... I'll take a look on how the scripts work to see what can be done.

Also, today I've made some minor updates to the scripts:

  • Fixed Additional Info with additional HTML tags
    • There was a couple of HTML tags that were passed on. This fix removes them.
  • Added extraction of Catalog ID
    • This is more a personal request, as I was working early on the morning with some Video Game soundtracks, and wondered if the extraction of the catalog could be done with MA as with VGMDB. Well, it seems that if can be done :tada: .

The script created by dano on 2007-12-15 - modified by camzo on 11-09-2017 & 02-12-2017 returns an error

Could it be fixed? _b_Metal_Archives___Band_Info.src (3.5 KB)


Well, that's weird... Have you tried access to MA through a web browser?

Anyway, if no one is available, I'll take a look into the script this weekend to see what could be the issue.

Best regards.


Thank you for your interest

There is no problem with the browser, all the sources attached work fine except Me&tal Archives#Search by 01. Band_NEW (album-country)

Best regards,Me&tal Archives#Search by 01. Band.src (5.1 KB)
_b_Metal_Archives___Band_Info.src (3.5 KB)
Me&tal Archives#Search by 02. Album.src (5.2 KB)
_a_Metal_Archives___Search_by_Album.src (5.5 KB)
Me&tal Archives#Search by 03. Band Album.src (5.1 KB)
b_Metal_Archives___Band_Info__genre.src (2.8 KB)
Me&tal Archives#Search by 11Album.src (5.3 KB)
Me&tal Archives#Search by 11Band Album.src (5.3 KB)
Me&tal Archives#Search by 11band.src (5.2 KB)
Me&tal Archives#Search by antonio_Album.src (5.2 KB)
Me&tal Archives#Search by antonio_Band Album.src (5.1 KB)
Me&tal Archives#Search by antonio_Band.src (5.1 KB)

Hi there!

@slayerist could you test the attached source? I've updated it, and done some (successful) tests, but I would like to know if it works on your side.

And by the way, about a previous post that you made while ago, since then I done some tests, but it seems that isn't possible to merge both functionalities into one, or at least I'm not aware on how to make it.

@DaveyJones2 it could be possible to add you script "Band Info" into the Github repository? What do you think?

(I ask for this particular script as is the same as the one that I'm attaching in this post)

Thanks in advance.


Me&tal Archives#Search by 01. Band_NEW (album-country).src (3.7 KB)


Thank you so much! It works flawlessly right now :grinning:

1 Like

This is a bit of a long shot since it looks like the last time you posted here on the MP3tag forums was in 2018... but here goes!

Is it possible to update the script to pull disc number and the bonus track flag?

For example the last track on The Boats of the Glen Garrig by Ahab is a bonus track and is denoted by an asterisk.

Looking in the HTML it's not included in the same string as the title but seems to be flagged separately.

HTML for the non-bonus track To Mourn Job is

<td class="wrapWords">
To Mourn Job

HTML for the bonus track is

<td class="wrapWords bonus">
The Light in the Weed (Mary Madison)

Thanks :slight_smile:

1 Like

Hello there!

Sorry for the late reply, I actually saw the notification email, but kinda forgotten about it and then it was buried by a dozen of other emails... My apologies!

Ok, so lets see...

For disc number you mean something like what's shown on The Human Equation album? The "Disc 1", and "Disc 2" indicators?

And, for the bonus track "flag" (i.e., the asterisk), do you have something in mind about what the script should do with that one?

As far as I remember, as I haven't touched the code in a while (several things have happened in this last 5 years, and a I left lot of things unfinished/or that I completely forgot about), I think that the script creates/uses some customized tags, so at right now I can think that, if it's possible to get that info in a reliable way, the script could be creating a new custom tag to store that value (is possible, or course), but that's only a first idea.

So, let me know what you think, and/or your comments.

Kind regards.

Edit: I did small correction, but, nonetheless, my apologies for my (probable) horrible grammar here and there

1 Like

I honestly did not expect a reply from after 5 years. Thanks so much for coming back to me.

Yes, your Human Equation album example is what I mean about disc numbers.

With regards to the bonus track flag it's a tough one if you want to make the script useable by everyone. The three ideas I had were:

  1. Append the asterisk to the track title so it displays the same way as it does on Metal Archives.
  2. Append (bonus track) to any titles with an asterisk.
  3. Add a custom tag for bonus tracks (i.e. %BONUS TRACK%) and put the asterisk in there.

For my own personal use option 3 would be ideal as I usually process additonal track information into their own tag fields so I can reformat them to my liking. Since the script will probably be used by other people then I imagine option 1 would make the most sense and I can still pull that information out of the track title myself with mp3Tag or TagScanner.

Again, thank you for coming back to me :slight_smile:


1 Like

I would suggest to use the 3rd option too.
The first two options are much more complicated for users to extract this additional part.

With an additional tag like BONUSTRACK (please don't use a space in the tag name) everyone can use the content or delete it completely very easy.
Maybe some more specific tag name like METALARCHIVE_BONUSTRACK or MA_BONUSTRACK can help to identify the used source later.


Yeah, without a space would be better.

I also had a realization about disc number that I'm not sure how it could be handled.

The script seems to look at the first main release of an album and generate tag information from that. For the most part this is fine however some albums were released on vinyl or cassette before CD (or digitally) and Metal Archives lists side A and side B for these type of releases.

For example Kill 'Em All by Metallica

Looking at a multi-disc release that also has a vinyl version it seems Metal Archives does list these separately and I think I've found in the HTML where this is:

<tr class="discRow">
<td colspan="4">
Disc 1 </td>
<tr class="sideRow">
<td colspan="4">
Side A </td>

For example the 3-vinyl release of Live by Blind Guardian.

You can see they list Disc 1, Side A, Side B, Disc 2, Side A, Side B, Disc 3, Side A, Side B

I'm not sure how you or others would like to handle that. Since it does still list each disc on these releases the sides for the vinyl releases could technically be ignored or added to their own tag field if that's what people want. When importing tags from scripts mp3Tag does let you select which ones are imported so it probably doesn't matter if there are a bunch of extra tags that most people wouldn't want to add to their files.

In an ideal world the script would give the option to select a specific release from the 'Other Versions' tab to generate tags from but I imagine that would require a lot of work to implement!

1 Like

Hi @MilesMetal

Thank you so much for your reply, and for sharing what you have in mind regarding the bonus track tag.

After reading your comments, I completely agree with @LyricsLover about using an additional tag for storing the bonus track flag/indicator. Actually, that is also my preferred solution as it would keep the current script's behavior "untouched" (on how it retrieves, and stores the information - this to avoid impacting other users), while expanding it with the retrieval of new information.

As for the "Disc 1" / "Side A" thing, I was thinking on handling it similar to how (AFAIK) one of the Discog scripts handle it: retrieving the available data (either Disc# or Side#) and store it on the corresponding tag. But, I'll need to research further in it, as right now I've only a rough idea on my head about how to do it :sweat_smile:

And, yeah, it would be awesome to be able to retrieve the "Other Versions" data and select it from there (I think that would be very used full as well), but as far as I remember it is/wasn't possible due to how the data/information is pulled, and/or parsed (as it uses the current page being "displayed" by MA and on result page there's only the "main" release IIRC).

Nonetheless, I can take a look, in case that something has changed in these years.

Once again, thank you so much for your replies, and ideas.


1 Like

Regarding the other versions issue, does the script only work on exact match with the normal search or advanced search? I have seen other mp3Tag scripts that present the users with a list of potential matches that they can then select from.

Using the Advanced Search on Metal Archives you can search by format (in the Search by Album tab) but I wouldn't know if it's possible to implement in the script because you have to select specific types from the list of available ones, though in the search URL it does use the same text string that you would select from the list i.e. I selected 'CD' from the list here and you can see in the URL contains &releaseFormat%5B%5D=CD at the end.


If using the Advanced Search is compatible with how the mp3Tag Web Sources scripts work you could create a separate script for 'Albums by Format' and have the user manually type something in the mp3Tag prompt that matches something in that list - you'd probably need to put something in a readme about the exact things that can be entered. i.e.

  • CD
  • Cassette
  • Vinyl
  • VHS
  • DVD
  • Digital
  • Blu-ray
  • Other
1 Like

Haven't looked at code yet (will do this weekend), but I am pretty sure that it uses the normal search.

So, basically, it uses the results page, and then retrieves the information/results that are to be displayed on MP3Tag's results window, afterwards if goes to the selected result/album and start retrieving data again.

As for using the Advanced Search, that sounds pretty awesome, although I've never used that one - not even as a "normal" user through web :sweat_smile:. So, yeah, I'll taking a look at that one and see how compatible is with how MP3Tag works - especially when handling different versions of an album (as that could lead to a very long list).

Thank you for the suggestion!

P.S. That album that you shared before, The Boats of the Glen Carrig, is pretty awesome. I really liked it.

1 Like