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.

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)