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

<div class="post-metadata">

### Author: ![littledaga](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/5f9b8f/32.png) [@littledaga](https://community.mp3tag.de/u/littledaga)
#### Post date: [October 31, 2020, 10:04am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/690 "2020-10-31T10:04:32Z")

</div>

Thanks updating to the latest version fixed the issue

---

<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 31, 2020, 6:29pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/691 "2020-10-31T18:29:26Z")

</div>

Works fine. All the search by release scripts work of the exact same `.inc` file so it's impossible that different search scripts behave differently. You said you have the cat number in your directory before so this would be the cause like I've said before.

---

<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: [November 1, 2020, 7:56pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/692 "2020-11-01T19:56:25Z")

</div>

Hi. I'm running v5.0 beta. Are there any plans to bring back single track search by filename?

---

<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 1, 2020, 8:41pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/693 "2020-11-01T20:41:53Z")

</div>

Yes.................

> [@stevehero](#):
>
> ...I might get the single tracks done this weekend hopefully. I want to finish off the main release scripts first so it could be next weekend.

---

<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: [November 1, 2020, 8:48pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/694 "2020-11-01T20:48:08Z")

</div>

Thanks Steve. The work you do with this script is just exceptional.

---

<div class="post-metadata">

### Author: ![SpirosG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/spirosg/32/8589_2.png) [@SpirosG](https://community.mp3tag.de/u/SpirosG)
#### Post date: [November 1, 2020, 9:36pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/695 "2020-11-01T21:36:00Z")

</div>

Hi @stevehero, i have two questions!

Is it possible to ignore specific pasterns when you are searching for releases?  
For example when an album (Directory) starts with **VA -** 15 Years Full Pupp Pt.4 if you include the **VA -** you are getting an error, if you remove the **VA -** from the search everything works fine

Also, is it possible to exclude the last "word" of a Directory by adding some kind of "code" in your script  
For example if we have a directory like VA - 15 Years Full Pupp Pt.4 **FP072** is there any way to always ignore the last part/word (Bold one)?

Thank you!

---

<div class="post-metadata">

### Author: ![ms6676749](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/b4bc9f/32.png) [@ms6676749](https://community.mp3tag.de/u/ms6676749)
#### Post date: [November 2, 2020, 8:24pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/696 "2020-11-02T20:24:30Z")

</div>

Both are in there. You just have to uncomment the sections since stevehero and I had a disagreement on use of non-standard tags, which were what I use for Catalog ID and Month Day. Rather than get into another disagreement with him, I just commented those sections out. Just uncomment them and set the outputto which ever tagfield you are going to use for those two.

I wrote my script in a way that it is easily modified.

---

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

</div>

I've updated the search regexs for the filename and directory scripts.

The regex you need for removing the last word is something like this `\s+\S+$` so that will result in this for the **Beatport by &stevehero v5.0#RELEASE Search by &Directory.src** file which will also remove the VA also.

```auto
[SearchBy]=Directory ||$trim($regexp($regexp($regexp(%_directory%,'\b-\b|_', ),'(?i)\[.*\]|cd\s*\d*|[^\s]+.com|\bep\b|feat\.|ft\.|\bom\b|\boriginal\b|\bclub\b|\bmix\b|\bremix\b|\bthe\b|vinyl|web|www[^\s]+|[^\w\s]|\b&*amp|\b(various artists|v\.?a\.?)\b|\s+\S+$',),'\s+', ))||%s&per-page=25

```

---

<div class="post-metadata">

### Author: ![SpirosG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/spirosg/32/8589_2.png) [@SpirosG](https://community.mp3tag.de/u/SpirosG)
#### Post date: [November 3, 2020, 4:11pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/698 "2020-11-03T16:11:16Z")

</div>

The regex works perfectly!

Thank you, appreciated! 👍

---

<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 3, 2020, 10:31pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/699 "2020-11-03T22:31:42Z")

</div>

V5.0 download now in the starting post.

Hopefully that's the last of the major rewrites until Beatport change sites again.

**You need to upgrade to version 3.03 of mp3tag.**

As always if you want to donate if you find these semi-useful ([you can go here](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=EZVJN8ZLEU8KC&source=url))

Single tracks included.

Here's the complete list of scripts available.

- ARTWORK Search by (Album)Artist + Release
- ARTWORK Search by Release
- RELEASE Direct by BEATPORT RELEASE ID
- RELEASE Direct by Www(URL)
- RELEASE Direct by www(URL) (Genre Tag Only)
- RELEASE Search by (Album)Artist (150 Results)
- RELEASE Search by (Album)Artist + Release
- RELEASE Search by (Album)Artist + Release (150 Results)
- RELEASE Search by (Album)Artist + Release (Genre Tag Only)
- RELEASE Search by (Album)Artist + Release (Sorted by Date Asc)
- RELEASE Search by (Album)Artist + Release (Sorted by Date Desc)
- RELEASE Search by (Album)Artist + TiTle
- RELEASE Search by Artist
- RELEASE Search by DireCtory
- RELEASE Search by Filename
- RELEASE Search by ReleaSe
- RELEASE Search by Release (150 Results)
- RELEASE Search by TitlE
- TRACK Direct by BEATPORT\_TRACK\_ID
- TRACK Direct by BEATPORT\_TRACK\_URL
- TRACK Search by (AlbuM)Artist + Title
- TRACK Search by FiLename
- TRACK Search by TItle

---

<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: [November 4, 2020, 7:13am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/700 "2020-11-04T07:13:03Z")

</div>

Thanks for the new release.  
I get the following error message with every script:

![image](https://community.mp3tag.de/uploads/default/original/2X/5/5e79d1bf9ab828acf896956c64cb35ee98364337.png)

"URl must contain a hostname."

Did I miss something?

EDIT: The following line in every script is wrong:

[Include]=Beatport by &stevehero v5.0 Search Release.inc  
The correct file name is Beatport by &stevehero v5.0#Search Release.inc

After fixing this I get the following error message:

![image](https://community.mp3tag.de/uploads/default/original/2X/e/e04a3a65a73445e155623a4df2c39befd7ce821d.png)

It's this release:

> **[Area Data von idiom auf Beatport](https://www.beatport.com/release/area-data/3144336)**
>
> Idiom is a Berlin based music label. Idiom is a language, a music language. Like everything, a language is in constant mutation and transformation. The goal is to acknowledge what's behind the changing, the abiding, the idiom itself.

---

<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 4, 2020, 11:04am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/701 "2020-11-04T11:04:01Z")

</div>

Opps, that should be fixed. Uploaded a new zip to the starting post with the fixed filenames.

The search for `AREA DATA Hugo` works with me when testing the **RELEASE Search** scripts.

The 404 error usually means you have to limit the search a bit such as taking out the catalog number as beatports search behaves weirdly with that. Sometimes it works, sometimes it doesn't.

---

<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: [November 4, 2020, 1:18pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/702 "2020-11-04T13:18:59Z")

</div>

> [@stevehero](#):
>
> The 404 error usually means you have to limit the search a bit such as taking out the catalog number as beatports search behaves weirdly with that.

Could you please elaborate on that a bit?

I'm using the  
Beatport by &stevehero v5.0#RELEASE Search by (Album)Artist + Release (Sorted by Date Desc).src  
script.

Where do I have to exclude the catalogue number?  
And why not exclude it in general, due to the fact that you cannot search by cat numbers at all on Beatport?

---

<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 4, 2020, 1:36pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/703 "2020-11-04T13:36:35Z")

</div>

It doesn't search the tag field catalog but your album field may contain it. I'll add a regex to remove anything from the album field between the square brackets this evening.

---

<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: [November 4, 2020, 1:39pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/704 "2020-11-04T13:39:34Z")

</div>

> [@stevehero](#):
>
> your album field may contain it

No, it doesn't. Album field contains nothing but the release name.

---

<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 4, 2020, 1:54pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/705 "2020-11-04T13:54:51Z")

</div>

Like I said searching 'AREA DATA Hugo' works.

Perhaps try Mp3tag v3.03c. I thought 3.03 was the required version but on double checking it's not.

---

<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: [November 5, 2020, 9:59am UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/706 "2020-11-05T09:59:19Z")

</div>

Thanks.  
One more thing: I tried to put ARTIST and RELEASE (by editing the "Beatport by &stevehero v5.0 RELEASE Search by (Album)Artist + Release (Sorted by Date Desc).src" file) in one line without success - how can I do that?

![image](https://community.mp3tag.de/uploads/default/original/2X/6/6b122fd8bbfb8e9d16dc2bc0eb6469b867c3582c.png)

So I would like only one field containing "RELEASE Search by Release & Artist:"

---

<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 5, 2020, 12:38pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/707 "2020-11-05T12:38:38Z")

</div>

That's something I've never tried as I didn't see much point. Perhaps ask a question on the help for WSF section and see. You can use tab to tab down or shift tab to tab back up.

---

<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: [November 5, 2020, 12:50pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/708 "2020-11-05T12:50:27Z")

</div>

What's "WSF section"?

---

<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 5, 2020, 2:20pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/709 "2020-11-05T14:20:18Z")

</div>

Web source framework. [https://community.mp3tag.de/c/development/web-sources-discussion/15](https://community.mp3tag.de/c/development/web-sources-discussion/15)

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

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