# \[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:** 1
**Showing post:** 265

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [March 4, 2015, 12:55pm UTC](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568/265 "2015-03-04T12:55:00Z")

</div>

> [@skrippi](#):
>
> Hi, very nice script. I'd like to have artist and mixartist in the field for ARTIST and seperated by a comma. How can I code this? Can someone help me?  
> The Problem is, if there is no mixartist there should be no comma. I need a code snipped with an "if..." I think but dunno how to code this. Greez, skrippi 🙂

If you do not know, how to write the proper code in the websource script, ...  
then you can code it afterwards into a Mp3tag action.

Action: Format value  
Field: ARTIST  
Formatstring: **%ARTIST%$if2(', '%MIXARTIST%,)**  
... or ...  
Formatstring: **%ARTIST%[', '%MIXARTIST%]**  
... or ...  
Formatstring: **$trimRight(%ARTIST%,',')**

See also ...  
[beatport.com scripts by stevehero (search & direct) - jaimz mod](https://community.mp3tag.de/t/12568/199)  
[beatport.com scripts by stevehero (search & direct) - jaimz mod](https://community.mp3tag.de/t/12568/201)  
[Need some help with IF](https://community.mp3tag.de/t/16614/1)  
[beatport.com scripts by stevehero (search & direct) - jaimz mod](https://community.mp3tag.de/t/12568/264)  
[beatport.com scripts by stevehero (search & direct) - jaimz mod](https://community.mp3tag.de/t/12568/88)

DD.20150304.1517.CET

---

_[View the full topic](https://community.mp3tag.de/t/ws-beatport-com-by-stevehero-release-single-track-artwork-tagging/12568)._
