# \[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:** 10

<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: [December 27, 2013, 2:52pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/185 "2013-12-27T14:52:49Z")

</div>

That same script should work as the albumartist is missing. It uses artist instead. Have you tried that yet?

---

<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: [January 9, 2014, 7:12am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/186 "2014-01-09T07:12:34Z")

</div>

Hi Steve,

I get a strange error with your scripts.  
I will always get "Not acceptable (406)" when connecting to beatport servers.

Other Scripts (FreeDB, Amazon, Discogs) are working smoothly.

I am using Mp3Tag as a portable version. Maybe it is this.

---

<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 9, 2014, 3:56pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/187 "2014-01-09T15:56:25Z")

</div>

> [@FreaQ](#):
>
> I get a strange error with your scripts.  
> I will always get "Not acceptable (406)" when connecting to beatport servers.

Have you downloaded the latest scripts?

---

<div class="post-metadata">

### Author: ![ektorbarajas](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/b782af/32.png) [@ektorbarajas](https://community.mp3tag.de/u/ektorbarajas)
#### Post date: [January 9, 2014, 9:03pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/188 "2014-01-09T21:03:36Z")

</div>

Stevehero again you are our hero!!!

Just downloaded v4 of the scripts and the work, also like the new changes!!!

My sincere gratitude ![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:")

---

<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: [January 10, 2014, 5:34am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/189 "2014-01-10T05:34:32Z")

</div>

> [@stevehero](#):
>
> Have you downloaded the latest scripts?

Sure. Using 4.0

I will test it on another machine this weekend.  
Let's see what happens.

Edit: I think it is a Proxy issue, not sure why, since all other scripts do work with the proxy given in MP3Tag.

---

<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 10, 2014, 12:11pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/190 "2014-01-10T12:11:51Z")

</div>

> [@DJ ektorBarajas](#):
>
> My sincere gratitude ![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:")

De nada

> [@FreaQ](#):
>
> Sure. Using 4.0
> 
> I will test it on another machine this weekend.  
> Let's see what happens.
> 
> Edit: I think it is a Proxy issue, not sure why, since all other scripts do work with the proxy given in MP3Tag.

Was thinking that was a possible cause, I haven't used the proxy inside mp3tag. What I have is the plug-in for firefox called 'Hóla' (also available on chrome).

1. Install desktop version of Hóla for firefox.
2. When you click on a link that's territory restricted you enable hóla to whatever country (Mostly for me the US) 
3. Get the URL from that and paste into the URL of the music you want to tag
4. Then use the direct by URL method to tag. That's a good workaround if you're having trouble with the proxy in mp3tag.

Maybe someone else can jump on here to answer this about the proxy?

Have you tried disabling it?

---

<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: [January 13, 2014, 11:52am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/191 "2014-01-13T11:52:56Z")

</div>

> [@stevehero](#):
>
> Was thinking that was a possible cause, I haven't used the proxy inside mp3tag. What I have is the plug-in for firefox called 'Hóla' (also available on chrome).
> 
> 1. Install desktop version of Hóla for firefox.
> 2. When you click on a link that's territory restricted you enable hóla to whatever country (Mostly for me the US) 
> 3. Get the URL from that and paste into the URL of the music you want to tag
> 4. Then use the direct by URL method to tag. That's a good workaround if you're having trouble with the proxy in mp3tag.
> 
> Maybe someone else can jump on here to answer this about the proxy?
> 
> Have you tried disabling it?

I can't disable it, because it is a company network. Proxy is delivered per pac-script. I managed to to get the proxies out of it to insert it in MP3Tag.  
But I am not sure if it is the proxy because Beatport works fine in the browser.  
It would be much easier if Mp3Tag had an option to use the systems proxy.

---

<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: [January 13, 2014, 12:52pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/192 "2014-01-13T12:52:50Z")

</div>

> [@FreaQ](#):
>
> ...It would be much easier if Mp3Tag had an option to use the systems proxy.

You can set the proxy parameters in File\>Options\>Network.  
Or you have to ask your network administrator which address the proxy has and which ports are open.  
Also, it may be possible that a firewall limits an application's access to the internet. I would clearify that stuff with the network administrator.

---

<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 13, 2014, 1:03pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/193 "2014-01-13T13:03:29Z")

</div>

> [@FreaQ](#):
>
> I can't disable it, because it is a company network. Proxy is delivered per pac-script. I managed to to get the proxies out of it to insert it in MP3Tag.  
> But I am not sure if it is the proxy because Beatport works fine in the browser.  
> It would be much easier if Mp3Tag had an option to use the systems proxy.

Oh, one more thing you could try is if you have admin rights to your computer is:

WIN key then type advnaced. Advanced firewall with advanced security program should come up depending on weather you use the professional version of the OS. In the inbound and outbound rules add a rule to allow the mp3tag application. Just troubleshooting here but that may work.

---

<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 17, 2014, 7:32pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/194 "2014-01-17T19:32:56Z")

</div>

Hi folks,

In conjunction with my script this is a must for any serious DJs, bedroom DJs and the like. I Just upgraded from Mixed In Key v4 (I skipped 5 because there was no relevant difference to warrant the price. Still it's cheap for what you get) to v6 [FOUND HERE](http://www.mixedinkey.com/Screenshots#) after I read this article. [http://www.djtechtools.com/2014/01/14/key-...n-2014-edition/](http://www.djtechtools.com/2014/01/14/key-detection-software-comparison-2014-edition/)

**ARTICLE IN BRIEF:  
Beatports Key detection: 66% correct**

Major/Minor Triad Test: Not possible – no way to manually test.
# of correct tracks (vs human volunteer consensus): 40 (66% correct)
 
# of Major / Minor misreads: 10
 
# of results off by a single fifth: 7

**Mixed in key: 95% correct**

Major/Minor Triad Test: Perfect 24 out of 24 – every single key correct.
# of correctly analyzed tracks (vs human consensus): 58 (95%)
 
# of Major / Minor Misreads: 0
 
# of results off by a single Fifth: 2

Amazing results! Plus it detects the energy of tracks. Just what every DJ needs. Hope this info is of help to you.

"Have a good weekend everybody and thanks for the support" - stevehero

---

<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: [January 20, 2014, 8:22am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/195 "2014-01-20T08:22:21Z")

</div>

Hi steve,

what do I have to do to get rid of the mixartists in ALBUMARTIST?

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: [January 20, 2014, 12:18pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/196 "2014-01-20T12:18:22Z")

</div>

So you would prefer different ARTISTS on a Per track basis in the ALBUMARTIST field? If that's the case it's matter of adding in the track loop (Add **red** text):

outputto "ARTIST" # ARTIST

```
sayregexp "(?<=,\"artistName\":\")[^\"]+" ", " "<<endTrack>>"
say "|"

<b><!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->outputto "ARTIST" # ALBUMARTIST

sayregexp "(?<=,\"artistName\":\")[^\"]+" ", " "<<endTrack>>"
say "|"<!--colorc--></span><!--/colorc--></b><!--fontc--></span><!--/fontc-->

```

 

Block out with adding a # to every line to the existing ALBUMARTIST code like:

 # ALBUMARTIST

```
# outputto "ALBUMARTIST"
# gotochar 1
# findinline "larger block txt-uppercase\">" 1 1
# if " VARIOUS ARTISTS"
# say "VA"
# outputto "COMPILATION"
# say "1"
# else
# findinline "alt=\"" -1 1
# sayregexp "(?<=alt=\")[^-]+" "" "\" width"
# endif<!--fontc--></span><!--/fontc-->

```

 

Also amend or delete to look like:

 # ALBUM ARTIST
# outputto "ALBUM ARTIST"
 
# sayoutput "ALBUMARTIST"
 

I've not tested this so let me know how it works. PS. It's probably not advisable to have different artists on each track as it leads to undesirable results when sorting albums in your music software when sorting by Album by artist/s.

---

<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: [January 20, 2014, 1:06pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/197 "2014-01-20T13:06:44Z")

</div>

I think we misunuderstood or I did not describe properly what I meant. I assume the last one. 😃

Your script puts every mixartist also into the ALBUMARTIST field.

All I wanted was the Original Albumartist in ALBUMARTIST.

But as I am looking for an example, I see it is an Beatport "problem" as they put alle artists into their description.

See here: [http://www.beatport.com/release/bandsaw-ep/1078871](http://www.beatport.com/release/bandsaw-ep/1078871)

_Original Artist is:_ KOSTAS MASKALIDES  
_Your Script for ALBUMARTIST:_ KOSTAS MASKALIDES, FOREST PEOPLE, HACKLER & KUCH, ADAM JAY, BRIAN BURGER  
_Beatport:_ KOSTAS MASKALIDES, FOREST PEOPLE, HACKLER & KUCH, ADAM JAY, BRIAN BURGER

I am not sure how to fix this, because Beatport always adds a comma between artists even it is "&" or vs. on the release.

---

<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 20, 2014, 6:55pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/198 "2014-01-20T18:55:25Z")

</div>

That's the best I can do due to limitations of not using the proper API pages anymore. But there is the advantage with the way I wrote it, is that, if it's a compilation then it outputs 1 to compilation and puts VA to the ALBUMARTIST field. Any other way and that would be not possible. Also, MIXARTISTS have good cause to be down in the ALBUMARTIST field because after all it's a remix and not an edit which is completely different.

> [@FreaQ](#):
>
> _Original Artist is:_ KOSTAS MASKALIDES  
> _Your Script for ALBUMARTIST:_ KOSTAS MASKALIDES, FOREST PEOPLE, HACKLER & KUCH, ADAM JAY, BRIAN BURGER  
> _Beatport:_ KOSTAS MASKALIDES, FOREST PEOPLE, HACKLER & KUCH, ADAM JAY, BRIAN BURGER
> 
> I am not sure how to fix this, because Beatport always adds a comma between artists even it is "&" or vs. on the release.

This doesn't happen with the scripts, I would have noticed this in my testing and after about 100+ tracks since publishing it their has been no issues. Your two examples given are the same.  
See my test here of the vs.  
 ![](https://community.mp3tag.de/uploads/default/original/2X/2/2e740d298120a68c60a81b067b19b49a6f62535f.jpg)

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

---

<div class="post-metadata">

### Author: ![skrippi](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/46a35a/32.png) [@skrippi](https://community.mp3tag.de/u/skrippi)
#### Post date: [January 23, 2014, 8:12am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/199 "2014-01-23T08:12:14Z")

</div>

Hello.

I need a little help over here, please.  
I want the Artist AND the Mixartist together in the ARTIST Tag, seperated by comma.

For now it works like this:

```
outputto "ARTIST" # ARTIST
sayregexp "(?<=,\"artistName\":\")[^\"]+" ", " "<<endTrack>>"
say ", "
sayregexp "(?<=,\"remixerName\":\")[^\"]+" ", " "<<endTrack>>"

say "|"

```

But how can I tell him, to set the comma only if there IS a mixartist?

Would be glad to get your help.

Greetz, skrippi

---

<div class="post-metadata">

### Author: ![chrishirst](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/4af34b/32.png) [@chrishirst](https://community.mp3tag.de/u/chrishirst)
#### Post date: [January 23, 2014, 8:39am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/200 "2014-01-23T08:39:17Z")

</div>

> [@skrippi](#):
>
> But how can I tell him, to set the comma only if there IS a mixartist?

Wrap the optional output in square brackets

```
 [',' %mixartist%]

```

OR

use an 'IF' statement

```
$if(%mixartist%,',' %mixartist%)

```

---

<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, 2014, 10:17am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/201 "2014-01-23T10:17:32Z")

</div>

> [@skrippi](#):
>
> outputto "ARTIST" # ARTIST
> 
> ```
> sayregexp "(?<=,\"artistName\":\")[^\"]+" ", " "<<endTrack>>"
> say ", "
> sayregexp "(?<=,\"remixerName\":\")[^\"]+" ", " "<<endTrack>>"
> 
> say "|"
> 
> ```

It's as simple as:🙂

```
outputto "ARTIST" # ARTIST & MIXARTIST
replace "remixerName" "artistName"
sayregexp "(?<=,\"artistName\":\")[^\"]+" ", " "<<endTrack>>"
say "|"

```

---

<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, 2014, 12:50pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/202 "2014-01-23T12:50:33Z")

</div>

> [@Chris Hirst](#):
>
> $if(%mixartist%,',' %mixartist%)

This is incorrect for scripting language.

---

<div class="post-metadata">

### Author: ![liserg](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/13edae/32.png) [@liserg](https://community.mp3tag.de/u/liserg)
#### Post date: [January 31, 2014, 9:49pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/203 "2014-01-31T21:49:00Z")

</div>

The **B-E-S-T** script ever done for mp3tag!! ![:w00t:](https://community.mp3tag.de/uploads/default/original/1X/cb01eca72fe9339ff6f3ec9f1e3c5fe002be0f0a.gif ":w00t:")

Thanks a lot for sharing your pretty work to the world, mate ![:music:](https://community.mp3tag.de/uploads/default/original/1X/2ba05d1ade5eb0d15fc173be6f717dbe63890a70.gif ":music:")

---

<div class="post-metadata">

### Author: ![chrishirst](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/4af34b/32.png) [@chrishirst](https://community.mp3tag.de/u/chrishirst)
#### Post date: [January 31, 2014, 11:45pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/204 "2014-01-31T23:45:19Z")

</div>

> [@stevehero](#):
>
> This is incorrect for scripting language.

Explain how or why please.

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

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