[WS] Metal Archives

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:

Miles

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.

2 Likes

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:

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

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.

Regards.

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.

https://www.metal-archives.com/search/advanced/searching/albums?bandName=Metallica&releaseTitle=ride+the+lightning&releaseYearFrom=&releaseMonthFrom=&releaseYearTo=&releaseMonthTo=&country=&location=&releaseLabelName=&releaseCatalogNumber=&releaseIdentifiers=&releaseRecordingInfo=&releaseDescription=&releaseNotes=&genre=&releaseFormat%5B%5D=CD#albums

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

Nice one!

The Advanced Search does have a results page too, though different to the one you see when using the regular search option.

I don't use it much myself either. In fact if I'm looking for specific releases for albums I generally use Discogs, but their tag data doesn't suit my needs as well as Metal Archives would (cover songs and bonus tracks on Discogs aren't labelled well - if at all).

And yeah, it's a great album! I think I prefer their debut a bit more. Funeral doom is a genre I'm only just starting to get into.

I look forward to hearing your findings - of course there's no rush!

Thanks again :smiley: