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

stevehero, I've noticed Beatport increased the artwork quality to 1400x1400 as well.
Is there an option to pick the highest quality artwork available per release?

I'm sure that's possible, I'll take a look at this this evening. Thanks for point that out.

1 Like

It already does get the 1400px artwork, IF it's available.

Here's one that has it and it works: https://www.beatport.com/release/home/3146301

outputto "COVERURL"
json_select_object "images"
json_select_object "large"
json_select "url"
json_unselect_object
json_unselect_object
sayrest

This is the existing code which will get the 1400px artwork. Beatport places the 1400px artwork in the large object. But judging by beatports json they have 1400px artwork in all the different sizes!

"images": {"dynamic": {"height": 60, "id": 26846219, "url": "https://geo-media.beatport.com/image_size/1400x1400/69205a40-a1cb-45cf-bfb4-d66597dc8ac1.jpg", "width": 60}, "large": {"height": 60, "id": 26846219, "url": "https://geo-media.beatport.com/image_size/1400x1400/69205a40-a1cb-45cf-bfb4-d66597dc8ac1.jpg", "width": 60}, "medium": {"height": 60, "id": 26846219, "url": "https://geo-media.beatport.com/image_size/1400x1400/69205a40-a1cb-45cf-bfb4-d66597dc8ac1.jpg", "width": 60}, "small": {"height": 60, "id": 26846219, "url": "https://geo-media.beatport.com/image_size/1400x1400/69205a40-a1cb-45cf-bfb4-d66597dc8ac1.jpg", "width": 60}},

Thanks for elaborating. I noticed this as well:

In the source you can see only 500x500 > https://geo-media.beatport.com/image_size/500x500/949ce322-9a70-4fde-8944-3de55636d7d8.jpg
If you edit the 500x500 to 1400x1400 it outputs a 1400x1400 jpg.
This led me to believe there was an update in the background.

However I just checked and found out that if you edit it to 3000x3000 it also outputs a 3000x3000 image :smiley: Same for 5000x5000.
Must be some upscale going on in the background.

I'll keep it as is for now :slight_smile:

Holy s***, that's crazy!!

They probably upscale using AI to 8k and derive the rest from that.

If you change the URL from 500 to something crazy like 10000 then it'll get the very largest image possible. In my quick test 8192x8192px is the largest doing this.

I might edit the 500 to 1200 perhaps. 5k px covers is a lot. 1.2MB that one is.

What is other peoples opinion on this?

I don't embedded artwork any more so it wouldn't add much doing it that way.

Here's an old artwork that doesn't fair well with upscaling:
8192px (Very nasty looking): https://geo-media.beatport.com/image_size/10000x10000/822d62ac-1477-4e35-8d5c-49b1bb63384a.jpg
5000px: (Nasty looking): https://geo-media.beatport.com/image_size/5000x5000/822d62ac-1477-4e35-8d5c-49b1bb63384a.jpg
1400px: https://geo-media.beatport.com/image_size/1400x1400/822d62ac-1477-4e35-8d5c-49b1bb63384a.jpg
1000px: https://geo-media.beatport.com/image_size/1000x1000/822d62ac-1477-4e35-8d5c-49b1bb63384a.jpg
500px: https://geo-media.beatport.com/image_size/500x500/822d62ac-1477-4e35-8d5c-49b1bb63384a.jpg

For anyone wanting higher resolution artwork replace the outputto COVERURL section with this below.

Please note bp seems to only have upscaled any images that are 2021, so this code will check this and get the artwork at whatever size you want. Change 2000x2000 on the line regexpreplace "\d+00x\d+00" "2000x2000" to whatever size you need.

Replace:

outputto "COVERURL"
json_select_object "images"
json_select_object "large"
json_select "url"
json_unselect_object
json_unselect_object
sayrest

With:

outputto "COVERURL"
json_select_object "date"
json_select "released"
json_unselect_object
regexpreplace "\b\d{2}\b|-" ""
# Request made for ifgreater and ifless fn for WSS. https://community.mp3tag.de/t/suggestion-add-ifgreater-and-ifless-functions-to-wss/52080
if "2021"
json_select_object "images"
json_select_object "large"
json_select "url"
regexpreplace "\d+00x\d+00" "2000x2000" # You can replace 2000x2000 for 1000x1000, 1500x1500 or 3000x3000 if you want.
json_unselect_object
json_unselect_object
sayrest
else
json_select_object "images"
json_select_object "large"
json_select "url"
json_unselect_object
json_unselect_object
sayrest
endif
json_unselect_object
2 Likes

I checked this and I only get custom HiRes covers with 500x500 (low) quality for most of releases. Also, I noticed that 1400x1400 is max default size for BP covers, but I can't get it for all 2021 year releases. It's not clear why...
And one more thing is not clear for me...
If we click "open image in new tab" from the release/album/compilation page https://www.beatport.com/release/night-versions-ep/3266483, we will see 500x500 cover.
But, if we click the same on any cover from publisher/label page https://www.beatport.com/label/innervisions/3315, we will see BP default and nice 1400x1400 cover.
What does happen with all of that?

Edit:
Yes, I understand now... For some releases it works, for some not and covers are blurred. After all, it's not bad. Probably BP doesn't have all covers in 1400 yet, for year 2021.

url for original cover https://geo-media.beatport.com/image/822d62ac-1477-4e35-8d5c-49b1bb63384a.jpg
other images is resized or upscale

1 Like

Thanks for spotting this. I didn't like the fact that it was upscaling images so i didn't release a version with that. Now I know this, I've amended the scripts to get that image using:

outputto "COVERURL"
json_select_object "images"
json_select_object "large"
json_select "url"
regexpreplace "image_size\/\d+x\d+" "image"
json_unselect_object
json_unselect_object
sayrest

New download in starting post.

UPDATE HISTORY

v5.09 2021.03.03

  • CHG: COVERURL will get the highest possible artwork size available.
3 Likes

That last update is really great, thanks!

1 Like

Just stumbled across this script and I love it. :heart:
Am i being really stupid in that the Year or ReleaseTime doesn't write to the tag? :woozy_face:
Any help would be greatly appreciated.

1 Like

Fixed. Thanks for reporting and thanks for the appreciation.

New download in starting post.

v5.10 2021.03.23

  • FIX: TRACK script fix. BEATPORT_LABEL_URL, BEATPORT_RELEASE_ID, PUBLISHER, YEAR, DATE, UNSYNCEDLYRICS and WWW tags affected due to regression bug caused from earlier fix.
1 Like

Hi guys, for those who are finding the "(Extended Mix)" addition in the ALBUM name for many new releases rather annoying, you might consider adjusting

outputto "ALBUM"
json_select "name"
replace " (Extended Mix)" ""
sayrest

in the *.inc file(s) accordingly. Unlike Juno and other places, Beatport mostly releases only the extended mix and not the original + extended mixes (remember audiojelly :slight_smile: )

2 Likes

Hey, really sorry to annoy you with my problem. I didn’t use MP3Tag in the last year. I started up my work a few days ago and saw that u you have a new version of your script and I did a roll over to my, a bit to fast. Ending with lost of my old modified script.

I really fucked because I don’t remember what I had changed and how to do it again. Whit your new script I don’t find the info's to change it back too I needed.

I’m using only the:

Beatport by &stevehero v5.0#TRACK Direct by BEATPORT_TRACK_I&D.src

Beatport by &stevehero v5.0#TRACK Search by Artist + Title.src

First Problem:

On the search result page, I don’t see the Track Title Tab. The result is I don’t can use the easy way to search by title and track.

Second Problem:

The Key is not written in to the tag (comment or initalkey) before it writes both infos in the tag.

Last Problem:

The track title (Original Mix) is missing completely, with my old script it changed it to (OM). But now its only the title name without (Original Mix).

Again, a big SORRY! Hope U can help me or show me where I find the Info to do it by myself. I don’t find the answer in 10 Years! Hey, really THANK YOU for creating, sharing and giving support!!!

  1. I don't follow the first problem.

  2. Search the scripts for (Original Mix) and uncomment the lines by deleting the # for the relevant lines.

  3. At the bottom of the scripts add a # where it says set INITIALKEY.

1 Like

just modify your track search with those :

[IndexFormat]=% ↓ TYPE%|% ↓ EXCLUSIVE%|% ↓ ID (◣_◢)™%|% ↓ PRICE%|% ↓ LENGTH%|% ↓ RECORD LABEL%|% ↓ RELEASED%|% ↓ TITLE%|% ↓ RELEASE%|% ↓ ARTIST/S%|% ↓ REMIXER/S%|% ↓ GENRE/S%|%_URL%

in [ParserScriptIndex]=...

insert :

json_select "name" # TITLE
sayrest
json_select "mix"
ifnot ""
say " ("
sayrest
say ")"
endif
say "|"

just above:

json_select_object "release" # RELEASE
json_select "name"
sayrest
json_unselect_object
say "|"

1 Like

thank you so much! I believe i can solve the problem now. But today I'm too busy for that... giving you a feedback next days.

Can't believe I didn't add the title for the track search scripts. I rarely use them so that's my excuse. :innocent:

Update in the starting post.

UPDATE HISTORY

v5.11 2021.05.07

  • ADDED: TRACK script fix for the search by scripts. There was no title in the list of search results page.
1 Like

Still a bit short with my time, but I want leave a short note on my trying’s.

I try to bring the search results in a new order that I have a better track finding for my purpose.

my first look:

[IndexFormat]=% ↓ ARTIST/S%|% ↓ TITLE%|% ↓ LENGTH%|% ↓ REMIXER/S%|% ↓ RELEASED%|% ↓ GENRE/S%|% ↓ RECORD LABEL%|% ↓ RELEASE%|% ↓ ID (◣_◢)™%|% ↓ PRICE%|%_URL%

But I have some trouble get it to the 100%.

‘’RELEASED’’ is not showing the blanked.

‘’ RELEASE’’ is showing me the artist’s name, not the title of record.

‘’ REMIXER/S’’ shows only a dash… but I tied it only on a few samples.

On the missing tags… I get it to work to write the keynote into the ‘’initalkey’’ field but not to copy that in the ‘’comment’’ field.

On the missing (Original Mix) I try out enable/disable the # on multiple positions. But that seems to be not the reason, so far I understand the text in the script. There is no point it says enable here for missing (Original Mix). It is maybe possible that Beatport has change something on their website? I see that (Original Mix) is separated from title field. That can maybe also the reason for the dashed ‘’REMIXER/S’’

I continue with my trying’s. Just want give u a update of my. Have a good time :wink:

Hi, folks!

found that it was my fault with the trying to change the order of the search result page. This leads to new faulty results. Steve on your script it works fine title + (Original Mix) and writing in to the tag by adding # in front of replace ""Original Mix"" """"

I tried to find my fault but everything looks correct for me. Maybe u like to take a look over it? If not I’m cool with it and take it like it is.

I have these faults in my moded script…

  • ‘’RELEASED’’ date is not showing, it is blanked.
  • ‘’ RELEASE’’ is showing me the artist’s name, not the title of record. (same on your TACK search and differently to your REALEASE search)
  • ‘’ REMIXER/S’’ shows only a dash. (on yours it works fine)

And don’t get it to work copy initalkey to the comment field.

I try to add this but it is not working :stuck_out_tongue:

COMMENT

outputto "COMMENT"

sayoutput "INITIALKEY"

INITIALKEY

outputto "INITIALKEY"

sayoutput "COMMENT"

THANK YOU!

Mod of Track Search

Temporary Upload for 15 Days only!