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

<div class="post-metadata">

### Author: ![Ninja\_Theory](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ninja_theory/32/11626_2.png) [@Ninja\_Theory](https://community.mp3tag.de/u/Ninja_Theory)
#### Post date: [September 18, 2021, 7:29pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/873 "2021-09-18T19:29:30Z")

</div>

Thanks Steve but the issue I have is this. I want year to be YYYY and RELEASETIME to be YYYY-MM-DD is this possible? I did what you said above already before I asked my question, but if I make year to be YYYY then RELEASETIME is the same.

---

<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: [September 18, 2021, 9:02pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/874 "2021-09-18T21:02:30Z")

</div>

Make sure these 3 separate sections are as shown

```auto
# DATE OPTION BELOW (Defaults to YYYY-MM-DD so leave this untouched for this output)
# Only leave one of these line below uncommented with no # preceding the line
# regexpreplace "(releaseddate\":\s*\")(\d\d\d\d)-(\d\d)-(\d\d)" "$1$3$4" # DATE in MMDD format
# regexpreplace "(releaseddate\":\s*\")(\d\d\d\d)-(\d\d)-(\d\d)" "$1$4$3" # DATE in DDMM format

# YEAR OPTION BELOW (Defaults to YYYY-MM-DD so leave this untouched for this output)
# Only leave one of these line below uncommented with no # preceding the line
# regexpreplace "(released\":\s*\")(\d\d\d\d)-(\d\d)-(\d\d)" "$1$2-$4-$3" # YEAR in YYYY-DD-MM format
# regexpreplace "(released\":\s*\")(\d\d\d\d)-(\d\d)-(\d\d)" "$1$4-$3-$2" # YEAR in DD-MM-YYYY format
regexpreplace "(released\":\s*\")(\d\d\d\d)-(\d\d)-(\d\d)" "$1$2" # YEAR in YYYY format

---

outputto "RELEASETIME"
sayoutput "DATE"
# say "T00:00:00Z"
# DISCTOTAL

---

# set "RELEASETIME"
```

---

<div class="post-metadata">

### Author: ![xaoc](https://community.mp3tag.de/user_avatar/community.mp3tag.de/xaoc/32/12614_2.png) [@xaoc](https://community.mp3tag.de/u/xaoc)
#### Post date: [September 24, 2021, 3:26am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/875 "2021-09-24T03:26:26Z")

</div>

tag INITIALKEY not working (v5.12 by stevehero)

---

<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: [September 24, 2021, 11:24am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/876 "2021-09-24T11:24:52Z")

</div>

`set "INITIALKEY"`

to

`# set "INITIALKEY"`

---

<div class="post-metadata">

### Author: ![nexu](https://community.mp3tag.de/user_avatar/community.mp3tag.de/nexu/32/10040_2.png) [@nexu](https://community.mp3tag.de/u/nexu)
#### Post date: [October 11, 2021, 10:21pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/877 "2021-10-11T22:21:25Z")

</div>

I'm looking for a way to have the mix name (like: Original Mix, Extended Mix) in the SUBTITLE ID3 field. What do have to change to make it 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: [October 12, 2021, 10:08am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/878 "2021-10-12T10:08:35Z")

</div>

Change:

```auto
# STYLE
outputto "STYLE"
say "Electronic"

```

To

```auto
# STYLE
outputto "STYLE"
say "Electronic"

# SUBTITLE
outputto "SUBTITLE"
SayOutput "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: [October 20, 2021, 11:22pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/879 "2021-10-20T23:22:18Z")

</div>

Unrelated to the script but has anyone noticed a slow search using Chrome? It's my default browser and it's wicked slow. I've disabled any extensions and it's still the same.

Try this link in Chrome and Firefox. Chrome takes up to 10 seconds to load and FF is within a second.

> **[TEST :: Beatport](https://www.beatport.com/search?q=TEST)**
>
> Neue, exklusive, elektronische Dance Musik und House-Tracks zum Herunterladen und Anhören. Verfügbar als MP3 und WAV im weltweit größten Shop für DJs.

---

<div class="post-metadata">

### Author: ![P.unkt](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/0ea827/32.png) [@P.unkt](https://community.mp3tag.de/u/P.unkt)
#### Post date: [October 21, 2021, 9:30am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/880 "2021-10-21T09:30:20Z")

</div>

I can confirm this. Beatport has always been this slow on Chrome.  
Using the Edge browser it's even faster than under Firefox.

---

<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: [October 21, 2021, 11:30am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/881 "2021-10-21T11:30:54Z")

</div>

> [@P.unkt](#):
>
> I can confirm this

Thanks. Thought it just my chrome setup.

---

<div class="post-metadata">

### Author: ![xaoc](https://community.mp3tag.de/user_avatar/community.mp3tag.de/xaoc/32/12614_2.png) [@xaoc](https://community.mp3tag.de/u/xaoc)
#### Post date: [November 22, 2021, 7:46am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/882 "2021-11-22T07:46:50Z")

</div>

Parsing bug - genre Big Room writing to tag as Mainstage  
[Trance 100 - 2014 от Armada Music Albums на Beatport](https://www.beatport.com/release/trance-100-2014/1240431)

---

<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: [November 23, 2021, 10:21pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/883 "2021-11-23T22:21:21Z")

</div>

> [@xaoc](#):
>
> Parsing bug - genre Big Room writing to tag as Mainstage

It's not a bug, just beatports JSON section in the HTML code where the info and others are using Bigroom whereas the HTML (What you see is using a different value). Probably won't be changing this to get the parse the HTML section.

---

<div class="post-metadata">

### Author: ![iamyou](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/c68b51/32.png) [@iamyou](https://community.mp3tag.de/u/iamyou)
#### Post date: [November 30, 2021, 5:38pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/884 "2021-11-30T17:38:52Z")

</div>

> [@stevehero](#):
>
> Try this link in Chrome and Firefox. Chrome takes up to 10 seconds to load and FF is within a second.  
> [TEST :: Beatport](https://www.beatport.com/search?q=TEST)

Late reply, but thought I would test this 🙂  
In Chrome, it is 10+ seconds,  
but in Vivaldi (which is based on Chromium), it's about 1.5 seconds

---

<div class="post-metadata">

### Author: ![DeadMau5](https://community.mp3tag.de/user_avatar/community.mp3tag.de/deadmau5/32/4897_2.png) [@DeadMau5](https://community.mp3tag.de/u/DeadMau5)
#### Post date: [December 3, 2021, 5:44pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/885 "2021-12-03T17:44:16Z")

</div>

Hi. I can't use the script. I put all the files in the right folder as expected, but there are no options for working with the script in the program menu

![Screenshot_3](https://community.mp3tag.de/uploads/default/original/2X/b/b5aa9c28aaab464be8d86432d8a9930f56bc8705.png)  
 ![Screenshot_1](https://community.mp3tag.de/uploads/default/original/2X/6/65a9a3e376dfa8fb78917a69c11282dae587d63b.png)

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [December 3, 2021, 6:58pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/886 "2021-12-03T18:58:21Z")

</div>

> [@DeadMau5](#):
>
> I put all the files in the right folder as expected, but there are no options for working with the script in the program menu

> [@Having additional SRC show up in program menu?](https://community.mp3tag.de/t/having-additional-src-show-up-in-program-menu/55322/13):
>
> The folders you can see on your screenshot below MP3Tag are not typical for the MP3Tag-folder in %appdata%. It looks as if you you show us the windows-program-folder. Also other folders besides MP3Tag seem to be typical folders in the program-folder. To go to the %appdata%-folder you have to open the windows-explorer, click on the folder-icon in the adress bar so that it gets blue and then write %appdata%. Or go the search field of windows and write %appdata% there. The reason you have to do…

---

<div class="post-metadata">

### Author: ![iamyou](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/c68b51/32.png) [@iamyou](https://community.mp3tag.de/u/iamyou)
#### Post date: [December 3, 2021, 8:11pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/887 "2021-12-03T20:11:13Z")

</div>

> [@DeadMau5](#):
>
> Hi. I can't use the script. I put all the files in the right folder as expected, but there are no options for working with the script in the program menu

Try finding your MP3Tag path, in your user profile,  
ie.  
**C:\Users\ \< USER \> \AppData\Roaming\Mp3tag\data\sources**

---

<div class="post-metadata">

### Author: ![djepeto](https://community.mp3tag.de/user_avatar/community.mp3tag.de/djepeto/32/23132_2.png) [@djepeto](https://community.mp3tag.de/u/djepeto)
#### Post date: [December 21, 2021, 6:36pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/888 "2021-12-21T18:36:36Z")

</div>

Whether there is a possibility for TRACK/TOTALTRACKS field?

---

<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 21, 2021, 6:55pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/889 "2021-12-21T18:55:17Z")

</div>

Not possible atm until this feature is added.

> [@JSON Parsing - Counting inside an array, not the array itself](https://community.mp3tag.de/t/json-parsing-counting-inside-an-array-not-the-array-itself/50614):
>
> Is it possible to have a counter in a json\_foreach loop after selection of an object? The reason I ask is I want to check the component after selecting it and if it says Release Track Listing then count each. Here's the code snippet: outputto "TOTALTRACKS" json\_foreach "tracks" json\_select "component" if "Release Track Listing" ## Here is where I would like to count inside the if statement. endif json\_foreach\_end

---

<div class="post-metadata">

### Author: ![owlcatz](https://community.mp3tag.de/user_avatar/community.mp3tag.de/owlcatz/32/9883_2.png) [@owlcatz](https://community.mp3tag.de/u/owlcatz)
#### Post date: [December 21, 2021, 6:56pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/890 "2021-12-21T18:56:12Z")

</div>

Sure, just set TOTALTRACKS=10  
or however many are on the release. It seems to be a standard field on the Beatport scripts when getting COMPILATION=1 ... HTH

---

<div class="post-metadata">

### Author: ![owlcatz](https://community.mp3tag.de/user_avatar/community.mp3tag.de/owlcatz/32/9883_2.png) [@owlcatz](https://community.mp3tag.de/u/owlcatz)
#### Post date: [December 21, 2021, 6:59pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/891 "2021-12-21T18:59:04Z")

</div>

@stevehero - How do I get tracks 1-9 to get leading zeroes on them? I tried the scripts, but I don't think I have it right or does it not work yet? Thank you! 🙂

---

<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 21, 2021, 7:10pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/892 "2021-12-21T19:10:40Z")

</div>

No the compilation = 1 is derived from whether it is various artists or not. Cannot pad the tracks until that feature is added I linked above.

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

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