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

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:

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

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.

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!

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
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.

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

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

Find line:

  # set "DATE"

Change to:
set "DATE"

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"...

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

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?

Thank you,

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

set INITIALKEY

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)

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"}],

but... script 'release:txt' show all correct


Still doesnt work

I'd love to know what that is. What's this release:txt. It's a plugin or something? Please help me out here and be a little more descriptive.

I explained my scripts get the info I showed you, NOT this.

Saving the file might help perhaps?

script for Greasemonkey
http://userscripts-mirror.org/scripts/show/156420
https://greasyfork.org/it/forum/discussion/...pload-of-script

It uses java and can work in the beatport.com website. Java is a very complicated language compared to this.

You can use that info to import that to your tags if your not happy with this script. Doesn't bother me.

understand, JavaScript very difficult, o.k.