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

**URL:** https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568
**Category:** Web Sources Scripts
**Created:** [October 4, 2011, 9:07pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568 "2011-10-04T21:07:57Z")
**Posts on this page:** 20
**Page:** 16

<div class="post-metadata">

### Author: ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)
#### Post date: [January 23, 2016, 3:24pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/305 "2016-01-23T15:24:58Z")

</div>

This is not related to this script. Post a new thread in the help. But I'm sure if you google 'mp3tag wine scripts location' you'll get something.

**EDIT:** What do you know! It worked! That's some sorcery right there!!! [https://www.google.es/search?q=mp3tag+wine+...onKEoPtUtOhicAP](https://www.google.es/search?q=mp3tag+wine+scripts+location&ie=utf-8&oe=utf-8&gws_rd=cr&ei=aamjVonKEoPtUtOhicAP)

---

<div class="post-metadata">

### Author: ![wickedmix](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/w/82dd89/32.png) [@wickedmix](https://community.mp3tag.de/u/wickedmix)
#### Post date: [February 2, 2016, 7:19pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/306 "2016-02-02T19:19:41Z")

</div>

getting this error as of today

![](https://community.mp3tag.de/uploads/default/original/2X/b/bfccb945472cde5ba2d098dfed63827f2068cd7e.PNG)

![](https://community.mp3tag.de/uploads/default/original/2X/b/bfccb945472cde5ba2d098dfed63827f2068cd7e.PNG)

---

<div class="post-metadata">

### Author: ![sharpouze](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/df705f/32.png) [@sharpouze](https://community.mp3tag.de/u/sharpouze)
#### Post date: [February 4, 2016, 6:52am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/307 "2016-02-04T06:52:20Z")

</div>

Me too ☹

---

<div class="post-metadata">

### Author: ![majika](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/8e7dd6/32.png) [@majika](https://community.mp3tag.de/u/majika)
#### Post date: [February 4, 2016, 11:04am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/308 "2016-02-04T11:04:50Z")

</div>

Hi,

I signed up specifically to Thank **stevehero** for this excellent script/project..  
And his Amazing support over the past 21 pages of this thread.  
As you can imagine 3TB+ of music tags to clean up and rearrange which has been keeping me very busy.

On another note:

```
Mp3tag.exe /fp:"<full-qualified path to directory>"
Starts Mp3tag in the specified directory using the directory as working directory.

```

Could this be a method to employ a master script to work around/manipulate the tags. So, in a way: To parse the already parsed data.. Kind of like the "Tools" / "Utils" menus in MP3Tag SW itself.

OR

An external .bat to automate the MP3Tag SW and stevehero BP script to search multiple files from multiple releases. (As per the guy with 200 releases a few posts back, musicbrainz was mentioned.)

I understand the power of MP3Tag syntax is limited yet powerful enough to do amazing tasks I just see the CLI as a possible gateway to expand on any limitations which one may experience and as a path for future expansion of this project/script. Maybe this is not the right place for this kind of suggestion. idk..

**Please keep up the great work, This script is a massive time saver.. Thanks once again!!.**

FYI: Beatport is timing me out now and again I think its some geo-proxying technique employed.. only on a few releases I get this issue with. Specifically the Material records label. its there on BP but when I use the script it doesn't like it.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [February 4, 2016, 2:45pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/309 "2016-02-04T14:45:12Z")

</div>

> [@Wickedmix](#):
>
> getting this error as of today

> [@sharpouze](#):
>
> Me too ☹

You're probably both using v2.73b or v2.73c. With this release Mp3tag uses a completely different HTTP/HTTPS implementation which also has a more strict URI parser.

I've noticed that the URL which is used in the scripts doesn't fully conform to the specification (as stated in RFC 3986), which -- in this case -- means that square brackets are not URL encoded.

Can you please try the following two steps:

1. In the [IndexUrl] value, replace the square brackets in the URL by their URL-encoded equivalent, i.e., %5B%5D
2. Enable URL-encoding in the search query by adding

```
[Encoding]=url-utf-8</li></ol>

```

On a side note to stevehero: I'm impressed!

Kind regards  
Florian

---

<div class="post-metadata">

### Author: ![wickedmix](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/w/82dd89/32.png) [@wickedmix](https://community.mp3tag.de/u/wickedmix)
#### Post date: [February 4, 2016, 7:11pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/310 "2016-02-04T19:11:19Z")

</div>

your correct i went back to 2.61 and is working fine i will wait till the script has been updated to upgrade again thanks.

---

<div class="post-metadata">

### Author: ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)
#### Post date: [February 12, 2016, 12:35am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/311 "2016-02-12T00:35:44Z")

</div>

Just uploading the scripts now. Sorry it took a while, I moved country and had my computer shipped which took a week.

Working scripts in starting post.

Thanks Florian for the fix and kind words, same to you. I don't think I could of found the problem myself.

I did notice that even with your fix, I needed to do this:

```
[IndexUrl]=http://classic.beatport.com/search?&perPage=50&facets%5B%5D=fieldType:release&query=%s # Place &sortBy=publishDate+DESC at the end of %s if you want releases sorted by date.

```

to (put the commented line to a new line):

```
[IndexUrl]=http://classic.beatport.com/search?&perPage=50&facets%5B%5D=fieldType:release&query=%s
NEW LINE
# Place &sortBy=publishDate+DESC at the end of %s if you want releases sorted by date.

```

Seems mp3tag has parsed that line even though it was commented out.

PS, any way to keep a counter on the scripts downloaded for total amount downloaded over the scripts lifetime. I never like it when it goes back to zero?

---

<div class="post-metadata">

### Author: ![wickedmix](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/w/82dd89/32.png) [@wickedmix](https://community.mp3tag.de/u/wickedmix)
#### Post date: [February 14, 2016, 12:15pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/312 "2016-02-14T12:15:51Z")

</div>

steve thank you very much for the update

when using -\> Beatport by &stevehero v4.2#SINGLE TRACK Search by (Album)Artist + Title

for some reason the key is no longer being added. maybe it's an option i now need to enable?

OK NVM i figured it out is off by default now 🙂

---

<div class="post-metadata">

### Author: ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)
#### Post date: [February 14, 2016, 5:34pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/313 "2016-02-14T17:34:32Z")

</div>

The reason for this is because I use MixedInKey to key my tracks.

@ o0o this was explained elsewhere in the thread.

---

<div class="post-metadata">

### Author: ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)
#### Post date: [February 14, 2016, 9:17pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/314 "2016-02-14T21:17:48Z")

</div>

> [@o0o](#):
>
> I do not understand English, you could tell me what to put in **outputto "ARTIST" # ARTIST** to make it "Artist, Artist & Artist" and "Artist & Artist" please, thank you.

See lines in script. I assume you want the mix artist to be the same so change what's highlighted red:

**CHANGE:**

> [@](#):
>
> outputto "ARTIST" # ARTIST
> 
> ```
> sayregexp "(?<=,\"artistName\":\")[^\"]+" "<!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->, <!--colorc--></span><!--/colorc-->" "<<endTrack>>"
> say "|"
> 
> outputto "MIXARTIST" # MIXARTIST
> sayregexp "(?<=,\"remixerName\":\")[^\"]+" "<!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->, <!--colorc--></span><!--/colorc-->" "<<endTrack>>"
> say "|"
> 
> ```

**TO:**

> [@](#):
>
> outputto "ARTIST" # ARTIST
> 
> ```
> sayregexp "(?<=,\"artistName\":\")[^\"]+" "<!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->& <!--colorc--></span><!--/colorc-->" "<<endTrack>>"
> say "|"
> 
> outputto "MIXARTIST" # MIXARTIST
> sayregexp "(?<=,\"remixerName\":\")[^\"]+" "<!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->& <!--colorc--></span><!--/colorc-->" "<<endTrack>>"
> say "|"
> 
> ```

---

<div class="post-metadata">

### Author: ![xaoc2012](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/x/dec6dc/32.png) [@xaoc2012](https://community.mp3tag.de/u/xaoc2012)
#### Post date: [February 15, 2016, 11:56am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/315 "2016-02-15T11:56:08Z")

</div>

**o0o**  
beatport have many errors - a lot of duets presented as single artist (separated by commas)

---

<div class="post-metadata">

### Author: ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)
#### Post date: [February 16, 2016, 7:03pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/316 "2016-02-16T19:03:09Z")

</div>

> [@o0o](#):
>
> Thank you so much, I have one last question for you, and when the track has produced more than 2 artists that I must put to make it "Artist, Artist & Artist"?, apology for the English, I have translated with google.

I've shown you how to get & instead of , to separate artists here \>\>\> [beatport.com scripts by stevehero (search & direct) - jaimz mod](https://community.mp3tag.de/t/12568/314)

I'm not sure what I'm suppose to look for in those URLs you posted. I've checked them and everything is fine.

I'm not in control of how beatport formats their naming conventions. You can use actions to format the tags to your liking after you run the script.

---

<div class="post-metadata">

### Author: ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)
#### Post date: [February 16, 2016, 11:49pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/317 "2016-02-16T23:49:17Z")

</div>

> [@o0o](#):
>
> It does not work like you told me. only it works when it comes to two artists.
> 
> **Format likes:**  
> artist1 & artist2  
> artist1, artist2 & artist3  
> artist1, artist2, artist3 & artist4
> 
> **Format dislike:**  
> artist1 & artist2 & artist3.....................

The script cannot do this. You need to run an action to implement your needs replacing the last , with a &.

Use this after you tag with my script:  
_Action type:_ **Format value**  
_Field:_ **ARTIST**  
_Formatstring:_ **$regexp(%artist%,'^(.+),\s\*([^,|[^&]+?)$',$1 & $2)**

---

<div class="post-metadata">

### Author: ![kdjjajaja](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/e56c9b/32.png) [@kdjjajaja](https://community.mp3tag.de/u/kdjjajaja)
#### Post date: [February 19, 2016, 11:34am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/318 "2016-02-19T11:34:46Z")

</div>

Since today, I get the following error when connecting to Beatport (see attachment...).

![](https://community.mp3tag.de/uploads/default/original/2X/1/11a41450e44b0d8b907250c102a52d26f428a59e.jpg)

---

<div class="post-metadata">

### Author: ![MP3Joe](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/d6d6ee/32.png) [@MP3Joe](https://community.mp3tag.de/u/MP3Joe)
#### Post date: [February 20, 2016, 12:57pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/319 "2016-02-20T12:57:28Z")

</div>

Hello,

i think there is something wrong with the script (Artist + Release)  
I have select only a few Datafields but i get this Respond:

 ![](https://community.mp3tag.de/uploads/default/original/2X/3/3b308fbd336b6ae599bc6cc13f750a9904b500c6.jpg)  

 ![](https://community.mp3tag.de/uploads/default/original/2X/3/3b308fbd336b6ae599bc6cc13f750a9904b500c6.jpg)

---

<div class="post-metadata">

### Author: ![Gianma12](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/58956e/32.png) [@Gianma12](https://community.mp3tag.de/u/Gianma12)
#### Post date: [February 23, 2016, 8:38am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/320 "2016-02-23T08:38:29Z")

</div>

Hi everybody,  
fist of all I apologize for my english because it isn't as good as it should be.  
Thank you stevehero for your amazing job, your script helped me to save a lot of time!

I have a little problem with the latest version, I'm not able to get the musical key anymore. Can anybody help me to get it back please?

---

<div class="post-metadata">

### Author: ![xaoc2012](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/x/dec6dc/32.png) [@xaoc2012](https://community.mp3tag.de/u/xaoc2012)
#### Post date: [March 22, 2016, 6:49am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/321 "2016-03-22T06:49:42Z")

</div>

how converting all my track, from 'beatport date' - YYYY-MM-DD to 'normal' - DD-MM-YYYY

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [March 22, 2016, 7:58am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/322 "2016-03-22T07:58:49Z")

</div>

The principal proceedings are described in this thread:  
[/t/16471/1](https://community.mp3tag.de/t/16471/1)

If you ever want to sort by the date, you should leave it as it is. Because otherwise you get all tracks from the first of each month first, then the ones from the second and so on. Sorting by year, then by month and then by day does not work in the format DD-MM-YYYY.

---

<div class="post-metadata">

### Author: ![hangover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/7feea3/32.png) [@hangover](https://community.mp3tag.de/u/hangover)
#### Post date: [April 6, 2016, 12:38pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/323 "2016-04-06T12:38:00Z")

</div>

> [@Gianma12](#):
>
> Hi everybody,  
> fist of all I apologize for my english because it isn't as good as it should be.  
> Thank you stevehero for your amazing job, your script helped me to save a lot of time!
> 
> I have a little problem with the latest version, I'm not able to get the musical key anymore. Can anybody help me to get it back please?

Hello, I'm new to this forum. First off thank you for allowing me to post my comments. Big thanks to stevehero for his amazing job. Regarding this I want to mention that I also encountered this problem with the musical key in the latest version of the scripts. Problem is I can not go back to the previous version. I accidently deleted it and can't recover it. Any chance of getting the previous version or maybe solving the issue with the musical keys, I'll appreciate it! Sorry if that's already fixed or if there is a way to fix it!

Regards!

 ![](https://community.mp3tag.de/uploads/default/original/2X/d/d343926577186dc6f017f2b0eebb9715e4138322.png)

---

<div class="post-metadata">

### Author: ![FreaQ](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/c67d28/32.png) [@FreaQ](https://community.mp3tag.de/u/FreaQ)
#### Post date: [June 9, 2016, 5:52am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/324 "2016-06-09T05:52:49Z")

</div>

Hi,

I am getting following error with the beatport script. I am pretty sure the error is on my side, but I cannot figure it out. I get this with every release.  
Can someone please help me?

![](https://community.mp3tag.de/uploads/default/original/2X/a/aaa0f3493973a8aa54bc8f711084167b3b4f0dae.jpg)

![](https://community.mp3tag.de/uploads/default/original/2X/a/aaa0f3493973a8aa54bc8f711084167b3b4f0dae.jpg)

[Previous page](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568.md?page=15)

[Next page](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568.md?page=17)
