Printable Version of Topic

Click here to view this topic in its original format

Mp3tag Forums _ Web Sources Scripts _ [WS] Metal Archives

Posted by: dano Dec 20 2007, 16:52

Mp3tag v2.39 or higher required

http://forums.mp3tag.de/index.php?showtopic=3033#entry13760 / http://forums.mp3tag.de/index.php?showtopic=3034#entry13719


Metal Archives#Search by Album
Search by: Album
Imports: Artist, Album, Title, Year, Publisher, Cover + more

Metal Archives#Search by Band

Metal Archives#Search by Band + Album


Note:
# Only search for Metal music, other music is not on the site
# Also only real Metal (KoRn, Linkin Park or similar is not on the site)

 Metal_Archives_04.zip ( 5.74K ) : 1035
 

Posted by: Orpheus Dec 20 2007, 23:47

Thank you Dano!
I hope also in future evolutions for this script.

Posted by: koeth Apr 8 2008, 17:05

Thank you, great script

Would it be eventually possible to modify the script that you also could enter the album number of the album you want to tag instead of using the lame Metal-Archives search engine? Would be very useful for tagging hole Bands, you just have to go to the Artist page

I have no idea how to change the script by myself


Gott, mein englisch ist schrecklich, ich schreibs nochmal auf Deutsch (ist eh hauptsächlich an dich gerichtet dano), vielleicht wird mein Anliegen deutlicher:

Währe es möglich das Script umzuschreiben das man einfach die Album Nummer von Metal-Archives bei Mp3tag eingeben kann und er die Daten zieht? Die Metal-Archives Search-Engine ist nicht die beste, und wenn man eine komplette Band taggen will findet man die Album Nummern ja doch recht schnell über die Bandpage

Ich hab mir das script selber schonmal eingeguckt, aber sowas ist garnicht mein Ding

Posted by: dano May 16 2008, 19:48

koeth: Done/Fertig.

+ Enter Band Url to get a list of all Albums that band has.

Posted by: dano Apr 29 2011, 22:22

Here's an update for the new design of this site!

Posted by: Pretorians Apr 30 2011, 09:54

QUOTE (dano @ Apr 30 2011, 01:22) *
Here's an update for the new design of this site!

Eternal Gratitude

Posted by: biboun May 29 2011, 09:55

Thank you Dano wink.gif

Posted by: Araxhiel Khy Jun 11 2011, 21:13

thank you very much!!! walkman.gif

Posted by: Draculimortis Aug 12 2011, 21:58

Thank you for your script Dano, it's very useful when I'm trying to tag metal albums that Discogs.com doesn't have. However, when I'm trying to tag a split album, there's an annoying problem. In the title column it shows both the artist's name and the title of the song. Can I get the script to tag it properly or is it a Metal Archives problem? I don't like having to manually erase and enter the information myself. Here is a example of what I'm talking about. Thanks in advance.


Posted by: dano Aug 20 2011, 14:53

Maybe I can change the script, but for now you can also fix it manually:

In the Adjust tag information window click on "Utils > Compilation" and enter
%artist% - %title%
to split the title.

Posted by: Draculimortis Aug 23 2011, 00:04

QUOTE (dano @ Aug 20 2011, 06:53) *
Maybe I can change the script, but for now you can also fix it manually:

In the Adjust tag information window click on "Utils > Compilation" and enter
%artist% - %title%
to split the title.

Thanks, works great now.

Posted by: Araxhiel Khy Sep 6 2011, 21:17

dano: maybe I'll never be thankful enough with you for this so useful and amazing web source script... but, even when I'm not so clever to made a script like this, I've come with some doubts about how it works, according to my obsesive-compulsive method to organize the music:

there is a way to get the data for genre and country of the band, and adding it to the album info, or it must be done in a separately process?

Thanks in advance, greetings!

Posted by: Draculimortis Jan 29 2013, 02:45

Hey Dano, can you create a script that will allow me to search by artist name and is it possible to increase the amount of results you get?
Thanks.

Posted by: dano Jan 29 2013, 19:56

I think you can get up to 200 results which should be enough. Why do you need more?

A search only by artist can also return a lot of matches. An Artist+Album search seems a better option.

Posted by: Draculimortis Jan 29 2013, 22:42

QUOTE (dano @ Jan 29 2013, 10:56) *
I think you can get up to 200 results which should be enough. Why do you need more?

A search only by artist can also return a lot of matches. An Artist+Album search seems a better option.

That would be even better. Are you planning to add that?

Posted by: dano Jan 31 2013, 15:34

I've added two more search options.

Posted by: Araxhiel Khy Mar 4 2013, 04:39

Dano, thank you again for the update, your work is amazing.

Just a little detail, that I've been seeing since your previous version: how the search deals with russian characters.

Ex. Right now I'm trying to get the info for an Arkona (Аркона) album called "Лепта" (Lepta).

If I search as is, with the cyrilic characters it gives me another results (200, as the limit says) but none is the wanted album.



I've tried with the new combination of "band + album" and gives me *another* 200 results...


Finally, I've tried with the "band" search.... and gives me *another* 200 results. Which, I must say, appears to be an expanded resultset from the above one.


By the way, I've tried with the searcher from MA page, and I find the right album with the cyrilic characters...

Any idea or a workaround? Thanks in advance.

Posted by: dano Mar 4 2013, 11:17

Try again...

Posted by: Araxhiel Khy Mar 4 2013, 14:01

QUOTE (dano @ Mar 4 2013, 05:17) *
Try again...


Thank you, now it works! Well, just a detail: it doesn't get the album art huh.gif


But at least now it download all the other data w00t.gif

BTW, just curious, which was the problem?

Best regards!

Posted by: Brandon Storm Mar 26 2013, 15:59

This is absolutely amazing.

For years I've looked for an MP3 tagger that could reference the Metal-Archives.

However, is there a way to get the genre automatically as well? Or is it a feature that is easily added? Aside from that small tag this is almost an entirely hands-off process!

THANKS!

Posted by: Brandon Storm Apr 23 2013, 16:00

Been using this with great success, thanks again.

If I can ask one more thing, aside from automatically adding the genre, is it possible to automatically retrieve lyrical themes to the 'comments' section of the MP3?

Those two features would make this even more perfect than it already is!

Posted by: Brandon Storm Aug 19 2013, 22:26

I'm getting an issue with the band Tribulation (Swe) where their newest album (The Formulas of Death) is not showing up to tag from.

Not sure what's going on with that, all their other releases show up just fine.

Posted by: xInZax Aug 28 2013, 17:02

Hi there,

would it be possible to add another source that imports the lyrics of a chosen album? I'd be so much easier to tag metal albums if I could import the lyrics more easily.

Thanks in advance.

Posted by: Brandon Storm Dec 8 2013, 05:57

No longer works with Windows 8.1, tried multiple MP3tag versions.


Same error every time, will not retrieve track listing and instead displays "error" in track title.


Cheers.

Posted by: dano Dec 8 2013, 16:26

Fixed.

Posted by: Brandon Storm Dec 8 2013, 17:48

QUOTE (dano @ Dec 8 2013, 11:26) *
Fixed.


Perfect, thanks.

Posted by: Woody Jan 23 2014, 09:45

Thank you very much for this great add-on to mp3tag, Dano. I just started to tag my metal collection, and your script will save me many hours of tagging time. Highly appreciated.

I just wanted to suggest minor changes to the scripts that are related to the way how Metal Archives handles original releases ("1st press") and re-releases. AFAIK, the information on the album page is always related to the original release. The year given is the original release year, the label given is the original publisher, and the number and titles of tracks are those of the original year. All this may change in reissues.

For Example, the original Heathen album "Breaking the Silence" was released in 1987 by Combat Records and has 9 tracks, including the CD bonus song. The 2008 reissue by Century Media includes four demo songs and has 13 tracks.

When I use your script for the 2008 reissue, I get

YEAR = 1987
PUBLISHER = Combat Records

and both is wrong. Therefore I hereby suggest to not write to the standard tags, but do as you do with all the other tags:

METAL ARCHIVES YEAR = 1987
METAL ARCHIVES LABEL = Combat Records

leaving YEAR and PUBLISHER alone. That was the easy part ;-)

When I use your script for the 2008 reissue, I get 9 tracks only because that is what is listed on the album page in Metal Archives, i.e. not your fault.
Do you see any chance to look up the missing tracks from the ADDITIONAL INFO page?

The last request for change is regarding the country of band origin info.
Do you see any chance to look up the country of the band from the BAND page?
(You already store the URL in METAL ARCHIVES BAND URL tag).

Finally, could you convert the country information to the 3 letter ISO abbreviation used in ID3 tags?

It would be a real great help to have the band's country in a tag. For some names, there are more than 20 bands with the same name in Metal Archives...

Thank you very much for considering this.


Posted by: Brandon Storm Jan 23 2014, 16:46

The problem with grabbing information from the 'additional info' portion of the page is that it's simply one giant text field, and not an easily read and standardized list like the standard track-listing page.

For example, for him to modify the script to pull track listings from the additional notes, he would have to program it to discern what the difference is between a track title, and another block of words in that same field. I'm sure there's a way where it could look for numbers beside titles, i.e. 12. Grim Dark Death Grimness, to figure out what the title is, but I think that's beyond the realm of what a script like this can do without serious overhauling, or complete recreation.

And that's not even considering additional info notes regarding multiple bonus releases with the same track number, but different songs, from separate international releases. For example:

US Bonus:
12. Grim Dark Death Grimness

Japanese Bonus:
12. Dark Grim Forest of Eternal Darkness

It's just not feasible again because of how Metal-Archives has set up the additional notes as just one giant text field.

I know how you feel though, I had the same issue.

My solution was to just take the last track of the 'official' track list, click 'tag copy' and then 'tag paste' to every bonus track. Then, it just takes a couple seconds to change the track number (highlight all the tracks, at the top of the program you'll see a little button with numbers that will auto-number it, or change them one at a time manually starting at the beginning of the bonus tracks), and I just typed in the bonus track titles individually. Usually it's no more than a track or two, so it wasn't too much of a hassle.

That being what it is, as I said, I know how you feel, so I've thought about this as well. What I would suggest is trying to change Metal-Archives in the way they list bonus tracks. For example, either within the main track list page, it would be nice if you could add a 'bonus tracks' sub-heading to put stuff in, similar to how they separate 'disc 1' and 'disc 2', from large releases (http://www.metal-archives.com/albums/Sentenced/Buried_Alive/136775), or even simply have bonus tracks have their own separate tab on the album, much like how they have additional notes/lineup/reviews, etc.

Long-story short, you're asking the wrong team for the catalytic change.

For your other point, I believe the reason that Year and Publisher are left alone is because of how programs read the ID tags on the tracks. For example, I can sort my MP3's in my program by year, and I know of some where you can search by Publisher, and I'm certain that adding a METAL ARCHIVES YEAR/PUBLISHER, could mess up how these programs pull information from the MP3. In reality, the entirety of the METAL ARCHIVES - tags are just for fun, because really all you need for a proper functional collection are: album, artist, genre, publisher, title, track, year (and album art, in my opinion). So, I guess consider the MA tags simply as fun little bonuses as opposed to pertinent information regarding the release. If it bothers you, you can always remove them just select the track, hitting Alt+t, and then highlight all the MA tags, and click the little "X" on the right and it'll leave you just with a uniformly standard set of tags. I know I've thought about that so my metal/non-metal releases all look the same, but I think the bonus info is too fun to get rid of.

I think your idea about tagging the country code somewhere would be neat. I know I have a few bands with the same name that I have to tag oddly to differentiate them. I don't know about converting countries to abbreviations (seems like a lot of work) abut a METAL ARCHIVES COUNTRY tag would've been neat.

The only thing I really wished for was that it would pull the genre. Man, I really wish that could've been implemented. I know nothing about coding, so I'm not sure how difficult that would've been, but it certainly would've saved me a lot of manpower.

To be honest, there's even a couple of things I would have removed (and still might from my collection). I don't think the METAL ARCHIVES DATE is entirely necessary as long as the year is correct (but perhaps it's important to some), and given the nature of the reviews, having the METAL ARCHIVES RATING on there is really only valid at the moment you do it. Someone could come along and add a review that changes that number as soon as you're done. I do quite enjoy the METAL ARCHIVES TYPE tag though.

Anyway. I've rambled.

I've been tagging MP3's so much that I literally dream of it. From the time you see my first post in this thread, until now, I've just finished tagging my (ever growing) metal collection of 1002 bands, 3208 albums and 30434 songs, and I couldn't have done it without this amazing program and dano's top-notch script.

Posted by: Woody Jan 23 2014, 19:10

QUOTE (Brandon Storm @ Jan 23 2014, 16:46) *
The problem with grabbing information from the 'additional info' portion of the page is that it's simply one giant text field, and not an easily read and standardized list like the standard track-listing page.

If one can use regular expressions in web source scripts, it shouldn't be that hard:
^[0..9]+\. [^(]+[0..9]+:[0..9]+\)

QUOTE
And that's not even considering additional info notes regarding multiple bonus releases with the same track number, but different songs, from separate international releases. For example:

US Bonus:
12. Grim Dark Death Grimness

Japanese Bonus:
12. Dark Grim Forest of Eternal Darkness

And what do you think how often that is the case? The solution doesn't have to be perfect. If it succeeds in 99% of all cases that would be fine for me.

QUOTE
It's just not feasible again because of how Metal-Archives has set up the additional notes as just one giant text field.

Sometimes things are easier than they seem to be at first sight.

You have found a workaround and that's fine. I'd take another approach by simply using a 2nd web source script, e.g. MusicBrainz.

I second you suggestion regarding how Metal Archives should handle bonus tracks.

QUOTE
Long-story short, you're asking the wrong team for the catalytic change.

No, I didn't. Actually, it's always a lot easier to change your own attitude/acting than that of someone else.

QUOTE
For your other point, I believe the reason that Year and Publisher are left alone is because of how programs read the ID tags on the tracks. For example, I can sort my MP3's in my program by year, and I know of some where you can search by Publisher, and I'm certain that adding a METAL ARCHIVES YEAR/PUBLISHER, could mess up how these programs pull information from the MP3. In reality, the entirety of the METAL ARCHIVES - tags are just for fun, because really all you need for a proper functional collection are: album, artist, genre, publisher, title, track, year (and album art, in my opinion). So, I guess consider the MA tags simply as fun little bonuses as opposed to pertinent information regarding the release.

Sorry, but just because you consider some tags fun this must not be the same for others. If I wouldn't want to do something with the information, I wouldn't retrieve or even store it. Also, all these non-standard fields get stored as ID3 TXXX tags and all players I know will just ignore them, none will get messed up. What tags I use is solely my decision and you are free to have a different view. But please don't force your view on everybody else.

For me, the original release year is very important as this is part of the album folder name on disc. That way, I can store both the 1st press and a reissue if I want to:

...\Heathen\1987 Breaking the Silence
...\Heathen\1987 Breaking the Silence (reissued 2000)
...\Heathen\1987 Breaking the Silence (remastered 2008)

The sorting will be alright, and that is what matters for me.

QUOTE
I don't know about converting countries to abbreviations (seems like a lot of work) abut a METAL ARCHIVES COUNTRY tag would've been neat.

It's basically just one lookup table and function.

QUOTE
The only thing I really wished for was that it would pull the genre.

If you're really into Metal then you should already know that there's no such thing like "the" genre. There are so many discussions about that on the mp3tag and hydrogenaudio forums, I don't like to start another one. I'd suggest that you try out Dano's Last.fm web source script.

QUOTE
Man, I really wish that could've been implemented. I know nothing about coding.

Yes, that's obvious. But why do you make so many baseless assumptions about what is hard to implement then?

QUOTE
I've been tagging MP3's so much that I literally dream of it. From the time you see my first post in this thread, until now, I've just finished tagging my (ever growing) metal collection of 1002 bands, 3208 albums and 30434 songs, and I couldn't have done it without this amazing program and dano's top-notch script.

That's why I resisted more than 10 years to start it rolleyes.gif

Now that these fantastic Metal Archives and MusicBrainz scripts and online databases exist, this will be a lot easier, I hope. I've got 6 TB of lossless images and 3 TB of MP3 albums, plus ~1500 CDs waiting to be ripped and tagged. Still a lifetime effort, I guess.

Cheers

Posted by: Brandon Storm Jan 23 2014, 19:26

To be frank, the state of your music collection is of no concern to me, and the tone of much of your post has defeated my will to converse.

I was just trying to lay out some potential reasons as to why this won't be implemented, never implied that I had the objective right or wrong answer, just sharing how I do things in an attempt to help.

Best of luck.

Posted by: Woody Jan 24 2014, 06:36

QUOTE (Brandon Storm @ Jan 23 2014, 19:26) *
To be frank, the state of your music collection is of no concern to me, and the tone of much of your post has defeated my will to converse.

Accepted.

QUOTE
I was just trying to lay out some potential reasons as to why this won't be implemented,

The underlaying message of your post is another one. You didn't state something like "Hmm, I don't know that much of coding, but this seems to be a difficult task to me." Basically, your message was: "It can't be done!". That is quite different and you don't have to be surprised to find me pissed.

Posted by: ricky Apr 21 2014, 13:26

Thanks so much for this great script!
Metal Archives is an invaluable source of info for metal albums.

Posted by: KGredner Apr 21 2014, 17:20

QUOTE (Woody @ Jan 24 2014, 01:36) *
Accepted.


The underlaying message of your post is another one. You didn't state something like "Hmm, I don't know that much of coding, but this seems to be a difficult task to me." Basically, your message was: "It can't be done!". That is quite different and you don't have to be surprised to find me pissed.


Wow, you are an enormous dick. I've been using this software for a good long while and joined this forum just to let you know what a pompous ass you are.

That guy was just letting you know some issues that he thought may affect inclusion of those features (and surprise, surprise, they haven't been included) in a friendly and helpful manner, and you had to get on your high horse to try and attempt to belittle him.

Whatever you're reading into his post that 'pisses you off' is all in your head. It was friendly and attempted to be helpful or at the very least attempt to converse like regular human beings and share ideas.

People like you are the reason no one tries to help anyone. You have a shitty attitude and you should be ashamed of yourself.

Posted by: Al  Jul 3 2014, 15:14

dano, thanks for this amazing script!

It's the first time in ever I've had a problem with it though... Information for the demo "Give The Sick More Say" by Egrogsid simply does not show up (their other two releases added to MA do, though). Thanks in advance.

EDIT: The same also happened to me right about now with Polish band Ghost with the demo Renown. Blank fields except for the MA link. Also, I've found a sort of bug: multiple artists releases shouldn't be used with the MA script for now because all tracks are tagged as if they were from an unique artist. To fix that release tags I was able to find the correct tags through Discogs pone, at least.

 

Posted by: Porcus Nov 22 2014, 09:09

Might be a bug somewhere. I just tried Cease.And.Desist s/t demo. I do not get any tracks, although they are in the Metal Archives.

Posted by: Brandon Storm Jul 15 2016, 00:17

Hey mate,

Been having a few issues since an update or two ago that I can no longer search for bands that have non-Latin characters in their names.

For example, I am unable to search for both 战旗, nor Руян.

I am also unable to get results by searching for their alternative Latin-alphabet names.

Thanks for any help.

Posted by: Herr. Schweden Aug 11 2016, 17:18

QUOTE (Brandon Storm @ Jul 15 2016, 01:17) *
Hey mate,

Been having a few issues since an update or two ago that I can no longer search for bands that have non-Latin characters in their names.

For example, I am unable to search for both 战旗, nor Руян.

I am also unable to get results by searching for their alternative Latin-alphabet names.

Thanks for any help.


I would like to confirm that.
I cannot search for "帝王切開", by the band Kuroageha, for an example.
Please see the error message:

Posted by: dano Aug 11 2016, 19:36

In the script, change
[Encoding]=utf-8
to
[Encoding]=url-utf-8

Posted by: Brandon Storm Aug 16 2016, 00:55

QUOTE (dano @ Aug 11 2016, 14:36) *
In the script, change
[Encoding]=utf-8
to
[Encoding]=url-utf-8


Unfortunately, this still hasn't worked for me. Opened the script in notepad, changed things as you said, and when I opened up MP3Tag again I was getting the same issue.

Any other tips?

Posted by: Herr. Schweden Sep 2 2016, 15:55

QUOTE (dano @ Aug 11 2016, 20:36) *
In the script, change
[Encoding]=utf-8
to
[Encoding]=url-utf-8


Thank you, it works now!

Posted by: Brandon Storm Sep 4 2016, 16:34

QUOTE (Herr. Schweden @ Sep 2 2016, 10:55) *
Thank you, it works now!


Could you let me know what you did, or what program you used to edit the data? Maybe I'm doing something wrong, but it definitely didn't work for me.

Posted by: Herr. Schweden Oct 11 2016, 18:18

QUOTE (Brandon Storm @ Sep 4 2016, 17:34) *
Could you let me know what you did, or what program you used to edit the data? Maybe I'm doing something wrong, but it definitely didn't work for me.

I used Notepad++, and simply replaced the text string.

Posted by: slayerist Aug 22 2017, 12:13

Hello all,

How can we modify dano's script so that it would also retrieve information fields such as 'genre' 'country of origin' ?

Thanks all

 

Posted by: DaveyJones Sep 12 2017, 13:56

QUOTE (slayerist @ Aug 22 2017, 12:13) *
Hello all,

How can we modify dano's script so that it would also retrieve information fields such as 'genre' 'country of origin' ?

Thanks all


I've made a separate script based off of the original script, it receives Lyrical Themes, Country, Formation year and Status



 _b_Metal_Archives___Band_Info.src ( 2.72K ) : 52
 

Posted by: slayerist Sep 12 2017, 14:04

QUOTE (DaveyJones @ Sep 12 2017, 14:56) *
I've made a separate script based off of the original script, it receives Lyrical Themes, Country, Formation year and Status


Thank you very much sir walkman.gif

I tried to edit your script to retrieve 'genre' field information with no luck

Since i don't know anything about coding the result ireturned with a error.

#GENRE
outputto "Genre"
findline "<dt>Genre:</dt>"
findline "<dd>"
findinline "<dd>"
sayuntil "</dd>"

...

Posted by: DaveyJones Sep 12 2017, 17:45

QUOTE (slayerist @ Sep 12 2017, 14:04) *
Thank you very much sir walkman.gif

I tried to edit your script to retrieve 'genre' field information with no luck

Since i don't know anything about coding the result ireturned with a error.

#GENRE
outputto "Genre"
findline "<dt>Genre:</dt>"
findline "<dd>"
findinline "<dd>"
sayuntil "</dd>"

...


Strange that it doesn't work, I just did that with mine and it seems to work, might be that my genre section is prior to lyrical themes.

 _b_Metal_Archives___Band_Info__genre_.src ( 2.83K ) : 61
 

Posted by: slayerist Sep 13 2017, 08:12

QUOTE (DaveyJones @ Sep 12 2017, 18:45) *
Strange that it doesn't work, I just did that with mine and it seems to work, might be that my genre section is prior to lyrical themes.


Your order works .)

Thank you for your help

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)