[WS] Beatport.com by stevehero [Release, Single Track & Artwork tagging]

What you have done should work as far as I can tell.

You might want to start a new thread on the bug section for @Florian to look at. I can't get the output you are after even when I out that part in the loop for the tracks.

Like so:

....
outputto "BEATPORT_ARTIST_URL" # BEATPORT_ARTIST_URL
findinline "artistList" 1 1
sayregexp "(?<=<a href=\")[^\"]+" "\\u005c\\u005c" "\"genreList\""
say "|"

# INITIALKEY TO ROONTRACKTAG BY NINJA_THEORY
outputto "ROONTRACKTAG"
say "["
sayoutput "INITIALKEY"
say "]"
say "|"

outputto "TRACKS"
say "|"
1 Like

Thanks Steve. It's not a big deal. I am using track by filename to start my tagging process (in order to ensure I capture the actual date the track was released). Often I buy tracks on albums different from their release albums and this messes up the true release year data. So track by filename ensures I capture the correct year. Then I run a release search -- I just removed the INITIALKEY brackets from the release search because the track search is inserting that fine without issues. So all is well for now. Thanks for the excellent advice as always.

I see what you mean. It would be nice for beatport to have that data in the release pages so it can be parsed, but alas, it's not.

1 Like

Hey There,
first of all thank you for all the input and the great scripts which are constantly improving. It helped me a lot already.
I'm Using the Single Track Search by Artist and Title Script.

But as some others mentioned already it would really help me if there would be some kind of batch processing. I understand why its not making sense in the first place but in my collection there are many standalone tracks which have to be edited all on their own.

Would there be any possibility to let the script automatically choose the first search result which I experienced is the correct result most of the time?

Thanks in Advance!

Since the Initialykey is filled inside a loop, and a say "|" is used right after it you cannot get it's value wihtout a "|" at the end which splits your "]" away.
So the easiest way to get your custom tag is to create it at the same place.
I've added it here:
_temp Beatport by &stevehero v4.4#RELEASE Search by (Album)Artist &Release.zip (5.7 KB)

1 Like

Up to Florian to implement this I'm afraid. This could be a feature request whereby if the loop counter in the search part of the script is 1, then the script would automatically skip that info dialog seeing as the info dialog would only show 1 result anyway.

Create a new thread of this above if you like and quote the same.

But as far as automating the process of each file. I doubt that would be easily implemented.

Thanks for digging me out of that embarrassing hole!

2 Likes

Hi everybody!

I am, beginer rookie.
I want to embed the "Classic" initial key TAG in the title of the numbers.
How can I do that?

What do you mean in the title "by the numbers" ?

Hi @stevehero is there a way to make search track by filename (alt-S + alt-S + alt-L) to include the album catalog number as well as the Beatport Track ID as well. I think I messed something up with all my tweaking as I'm not getting Beatport Track ID with this search. I know album catalog number will require some additional lines in the script but I don't know what (or where) to make this change.

Read through the script. It'll tell you what to do. You comment out the relevant section with a # at the beginning of each of those lines.

It's in this thread. If you use the search function in this thread you'll get it.

Welcome to the forum.

Redownload the script if you've made too many mistakes and add the tag you want to the line [SearchBy]

Hi Steve. The problem I'm having is that I can't get the search by filename SRC to also pull the catalog #. I can only get the Beatport Track ID. If you have a moment at any time, can you perhaps have a quick look at the SRC file that I use - this is the one? I have lots of custom edits in. The only tag not pulling at all is catalog # (the tag for the release catalog #).

_temp Beatport by &stevehero v4.4#SINGLE TRACK Search by Fi&Lename.src (19.8 KB)

I don't have time atm. Best bet is to use a file comparison program and compare your file with its equivalent that you freshly downloaded to see what may have changed for that particular section.

Here's winmerge. But there are others also. https://winmerge.org/?lang=en

1 Like

Hi where do I place &sortBy=publishDate+DESC to sort titles returned by the title release date? I don't understand where "at the end of %s " is.

[Name]=beatport.com [v4.4 by steveheroβ„’] (β—£_β—’)
[BasedOn]=http://classic.beatport.com
[IndexUrl]=http://classic.beatport.com/search?&perPage=25&facets%5B%5D=fieldType:track&query=%s
# Place &sortBy=publishDate+DESC at the end of %s if you want releases sorted by date.
[AlbumUrl]=
[WordSeperator]=+
[IndexFormat]=%_URL%|%   (β—£_β—’)β„’%|% ↓ TIME%|% ↓ EX%|% ↓ TRACK ID%|% ↓ TITLE%|% ↓ ARTIST/S%|% ↓ REMIXER/S%|% ↓ ON RELEASE%|% ↓ OUT ON%|
[SearchBy]=[ FILENAME for SINGLE TRACK                                 ]$trim($regexp($regexp($regexp(%_filename%,'\b-\b|_', ),'(?i)\[.*\]|cd\s*\d*|[^\s]+.com|\bep\b|feat\.|ft\.|\bom\b|\boriginal\b|\bclub\b|\bmix\b|\bremix\b|\bthe\b|vinyl|web|www[^\s]+|[^\w\s]|\b&*amp',),'\s+', ))
[Encoding]=url-utf-8

It says where right in the code you posted.
Place &sortBy=publishDate+DESC at the end of %s if you want releases sorted by date.

Thanks Steve. I know this but I don't know where that is in the script? I tried a few places right there by the comment and nothing worked. Thanks though. I'll keep messing around and figure it out. Yopu've really helped me enough as it is with this brilliant script. Edit: I'm trying to get track by filename to sort by title date (track release date)

It's the line right above where it describes what to do. Copy that additional code to the end of that line.

1 Like

Thanks, that worked! (I feel like an idiot). It's ordering in descending now. How do I make it order in ascending sort order?

Change DESC to ASC. I think. Check in your browser the URL when you sort something by ascending order.

1 Like

Worked perfectly. Huge thanks Steve.. saves a few clicks :slight_smile: