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


#341

Could you modify the script for https://www.beatport.com/ because http://classic.beatport.com/ isn't available anymore? :frowning:


#342

It's working here.

BTW. If the classic BP website goes down I won't be able to support the new BP as it uses https which cannot be parsed.


#343

thanks a lot :slight_smile:


#344

this mirror without ssl

P.S. how fix new size of covers?
http://geo-media.beatport.com/image_size/3000x3000/14160816.jpg


#345

Thanks, thats good to know.

Take a look here: http://classic.beatport.com/track/summer-o...lub-mix/8150330 and right click 'view source' for firefox. Not sure about other browsers.

This is what the script parses through but them 3000px sq. covers aren't there. That is probably with an API key that can get them.

BUT: Just take a look at the crappy quality of them and this song was released on 2016-07-22. They're 500px sq. enlarged by the look of it.
http://geo-media.beatport.com/image_size/3...00/14055943.jpg

This can be done by adding in the script under where it says:

# TAG FIXES + OPTIONS

With:

replace "500x500" "3000x3000"

I doubt I'll be supporting this in my script because of the quality of them.


#346

Hey Steve!
I'm using Mp3tag on Mac OSX. However it becomes very cumbersome to tag files by copy pasting/typing their tags from beatport and otherwise.
I'd really be thankful if you could help me find a way to use your script on mac as well.

Thanks
-technosoul


#347

Regardless of the OS, the answer is in the FAQ's [ /c/faq-frequently-asked-questions ] in this forum.

I also can't help you as I hate and don't use macs. :wink:


#348

Here is a link for the location for files on a Mac.
/t/16715/1


#349

It seems they changed something.

by the way, for future support, you could make (and host) a tiny wrapper web-app has a API key sitting server side and gets the information from the api and then returns it to mp3tag.


#350

Hello.

I would like to point your attention on a possible "bug".

The format of the "Year" tag on MP3 files is like yyyy-mm-dd (eg. 2011-04-25.)
But when I try to tag a FLAC file, the "Year" tag gets a value with a mmdd format (eg. 0425).
So it totally misses the year.

Is this some kind of bug or am I missing something?

Thanks!


#351

Not missing anything, as far as I'm aware FLAC can only support the year in the YEAR tag with format YYYY.

My script is not able to recognise this so you will have to copy one of the files in the script directory SEE HERE FOR LOCATION and rename it with FLAC at the end or to your choosing. Then open the script in preferably notepad++ as it's easier to read and edit the last line removing the # like so:

# YEAR OPTIONS
#regexpreplace "(releaseDate":")(\d\d\d\d)-(\d\d)-(\d\d)" "$1$2-$4-$3"                   # YEAR in YYYY-DD-MM format
#regexpreplace "(releaseDate":")(\d\d\d\d)-(\d\d)-(\d\d)" "$1$4-$3-$2"                   # YEAR in DD-MM-YYYY format
#regexpreplace "(releaseDate":")(\d\d\d\d)-(\d\d)-(\d\d)" "$1$2"                         # YEAR in YYYY format

To:

# YEAR OPTIONS
#regexpreplace "(releaseDate":")(\d\d\d\d)-(\d\d)-(\d\d)" "$1$2-$4-$3"                   # YEAR in YYYY-DD-MM format
#regexpreplace "(releaseDate":")(\d\d\d\d)-(\d\d)-(\d\d)" "$1$4-$3-$2"                   # YEAR in DD-MM-YYYY format
regexpreplace "(releaseDate":")(\d\d\d\d)-(\d\d)-(\d\d)" "$1$2"                         # YEAR in YYYY format

#352
QUOTE (stevehero @ Sep 15 2016, 21:20) <{POST_SNAPBACK}>
Not missing anything, as far as I'm aware FLAC can only support the year in the YEAR tag with format YYYY.

My script is not able to recognise this so you will have to copy one of the files in the script directory SEE HERE FOR LOCATION and rename it with FLAC at the end or to your choosing. Then open the script in preferably notepad++ as it's easier to read and edit the last line removing the # like so:

# YEAR OPTIONS
#regexpreplace "(releaseDate":")(\d\d\d\d)-(\d\d)-(\d\d)" "$1$2-$4-$3"                   # YEAR in YYYY-DD-MM format
#regexpreplace "(releaseDate":")(\d\d\d\d)-(\d\d)-(\d\d)" "$1$4-$3-$2"                   # YEAR in DD-MM-YYYY format
#regexpreplace "(releaseDate":")(\d\d\d\d)-(\d\d)-(\d\d)" "$1$2"                         # YEAR in YYYY format

To:

# YEAR OPTIONS
#regexpreplace "(releaseDate":")(\d\d\d\d)-(\d\d)-(\d\d)" "$1$2-$4-$3"                   # YEAR in YYYY-DD-MM format
#regexpreplace "(releaseDate":")(\d\d\d\d)-(\d\d)-(\d\d)" "$1$4-$3-$2"                   # YEAR in DD-MM-YYYY format
regexpreplace "(releaseDate":")(\d\d\d\d)-(\d\d)-(\d\d)" "$1$2"                         # YEAR in YYYY format<!--QuoteEnd--></div><!--QuoteEEnd-->

Tried this but nothing changed. Still getting a "mmdd" Year tag for flac files.


#353

Anybody has a workaround for this?
Having a correct year tag is critical for sorting a music collection.


#354

Found the issue. You also have to disable the date in your custom FLAC src file:

Find line:

  # set "DATE"

Change to:
set "DATE"


#355

no seriously... I really appreciate the time you spent resolving this issue... not to mention the time you spent to create this amazing script. very important for me!
let's just hope beatport does not take down "classic"...


#356

Thank you. Gratitude means a lot. And yes, classic needs to stay! :wink:


#357

First of.. THANKS stevehero for this script, it's a life saver! I have noticed that when tagging from Beatport that the key of the tune is not saved. Anyway of fixing that?


#358

Thank you,

Add a # in front of where it says in the script

set INITIALKEY


#359

script add from title track, artists 'feat' to tag ARTIST, how remove it?

e.g. Hands Up Freaks, Vol. 3
9. NeoTune!, Isabel Higuero - Remedy feat. Isabel Higuero (Hands Up Mix) -->
9. NeoTune! - Remedy feat. Isabel Higuero (Hands Up Mix)


#360

The script cannot differentiate between those two text strings as it only grabs the info from beatport as it sees it. In this case Isabel Higuero is listed as an artist and also in the title as feat. artist.

Nothing can be done. Again guys this script has no artificial intelligence. It ain't no HAL 9000 :wink:

Look at this snippet of code that the script grabs the info and you'll see the problem:

<!--sizeo:2--><span style="font-size:10pt;line-height:100%"><!--/sizeo--><!--fonto:Courier New--><span style="font-family:Courier New"><!--/fonto-->data-json='{"id":7464438,"type":"track","name":"Remedy feat. Isabel Higuero","active":true,"mixName":"Hands Up Mix Edit","<b><!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->title":"Remedy feat. Isabel Higuero (Hands Up Mix Edit)<!--colorc--></span><!--/colorc--></b>","slug":"remedy-feat-isabel-higuero-hands-up-mix-edit","releaseDate":"2015-12-21","publishDate":"2015-12-21","sampleUrl":"http:\/\/geo-samples.beatport.com\/lofi\/7464438.LOFI.mp3","isPreviewAvailable":true,"rtmpStreamUrl":"null","exclusive":false,"preview":{"mp3":{"http":"http:\/\/geo-samples.beatport.com\/lofi\/7464438.LOFI.mp3","rtmp":"null","offset":{"start":92870,"end":212870}},"mp4":{"http":"http:\/\/geo-samples.beatport.com\/lofi\/7464438.LOFI.mp4","rtmp":"null","offset":{"start":92870,"end":212870}}},"price":{"code":"eur","symbol":"\u20ac","value":130,"display":"\u20ac1.30"},"purchasable":true,"length":"3:52","lengthMs":232176,"bpm":144,"key":{"standard":{"letter":"F","sharp":true,"flat":false,"chord":"minor"},"shortName":"F&amp;#9839;min"},"saleType":"purchase","artists":[<!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro--><b>{"id":348178,"name":"NeoTune!","slug":"neotune!","type":"artist"}</b><!--colorc--></span><!--/colorc-->,<!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro--><b>{"id":389808,"name":"Isabel Higuero","slug":"isabel-higuero","type":"artist"}</b><!--colorc--></span><!--/colorc-->,{"id":472213,"name":"Hands Up Mix","slug":"hands-up-mix","type":"remixer"}],