Script for ripping genre, year & record label from beatport.com

so i would advice you to use a different tag field for the beatport track ID, as this is something different as the catalog #.
But there seems to be no catalog # in the track-api-page. Only the beatport release id from where the track is taken from. You would have to do an additional run of a script for releases to to get the catalog #.

Yes. The tracknames are like trackid_title_name_mix_name.mp3, right? This will give you the frist numbers of the filename:

[SearchBy]=$regexp(%_filename%,^(\d+).+,$1)

The proper way to write multivalue tags in Mp3tag is to use \\ as a seperator. But this has some points you have to do right:
You have to write say "\\" to get \\.
And you have to save the files a second time after using the script to get the tag seperated.
see here: /t/9432/1
But if "; " works for you as a workaround, you can stick to this.

Here was a project to get this done. Don't know if it works. Tested it a while ago and didn't get it going. Produced a system crash after serveral trys. Now it says "project stopped" in the first post.
/t/6702/1

Your script generally works nice. Good work!

If you replace

outputto "tracks"

with

outputto "title"

you don't get that track number which will be always 1 for a script for one file.

p.s.:
and here is a working code to get the album name:

outputto "album"

findline "<release id="
joinuntil ""
findinline ""
sayuntil ""