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

<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:** [April 9, 2020, 3:16pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/588 "2020-04-09T15:16:48Z")

</div>

> 1. **Original Mix** : Original Mix not appending even after I changed that section of the script.

This was working okay with the first script you posted.

> 1. **Label** : Move the publisher (label) catalogue number to be appended after the label name instead of after the album name. I tried the below but it didn't work:

See lines

```auto
# Change by stevehero for Ninja_Theory
outputto "PUBLISHER"
say " ["
sayoutput "CATALOG #"
say "]"

```

> 1. **Genre** : I followed the guide but can't get Deep House to show as "Deep House". I understand the logic of having "House" prefixed but I prefer it reading normal.

See lines:

```auto
# Change by stevehero for Ninja_Theory
# Commented these two lines out below.
# regexpreplace "(trackGenre>>)(Dee|Ele|Min|Pro|Tec)(.+?)\s?(House)?.{0}>" "$1$4 $2$3>" # 'Progressive House' to 'House Progressive'
# rep[_temp Beatport by &stevehero v4.4#RELEASE Search by &Filename.src|attachment](upload://6gPAV3R6CqbC9O5aIYFHN0VY9eC.src) (21.7 KB) 

```

> 1. **Unsyncedlyrics** : The default text about exclusive to Beatport etc. always appears here even though I have.

This was all commented out and worked.

[\_edit Beatport by &stevehero v4.4#RELEASE Search by &Filename.src](https://community.mp3tag.de/uploads/short-url/6gPAV3R6CqbC9O5aIYFHN0VY9eC.src) (21.7 KB)

---

<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:** [April 9, 2020, 3:34pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/589 "2020-04-09T15:34:46Z")

</div>

@stevehero thanks so much. I wonder what is happening with my installation as none of this works for me, even after copying your file to data/sources and renaming it (removed the temp\_ prefix). Have you heard of such an issue before?

1. Initial key does not show
2. Original Mix does not append to the title
3. Catalogue number still appends to album name
4. Genre is still "House Deep" etc.
5. Unsyncedlyrics still write/tag

---

<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:** [April 10, 2020, 10:57am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/590 "2020-04-10T10:57:57Z")

</div>

Just copy the file I posted and click it without renaming. Never had any issues like you describe.

I have tested the script I attached and it definitely does all those things you want.

---

<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:** [April 11, 2020, 5:14pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/591 "2020-04-11T17:14:22Z")

</div>

Thanks Steve. I'm not sure why it is not working for me. Even when I copy it directly as is into my folder, I don't see any option with the "temp" prefix.

I'm becoming familiar with your default settings, so it's not a problem. However, I do wonder why I can't get it to work (for technical / knowledge reasons).

---

<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:** [April 11, 2020, 7:12pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/592 "2020-04-11T19:12:45Z")

</div>

> [@Ninja\_Theory](#):
>
> Thanks Steve. I'm not sure why it is not working for me. Even when I copy it directly as is into my folder, I don't see any option with the "temp" prefix.

You're copying the file to the wrong folder. Check the forum where the file needs to be. It's in the starting post also.

---

<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:** [April 12, 2020, 11:13am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/593 "2020-04-12T11:13:43Z")

</div>

Thanks I missed that the files must go here: `%appdata%\mp3tag\data\sources`

Working perfectly now other than the unsyncedlyrics still writing to the ID3 tag even though I commented them out - but I don't mind.

Your work is 10/10 dude. Much respect.

---

<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:** [April 12, 2020, 12:20pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/595 "2020-04-12T12:20:20Z")

</div>

Ask on the general help section of the forum those questions seeing as it relates to a different software the Mixmeister forum would be your best bet.

If the items are commented out it shouldn't write to the tag. It's impossible.

---

<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:** [April 12, 2020, 2:05pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/596 "2020-04-12T14:05:34Z")

</div>

> [@stevehero](#):
>
> If the items are commented out it shouldn't write to the tag. It's impossible.

`Unsyncedlyrics` is commented out as per the bottom section of the attached src file. Everything else is working (thanks to you). I decided to keep your original positioning of the catalogue number next to the album name - on further thought I realised that this makes a lot more sense.

[\_temp Beatport by &stevehero v4.4#RELEASE Search by (Album)Artist &Release.src](https://community.mp3tag.de/uploads/short-url/xfvljqRkBiEjZLvyY96ZXFKAa2v.src) (22.0 KB)

---

<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:** [April 12, 2020, 3:40pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/597 "2020-04-12T15:40:10Z")

</div>

> [@Ninja\_Theory](#):
>
> `Unsyncedlyrics` is commented out

Yes, this script doesn't write to the unsyncedlyrics field. I've just tested it.

---

<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:** [April 12, 2020, 4:06pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/598 "2020-04-12T16:06:48Z")

</div>

It's working now. I must have done something wrong when I tested. Thanks 😃

---

<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:** [April 12, 2020, 4:07pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/599 "2020-04-12T16:07:15Z")

</div>

How can I write the year as YYYY but the releasetime as YYYY-MM-DD ?

Edit: Not an urgent request at all. I'm wondering how Roon and iTunes will handle the YYYY-MM-DD format. Let me test. No need to change this if they read the year as YYYY (for smart playlists etc.).

---

<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:** [April 12, 2020, 6:21pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/600 "2020-04-12T18:21:52Z")

</div>

> [@Ninja\_Theory](#):
>
> How can I write the year as YYYY but the releasetime as YYYY-MM-DD ?

Open the script and see the year section. It's easy. Read that section. Best keep the release time formatted as that if using iTunes.

foobar2000 supports FLAC if you're dealing with lossless files, which was my main reason for changing to it. Don't miss iTunes one bit.

No reason for keeping WAVs IMO. They can always be converted back if there's really a need.

---

<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:** [April 14, 2020, 8:13pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/601 "2020-04-14T20:13:10Z")

</div>

Sometimes I want to search by track name (using the single track search by filename src) but I want it to populate the label catalogue number instead of the Beatport Track number (after the album name). I tried to edit the src file (attached) but now I just get "[]" after the album name. Does anyone know what I must change to do this?

The problem with doing this using the release search by filename src is that it looks for the release name but the file string won't have the release name.

[\_temp Beatport by &stevehero v4.4#SINGLE TRACK Search by Fi&Lename.src](https://community.mp3tag.de/uploads/short-url/62WEo729IpDbZ8N6hGRtCE5WnvF.src) (19.4 KB)

---

<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:** [April 14, 2020, 10:46pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/602 "2020-04-14T22:46:18Z")

</div>

Not sure what you mean. Does using the artist or album artist and release not work for you.

That's the one I use 90% of the time. The other is the direct URL one.

It's not possible to search by catalog number.

> **[PHAZD005B :: Beatport](https://www.beatport.com/search?q=PHAZD005B)**
>
> 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.

But that catalog # **PHAZD005B** does exist.

> **[darko (Extended Version) von Phazing auf Beatport](https://www.beatport.com/release/darko-extended-version/2439775)**
>
> Probieren Sie darko (Extended Version) von Dirty South auf Beatport

---

<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:** [April 15, 2020, 7:01pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/603 "2020-04-15T19:01:18Z")

</div>

Some of my older music does not have the album tags. So I search for those using the track by filename. But when it finds the album/release, I can't get the catalogue number to populate the square brackets after the release name (as per my description above). So I'm wondering how I can do this using the track by filename script? (is it possible).

Right now I just use a workaround. Once the track by filename script finds the track and populates the album, I then do a release search and doing that adds the release number in. But before I do that, the track by filename populates the TRACK ID (which I don't want).. also it always makes the track #1 on the album (which I know is expected behaviour).

---

<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:** [April 16, 2020, 3:01pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/604 "2020-04-16T15:01:03Z")

</div>

I created a custom tag called ROONTRACKTAG (this is a special Roon tag that writes ID3 tags back to Roon as Roon tag). I'm trying to copy the INITIALKEY to this ID3 tag in MP3Tag but I can't get the square brackets to write - only the INITIAL KEY copies to the new tag.

How can I get the "[K" and "]" to wrap around the INITIALKEY that is copied to the new tag I created?

The lines I added are:

```
ROONTRACKTAG
outputto "ROONTRACKTAG"
say " ["
sayoutput "INITIALKEY"
say "]"

```

The INITIALKEY shows fine but the square brackets don't show up. I also tried the below with "K" as a prefix (for Key) but same issue as above - only the INITIALKEy shows.

```
ROONTRACKTAG
outputto "ROONTRACKTAG"
say " [K"
sayoutput "INITIALKEY"
say "]"

```

Edit: I wrote an action to handle this in the meanwhile and it's working well - but it would be nice to be handled when tagging (if possible).

---

<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:** [April 16, 2020, 4:03pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/605 "2020-04-16T16:03:36Z")

</div>

```
#ROONTRACKTAG
outputto "ROONTRACKTAG"
say " ["
sayoutput "INITIALKEY"
say "]"

```

1. Add `#` to before `ROONTRACKTAG` because you don't want that parsed.
2. Those lines must be put close to the bottom of the script. As long as they are below the one that writes to the INTIALKEY tag in the first place.

If you put it at the bottom you can't go wrong.

---

<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:** [April 16, 2020, 8:04pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/606 "2020-04-16T20:04:45Z")

</div>

Thanks Steve. I did have that # there, not sure why it stripped out when I posted my question.

Using the above code, it only writes the first "[" not the end "]". It is placed near the end, directly after the lines that write the INITIALKEY tag in the first place. Any ideas why this is?

---

<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:** [April 16, 2020, 8:25pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/607 "2020-04-16T20:25:16Z")

</div>

Are you using the right script like before which is placed in the correct folder?

Test by commenting out  
`#sayoutput "INITIALKEY"`

To see if the `]` gets written. I assume the script has not been saved or in the correct folder.

---

<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:** [April 16, 2020, 10:48pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/608 "2020-04-16T22:48:55Z")

</div>

Both SRC's are in the right folder (as per OP).

Works perfectly i.e. adds the brackets around INITIALKEY:  
[\_temp Beatport by &stevehero v4.4#SINGLE TRACK Search by Fi&Lename.src](https://community.mp3tag.de/uploads/short-url/utHvJwYv3J0Ib5PgIPQUEFJjoum.src) (19.5 KB)

Only adds the first bracket:  
[\_temp Beatport by &stevehero v4.4#RELEASE Search by (Album)Artist &Release.src](https://community.mp3tag.de/uploads/short-url/kpsf2f95v5iHRNgJ8Sh0aIbMj21.src) (22.4 KB)

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

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