# Discogs everything

**URL:** https://community.mp3tag.de/t/discogs-everything/4346
**Category:** Web Sources Scripts
**Created:** [January 16, 2007, 11:14pm UTC](https://community.mp3tag.de/t/discogs-everything/4346 "2007-01-16T23:14:35Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Ydope](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/y/6f9a4e/32.png) [@Ydope](https://community.mp3tag.de/u/Ydope)
#### Post date: [January 16, 2007, 11:14pm UTC](https://community.mp3tag.de/t/discogs-everything/4346/1 "2007-01-16T23:14:35Z")

</div>

Based on dano's Discogs scripts here are 3 extended scripts that get  
**Artist, Album, Genre, Title, Year, Style, Publisher, Mediatype, Mixartist, Cover**  
just like dano's and furthermore  
**Catalog#., Vinylno.** (for vinyl rips), **Band** (for releases by more than one artist, known as 'Album Artist' in foobar), **Country, Credits, Notes and Discogs Release No.**  
That is basically the complete information [discogs.com](http://discogs.com) offers about a release.

From my experience each of these scripts can be used at different opportunities: When you have a correct %artist% or %album% tag or it's easy to type it in, you use one of the respective two scripts. And the third scripts is useful if you have already tagged the release and just want to 'update' the discogs info. Or when you dont have any info besides the filename it's sometimes also the most easy way to just look it up on [discogs.com](http://discogs.com) and use the discogs release no.

1. discogs\_album-ext4.src
  - Containes album search
  - discogs\_artist-ext4.src
  - Containes artist search
  - discogs\_release-ext4.src
  - Uses the discogs release nr. It expects it to be stored in a tag named %discogs-id%.

Note:  
If you store the discogs-id (aka discogs release no.) somewhere else (e.g. in %comment%) you have to change this line:  
[SearchBy]=%discogs-id% (to '[SearchBy]=%comment%') in order for discogs\_release to work best.  
Also recommended in that case is to change this line (for 2 times in 3 scripts each):  
outputto "discogs-id"  
(to 'outputto "comment"').

If something doesnt work, please tell me.

Edit/Update (23.01.2007):

- Fix: when a release had no rating there was an error
- Tweak: no more cases with ';' at the end of notes or credits
- Addition: %discogs-id% also retrieved in discogs\_release script and for various artists albums in discogs\_artist script

Edit (11.02.2007):
- Fix: Hyperlinks in Notes/Credits should now cause no more trouble.

[discogs\_album\_ext4.src](https://community.mp3tag.de/uploads/default/original/2X/e/e3ade7ce90a829aa8d28b67e55e3af3c587eccb5.src) (10.8 KB)

[discogs\_artist\_ext4.src](https://community.mp3tag.de/uploads/default/original/2X/b/b0fff98d5ce821899e4ccbf23480dd72847eb6ca.src) (10.8 KB)

[discogs\_release\_ext4.src](https://community.mp3tag.de/uploads/default/original/2X/8/88740bcc2ad6f6ebab17ba698d03f04a3d437624.src) (10.6 KB)

---

<div class="post-metadata">

### Author: ![akademik](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/ac8455/32.png) [@akademik](https://community.mp3tag.de/u/akademik)
#### Post date: [March 15, 2007, 6:01am UTC](https://community.mp3tag.de/t/discogs-everything/4346/2 "2007-03-15T06:01:52Z")

</div>

Is it possible to add also the DISCOGS-Field "Released:" and to give out the Release-Date in a format like: "Jear, Month"??? That would be great!

---

<div class="post-metadata">

### Author: ![alexinc](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/b9bd4f/32.png) [@alexinc](https://community.mp3tag.de/u/alexinc)
#### Post date: [April 4, 2007, 11:07am UTC](https://community.mp3tag.de/t/discogs-everything/4346/3 "2007-04-04T11:07:53Z")

</div>

massive script, thx! but as i'm kind of new to this all, can anyone tell me how to get rid of "Arranged By, Mixed By, Producer, Written-By" when moving the credits to composer, so winamp directly shows name of composer without "Arranged By, Mixed By, Producer, Written-By"!?

ah well, and 2nd question: if i change "Label:" to Copyright-Field and want the Catalog# right next to the Label in Copyright-Field too, how to get a ": " inbetween Label and Catalog#???

thx i.a.

---

<div class="post-metadata">

### Author: ![Ydope](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/y/6f9a4e/32.png) [@Ydope](https://community.mp3tag.de/u/Ydope)
#### Post date: [April 5, 2007, 12:13pm UTC](https://community.mp3tag.de/t/discogs-everything/4346/4 "2007-04-05T12:13:04Z")

</div>

> [@akademik](#):
>
> Is it possible to add also the DISCOGS-Field "Released:" and to give out the Release-Date in a format like: "Jear, Month"??? That would be great!

Sorry, that's not planned.

> [@alexinc](#):
>
> massive script, thx! but as i'm kind of new to this all, can anyone tell me how to get rid of "Arranged By, Mixed By, Producer, Written-By" when moving the credits to composer, so winamp directly shows name of composer without "Arranged By, Mixed By, Producer, Written-By"!?
> 
> ah well, and 2nd question: if i change "Label:" to Copyright-Field and want the Catalog# right next to the Label in Copyright-Field too, how to get a ": " inbetween Label and Catalog#???
> 
> thx i.a.

%mixartist% ist always of the same structure so you can do that by making an action that does it. But I cant tell you off-hand how-to. If you have no luck yourself maybe ask in the support forum.

---

<div class="post-metadata">

### Author: ![discodad](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/13edae/32.png) [@discodad](https://community.mp3tag.de/u/discodad)
#### Post date: [September 2, 2007, 3:35am UTC](https://community.mp3tag.de/t/discogs-everything/4346/5 "2007-09-02T03:35:15Z")

</div>

Hi Ydope!

I really loved your scripts, they have been a great help. But since yesterday they don't work anymore. Maybe disocgs changed something. Would it be possible for for you to fix them?

Thx a lot for your help

Kindest regards

discodad

---

<div class="post-metadata">

### Author: ![A\_Weakling\_Child](https://community.mp3tag.de/user_avatar/community.mp3tag.de/a_weakling_child/32/62_2.png) [@A\_Weakling\_Child](https://community.mp3tag.de/u/A_Weakling_Child)
#### Post date: [September 2, 2007, 9:50am UTC](https://community.mp3tag.de/t/discogs-everything/4346/6 "2007-09-02T09:50:49Z")

</div>

looks like I've opened a separate topic regarding that, please refer [/t/5390/1](https://community.mp3tag.de/t/5390/1), thanks

---

<div class="post-metadata">

### Author: ![eric00000007](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/ecae2f/32.png) [@eric00000007](https://community.mp3tag.de/u/eric00000007)
#### Post date: [September 2, 2007, 7:59pm UTC](https://community.mp3tag.de/t/discogs-everything/4346/7 "2007-09-02T19:59:49Z")

</div>

Hi everyone,  
I am te new with mp3Tag. It is what I dreamed of for editing and searching music information.

Lets go now in this topic.  
I went on the source files to see what was wrong with this scripts and Discogs. Most errors just come from a gotoline 1, just replace it by gotoline 2, and sometimes there is trouble with saynextnumber, replace it with sayuntil """. I saw also a trouble with a do while.

I went also to those posts:  
[/t/5171/1](https://community.mp3tag.de/t/5171/1)  
[/t/5390/1](https://community.mp3tag.de/t/5390/1)  
[/t/1992/1](https://community.mp3tag.de/t/1992/1)  
[/t/5275/1](https://community.mp3tag.de/t/5275/1)

I get some trouble finding artists or albums with accentued characters with the script on this topic. I get more results with the scripts at [/t/1992/1](https://community.mp3tag.de/t/1992/1) but it doesn't import all tags. In conclusion I updated several scripts.

**\*ext5.src**  
These files are a compilation of both scripts.  
[discogs\_artist\_ext5.src](https://community.mp3tag.de/uploads/default/original/2X/2/21b884cd37ac4cd83a91158a5bf69b4526e73a67.src) (11.4 KB)[discogs\_artiste\_title\_ext5.src](https://community.mp3tag.de/uploads/default/original/2X/8/833427bc191c3b992cbdade52ac060090824ee23.src) (11.5 KB)[discogs\_album\_ext5.src](https://community.mp3tag.de/uploads/default/original/2X/b/bb0ae1a73cd941f053b0f6e6555771f58da3540f.src) (11.5 KB)[discogs\_release\_ext5.src](https://community.mp3tag.de/uploads/default/original/2X/d/d98e1667e0fd95f6b6c39d60b164c5af8626708f.src) (11.2 KB)

- There are no years in the results. I went on discogs to see if we could get different search results. Apparently not, even with the Rest API [http://www.discogs.com/help/api](http://www.discogs.com/help/api).

- I removed the numbers with artist names. Maybe that could be done for other tags with regexpreplace " (\d)" ""

- I added utf-8 support to get better results.

- I added some fields:  
"wwwaudiofile"  
"Comment catalog number" /used by tag&rename

**New \*ext4-original.src files**  
These original src files have been updated and corrected  
[discogs\_album\_ext4\_original.src](https://community.mp3tag.de/uploads/default/original/2X/f/f01a2a6f87b12a823768e9b99ad9e20b6c0992e6.src) (11.3 KB)[discogs\_artist\_ext4\_original.src](https://community.mp3tag.de/uploads/default/original/2X/a/a5bf853d1a478dc07ee6dc9e547aca731acecdd7.src) (11.3 KB)[discogs\_release\_ext4\_original.src](https://community.mp3tag.de/uploads/default/original/2X/7/79224aa52ca3512071706dc1acff131690ca38e2.src) (11.1 KB)

- I added utf-8 support to get better results.

- I added some fields:  
"wwwaudiofile"  
"Comment catalog number" /used by tag&rename

- There is still an error message with artist without releases

**Conclusion**

- mp3tag is great.
- I have waisted time with the do while loop because of a poor documentation
- url encoding function could be a great addition [added]
- parse or urlencode/urldecode for [SearchBy] could be a great addition [added]
- you should use several scripts to find results
- How could I put several pictures via src files ? I couldn't find tag name for multiple covers !!!!

See you

[discogs\_album\_ext4\_original.src](https://community.mp3tag.de/uploads/default/original/2X/f/f01a2a6f87b12a823768e9b99ad9e20b6c0992e6.src) (11.3 KB)

[discogs\_artist\_ext4\_original.src](https://community.mp3tag.de/uploads/default/original/2X/a/a5bf853d1a478dc07ee6dc9e547aca731acecdd7.src) (11.3 KB)

[discogs\_release\_ext4\_original.src](https://community.mp3tag.de/uploads/default/original/2X/7/79224aa52ca3512071706dc1acff131690ca38e2.src) (11.1 KB)

[discogs\_album\_ext5.src](https://community.mp3tag.de/uploads/default/original/2X/b/bb0ae1a73cd941f053b0f6e6555771f58da3540f.src) (11.5 KB)

[discogs\_artist\_ext5.src](https://community.mp3tag.de/uploads/default/original/2X/2/21b884cd37ac4cd83a91158a5bf69b4526e73a67.src) (11.4 KB)

[discogs\_artiste\_title\_ext5.src](https://community.mp3tag.de/uploads/default/original/2X/8/833427bc191c3b992cbdade52ac060090824ee23.src) (11.5 KB)

[discogs\_release\_ext5.src](https://community.mp3tag.de/uploads/default/original/2X/d/d98e1667e0fd95f6b6c39d60b164c5af8626708f.src) (11.2 KB)

---

<div class="post-metadata">

### Author: ![micronaut](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/71c47a/32.png) [@micronaut](https://community.mp3tag.de/u/micronaut)
#### Post date: [September 2, 2007, 8:13pm UTC](https://community.mp3tag.de/t/discogs-everything/4346/8 "2007-09-02T20:13:41Z")

</div>

yeah i noticed that as well. the built-in discogs earch of mp3tag (without enhanced scripts) doesn't work anymore either... :-/

@ eric: your updated scripts seem to work fine as far as i can tell. thanks man.

---

<div class="post-metadata">

### Author: ![micronaut](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/71c47a/32.png) [@micronaut](https://community.mp3tag.de/u/micronaut)
#### Post date: [September 3, 2007, 6:47am UTC](https://community.mp3tag.de/t/discogs-everything/4346/9 "2007-09-03T06:47:17Z")

</div>

artist names don't work for VA releases with the scripts above...the artist field remains empty.

---

<div class="post-metadata">

### Author: ![eric00000007](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/ecae2f/32.png) [@eric00000007](https://community.mp3tag.de/u/eric00000007)
#### Post date: [September 3, 2007, 2:28pm UTC](https://community.mp3tag.de/t/discogs-everything/4346/10 "2007-09-03T14:28:19Z")

</div>

I just test it. It seems to work. Could you send me an example ?  
Thanks

---

<div class="post-metadata">

### Author: ![micronaut](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/71c47a/32.png) [@micronaut](https://community.mp3tag.de/u/micronaut)
#### Post date: [September 3, 2007, 4:14pm UTC](https://community.mp3tag.de/t/discogs-everything/4346/11 "2007-09-03T16:14:59Z")

</div>

well, for example

i run an album search for "Total 3"

i get the result window with Various / Total 3 / CD etc...

when i click it, i get all the information, the track titles are correct, but there are no artists for each track.

i also think the title information should appear first (in album view), because the track titles are more essential than, let's say, the discogs ID or the publisher, which appear first, but maybe thats just me....

---

<div class="post-metadata">

### Author: ![eric00000007](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/ecae2f/32.png) [@eric00000007](https://community.mp3tag.de/u/eric00000007)
#### Post date: [September 6, 2007, 10:22am UTC](https://community.mp3tag.de/t/discogs-everything/4346/12 "2007-09-06T10:22:50Z")

</div>

and there is encoding trouble with "total 3". I ll check that tonight

---

<div class="post-metadata">

### Author: ![eric00000007](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/ecae2f/32.png) [@eric00000007](https://community.mp3tag.de/u/eric00000007)
#### Post date: [September 8, 2007, 6:42am UTC](https://community.mp3tag.de/t/discogs-everything/4346/13 "2007-09-08T06:42:44Z")

</div>

I updated Va artist. It seems that there discogs changed the page display, it was just a change moveline. I also updated some search results. Check my post of Sep 2 2007, 23:59

---

<div class="post-metadata">

### Author: ![micronaut](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/71c47a/32.png) [@micronaut](https://community.mp3tag.de/u/micronaut)
#### Post date: [September 8, 2007, 1:58pm UTC](https://community.mp3tag.de/t/discogs-everything/4346/14 "2007-09-08T13:58:44Z")

</div>

cheers mate

---

<div class="post-metadata">

### Author: ![micronaut](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/71c47a/32.png) [@micronaut](https://community.mp3tag.de/u/micronaut)
#### Post date: [September 11, 2007, 4:14pm UTC](https://community.mp3tag.de/t/discogs-everything/4346/15 "2007-09-11T16:14:48Z")

</div>

now the display of cover art doesn't seem to work anymore for most releases.

example: search for Platnum - Rock me (discogs id: 812383) - no album art is shown, although it is on the website.

oddly enough, a search for Platnum - Sweet City (id 381468) displays the art correctly.

maybe discogs changed the layout yet again?

---

<div class="post-metadata">

### Author: ![A\_Weakling\_Child](https://community.mp3tag.de/user_avatar/community.mp3tag.de/a_weakling_child/32/62_2.png) [@A\_Weakling\_Child](https://community.mp3tag.de/u/A_Weakling_Child)
#### Post date: [September 23, 2007, 4:33am UTC](https://community.mp3tag.de/t/discogs-everything/4346/16 "2007-09-23T04:33:07Z")

</div>

have the same issue with cover art  
would be very thankful if somebody would look into it... Eric? 😉  
thanks in advance 🙂

---

<div class="post-metadata">

### Author: ![eric00000007](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/ecae2f/32.png) [@eric00000007](https://community.mp3tag.de/u/eric00000007)
#### Post date: [September 25, 2007, 5:01pm UTC](https://community.mp3tag.de/t/discogs-everything/4346/17 "2007-09-25T17:01:59Z")

</div>

Let me know wic file you are using to do your search.

I tested with your ID: 812383 with discogs\_release\_ext5.src and I get the cover.

I upload the files I am using. I have still a problem with the type. I am not enough good with regular expressions. I hope somebody could fix that. It seems easy. But everything works with this src files.

Good tagging ! Don't spend too much time on it, I hope a day all musci files will have good tags !!!!!!!!! Thanks mp3tag 😉

---

<div class="post-metadata">

### Author: ![A\_Weakling\_Child](https://community.mp3tag.de/user_avatar/community.mp3tag.de/a_weakling_child/32/62_2.png) [@A\_Weakling\_Child](https://community.mp3tag.de/u/A_Weakling_Child)
#### Post date: [September 26, 2007, 5:10am UTC](https://community.mp3tag.de/t/discogs-everything/4346/18 "2007-09-26T05:10:50Z")

</div>

> [@](#):
>
> Let me know wic file you are using to do your search.

i used discogs\_release\_ext4\_original.src and just tried discogs\_release\_ext5.src - both show no covers

however, it showed a cover of the 975462 release (which is VA, no?) but didn't show 1000838 and 1036225. 6 digits, 7 digits, no? just guessing what could be the cause, 812383 is also 6 digits.

what type you're having problem with?

thanks for help man!

EDIT:

wow, just tried the 50236 release and it worked. I'm not sure if it's possible but it seems that 7 digits releases do not get the cover. hope that isn't stupid 🙂

EDIT2:

I'm afraid my "digits" theory is wrong. the 157337 release doesn't give a cover too while the 114818 one of the same artist does ☹

---

<div class="post-metadata">

### Author: ![eric00000007](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/ecae2f/32.png) [@eric00000007](https://community.mp3tag.de/u/eric00000007)
#### Post date: [September 26, 2007, 6:13pm UTC](https://community.mp3tag.de/t/discogs-everything/4346/19 "2007-09-26T18:13:35Z")

</div>

I just tested discogs\_release\_ext5.src with 1036225  
and discogs\_release\_ext4\_original.src with 1000838 and 157337  
and I get covers for all. Maybe the trouble come from somewhere else. Wich mp3tag version are you using ? I am using v2.39b.

---

<div class="post-metadata">

### Author: ![A\_Weakling\_Child](https://community.mp3tag.de/user_avatar/community.mp3tag.de/a_weakling_child/32/62_2.png) [@A\_Weakling\_Child](https://community.mp3tag.de/u/A_Weakling_Child)
#### Post date: [September 27, 2007, 4:17am UTC](https://community.mp3tag.de/t/discogs-everything/4346/20 "2007-09-27T04:17:38Z")

</div>

i tested all of them again with both web sources - doesn't work and i also use 2.39b

if they work for you then it can't be a web source and i have no idea what can cause some of the covers not to download ☹

thanks for your help anyway

EDIT:

sometimes the covers that didn't show, show after the application restart or few tries

[Next page](https://community.mp3tag.de/t/discogs-everything/4346.md?page=2)
