# \[WS\] Discogs ALL

**URL:** https://community.mp3tag.de/t/ws-discogs-all/8641
**Category:** Broken Web Sources
**Created:** [July 20, 2009, 6:31pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641 "2009-07-20T18:31:17Z")
**Posts on this page:** 20
**Page:** 7

<div class="post-metadata">

### Author: ![Windjammer](https://community.mp3tag.de/user_avatar/community.mp3tag.de/windjammer/32/68_2.png) [@Windjammer](https://community.mp3tag.de/u/Windjammer)
#### Post date: [November 14, 2009, 12:14pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/121 "2009-11-14T12:14:19Z")

</div>

Pufas,

Why did you change the style of grabbing the tags between 1.23 and 2.0? Was it only because big releases, like +5 CD's where getting slow? The reason I ask is that I'm not really convinced the new way is better... I really loved how all the different roles where split into separate tags. That gave me the opportunity to populate the "main" tags like I wanted. For instance I populated BAND with ARTIST or FEATURING and/or VOCALS, I don't see how I can do that with the 2.0 style of tagging...

Still, I of cause love what you have done/are doing! Thanks!

---

<div class="post-metadata">

### Author: ![Pufas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pufas/32/206_2.png) [@Pufas](https://community.mp3tag.de/u/Pufas)
#### Post date: [November 14, 2009, 12:52pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/122 "2009-11-14T12:52:31Z")

</div>

> [@morrison](#):
>
> 777777 release have track numbers trouble

lol, never seen so much credits.  
I'm having so problems with removing dupe fields, so new version might be bit delayed, when i'll fix all these bugs i'll post 2.02. btw, if you find any new bugs, let me know.

---

<div class="post-metadata">

### Author: ![mp3taglover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/7feea3/32.png) [@mp3taglover](https://community.mp3tag.de/u/mp3taglover)
#### Post date: [November 14, 2009, 2:24pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/123 "2009-11-14T14:24:59Z")

</div>

another bug, when tagging digital release (MP3/WAV), like this one:

[http://www.discogs.com/Simon-Holmes-Now-Is...release/1517191](http://www.discogs.com/Simon-Holmes-Now-Is-The-Time-What-You-Did/release/1517191)

I get an error..

---

<div class="post-metadata">

### Author: ![Pufas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pufas/32/206_2.png) [@Pufas](https://community.mp3tag.de/u/Pufas)
#### Post date: [November 14, 2009, 4:35pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/124 "2009-11-14T16:35:05Z")

</div>

remove # TOTALTRACKS section from script.

---

<div class="post-metadata">

### Author: ![Pufas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pufas/32/206_2.png) [@Pufas](https://community.mp3tag.de/u/Pufas)
#### Post date: [November 14, 2009, 4:47pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/125 "2009-11-14T16:47:43Z")

</div>

> [@Windjammer](#):
>
> Pufas,
> 
> Why did you change the style of grabbing the tags between 1.23 and 2.0? Was it only because big releases, like +5 CD's where getting slow? The reason I ask is that I'm not really convinced the new way is better... I really loved how all the different roles where split into separate tags. That gave me the opportunity to populate the "main" tags like I wanted. For instance I populated BAND with ARTIST or FEATURING and/or VOCALS, I don't see how I can do that with the 2.0 style of tagging...
> 
> Still, I of cause love what you have done/are doing! Thanks!

That's because adding more and more roles to the script was not very 'smart'. I think it was developing wrong way. About that FEATURING and/or VOCALS thing, try using format value MIXARTIST or DJMIX as a template.

---

<div class="post-metadata">

### Author: ![Windjammer](https://community.mp3tag.de/user_avatar/community.mp3tag.de/windjammer/32/68_2.png) [@Windjammer](https://community.mp3tag.de/u/Windjammer)
#### Post date: [November 14, 2009, 6:31pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/126 "2009-11-14T18:31:51Z")

</div>

> [@Pufas](#):
>
> That's because adding more and more roles to the script was not very 'smart'. I think it was developing wrong way. About that FEATURING and/or VOCALS thing, try using format value MIXARTIST or DJMIX as a template.

OK, I understand the problem you where facing, I'll have a look at MIXARTIST & DJMIX to try and learn how to do it. What about AUTHOR/WRITTEN BY on a track level, will MIXARTIST & DJMIX teach me how to do that too? Regards! //Windjammer

---

<div class="post-metadata">

### Author: ![Pufas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pufas/32/206_2.png) [@Pufas](https://community.mp3tag.de/u/Pufas)
#### Post date: [November 14, 2009, 7:35pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/127 "2009-11-14T19:35:15Z")

</div>

> [@morrison](#):
>
> wrong mediatype,totaltracks, totaldisc for 1433718 release (with bonus disc)

As you can see, "Bonus" is written in italic, this means it's a freetext (custom value) and it's not shown in xml, so it's nothing I can do about it.

> [@Windjammer](#):
>
> OK, I understand the problem you where facing, I'll have a look at MIXARTIST & DJMIX to try and learn how to do it. What about AUTHOR/WRITTEN BY on a track level, will MIXARTIST & DJMIX teach me how to do that too? Regards! //Windjammer

Here, I've done if for You, use this template, it will extract info both from overall & per track.  
Format value:

```
VOCALS
$replace($regexp($regexp($regexp($regexp($regexp($regexp($regexp($regexp($regexp($regexp($replace($replace($replace($regexp($regexp($regexp($regexp($regexp($regexp($replace($replace(%CREDTMP%%CRTMP%,<artist>,),</artist>,),<anv>'['^<']'*?</anv>,),<tracks>'['^<']'*?</tracks>,),<role>'['^>']'*?Vocals'['^<']'*?</role>,<role>Vocals</role>),<name>('['^>']'*?)</name><role>Vocals</role>,<*name*>\1</*name*><role>Vocals</role>),<role>'['^<']'*?</role>,),<name>'['^<']'*?</name>,),</*name*><*name*>,;),<*name*>,;),</*name*>,;),;('['^;']'*?);\1;,;\1;),;('['^;']'*?);(.*?;)\1;,;\1;\2),;('['^;']'*?);\1;,;\1;),;('['^;']'*?);(.*?;)\1;,;\1;\2),;('['^;']'*?);\1;,;\1;),;('['^;']'*?);(.*?;)\1;,;\1;\2),;('['^;']'*?);\1;,;\1;),;('['^;']'*?);(.*?;)\1;,;\1;\2),^;,),;'$',),;,',' )

```

Btw, posted v2.02 and we still have issues with TOTALTRACKS with boxets and CD / DVD releases.  
EDIT: v2.03.

---

<div class="post-metadata">

### Author: ![morrison](https://community.mp3tag.de/user_avatar/community.mp3tag.de/morrison/32/203_2.png) [@morrison](https://community.mp3tag.de/u/morrison)
#### Post date: [November 15, 2009, 9:09pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/128 "2009-11-15T21:09:16Z")

</div>

Good job Pufas thanks man

You're not thinking about the inclusion in MIXARTIST field "Mixed by" role (like in [202429 release](http://www.discogs.com/Brand-New-Heavies-Shelter/release/202429)) ? Perhaps it would be convenient

---

<div class="post-metadata">

### Author: ![Pufas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pufas/32/206_2.png) [@Pufas](https://community.mp3tag.de/u/Pufas)
#### Post date: [November 16, 2009, 8:32am UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/129 "2009-11-16T08:32:14Z")

</div>

No, I think I'll leave it for Remix only.

---

<div class="post-metadata">

### Author: ![morrison](https://community.mp3tag.de/user_avatar/community.mp3tag.de/morrison/32/203_2.png) [@morrison](https://community.mp3tag.de/u/morrison)
#### Post date: [November 16, 2009, 8:58am UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/130 "2009-11-16T08:58:32Z")

</div>

NP

I just can't find more bugs ![:w00t:](https://community.mp3tag.de/uploads/default/original/1X/cb01eca72fe9339ff6f3ec9f1e3c5fe002be0f0a.gif ":w00t:")

---

<div class="post-metadata">

### Author: ![morrison](https://community.mp3tag.de/user_avatar/community.mp3tag.de/morrison/32/203_2.png) [@morrison](https://community.mp3tag.de/u/morrison)
#### Post date: [November 16, 2009, 7:11pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/131 "2009-11-16T19:11:12Z")

</div>

) small bug

35810 release - error in DISCNAME for last track

---

<div class="post-metadata">

### Author: ![sommy](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/cdc98d/32.png) [@sommy](https://community.mp3tag.de/u/sommy)
#### Post date: [November 16, 2009, 9:33pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/132 "2009-11-16T21:33:15Z")

</div>

i have problem with all releases with two files  
artist and title doesn't show unless i click mixed cd - that they aren't , so the script cant rename the songs and crashes

for example 1904244 , 1964190 , 1758300

---

<div class="post-metadata">

### Author: ![morrison](https://community.mp3tag.de/user_avatar/community.mp3tag.de/morrison/32/203_2.png) [@morrison](https://community.mp3tag.de/u/morrison)
#### Post date: [November 16, 2009, 9:46pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/133 "2009-11-16T21:46:12Z")

</div>

> [@Pufas](#):
>
> lol, never seen so much credits.

I'm have another crazy release 😳  
1804642 - I have this in FLAC - 143 files, 2.4 Gbytes. Actions applies 25 min on my server (coreduo 2.13 4GB RAM) 😆 . And all tagged right! ~~except vol 7 and half of vol6. And I don't see why..~~ - bad flac tags, fixed with clear )

---

<div class="post-metadata">

### Author: ![morrison](https://community.mp3tag.de/user_avatar/community.mp3tag.de/morrison/32/203_2.png) [@morrison](https://community.mp3tag.de/u/morrison)
#### Post date: [November 16, 2009, 9:54pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/134 "2009-11-16T21:54:39Z")

</div>

> [@sommy](#):
>
> i have problem with all releases with two files  
> artist and title doesn't show unless i click mixed cd - that they aren't , so the script cant rename the songs and crashes
> 
> for example 1904244 , 1964190 , 1758300

You can remove TOTALTRACKS part from a script, before responded Pufas. Should help.

584424 - another release with error in tracks part

---

<div class="post-metadata">

### Author: ![Pufas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pufas/32/206_2.png) [@Pufas](https://community.mp3tag.de/u/Pufas)
#### Post date: [November 17, 2009, 3:05pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/135 "2009-11-17T15:05:12Z")

</div>

> [@sommy](#):
>
> i have problem with all releases with two files  
> artist and title doesn't show unless i click mixed cd - that they aren't , so the script cant rename the songs and crashes
> 
> for example 1904244 , 1964190 , 1758300

Download v2.04, TOTALTRACKS now should work with big box sets, however, tagging CD / DVD and other multi-format releases TOTALTRACKS value will be received total files selected, not CD / DVD or such.

---

<div class="post-metadata">

### Author: ![Windjammer](https://community.mp3tag.de/user_avatar/community.mp3tag.de/windjammer/32/68_2.png) [@Windjammer](https://community.mp3tag.de/u/Windjammer)
#### Post date: [November 17, 2009, 8:55pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/136 "2009-11-17T20:55:49Z")

</div>

Pufas,

Any plans of a "Search by Album" version? Would be nice since I'm lazy and don't want to go to [Discogs.org](http://Discogs.org) and find my album first... ![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:")

//Windjammer

---

<div class="post-metadata">

### Author: ![sommy](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/cdc98d/32.png) [@sommy](https://community.mp3tag.de/u/sommy)
#### Post date: [November 18, 2009, 7:49am UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/137 "2009-11-18T07:49:10Z")

</div>

everything's fine now.thanks.

---

<div class="post-metadata">

### Author: ![Pufas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pufas/32/206_2.png) [@Pufas](https://community.mp3tag.de/u/Pufas)
#### Post date: [November 18, 2009, 7:54am UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/138 "2009-11-18T07:54:34Z")

</div>

> [@Windjammer](#):
>
> Pufas,
> 
> Any plans of a "Search by Album" version? Would be nice since I'm lazy and don't want to go to [Discogs.org](http://Discogs.org) and find my album first... ![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:")
> 
> //Windjammer

yea, i'll also try to create websource without actions. when I have more free time.

---

<div class="post-metadata">

### Author: ![morrison](https://community.mp3tag.de/user_avatar/community.mp3tag.de/morrison/32/203_2.png) [@morrison](https://community.mp3tag.de/u/morrison)
#### Post date: [November 18, 2009, 8:35am UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/139 "2009-11-18T08:35:42Z")

</div>

> [@Windjammer](#):
>
> Any plans of a "Search by Album" version?

Heres two my mods for Pufas script, maybe it can help you.  
Just replace header part of Pufas script by this (I cut this from another websources ![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:"))

Artist - Album search, but it can also search by other fields (catalog# for example). Previously, I had a separate script for cat#, then diskogs improved)

```
# Pufas discogs script search mod
[Name]=Discogs XML AA
[BasedOn]=http://www.discogs.com
[IndexUrl]=http://www.discogs.com/search?type=releases&q=%s&f=xml&api_key=1e48c7f4e4
[AlbumUrl]=http://www.discogs.com/release/
[WordSeperator]=+
[IndexFormat]=%Release%|%_url%|%_preview%|%Comment%
[SearchBy]=%artist% %album%
[Encoding]=UTF-8

[ParserScriptIndex]=...

# Join Lines
JoinUntil "</resp>"

# Result
do
    findinline "<result num"
# Title
    sayregexp "(?<=<title>)[^<]+(?=</title>)" ", " "</result>"
    say "|"
#URL-Release
    sayregexp "(?<=release/)[^<]+(?=</uri>)" ", " "</result>"
    say "?f=xml&api_key=1e48c7f4e4"
    say "|"
#URL-Preview
    sayregexp "(?<=<uri>)[^<]+(?=</uri>)" ", " "</result>"
    say "|"
# Comment
    sayregexp "(?<=<summary>)[^<]+(?=</summary>)" ", " "</result>"
    saynewline
    findinline "</result>"
while "<result num"

[ParserScriptAlbum]=...

```

Second mod - receive http URL in search window (fist mod also receive http instead of xml) for ID search script:

```
# Pufas discogs script http URL mod
[Name]=Discogs XML ID
[BasedOn]=http://www.discogs.com
[IndexUrl]=http://www.discogs.com/release/%s?f=xml&api_key=1e48c7f4e4
[AlbumUrl]=http://www.discogs.com/release/
[WordSeperator]=
[IndexFormat]=%_url%|%_preview%
[SearchBy]=%discogsid%
[Encoding]=utf-8

[ParserScriptIndex]=...

# Join Lines
JoinUntil "</resp>"
# URL
findinline "<release id=\""
sayuntil "\" status"
say "?f=xml&api_key=1e48c7f4e4"
say "|"
gotochar 1
#URL-Preview
findinline "<release id=\"" 
say "http://www.discogs.com/release/"
sayuntil "\" status"
saynewline

[ParserScriptAlbum]=...

```

I did not dare ask Pufas about these improvements, because already made them myself and had many other issues)

---

<div class="post-metadata">

### Author: ![Pufas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pufas/32/206_2.png) [@Pufas](https://community.mp3tag.de/u/Pufas)
#### Post date: [November 18, 2009, 10:57am UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/140 "2009-11-18T10:57:09Z")

</div>

hah! nice work 🙂

[Previous page](https://community.mp3tag.de/t/ws-discogs-all/8641.md?page=6)

[Next page](https://community.mp3tag.de/t/ws-discogs-all/8641.md?page=8)
