# \[WS\] Discogs (pone mod)

**URL:** <https://community.mp3tag.de/t/ws-discogs-pone-mod/9226>\
**Category:** Broken Web Sources\
**Created:** [October 29, 2009, 3:18am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226 "2009-10-29T03:18:24Z")\
**Posts on this page:** 20\
**Page:** 17

<div class="post-metadata">

**Author:** ![Vjeetn](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/v/58956e/32.png) [@Vjeetn](https://community.mp3tag.de/u/Vjeetn)\
**Post date:** [February 8, 2012, 7:49pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/322 "2012-02-08T19:49:29Z")

</div>

**EDIT: AFTER TRYING DIFFERENT METHODS I THINK I'VE FOUND MY SOLUTION. I HAVE TO SELECT A DIFFERENT SEARCH METHOD**

_ **Pone mod doesn't find every album?** _

Hi,  
I've always used the standard mp3tag settings for Discogs but since Discogs changed some stuff it no longer searches for the artist name but album.

So now I was recommended to use Pone's mod but I'm a big noob when it comes to all those settings 😛  
I think the mod at standard might be sufficient for me but I just tried to find something on Discogs but the Pone mod "failed"?

I have an mp3 called "Bobby Burns & Afrojack - Ghettoblaster". When I clicked the quick Discogs search, the pone mod opened and asked for artist or album so I entered "Bobby Burns". Then, a list appeared from Discogs' albums but "Ghettoblaster" was not listed.  
Though when I search manually on Discogs, it's there.  
So I then had to search for "Ghettoblaster" in the pone mod for it to find the correct one.  
Maybe it's my lack of knowledge how to use this script? Please explain.

I'd also like to ask if it's possible to use the Pone mod in the same way like mp3tag originally did?  
What I mean is this: normally I had to click the Quick Discogs button and when as little as the artists & title was filled in, mp3tag would automatically open the correct/corresponding album.  
Is this possible with the Pone script? Please explain also 🙂

Thanks in advance and kudos to Pone. It's probably quite a bit of work to make and maintain such mod.

**EDIT: AFTER TRYING DIFFERENT METHODS I THINK I'VE FOUND MY SOLUTION. I HAVE TO SELECT A DIFFERENT SEARCH METHOD**

---

<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:** [February 8, 2012, 9:00pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/323 "2012-02-08T21:00:59Z")

</div>

As you have noticed, my script used various search methods, most of them can be explained via the discogs page.  
Generally, it does find everything. I never experienced that something was not found which was on discogs. Spelling differences can be a problem at finding album, or of course wrong titled album. Thing like "Volume" "one" "Part" "EP" "and" are also a problem, if they are spelled differntly as on discogs, e.g. "Vol." "1" "Pt." "E.P:" "&", they are not found. Best think is to leave them away for search. Some of these things are omitted automatically, when the script looks into your tags for search input.

Now to your question. You have read this form the starting post?:

> [@](#):
>
> **The 15 different versions of the script search in the following ways:**  
> API List Artist, API List Label, API List Master Release Page  
> _These list all etries of the artist or label which are on discogs. You have to to use the correct discogs name as search input, not a artist name variation. The Master Release Page lists all different versions of a release._ Use the Master Release Page's ID as search input.
> 
> Direct by Discogs ID, Direct by URL (www)  
> _These go straight to the page by the Discogs ID or the URL_
> 
> Search by (Album)Artist, Search by (Album)Artist + Album, Search by (Album)Artist + Label, Search by (Album)Artist + Title, Search by (Album)Artist + Year, Search by Album, Search by Album + Label, Search by Album + Year, Search by Label + Catalog#   
> _These use discogs advanced search_
> 
> Standard Search  
> _Uses discogs standard search, you can use any search word from which you think it's suiteable_

The script where you can enter everything which is related to the album is " **Standard Search**".  
It displays this page, your release is on top:  
[http://www.discogs.com/search?q=Bobby+Burn...p;type=releases](http://www.discogs.com/search?q=Bobby+Burns+%26+Afrojack+-+Ghettoblaster&btn=Search&type=releases)  
All releases there have your search words at some places, no matter if Aristnames, Tracktitles, Albumnames, Notes, Credits, whatever. I think this is what you want. I'm not sure how the old version of Mp3tag's discogs script worked.

The method I use most are the various " **Search by ...**" scripts. They use Discogs' " **Advanced Search**":  
[http://www.discogs.com/advanced\_search?btn=Search+Releases](http://www.discogs.com/advanced_search?btn=Search+Releases)  
There you have specific input boxes for each value. You normally don't have to enter anything in there if you have already some values in you tags. The script reads your tags and uses them as search input. But you can check and change them of course.  
I don't know exactly wich one you have used.  
If you have used "Search by (Album)Artist" with the search "Bobby Burns", you get this list, your relase is on place 8:  
[http://www.discogs.com/advanced\_search?art...Search+Releases](http://www.discogs.com/advanced_search?artist=Bobby+Burns&btn=Search+Releases)

Note that there is no script which "asks for artist or album", as you say it. Search by "Search by (Album)Artist" means, that when look for search input, the script looks first into the ALBUMARTIST tag field, and if that is empty into the ARTIST tag field. At the dicogs site, search for Artist means always search for the Albumartist. There is no method at discogs to search for individual track artists.

Note that when you use one of the Search by... script which search with two values, you have to keep the short URL format part like _&release\_title=_ or _&track=_ in the search box between the two values.

Some more examples:  
"Search by Album" with the value "Ghettoblaster" give you this list. Your release is again on place 8:  
[http://www.discogs.com/advanced\_search?rel...Search+Releases](http://www.discogs.com/advanced_search?release_title=Ghettoblaster&btn=Search+Releases)

"Search by (Album)Artist + Album" with the value "Bobby Burns Afrojack&release\_title=Ghettoblaster" (the _&release\_title=_ part is filled in automatically) gives you this, your releas is on top:  
[http://www.discogs.com/advanced\_search?art...Search+Releases](http://www.discogs.com/advanced_search?artist=Bobby%20Burns%20Afrojack&release_title=Ghettoblaster&btn=Search+Releases)  
If there would be only one album in the list, the list would be skipped by the script and the album would be opend automatically.

"Search by (Album)Artist + Title" with the value "Bobby Burns Afrojack&track=Ghettoblaster" gives you the same list in this case, but you can see that "Ghettoblaster" is now in the _Track Title_ field instead of the _Title_ field (Title means Album-Title here):  
[http://www.discogs.com/advanced\_search?art...Search+Releases](http://www.discogs.com/advanced_search?artist=Bobby%20Burns%20Afrojack&track=Ghettoblaster&btn=Search+Releases)

The other script are explained above, I think.  
The " **Direct by...**" script make only sense when you use your web browser for search and copy & paste the ID/URL from there into Mp3tag.  
The " **API ...**" script search in pages which you normally don't see at discogs.  
"API-List Artist" for "Bobby Burns": [http://api.discogs.com/artist/Bobby+Burns?...&releases=1](http://api.discogs.com/artist/Bobby+Burns?f=xml&releases=1)  
"API-List Label" for "Spinnin' Records": [http://api.discogs.com/label/Spinnin%27+Re...&releases=1](http://api.discogs.com/label/Spinnin%27+Records?f=xml&releases=1)

Generally, when you use the Web Source (Quick) button, always the last web source you used is opend.  
Use the button right next to it to select a specific one.  
Or use the Keyboard Shortcuts via the menu bar, that is much faster I think.

EDIT@ your EDIT:  
Yes, so it is 😃 so while I've written this, you have found out yourself.

---

<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:** [March 13, 2012, 5:55pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/324 "2012-03-13T17:55:49Z")

</div>

**Update 3.24:**

I fixed the multivalue tag options to the changes in Mp3tag. This update is only needed when you use mulitvalue tags and when you have installed Mp3tag 2.49b or 2.50

This will be the last 3.x version. The next one will be 4.0. It will be built upon Discogs API rather than their HTML pages.  
There will be lot's of new options. Mainly around the artist names. You will be able to choose between the Main Name (Primary Name) and the Name Variation used on the individual release page (Artist Name Variation, anv), you will be able to choose if extraartists are written with or without their role, you will be able to write special fields for some roles, ...

And the setting file will get a complete new desgin with only ten pseudo tag fields, but these will have more lines.

Most propably there will be no update action for the setting file from 3.x to 4.x. You will have to do a new set up when you switch to 4.x

Tell me what you think about that! Maybe you have some good ideas I haven't thought about yet.

Thanks for 400 downloads of the last version. Nice that you like my script 🙂

---

<div class="post-metadata">

**Author:** ![Mabba](https://community.mp3tag.de/user_avatar/community.mp3tag.de/mabba/32/8464_2.png) [@Mabba](https://community.mp3tag.de/u/Mabba)\
**Post date:** [March 13, 2012, 6:02pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/325 "2012-03-13T18:02:05Z")

</div>

Thanks again.

Freue mich auf die "Nächste Generation".

---

<div class="post-metadata">

**Author:** ![daanodinot](https://community.mp3tag.de/user_avatar/community.mp3tag.de/daanodinot/32/5252_2.png) [@daanodinot](https://community.mp3tag.de/u/daanodinot)\
**Post date:** [March 14, 2012, 10:48am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/326 "2012-03-14T10:48:43Z")

</div>

Hi, thanks again for your great (and improving!) script ; )  
I was wondering if it is possible to _always_ remove _all_ leading zeros for tracknumbers. In a previous post I found this:

> [@](#):
>
> if you set all DISCOGS~TRACK NUMBER ... and DISCOGS~TRACK POSITION fields to no, you won't have to correct something afterwards, because you will get numbers without leading zeros for all releases expect multi disc cds (which i will correct soon)

Apparently this doesn't work for me, I still get leading zeros. Maybe other settings overwrite these settings, I'm not sure. Anyway, some help will be appreciated!!

---

<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:** [March 14, 2012, 10:57am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/327 "2012-03-14T10:57:27Z")

</div>

> [@daanodinot](#):
>
> Hi, thanks again for your script ; )  
> I was wondering if it is possible to _always_ remove _all_ leading zeros for tracknumbers. In a previous post I found this:
> 
> Apparently this doesn't work for me, I still get leading zeros. Maybe other settings overwrite these settings, I'm not sure. Anyway, help will be appreciated!!

what is your desired tracknumber format?

for 1, 2, 3, ...:  
all **DISCOGS~TRACK...** Fields = no

for 1/10, 2/10, 3/10,...:  
**DISCOGS~TRACK NUMBER / TOTALTRACKS** = TRACK

The reason for that logic is, that 1, 2, 3, ... is the inbuilt numbering system in Mp3tag's web sources. If you you don't choose something else, you will get that.

In the coming 4.0 version this will be easier in the options.

**EDIT:**  
 I see that you quoted the same advice which i've given you now. If it doesn't work, you can send me your settings file and I will have a quick look into it.

---

<div class="post-metadata">

**Author:** ![dumdidum](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/278dde/32.png) [@dumdidum](https://community.mp3tag.de/u/dumdidum)\
**Post date:** [March 14, 2012, 12:52pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/328 "2012-03-14T12:52:13Z")

</div>

d/l-ing now. thanks for the update 🙂 cannot wait for 4.0 😉

---

<div class="post-metadata">

**Author:** ![daanodinot](https://community.mp3tag.de/user_avatar/community.mp3tag.de/daanodinot/32/5252_2.png) [@daanodinot](https://community.mp3tag.de/u/daanodinot)\
**Post date:** [March 14, 2012, 1:10pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/329 "2012-03-14T13:10:25Z")

</div>

> [@](#):
>
> for 1, 2, 3, ...:  
> all DISCOGS~TRACK... Fields = no

It is working! If you have a closer look you'll see it's not _quite_ the same advice 😉

Anyway, I'm looking forward to 4.0. I'm surprised you were using the Discogs HTML pages all the time 😲 Switching to API should be great.

EDIT

I've been playing around with this mod some more and 2 questions came to my mind:

1. Does the option DISCOGS\_MASTER YEAR provide the year for the master release (i.e. ORIGYEAR)? If so, it's apparently not working for me...
2. This one is a bit crazy: Would it be possible to create some sort of list of all the tags in the settings file that do not contain 'no'. It would be very useful to keep track of what is activated so you don't mess up the file after a while.

EDIT 2

I now use "Direct by URL" to get the year directly from the master release page, like is mentioned in the changelog. I'm not sure if it's the best way, but it works.

---

<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:** [March 19, 2012, 9:40pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/330 "2012-03-19T21:40:07Z")

</div>

> [@daanodinot](#):
>
> 1. Does the option DISCOGS\_MASTER YEAR provide the year for the master release (i.e. ORIGYEAR)? If so, it's apparently not working for me...

No.  
DISCOGS\_MASTER YEAR provides the year, but only if you use the master release page for tagging.  
The Problem is, that you can't get any information from the master release page when tagging from a normal page. The only exception is the Master ID itself.

My sollution for the master pages is not the most intuitive, but it allows individual usage of the master pages.  
I "doubled" all fields which are present at the master pages and at normal pages. So the user can decide how to use it.  
1.) Like a normal release page for those users who don't care about all tag fields. In this case, map all DISCOGS\_MASTER... field to the same fields as the corresponding DISCOGS\_... fields.  
2.) As a search tool to find the exact release with the API-List Master Release Page script (that's how I'm using it). In this case, use only DISCOGS\_MASTER RELEASE ID and set all other fields to "no".  
3.) If you want a field like ORIGYEAR, you could use only DISCOGS\_MASTER YEAR = ORIGYEAR and set all other fields to no. This is something which I didn't thougt about when writing the script.  
You have to do an extra search for that. "Direct by URL" has the problem that you normally won't have the MASTER URL in the WWW field after tagging from a normal page. I can think about to sollutions for that for the next update:

- writing the master URL to WWW (or a different tag field) only when present, if not, write the normal release URL.
- using the field mapped to the master URL for search with the "Direct by URL" script if present, if not, use the field mapped to the normal release URL.

> [@daanodinot](#):
>
> 1. This one is a bit crazy: Would it be possible to create some sort of list of all the tags in the settings file that do not contain 'no'. It would be very useful to keep track of what is activated so you don't mess up the file after a while.

No wish is crazy enough for the possibilities of Mp3tag 😆 . Make an export script with the following code and use it for export of the settings mp3 file.  
$filename(my discogs tag fields.txt,utf-8)$regexp($regexp($regexp($regexp($regexp($regexp($regexp($regexp($list(, = ,\<\>),\<\>,\r\n),'\[1\]+ = no$\r\n',),^ALBUM = .+?$\r\n,),^ARTIST = .+?$\r\n,),^TITLE = .+?$\r\n,),^COMMENT = .+?$\r\n,),^WWW = .+?$,),^ZZ REPLACES 1.+,)

* * *

1. ^\r\r

---

<div class="post-metadata">

**Author:** ![mp3taglover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/7feea3/32.png) [@mp3taglover](https://community.mp3tag.de/u/mp3taglover)\
**Post date:** [March 21, 2012, 5:29am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/331 "2012-03-21T05:29:47Z")

</div>

EDIT: nvm, fixed was an issue with installation 🙂

using your script to generate cue files from discogs, handy ![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:")

thanks.

the only thing is when there are multiple CDs you have to manually edit tracklist to generate cue for specific CD

---

<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:** [March 21, 2012, 8:27am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/332 "2012-03-21T08:27:00Z")

</div>

> [@mp3taglover](#):
>
> the only thing is when there are multiple CDs you have to manually edit tracklist to generate cue for specific CD

That's right. I was thinking about splitting the tracklist to different files at multi CDs, but that doesn't work without failures, due to the different track-numbering systems used at discogs.

You have to edit the tracklist before you are applying the "create cue sheet" action. And you have to apply the action to every file/disc for its own.

---

<div class="post-metadata">

**Author:** ![Pedrozo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/3e96dc/32.png) [@Pedrozo](https://community.mp3tag.de/u/Pedrozo)\
**Post date:** [March 26, 2012, 12:07pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/333 "2012-03-26T12:07:40Z")

</div>

How long we have to wait for version 4.0? I cannot wait 😃

---

<div class="post-metadata">

**Author:** ![fedsh](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/7bcc69/32.png) [@fedsh](https://community.mp3tag.de/u/fedsh)\
**Post date:** [April 4, 2012, 4:28pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/334 "2012-04-04T16:28:03Z")

</div>

really a great script but unfortunately downloading cover art does not work anymore. no error messages. just no cover art is displayed nor attached.

"OPTION: DOWNLOAD COVER ART" is set to "yes"

any suggestions or did I miss something?

thanks in advance  
fedsh

---

<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:** [April 4, 2012, 5:13pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/335 "2012-04-04T17:13:54Z")

</div>

It still works for me.

Had it worked before for you?  
Is it for all releases or only some?  
There are some releases without cover artwork at discogs. Have a look at the release page in your browser and check if it is actually there.

---

<div class="post-metadata">

**Author:** ![fedsh](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/7bcc69/32.png) [@fedsh](https://community.mp3tag.de/u/fedsh)\
**Post date:** [April 4, 2012, 6:32pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/336 "2012-04-04T18:32:26Z")

</div>

thank you for the fast reply

> [@pone](#):
>
> It still works for me.  
> Had it worked before for you?

yes it worked on mp3tag 2.49 and pone script 3.7

> [@pone](#):
>
> Is it for all releases or only some?

for all.  
when you search by artist, for example, there is a listed overview of search results where a column indicates that there is a cover available. these entries seems to be correct. but when i choose one the cover-image field of the next window is empty

fedsh

---

<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:** [April 4, 2012, 7:01pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/337 "2012-04-04T19:01:29Z")

</div>

Do other web sources with cover art work for you?  
You can use the google images script for testing: [/t/11166/1](https://community.mp3tag.de/t/11166/1)

Possible reasons for cover fail with all scripts:

- firewall settings which block picture downloads of applications  
=\> check the settings of your firewall if you have changed this

- slow internet connection:  
=\> in Mp3tag, go to File \> Options \> Networking: increase the "Timeout" seconds.

**EDIT:**  
~~If you the cover artwork appears in the "Adjust tag information" dialog window at web sources but is not stored anywhere, check the "Utils" button down left at the same dialog window. Make sure that you have checked "save image to tag" or/and "save image to disc" there.~~  
[ok, you are writing the image field of the next window is empty, so that can't be the reason]

In the settings mp3 file of my script, make sure that there is no trailing space or similar after the word "yes" at:  
OPTION: DOWNLOAD COVER ART = yes  
Are you using the newest version, 3.24 ?

---

<div class="post-metadata">

**Author:** ![fedsh](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/7bcc69/32.png) [@fedsh](https://community.mp3tag.de/u/fedsh)\
**Post date:** [April 6, 2012, 5:53pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/338 "2012-04-06T17:53:09Z")

</div>

> [@pone](#):
>
> Do other web sources with cover art work for you?

unfortunately not ☹  
so i guess pone script has nothing to do with it.

> [@pone](#):
>
> - slow internet connection:  
> =\> in Mp3tag, go to File \> Options \> Networking: increase the "Timeout" seconds.

since i have indeed some trouble with my internet connection i gonna continue trying when i have fixed his 🙂

nonetheless thank you very very much  
fedsh

---

<div class="post-metadata">

**Author:** ![daanodinot](https://community.mp3tag.de/user_avatar/community.mp3tag.de/daanodinot/32/5252_2.png) [@daanodinot](https://community.mp3tag.de/u/daanodinot)\
**Post date:** [April 18, 2012, 11:23am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/339 "2012-04-18T11:23:53Z")

</div>

Hi pone,  
It's been a while but I've finally found the time to look into Mp3tag. I noticed you answered my two questions. Thanks very much for that! The export script is definitely working and exactly what I need.

I still have some questions about the master tags. As I understand, I'll have to search an extra time in order to retrieve the original release year. Right now this is only possible by using "Direct by URL". The problem I experience is that neither the master ID nor the master URL is retrieved when I set those to "yes" in the settings file. As a result I don't get the automatic input in the search scripts. I've tried adding the tags manually and in that case the automatic input _does_ work.

I'm also a bit confused about the the master ID and master URL. You mentioned the master URL isn't always retrieved: wouldn't the same then account for the master ID? If you look on the release page, the master ID is mentioned two times in the HTML code. Both times it's part of the master URL. Also, could you show me a release page where the URL cannot be retrieved? I haven't been able to find one 😳

Thanks again for your help!

---

<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:** [April 18, 2012, 12:41pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/340 "2012-04-18T12:41:00Z")

</div>

> [@daanodinot](#):
>
> .I still have some questions about the master tags. As I understand, I'll have to search an extra time in order to retrieve the original release year. Right now this is only possible by using "Direct by URL". The problem I experience is that neither the master ID nor the master URL is retrieved when I set those to "yes" in the settings file. As a result I don't get the automatic input in the search scripts. I've tried adding the tags manually and in that case the automatic input _does_ work.
> 
> I'm also a bit confused about the the master ID and master URL. You mentioned the master URL isn't always retrieved: wouldn't the same then account for the master ID? If you look on the release page, the master ID is mentioned two times in the HTML code. Both times it's part of the master URL. Also, could you show me a release page where the URL cannot be retrieved? I haven't been able to find one 😳

Do not use "yes" for the fields which start with "DISCOGS\_". Either the tag-field name where you want that information, or the "no" if you don't want it.  
for example:

DISCOGS\_RELEASE ID = discogs\_release\_id  
DISCOGS\_RELEASE URL = www

DISCOGS\_MASTER RELEASE ID = discogs\_master\_release\_id  
DISCOGS\_MASTER RELEASE URL = www master

If Master ID & URL are written when tagging from normal release pages, is controlled by the following two yes/no options:

OPTION: WRITE DISCOGS\_MASTER RELEASE ID WHEN TAGGING FROM NORMAL RELEASE PAGES  
OPTION: WRITE DISCOGS\_MASTER RELEASE URL WHEN TAGGING FROM NORMAL RELEASE PAGES

I forgot to mention this before. The second option allows you to use one field for both, Master URL and Release URL, if you set it to "NO". Or you can write it to two different fields is you set it to "YES"

The Master URL & ID can of course only be written if the exist. They don't exist for releases with only one version.

If you want the "Direct by www" Script to look for the Master Release Page, open the .mte file and replace the fourth line with one of the following two lines. After that use the action "Discogs Pone\>Create Scripts..." again.

if you want to use the Master URL:

```
[SearchBy]=$regexp($lower($if2(%'$if($eql(%DISCOGS_MASTER RELEASE URL%,no),www,%DISCOGS_MASTER RELEASE URL%)'%,%'$if($eql(%DISCOGS_RELEASE URL%,no),www,%DISCOGS_RELEASE URL%)'%)),^www,http://www)

```

if you want to use the Master ID:  
[SearchBy]=$regexp($regexp($lower($if2(%'$if($eql(%DISCOGS\_MASTER RELEASE ID%,no),www,%DISCOGS\_MASTER RELEASE ID%)'%,%'$if($eql(%DISCOGS\_RELEASE URL%,no),www,%DISCOGS\_RELEASE URL%)'%)),^www,[http://www](http://www)),^(\d+),[http://www.discogs.com/master/$1](http://www.discogs.com/master/$1))

---

<div class="post-metadata">

**Author:** ![daanodinot](https://community.mp3tag.de/user_avatar/community.mp3tag.de/daanodinot/32/5252_2.png) [@daanodinot](https://community.mp3tag.de/u/daanodinot)\
**Post date:** [April 18, 2012, 4:22pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/341 "2012-04-18T16:22:28Z")

</div>

Hmm.. I expected this to work since I had both options set to no. Strangely, it still doesn't write the master tags. I've exported my [settings file](http://dl.dropbox.com/u/15185020/Discogs%20Settings.txt) so maybe you can have a look. I tried to keep my settings file clean so perhaps I've done a too thorough job 😛

[Previous page](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226.md?page=16)

[Next page](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226.md?page=18)
