# Discogs track tags not loading

**URL:** https://community.mp3tag.de/t/discogs-track-tags-not-loading/12790
**Category:** Web Sources Discussion
**Created:** [December 8, 2011, 5:54am UTC](https://community.mp3tag.de/t/discogs-track-tags-not-loading/12790 "2011-12-08T05:54:30Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![blackbeen](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/22d042/32.png) [@blackbeen](https://community.mp3tag.de/u/blackbeen)
#### Post date: [December 8, 2011, 5:54am UTC](https://community.mp3tag.de/t/discogs-track-tags-not-loading/12790/1 "2011-12-08T05:54:30Z")

</div>

When I load a release it reads like this:

 ![](http://i932.photobucket.com/albums/ad169/blackbeen2/Error-4.jpg) with no tag data I tried a number of releases including one I tagged just yesterday. I tried tagging app TagScanner & it loads ok.

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [December 8, 2011, 10:32am UTC](https://community.mp3tag.de/t/discogs-track-tags-not-loading/12790/2 "2011-12-08T10:32:22Z")

</div>

what script are you using?

mine [/t/9226/1](https://community.mp3tag.de/t/9226/1)  
& dano's [/t/1992/1](https://community.mp3tag.de/t/1992/1)  
are working.

---

<div class="post-metadata">

### Author: ![blackbeen](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/22d042/32.png) [@blackbeen](https://community.mp3tag.de/u/blackbeen)
#### Post date: [December 8, 2011, 11:36am UTC](https://community.mp3tag.de/t/discogs-track-tags-not-loading/12790/3 "2011-12-08T11:36:09Z")

</div>

The freak one, yeah I tried one of the others reads kinda different though.

[Discogs\_ID.src](https://community.mp3tag.de/uploads/default/original/2X/d/da7887287e5aea61ce0f7d572d9cd5bca719a9eb.src) (7.44 KB)

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [December 8, 2011, 12:00pm UTC](https://community.mp3tag.de/t/discogs-track-tags-not-loading/12790/4 "2011-12-08T12:00:51Z")

</div>

> [@blackbeen](#):
>
> The freak one, yeah I tried one of the others reads kinda different though.

Where is that from? I can't find it in the forum.

I will have a look, if it some simple thing I will fix it.

It uses Discogs API 1.0. This will be shut down in a few days anyway. So it has to be adopted to API 2.0  
more about that here: [Changes at discogs.com](https://community.mp3tag.de/t/12508/2)

---

<div class="post-metadata">

### Author: ![blackbeen](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/22d042/32.png) [@blackbeen](https://community.mp3tag.de/u/blackbeen)
#### Post date: [December 8, 2011, 12:21pm UTC](https://community.mp3tag.de/t/discogs-track-tags-not-loading/12790/5 "2011-12-08T12:21:33Z")

</div>

> [@pone](#):
>
> Where is that from? I can't find it in the forum.
> 
> I will have a look, if it some simple thing I will fix it.
> 
> It uses Discogs API 1.0. This will be shut down in a few days anyway. So it has to be adopted to API 2.0  
> more about that here: [Changes at discogs.com](https://community.mp3tag.de/t/12508/2)

I thought it was one of the default scripts that came with the app, I'm not certain at this point, I like that it reads in the main Tag Sources menu rather than a sub its a little quicker to access that way.

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [December 8, 2011, 12:23pm UTC](https://community.mp3tag.de/t/discogs-track-tags-not-loading/12790/6 "2011-12-08T12:23:47Z")

</div>

I've got.

It seems like discogs introduced a new ID for every artist at the API pages. Just had to replace this and it worked again. I also adapted the URL to API 2.0

CHANGE LOG:

changed this line:  
[IndexUrl]=http://www.discogs.com/release/%s?f=xml&api\_key=1e48c7f4e4  
into this:  
[IndexUrl]=http://api.discogs.com/release/%s?f=xml

and added this line:  
regexpreplace "\d+?" ""

EDIT:  
It's certainly not one of the default scripts.

[Discogs\_ID\_by\_freak\_reworked\_by\_pone.src](https://community.mp3tag.de/uploads/default/original/2X/c/ce8ab13620a0779c3d23997f33810df594e7c2c1.src) (7.48 KB)

---

<div class="post-metadata">

### Author: ![blackbeen](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/22d042/32.png) [@blackbeen](https://community.mp3tag.de/u/blackbeen)
#### Post date: [December 8, 2011, 12:43pm UTC](https://community.mp3tag.de/t/discogs-track-tags-not-loading/12790/7 "2011-12-08T12:43:17Z")

</div>

> [@pone](#):
>
> I've got.
> 
> It seems like discogs introduced a new ID for every artist at the API pages. Just had to replace this and it worked again. I also adapted the URL to API 2.0
> 
> CHANGE LOG:
> 
> changed this line:  
> [IndexUrl]=[http://www.discogs.com/release/%s?f=xml&api\_key=1e48c7f4e4](http://www.discogs.com/release/%25s?f=xml&api_key=1e48c7f4e4)  
> into this:  
> [IndexUrl]=[http://api.discogs.com/release/%s?f=xml](http://api.discogs.com/release/%25s?f=xml)
> 
> and added this line:  
> regexpreplace "\d+?" ""
> 
> EDIT:  
> It's certainly not one of the default scripts.

I receive a bad request error now.

![](https://community.mp3tag.de/uploads/default/original/2X/5/5aa55ed265619102845afb962560741a7574674d.jpg)

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [December 8, 2011, 1:04pm UTC](https://community.mp3tag.de/t/discogs-track-tags-not-loading/12790/8 "2011-12-08T13:04:21Z")

</div>

I'll be back in two hours.

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [December 8, 2011, 2:12pm UTC](https://community.mp3tag.de/t/discogs-track-tags-not-loading/12790/9 "2011-12-08T14:12:58Z")

</div>

I've fixed the attachment of pone.  
It seems _# Comments_ don't work in [IndexUrl] line.

---

<div class="post-metadata">

### Author: ![blackbeen](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/22d042/32.png) [@blackbeen](https://community.mp3tag.de/u/blackbeen)
#### Post date: [December 8, 2011, 3:28pm UTC](https://community.mp3tag.de/t/discogs-track-tags-not-loading/12790/10 "2011-12-08T15:28:40Z")

</div>

Thanks, works fine 🙂

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [December 8, 2011, 3:57pm UTC](https://community.mp3tag.de/t/discogs-track-tags-not-loading/12790/11 "2011-12-08T15:57:58Z")

</div>

> [@dano](#):
>
> I've fixed the attachment of pone.  
> It seems _# Comments_ don't work in [IndexUrl] line.

thanks dano

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [December 8, 2011, 5:21pm UTC](https://community.mp3tag.de/t/discogs-track-tags-not-loading/12790/12 "2011-12-08T17:21:23Z")

</div>

> [@\[WS\] Discogs Album search + VA](https://community.mp3tag.de/t/ws-discogs-album-search-va/1992/147):
>
> Yeah, but unfortunately that puts A1, A2... after the track title rather than in the track number field like the other script I was using, I was trying to avoid this, as is its quicker to manually edit the Track field from 01/04 to A1 than editing A1 off the end of the title field as I have been doing, thinking it was a problem on Discogs end.

no, I wasn't talking about my fix of freak's script, I was talking about this:  
[/t/9226/1](https://community.mp3tag.de/t/9226/1)  
there you freely decide what tag field you want for every little bit of information.

- you get 15 different ways to search for your release from mp3tag, you don't have to look it up in the browser before to get the release id

about freak's script:  
I noticed that strange behaviour for the TITLE field, but I kept it as you mentioned nothing about it.  
Here is a quick fix for it:

- I removed the tracknumber from the end of the TITLE field
- I deleted the VINYL# field
- I added a little code at the end which replaces the standard track numbers with the track postions from discogs for all releases with the following media formats at discogs:  
Vinyl|Cassette|Acetate|Shellac|Microcassette|Lathe Cut

[Discogs\_ID\_by\_freak\_\_pone\_rework\_2.src](https://community.mp3tag.de/uploads/default/original/2X/b/b845f3afc829c2d7db38bb922e89d75acec59649.src) (7.22 KB)

---

<div class="post-metadata">

### Author: ![blackbeen](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/22d042/32.png) [@blackbeen](https://community.mp3tag.de/u/blackbeen)
#### Post date: [December 8, 2011, 5:28pm UTC](https://community.mp3tag.de/t/discogs-track-tags-not-loading/12790/13 "2011-12-08T17:28:36Z")

</div>

> [@pone](#):
>
> no, I wasn't talking about my fix of freak's script, I was talking about this:  
> [/t/9226/1](https://community.mp3tag.de/t/9226/1)  
> there you freely decide what tag field you want for every little bit of information.
> 
> - you get 15 different ways to search for your release from mp3tag, you don't have to look it up in the browser before to get the release id
> 
> about freak's script:  
> I noticed that strange behaviour for the TITLE field, but I kept it as you mentioned nothing about it.  
> Here is a quick fix for it:
> 
> - I removed the tracknumber from the end of the TITLE field
> - I deleted the VINYL# field
> - I added a little code at the end which replaces the standard track numbers with the track postions from discogs for all releases with the following media formats at discogs:  
> Vinyl|Cassette|Acetate|Shellac|Microcassette|Lathe Cut

Thanks, works perfect 🙂
