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

I think you have an error since version 4 in that regex: missing the backslash before the .com. It's [^\s]+\.com

In that example it's wrong but the latest scripts are all correct.

@stevehero your work is fantastic. I'm not sure what changed in the past few weeks as I stopped using the script while it was not working because of some changes Beatport made, but I can say that now my 'search track by filename' seems to be more accurate and is returning results very fast.

1 Like

The search part is written with json functions now so that may be why it's faster. Thanks for the feedback.

thank you and your team for this great script
changed the code in some places and everything continues to work
I could not figure out how I can add 2 additional pictures: a large logo of the label and a spectrum (fish, in png format)

  • how you can display the format of the processed file (mp3, aiff)
    tell me please

I don't understand. Can you explain a bit more what you mean?

don't know Json so well
let's look at an example
https://www.beatport.com/track/hold-up-original-mix/14477010

Cover (front) (we have this) (500x500)
http://media.beatport.com/image/4a1c4106-a95d-4190-903b-9072ca3dc979.jpg
A bright coloured fish (don't have) (1500x250)
https://media.beatport.com/image/f025c095-dfc2-4577-a15b-15274e2afdfb.png
Publisher/Studio logotype (don't have) (500x500)
https://media.beatport.com/image/9acd9cce-5196-481f-b703-e5f20e114d57.jpg

if you open the original bought in Beatport you will see all these pictures

about display in tags the format of the processed file (mp3, aiff)
maybe it is possible to use the technology as in the search by filename - when we open this window, the line is auto-filled with the file name itself

The 2nd is the waveform which is not required IMO. And the other is the publisher. If you want more than one artwork it's not possible to do with scripts. It is however possible to do inside the program. You can ask on the forum in the section for adding features to add the ability to add artwork similar to how mp3tag does it in program for Web source framework.

Regards, the filename. There's only filename available for the TRACK scripts. And this just does that. There's no need to add the extension here. If I understand correctly what you mean.

1 Like

thanks for the answer
understood the tip - I'll ask in another forum section
the only reference to the cover is -
outputto "COVERURL"
json_select_object "images"
json_select_object "large"
json_select "url"
json_unselect_object
json_unselect_object
but how to try referring to the other two necessary pictures?

about the extension - just asked if it was possible to add to the tags the format of the file being processed, obtained from the file name itself (if we work with mp3, then mp3 is inserted in the tags; if with an aiff, then an aiff is displayed). as I understood this, too, in scripts will not work.
I did this (because I work more with Aiff)
# FILETYPE
outputto "FILETYPE"
say "AIFF"

found one moment
when choosing a track from a release, I choose 2, but the tags are still taken from the first
used the default script of the latest version

and one more question
how can I enter in tags ISRC field
can it be pulled from Json?

You cannot outputto any other image like the program itself can do. You may request this to be added in the relevant part of the forum.

No, script cannot tell what the file format is so this is not possible. Maybe you could ask for this also.

You have to process each track individually for the TRACK scripts. Otherwise you use the RELEASE ones.

ISRC is not available (I think). Open a Web page for a Beatport release and in chrome right click and view page source and search for ISRC. But I didn't notice it when writing the scripts.

1 Like

thanks for the answer
in the application itself, you can add additional images (I found this), I did not find how to access these images so that they are written into tags (in the script)
if, after adding, you look at the tags in another program, then they (all 3) will be the same name (cover front)

where could I ask for the file format?

"You have to process each track individually for the TRACK scripts. Otherwise you use the RELEASE ones."
I did not understand this. I have only Club mix, it is one in the folder. I only clicked on him.

I also didn't find it in the ISRC page code.
but it is in the Beatport Pro for Desktop application (if you need to skin the distribution kit) or on the sites (their base is not complete compared to Beatport)

https://isrcsearch.ifpi.org/#!/search

https://repsearch.ppluk.com/ars/faces/pages/audioSearch.jspx?_afrLoop=263754017945350&_afrWindowMode=0&_adf.ctrl-state=979qyb9f2_4

You can only write one image. That's all.

Ask in the general section of this forum (here https://community.mp3tag.de/c/general/20) you can request this. Ask for an outputto function for Web source scripts for the same types as mp3tag itself.

In your screenshot you've got two files in the info panel. Select one of them at a time and run any of the TRACK scripts.

In that case there is no ISRC to parse.

1 Like

I got it, thanks for the help
but this

sorry, I did not understand this

Read the starting post. There is an action that separates those to two fields.

I understood, just not from your explanations.
you need to put the file in the right window of the track in accordance with the left window
thanks again

How to make track numbering like 01/03, etc.?

Cannot do it with JSON as there's no way to get the track number when there's no property. I don't bother with doing that format. But I believe the html code has the track numbers. But I don't have time to look at this.

I've requested a count inside an array loop for situations where there's no track numbers in json so you can plus one this thread.

if we can take COVERURL and it is displayed as Front Cover in tags, in theory, we can take COVERURL2 so that it is displayed as Publisher Logotype (the program recognizes different covers by type)
the program can also write many different covers to tags and not indicate their type
what do you need to write in the code for this?

Any idea how to fix the "URI must contain a hostname" error? Rocking v3.04a

1 Like

This is the first I've heard about COVERURL2. Where is this in the help pages or forum?