# Getting composer tag from web sources

**URL:** https://community.mp3tag.de/t/getting-composer-tag-from-web-sources/51987
**Category:** Support
**Created:** [February 15, 2021, 2:56pm UTC](https://community.mp3tag.de/t/getting-composer-tag-from-web-sources/51987 "2021-02-15T14:56:31Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![GPLondon](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/53a042/32.png) [@GPLondon](https://community.mp3tag.de/u/GPLondon)
#### Post date: [February 15, 2021, 2:56pm UTC](https://community.mp3tag.de/t/getting-composer-tag-from-web-sources/51987/1 "2021-02-15T14:56:31Z")

</div>

Mp3tag has been great for getting tags from Discogs (or musicbrainz and freedb) into the mp3s of my vinyl collection for display in Windows Media Player. However, the Composer column in mp3tag remains blank, even though composers are shown against the tracks on the web page for the relevant Discogs ID. (Discogs says "written by").

I'm not really up to clever scripting stuff, but I don't understand why Composer doesn't come along with Track/Title/Artist info.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [February 16, 2021, 6:36am UTC](https://community.mp3tag.de/t/getting-composer-tag-from-web-sources/51987/2 "2021-02-16T06:36:38Z")

</div>

see e.g. here:

> [@Writing Composer Tag from Discogs info?](https://community.mp3tag.de/t/writing-composer-tag-from-discogs-info/19690):
>
> Hi, Newbie Here. I've been using MP3Tag for quite a while but am probably only scratching the surface of what it can do. However, I'm running up against a brick wall with this issue. I've searched the Forum, with no luck so far. I want to auto-enter the "composer" details from a Discogs page into the appropriate tag. I can successfully find the album details I want on the Discogs database, and can (usually) use the Discogs "Release id" number to ensure I've selected the right Discogs entry i…

Could be that the information is not included for every release. Just guessing.

---

<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: [February 16, 2021, 8:17am UTC](https://community.mp3tag.de/t/getting-composer-tag-from-web-sources/51987/3 "2021-02-16T08:17:23Z")

</div>

It's not supported yet in the standard script, but you can get it with the pone script:

> [@\[WS\] Discogs (pone mod)](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/926):
>
> Yes I had an error in these two searches. Try this update [Discogs\_Pone\_Mod\_4.4\_update\_2020-08-26.rar](https://community.mp3tag.de/uploads/short-url/cdgzBLo1Ui7LsR87Gqfad72Az72.rar) (48.3 KB)

---

<div class="post-metadata">

### Author: ![GPLondon](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/53a042/32.png) [@GPLondon](https://community.mp3tag.de/u/GPLondon)
#### Post date: [February 16, 2021, 9:19am UTC](https://community.mp3tag.de/t/getting-composer-tag-from-web-sources/51987/4 "2021-02-16T09:19:57Z")

</div>

Ah, thanks, I think I'll try that, despite my inexperience with scripts. I see the pone mod thread has instructions at the top. Should I follow these substituting the newer "...2020\_08\_26.rar" file for the zip file originally referred to?

---

<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: [February 16, 2021, 9:41am UTC](https://community.mp3tag.de/t/getting-composer-tag-from-web-sources/51987/5 "2021-02-16T09:41:20Z")

</div>

Yes exactly. But if it is too complicated here's the "compiled" scripts. I also changed the settings so some Credits like Composer go in their own field.  
[pone-sources-with-Composer-tag.rar](https://community.mp3tag.de/uploads/short-url/ghWDj0sYiqvfiNZoprrrgz4NU7s.rar) (102.9 KB)

---

<div class="post-metadata">

### Author: ![GPLondon](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/53a042/32.png) [@GPLondon](https://community.mp3tag.de/u/GPLondon)
#### Post date: [February 16, 2021, 10:17am UTC](https://community.mp3tag.de/t/getting-composer-tag-from-web-sources/51987/6 "2021-02-16T10:17:09Z")

</div>

That sounds great. Many thanks

---

<div class="post-metadata">

### Author: ![GPLondon](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/53a042/32.png) [@GPLondon](https://community.mp3tag.de/u/GPLondon)
#### Post date: [February 16, 2021, 10:20am UTC](https://community.mp3tag.de/t/getting-composer-tag-from-web-sources/51987/7 "2021-02-16T10:20:19Z")

</div>

Hmmm... 7-zip says it cannot open either of those files as an archive.

---

<div class="post-metadata">

### Author: ![GPLondon](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/53a042/32.png) [@GPLondon](https://community.mp3tag.de/u/GPLondon)
#### Post date: [February 16, 2021, 10:36am UTC](https://community.mp3tag.de/t/getting-composer-tag-from-web-sources/51987/8 "2021-02-16T10:36:58Z")

</div>

Updated my 7-zip and I can open the compliled one, so hopefully that'll do it!

---

<div class="post-metadata">

### Author: ![GPLondon](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/53a042/32.png) [@GPLondon](https://community.mp3tag.de/u/GPLondon)
#### Post date: [February 16, 2021, 10:58am UTC](https://community.mp3tag.de/t/getting-composer-tag-from-web-sources/51987/9 "2021-02-16T10:58:38Z")

</div>

I'm sorry to be a real newbie, but I've extracted the pone-sources-with-composer-tag rar, which gave me a bunch of src files which I put in the mp3tag profile folder. Running mp3tag again, I see no new "Discogs pone" option in the Tag Sources menu, which I thought is what would happen. I have no settings.mp3 file anywhere. Grateful for guidance.

---

<div class="post-metadata">

### Author: ![GPLondon](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/53a042/32.png) [@GPLondon](https://community.mp3tag.de/u/GPLondon)
#### Post date: [February 16, 2021, 11:22am UTC](https://community.mp3tag.de/t/getting-composer-tag-from-web-sources/51987/10 "2021-02-16T11:22:08Z")

</div>

Hey - I figured it out! Put those src files in the sub-folder called "sources" and it works. Many thanks.  
One more question... Is there a way to only fetch and write tags for one field (say the composer) whilst leaving all other tags unchanged?

---

<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: [February 16, 2021, 12:05pm UTC](https://community.mp3tag.de/t/getting-composer-tag-from-web-sources/51987/11 "2021-02-16T12:05:18Z")

</div>

The only thing you can do is edit the src files (with a text editor) and write these commands at the very end:

```
set "title"
set "artist"
set "album"
...

```

set "fieldname" for any field you don't want.

---

<div class="post-metadata">

### Author: ![GPLondon](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/53a042/32.png) [@GPLondon](https://community.mp3tag.de/u/GPLondon)
#### Post date: [February 16, 2021, 12:20pm UTC](https://community.mp3tag.de/t/getting-composer-tag-from-web-sources/51987/12 "2021-02-16T12:20:17Z")

</div>

Great! Hours of fun. Thank you!

---

<div class="post-metadata">

### Author: ![GPLondon](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/53a042/32.png) [@GPLondon](https://community.mp3tag.de/u/GPLondon)
#### Post date: [February 16, 2021, 1:47pm UTC](https://community.mp3tag.de/t/getting-composer-tag-from-web-sources/51987/13 "2021-02-16T13:47:55Z")

</div>

Interestingly, the line  
set "title"  
doesn't stop the title tag being re-written, though "track" "year" "artist" "album" and "albumartist" do and that's all I need.  
Are you an author of mp3tag, Dano?

---

<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: [February 16, 2021, 3:46pm UTC](https://community.mp3tag.de/t/getting-composer-tag-from-web-sources/51987/14 "2021-02-16T15:46:18Z")

</div>

Yea I forgot, I think you need `set "tracks"` to remove the titles.  
No, the author is @Florian

---

<div class="post-metadata">

### Author: ![GPLondon](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/53a042/32.png) [@GPLondon](https://community.mp3tag.de/u/GPLondon)
#### Post date: [February 17, 2021, 9:46am UTC](https://community.mp3tag.de/t/getting-composer-tag-from-web-sources/51987/15 "2021-02-17T09:46:16Z")

</div>

Well, thank you both. I have donated.

---

<div class="post-metadata">

### Author: ![charliexyx](https://community.mp3tag.de/user_avatar/community.mp3tag.de/charliexyx/32/18468_2.png) [@charliexyx](https://community.mp3tag.de/u/charliexyx)
#### Post date: [December 18, 2024, 12:37am UTC](https://community.mp3tag.de/t/getting-composer-tag-from-web-sources/51987/16 "2024-12-18T00:37:04Z")

</div>

You can add this code which I created with the help of ChatGPT to any Discogs .src file and you will have the Written-By fields as Composer. I guess it works in the Pone src files and also in the default Discogs files:

```auto

# COMPOSER - Extract "Written By"
outputto "COMPOSER"
json_foreach "tracklist"
    set "TEMP_Composer"
    json_foreach "extraartists"
        json_select "role"
        if "Written-By"
            json_select "name"
            ifnotoutput "TEMP_Composer"
                outputto "TEMP_Composer"
            else
                say "; "
            endif
            sayrest
        endif
    json_foreach_end
    ifoutput "TEMP_Composer"
        outputto "COMPOSER"
        sayoutput "TEMP_Composer"
        set "TEMP_Composer" # Variable leeren
    endif
    say "|"
json_foreach_end

```

---

<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: [February 9, 2026, 12:29pm UTC](https://community.mp3tag.de/t/getting-composer-tag-from-web-sources/51987/17 "2026-02-09T12:29:04Z")

</div>


