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

<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 3, 2013, 7:57am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/143 "2013-12-03T07:57:34Z")

</div>

> [@B-FiSH](#):
>
> first I want to thank you for all your great work.
> 
> i get an error at the following release.
> 
> [http://www.beatport.com/release/passion-over-fashion-2-3](http://www.beatport.com/release/passion-over-fashion-2-3/1145141)
> 
> the title name is written as a compilation.

HI, just in future when you're posting long code place it in a codebox as opposed to an ordinary code one. Thanks.

To disable the TITLE block out this like so:

```
# TRACK FIX ** Do not delete
#outputto "TITLE"
#sayoutput "TITLETEMP"
#set "TITLETEMP"
#outputto "TRACK"
#sayoutput "TRACKTEMP"
#set "TRACKTEMP"

```

OR

```
# TRACK FIX ** Do not delete
#outputto "TITLE"
#sayoutput "TITLETEMP"
#set "TITLETEMP"
outputto "TRACK"
sayoutput "TRACKTEMP"
set "TRACKTEMP"

```

To be honest I've not tested it to set the TITLE as I never thought people would and I don't have the script at hand at the moment. I just placed it in the set list to have all the fields there. Hope this helps.

---

<div class="post-metadata">

**Author:** ![bmfholland](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/d9b06d/32.png) [@bmfholland](https://community.mp3tag.de/u/bmfholland)\
**Post date:** [December 3, 2013, 10:23am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/144 "2013-12-03T10:23:29Z")

</div>

> [@stevehero](#):
>
> Ladies and gentlemen your working script awaits at starting post [here](https://community.mp3tag.de/t/12568/1).
> 
> One more thing to note that you need to run the action attached with the scripts to separate the BEATPORT\_ARTIST\_URL fields. Apart from that give the attached readme file a whirl. ![:book:](https://community.mp3tag.de/uploads/default/original/1X/0036d5b68f6226c53f6c68abfd0a7b8096fd4505.gif ":book:") ![:book:](https://community.mp3tag.de/uploads/default/original/1X/0036d5b68f6226c53f6c68abfd0a7b8096fd4505.gif ":book:") ![:book:](https://community.mp3tag.de/uploads/default/original/1X/0036d5b68f6226c53f6c68abfd0a7b8096fd4505.gif ":book:")
> 
> _Yours in music ~ stevehero_

Hi, I can't wait to try it out!. I now know how much time and efford you must have spend in order to keep this script alive. Well done steve!

---

<div class="post-metadata">

**Author:** ![bronsonj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/9de0a6/32.png) [@bronsonj](https://community.mp3tag.de/u/bronsonj)\
**Post date:** [December 3, 2013, 12:38pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/145 "2013-12-03T12:38:49Z")

</div>

First of all i'd like to thank Stevehero from the bottom of my heart, for making these scripts and helping in making our lives simpler and easier when it comes to tagging music. Thank you so very much, for your time and effort.

So i started using v4 and for some reason when i use "SINGLE TRACK Search by Title", i keep getting a Bad Request Error (400). However if i were to manually go through Google and locate the URL for the track, and then enter it through "SINGLE TRACK Direct By URL", it works. Any idea as to why this is Steve?

PS. Release search by artist, title, release give me this error too.  
FYI Everything was working fine about 12 hrs earlier.

---

<div class="post-metadata">

**Author:** ![Mars](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/e56c9b/32.png) [@Mars](https://community.mp3tag.de/u/Mars)\
**Post date:** [December 3, 2013, 4:28pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/146 "2013-12-03T16:28:14Z")

</div>

Hi Stevehero, first i'd like to thank you very much for the script! 🙂  
I've got a question for you, it's possible to put in the CATALOG # the label release number? e.g. in this release [http://www.beatport.com/release/wizard/1201003](http://www.beatport.com/release/wizard/1201003) i want the CATALOG # field to contain the string SP783  
Thanks in advance 😃

---

<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 3, 2013, 6:34pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/147 "2013-12-03T18:34:58Z")

</div>

> [@bronsonj](#):
>
> PS. Release search by artist, title, release give me this error too.  
> FYI Everything was working fine about 12 hrs earlier.

No problems my end with the scripts you mentioned. Try donwloading again if you've modified them.. and come back if you still have problems

---

<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 3, 2013, 6:38pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/148 "2013-12-03T18:38:35Z")

</div>

> [@Mars](#):
>
> Hi Stevehero, first i'd like to thank you very much for the script! 🙂  
> I've got a question for you, it's possible to put in the CATALOG # the label release number? e.g. in this release [http://www.beatport.com/release/wizard/1201003](http://www.beatport.com/release/wizard/1201003) i want the CATALOG # field to contain the string SP783  
> Thanks in advance 😃

Use the Beatport by &stevehero v4.0#RELEASE Search by XXX.src scripts.

The Beatport by &stevehero v4.0#SINGLE TRACK Search by XXX.scr scripts are designed for tracks on a album with 2+ tracks. The CATALOG # is not available on the single track pages.

---

<div class="post-metadata">

**Author:** ![bronsonj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/9de0a6/32.png) [@bronsonj](https://community.mp3tag.de/u/bronsonj)\
**Post date:** [December 4, 2013, 3:04am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/149 "2013-12-04T03:04:44Z")

</div>

> [@stevehero](#):
>
> No problems my end with the scripts you mentioned. Try donwloading again if you've modified them.. and come back if you still have problems

So i took another go at this, but this time i used hotspot shield since there was a track i had which was territory restricted. And that seems to be the fix. All the scripts work now as long as I've got the hotspot shield switched on, changing my location to the US. I reside in Sri Lanka so it seems that beatport rejects whatever method your script tries to obtain information from it, at-least for my country.However webpage requests are allowed through my browser without changing my location. Thought you'd want to know.

For now i'm using hotspot shield in conjunction with your script and i'm having success ![:w00t:](https://community.mp3tag.de/uploads/default/original/1X/cb01eca72fe9339ff6f3ec9f1e3c5fe002be0f0a.gif ":w00t:") . Cheers again for the scripts.

---

<div class="post-metadata">

**Author:** ![thegame15](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/9dc877/32.png) [@thegame15](https://community.mp3tag.de/u/thegame15)\
**Post date:** [December 4, 2013, 3:39pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/150 "2013-12-04T15:39:49Z")

</div>

So far so good on my end with the release script, haven't had a chance to test the single tracks mostly because I like having the Catalog # field 🙂. Appreciate all the hard work you've put into this script for the rest of us. I only discovered it not to long ago.

---

<div class="post-metadata">

**Author:** ![Mars](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/e56c9b/32.png) [@Mars](https://community.mp3tag.de/u/Mars)\
**Post date:** [December 4, 2013, 3:58pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/151 "2013-12-04T15:58:56Z")

</div>

> [@stevehero](#):
>
> Use the Beatport by &stevehero v4.0#RELEASE Search by XXX.src scripts.
> 
> The Beatport by &stevehero v4.0#SINGLE TRACK Search by XXX.scr scripts are designed for tracks on a album with 2+ tracks. The CATALOG # is not available on the single track pages.

Perfect, that's exactly what i want! Thanks 😃

---

<div class="post-metadata">

**Author:** ![hysiria](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/e36b37/32.png) [@hysiria](https://community.mp3tag.de/u/hysiria)\
**Post date:** [December 4, 2013, 5:11pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/152 "2013-12-04T17:11:50Z")

</div>

first of all thank you for this awesome script!

im mostly using the SINGLE TRACK (album) artist+title script. the problem i have is on every single track the track number is allways 01/01. even if its the 5th track on the release. is there any way to fix 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:** [December 4, 2013, 9:10pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/154 "2013-12-04T21:10:00Z")

</div>

> [@hysiria](#):
>
> first of all thank you for this awesome script!
> 
> im mostly using the SINGLE TRACK (album) artist+title script. the problem i have is on every single track the track number is allways 01/01. even if its the 5th track on the release. is there any way to fix this?

I put a readme file with the scripts. Read it. It even mentions it in the starting post where you downloaded it. Sorry to be harsh but that's the reality.

---

<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 4, 2013, 9:34pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/155 "2013-12-04T21:34:53Z")

</div>

**FOR ANYONE NOT WANTING THE TITLE PARSED:**

I've managed to look at this problem properly for you. You must block out the outputto "TRACKTEMP" & outputto "TITLETEMP"

```
#
findinline "<<albumEnd>>" 1 1
do
findinline "<<startTrack>>" 1 1

# outputto "TRACKTEMP" # TRACK/TOTALTRACK|TRACKTEMP
# sayregexp "(?<=txt-grey\"> )[^<]+" "" "<<endTrack>>"
# say "/"
# sayoutput "TOTALTRACKS"
# say "|"

outputto "BEATPORT_ITEM_TYPE" # BEATPORT_ITEM_TYPE
sayregexp "(?<=,\"type\":\")[^\"]+" "" "\",\"name\""
say "|"

# outputto "TITLETEMP" # TITLE|TITLETEMP
# sayregexp "(?<=title\":\")[^\"]+" "" "<<endTrack>>"
# say "|"

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

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

outputto "_LENGTH" # _LENGTH
sayregexp "(?<=\"length\":\")[^\"]+" "" "<<endTrack>>"
say "|"

outputto "BPM" # BPM
sayregexp "(?<=,\"bpm\":)[^,]+" "" "<<endTrack>>"
say "|"

outputto "INITIALKEY" # INITIALKEY
sayregexp "(?<=\"shortName\":\")[^\"]+" "" "<<endTrack>>"
say "|"

outputto "GENRE" # GENRE
sayregexp "(?<=trackGenre>>)[^>]+" "" "<<endTrack>>"
say "|"

outputto "BEATPORT_TRACK_ID" # BEATPORT_TRACK_ID
sayregexp "(?<=data-item-id=\")[^\"]+" "" "> play"
say "|"

outputto "BEATPORT_TRACK_URL" # BEATPORT_TRACK_URL
sayregexp "(?<=-larger\" href=\")[^\"]+" "" "<<endTrack>>"
say "|"

outputto "BEATPORT_ARTIST_URL" # BEATPORT_ARTIST_URL
findinline "artistList" 1 1
sayregexp "(?<=<a href=\")[^\"]+" "\\\\u005c\\\\u005c" "\"genreList\""
say "|"

outputto "TRACKS"
say "|"

findinline "<<endTrack>>" 1 1
while "<<startTrack>>" 99
#

```

Like so.

Then:

```
#
   # TRACK FIX ** Do not delete
   # outputto "TITLE"
   # sayoutput "TITLETEMP"
   # set "TITLETEMP"
   # outputto "TRACK"
   # sayoutput "TRACKTEMP"
   # set "TRACKTEMP"

```

& then

```
# set "TITLE"

```

You should be trouble free after that

---

<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 4, 2013, 9:37pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/156 "2013-12-04T21:37:22Z")

</div>

> [@bronsonj](#):
>
> i used hotspot shield..

Nice, however I cannot condone this sort of behaver 😉

---

<div class="post-metadata">

**Author:** ![Pavle](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/e68b1a/32.png) [@Pavle](https://community.mp3tag.de/u/Pavle)\
**Post date:** [December 6, 2013, 3:25pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/157 "2013-12-06T15:25:54Z")

</div>

Thanks for all the work you have put into this! Is there a way to stop the MIXARTIST being put into the ALBUMARTIST field when using the RELEASE search?

---

<div class="post-metadata">

**Author:** ![thegame15](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/9dc877/32.png) [@thegame15](https://community.mp3tag.de/u/thegame15)\
**Post date:** [December 6, 2013, 6:05pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/158 "2013-12-06T18:05:39Z")

</div>

I did notice a little bug in the ALBUMARTIST field. When the tag writes to that section if an artist like "J-Trick" or "D-Wayne" the ALBUMARTIST will write as "J-" or "D-" doesn't write anything after "-". Not an issue for me, but it's something I did notice. I should point out that I am using the Release (Artist + Title) script.

Again can't express my thanks for this 🙂. Good job.

---

<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 6, 2013, 8:08pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/160 "2013-12-06T20:08:20Z")

</div>

> [@B-FiSH](#):
>
> maybe i am an idiot, if i block outputto "TRACKTEMP" & outputto "TITLETEMP" i got no title output ????

I thought that's what you wanted. It was unclear in your first post. Keep the script the way you had it in the first post and do this. This way the script won't even process the ALBUMARTIST therefore not putting it in the ALBUMARTIST field or the COMPLIATION.

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

```

---

<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 6, 2013, 8:16pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/161 "2013-12-06T20:16:28Z")

</div>

> [@Trouble T](#):
>
> I did notice a little bug in the ALBUMARTIST field. When the tag writes to that section if an artist like "J-Trick" or "D-Wayne" the ALBUMARTIST will write as "J-" or "D-" doesn't write anything after "-". ..  
> Again can't express my thanks for this 🙂 . Good job.

**ALBUMARTIST FIX:**

There was a problem with the sayregexp:

 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
<b><!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->sayregexp "(?<=alt=\").+?(?= - )" "" "\" width"<!--colorc--></span><!--/colorc--></b>
endif<!--fontc--></span><!--/fontc-->

```

 

No bother man.

---

<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 6, 2013, 8:33pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/162 "2013-12-06T20:33:50Z")

</div>

> [@Pavle](#):
>
> Thanks for all the work you have put into this! Is there a way to stop the MIXARTIST being put into the ALBUMARTIST field when using the RELEASE search?

As you can see it doesn't do this. Maybe a URL example would be good.

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

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

---

<div class="post-metadata">

**Author:** ![Electrohouse95](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/8c91f0/32.png) [@Electrohouse95](https://community.mp3tag.de/u/Electrohouse95)\
**Post date:** [December 6, 2013, 11:40pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/163 "2013-12-06T23:40:49Z")

</div>

> [@stevehero](#):
>
> As you can see it doesn't do this. Maybe a URL example would be good.
> 
> ![](https://community.mp3tag.de/uploads/default/original/2X/1/1b6ad41d95a624ffb6fc615b322b96c1b65430f1.jpg)

Hello Steve,

It is been a week since i try to get some id3tags but i get this error "Error connecting to server: [http://api.beatport.com"](http://api.beatport.com"). this happens to any tracks. i am in the usa.

what should i do my friend?

---

<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 6, 2013, 11:55pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/164 "2013-12-06T23:55:27Z")

</div>

> [@Electrohouse95](#):
>
> Hello Steve,  
> It is been a week since i try to get some id3tags but i get this error "Error connecting to server: [http://api.beatport.com"](http://api.beatport.com"). this happens to any tracks. i am in the usa.  
> what should i do my friend?

Download this latest scripts in starting post because it doesn't use the API pages of beatport any more.

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

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