# DISCOGS\_ARTIST\_ID problem

**URL:** https://community.mp3tag.de/t/discogs-artist-id-problem/60346
**Category:** Support
**Created:** [March 12, 2023, 4:13pm UTC](https://community.mp3tag.de/t/discogs-artist-id-problem/60346 "2023-03-12T16:13:38Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![spinner410](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@spinner410](https://community.mp3tag.de/u/spinner410)
#### Post date: [March 12, 2023, 4:13pm UTC](https://community.mp3tag.de/t/discogs-artist-id-problem/60346/1 "2023-03-12T16:13:38Z")

</div>

Is there any way to get this value from Discogs into a field in mp3tag? For example, I would like this field to be populated with the artist\_id value from Discogs when I use Discogs as a tag source in mp3tag.

Thanks.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [March 12, 2023, 4:23pm UTC](https://community.mp3tag.de/t/discogs-artist-id-problem/60346/2 "2023-03-12T16:23:22Z")

</div>

> [@spinner410](#):
>
> Is there any way to get this value from Discogs into a field in mp3tag?

Yes.  
You have to adjust the used `discogs.inc` or `discogs.src` [websource script](https://community.mp3tag.de/t/web-sources-framework/1633) text file in your Mp3tag configuration subfolder `\sources`.  
If you open this file, you will see that this is unfortunately not an easy change that you can make in a couple of seconds.

(A Websource Script is parsing the result answer from Discogs and tries to catch the exact position of such a field and assign it to a tag like your proposed artist\_id.)

---

<div class="post-metadata">

### Author: ![make-nz](https://community.mp3tag.de/user_avatar/community.mp3tag.de/make-nz/32/18236_2.png) [@make-nz](https://community.mp3tag.de/u/make-nz)
#### Post date: [November 14, 2024, 7:06pm UTC](https://community.mp3tag.de/t/discogs-artist-id-problem/60346/3 "2024-11-14T19:06:55Z")

</div>

Hi all, long time user first time posting.

I tested my changes on quite a view albums and I thik I got it working ok.

Here I made the changes:

- Discogs Release ID.src
- Discogs.inc

There was

```auto
# Discogs_Release_ID
outputto "DISCOGS_RELEASE_ID"
json_select "id"
sayrest

```

which I "extended" to

```auto
# Discogs_Release_ID
outputto "DISCOGS_RELEASE_ID"
json_select "id"
sayrest

### Discogs_Artist_ID
outputto "DISCOGS_ARTIST_ID"
json_foreach "artists"
	json_select "id"
	sayrest
	outputto "DISCOGS_ARTIST_ID"
json_foreach_end

```

Hope this helps someone and if I missed something important, please let me know.  
(Could be a good idea to call the field DISCOGS\_ARTIST_ **S** _\_ID, just for nameing consistency?!)

Cheers

---

<div class="post-metadata">

### Author: ![spinner410](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@spinner410](https://community.mp3tag.de/u/spinner410)
#### Post date: [November 19, 2024, 2:04pm UTC](https://community.mp3tag.de/t/discogs-artist-id-problem/60346/4 "2024-11-19T14:04:35Z")

</div>

Hey just wanted to say thanks - this works perfectly!

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [December 25, 2024, 8:27am UTC](https://community.mp3tag.de/t/discogs-artist-id-problem/60346/5 "2024-12-25T08:27:23Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
