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

<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 4, 2009, 10:07pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/81 "2009-11-04T22:07:27Z")

</div>

> [@Pufas](#):
>
> There's a bug in last script, it creates empty keyboards tag. Here's patched version.

brilliant ![:music:](https://community.mp3tag.de/uploads/default/original/1X/2ba05d1ade5eb0d15fc173be6f717dbe63890a70.gif ":music:")

few small glitches for bug-report:  
[This](http://www.discogs.com/release/1055571) out of style release still cannot receive (but I understand what mp3tag have bug about it )).  
duplicate string in code - regexpreplace "Written[-][Bb]y" "Written By"  
and cannot receive "Box Set" in media format ([this example](http://www.discogs.com/release/1284962)) - and I dont can tune it ( - please give tip, if this possible

---

<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 5, 2009, 3:57pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/82 "2009-11-05T15:57:33Z")

</div>

> [@morrison](#):
>
> brilliant ![:music:](https://community.mp3tag.de/uploads/default/original/1X/2ba05d1ade5eb0d15fc173be6f717dbe63890a70.gif ":music:")
> 
> few small glitches for bug-report:  
> [This](http://www.discogs.com/release/1055571) out of style release still cannot receive (but I understand what mp3tag have bug about it )).  
> duplicate string in code - regexpreplace "Written[-][Bb]y" "Written By"  
> and cannot receive "Box Set" in media format ([this example](http://www.discogs.com/release/1284962)) - and I dont can tune it ( - please give tip, if this possible

Fixed. I'll think something about 3x Shakiras and post v1.21.

EDIT: v1.21 published is out. Check first post (as always).

[Discogs\_xml\_all.src](https://community.mp3tag.de/uploads/default/original/2X/0/030b8411b5935193413fa418f13cd4abdd943269.src) (39.6 KB)

---

<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 5, 2009, 5:45pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/83 "2009-11-05T17:45:51Z")

</div>

thank you!

small glitch - now for box set release missed releasetype and new strange values of totaltrack (T6) ![:book:](https://community.mp3tag.de/uploads/default/original/1X/0036d5b68f6226c53f6c68abfd0a7b8096fd4505.gif ":book:")

and offtopic question about customize action part of script. Can I move (cut) from TMPCR to separate fields only main (for me) credits like MIX, Producer etc., and format other track credits to one field ? I'm afraid need to introduce so many new credits fields in the player DB.. Also I try to combine into one large field (like on the html version discogs site) credits of release - and this too does not work  
In regexp I'm fully 0 ☹

---

<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 6, 2009, 8:05am UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/84 "2009-11-06T08:05:51Z")

</div>

Read [this](https://community.mp3tag.de/t/8641/57).  
I pretty much explained everything there.

About that total tracks and big-box-sets just remove totaltracks part from script...

---

<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 6, 2009, 8:19am UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/85 "2009-11-06T08:19:57Z")

</div>

Thanks again man )

and excuse me for careless reading .. Indeed, everything has already been described)

---

<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 6, 2009, 9:36am UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/86 "2009-11-06T09:36:19Z")

</div>

> [@Pufas](#):
>
> About that total tracks and big-box-sets just remove totaltracks part from script...

Yes, but it does`t fix release type for box-set release. I temporarily fixed like this:

```
# RELEASETYPE fixed
findinline "<descriptions>"
#findinline "<format name"
#findinline ">"
#if "<descriptions>"
    gotochar 1
    outputto "RELEASETYPE"
    replace "</description><description>" ", "
    findinline "<description>"
    sayuntil "</description>"
    findinline "</format>"
    ifnot "</formats>"
        do
            say " / "
            findinline "<description>"
            sayuntil "</description>"
            findinline "</format>"
        while "<format "
    endif
#endif

```

---

<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 6, 2009, 1:41pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/87 "2009-11-06T13:41:31Z")

</div>

Can You give me discogs link?

---

<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 6, 2009, 10:24pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/88 "2009-11-06T22:24:01Z")

</div>

[this example](http://www.discogs.com/release/1284962)

---

<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 7, 2009, 5:41pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/89 "2009-11-07T17:41:13Z")

</div>

Hi Pufas,

The script misses all Credits, individual track Credits and Notes on [this one](http://www.discogs.com/Kent-R%C3%B6d/release/1994871) for some reason...?

Regards,

//Windjammer

---

<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 7, 2009, 8:46pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/90 "2009-11-07T20:46:45Z")

</div>

Hi Pufas,

Know I mentioned it before but I really, really think you should add COVER to REMOVE FIELDS EXCEPT in your actions... ![:ph34r:](https://community.mp3tag.de/uploads/default/original/1X/d9d21e0e122fbe04cbaaa509828a996924771538.gif ":ph34r:")

//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 7, 2009, 8:53pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/91 "2009-11-07T20:53:07Z")

</div>

> [@Windjammer](#):
>
> Hi Pufas,
> 
> The script misses all Credits, individual track Credits and Notes on [this one](http://www.discogs.com/Kent-R%C3%B6d/release/1994871) for some reason...?
> 
> Regards,
> 
> //Windjammer

Yea, 1.21 won't work with any other release not just this one. I guess best option for now is to use v1.20 .src & v1.21 actions until I fix this mess.

---

<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 7, 2009, 9:22pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/92 "2009-11-07T21:22:16Z")

</div>

> [@Pufas](#):
>
> Yea, 1.21 won't work with any other release not just this one. I guess best option for now is to use v1.20 .src & v1.21 actions until I fix this mess.

Sure, no problem, could you please re-post the 1.20 .src here?

---

<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 8, 2009, 10:25am UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/93 "2009-11-08T10:25:50Z")

</div>

v1.22 is out.

> [@Windjammer](#):
>
> Hi Pufas,
> 
> The script misses all Credits, individual track Credits and Notes on [this one](http://www.discogs.com/Kent-R%C3%B6d/release/1994871) for some reason...?
> 
> Regards,
> 
> //Windjammer

That's because discogs gives only "Accepted" version of a release as XML:  
[http://www.discogs.com/history?release=1994871&diff=2](http://www.discogs.com/history?release=1994871&diff=2)

---

<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 8, 2009, 1:26pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/94 "2009-11-08T13:26:15Z")

</div>

> [@Pufas](#):
>
> That's because discogs gives only "Accepted" version of a release as XML:  
> [http://www.discogs.com/history?release=1994871&diff=2](http://www.discogs.com/history?release=1994871&diff=2)

Thanks for the 1.22 update, you are doing a marvelous job!

OK, but I'm not sure what you mean by "Accepted". For me [this "Kaleidoscope](http://www.discogs.com/Ti%C3%ABsto-Kaleidoscope/release/1950200)" release has the same level of Acceptance (This release data is new to the Discogs database and has not received a vote yet.) as [this "Röd"](http://www.discogs.com/Kent-R%C3%B6d/release/1994871) release, but ["Kaleidoscope"](http://www.discogs.com/Ti%C3%ABsto-Kaleidoscope/release/1950200) works fine with your script and with ["Röd"](http://www.discogs.com/Kent-R%C3%B6d/release/1994871) it only grabs the top and VINYLTRACK. Is there maybe an error in this Discogs release? Since it's a CD release there should be no VINYLTRACKs, right? What do you think? What am I missing?

Regards,

/Windjammer

---

<div class="post-metadata">

### Author: ![Innuendo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/898d66/32.png) [@Innuendo](https://community.mp3tag.de/u/Innuendo)
#### Post date: [November 8, 2009, 2:18pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/95 "2009-11-08T14:18:43Z")

</div>

> [@Windjammer](#):
>
> Thanks for the 1.22 update, you are doing a marvelous job!

A marvelous job is truly an understatement. Pufas has been relentless at fixing bugs & tweaking. Furthermore, when all these picky people come in (like me) requesting changes and additions he hasn't refused a single request & has implemented every one.

Great job, Pufas! I really appreciate your hard work.

---

<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 8, 2009, 3:04pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/96 "2009-11-08T15:04:48Z")

</div>

> [@Windjammer](#):
>
> Thanks for the 1.22 update, you are doing a marvelous job!
> 
> OK, but I'm not sure what you mean by "Accepted". For me [this "Kaleidoscope](http://www.discogs.com/Ti%C3%ABsto-Kaleidoscope/release/1950200)" release has the same level of Acceptance (This release data is new to the Discogs database and has not received a vote yet.) as [this "Röd"](http://www.discogs.com/Kent-R%C3%B6d/release/1994871) release, but ["Kaleidoscope"](http://www.discogs.com/Ti%C3%ABsto-Kaleidoscope/release/1950200) works fine with your script and with ["Röd"](http://www.discogs.com/Kent-R%C3%B6d/release/1994871) it only grabs the top and VINYLTRACK. Is there maybe an error in this Discogs release? Since it's a CD release there should be no VINYLTRACKs, right? What do you think? What am I missing?
> 
> Regards,
> 
> /Windjammer

Only last version of "accepted" release will show up in XML (or original submission).  
Last version of release (does not matter if it is "accepted" or not) is shown in the webpage.  
In that Rod release  
[original submision](http://www.discogs.com/history?release=1994871&rev=1) (shown in [XML](http://www.discogs.com/release/1994871?f=xml&api_key=1e48c7f4e4))  
[updated version](http://www.discogs.com/history?release=1994871&rev=2) (shown in [webpage](http://www.discogs.com/release/1994871))  
are classified as "Needs Vote" and thus "original submision" is shown in xml.

In Tiesto release this is [last "accepted" version](http://www.discogs.com/history?release=1950200&rev=15) (shown in XML) and [last updated that "needs vote"](http://www.discogs.com/history?release=1950200&rev=20) (shown in webpage).  
At least that's how I imagine it. I hope I explained well enough.

And that VINYLTRACK should disappear after you apply actions (!).

---

<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 8, 2009, 7:39pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/97 "2009-11-08T19:39:07Z")

</div>

> [@morrison](#):
>
> [this example](http://www.discogs.com/release/1284962)

> [@Pufas](#):
>
> v1.22 is out.

not good changes for this release)

now we lose genres, styles, tracknames, releasetype...  
nothing changes by remove totaltracks part

---

<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 8, 2009, 8:23pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/98 "2009-11-08T20:23:48Z")

</div>

> [@Pufas](#):
>
> Only last version of "accepted" release will show up in XML (or original submission).  
> Last version of release (does not matter if it is "accepted" or not) is shown in the web-page.
> 
> At least that's how I imagine it. I hope I explained well enough.
> 
> And that VINYLTRACK should disappear after you apply actions (!).

OK, thanks for the explanation, now I (almost) understand why... ![:huh:](https://community.mp3tag.de/uploads/default/original/1X/f15ee73c0fd9ec3b0db7481f0558638f8ee224ce.gif ":huh:") Now I only have to wait for those new changes in that release to be "Accepted"... 🕶 ![:music:](https://community.mp3tag.de/uploads/default/original/1X/2ba05d1ade5eb0d15fc173be6f717dbe63890a70.gif ":music:")

---

<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 8, 2009, 8:54pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/99 "2009-11-08T20:54:30Z")

</div>

> [@morrison](#):
>
> not good changes for this release)
> 
> now we lose genres, styles, tracknames, releasetype...  
> nothing changes by remove totaltracks part

Here's patched script.

[Discogs\_xml\_all.src](https://community.mp3tag.de/uploads/default/original/2X/0/00e3c0b00ef853ead0d8dc23083d31490bb633d3.src) (41 KB)

---

<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 8, 2009, 9:04pm UTC](https://community.mp3tag.de/t/ws-discogs-all/8641/100 "2009-11-08T21:04:38Z")

</div>

worked! 🙂

thank you

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

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