# \[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:** 7

<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:** [May 6, 2011, 6:12pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/121 "2011-05-06T18:12:40Z")

</div>

**Update 3.5:**  
   
**Fixed:** Discogs changed the page again, I adjusted the script again.

**Fixed:** The _search by (album)artist + year_ script did not search proper, it ignored the year. This is fixed now.

---

<div class="post-metadata">

**Author:** ![TLO](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/4da419/32.png) [@TLO](https://community.mp3tag.de/u/TLO)\
**Post date:** [May 17, 2011, 11:54am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/122 "2011-05-17T11:54:22Z")

</div>

Hi Pone,  
I just realized that sometimes my artist and title information get's mixed up if I tag for example a CD release with the discogs information of the corresponding vinyl release (other tracklist).

Can you tell me what I have to edit in your script to just let your script tag the information all the tracks have in common, so leave Artist, Title, Length, CD-number,.. of the different tracks as they are?

Thanks another time for your great script and your support!

Cheers, TLO

---

<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:** [May 17, 2011, 2:27pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/123 "2011-05-17T14:27:09Z")

</div>

> [@TLO](#):
>
> I just realized that sometimes my artist and title information get's mixed up if I tag for example a CD release with the discogs information of the corresponding vinyl release (other tracklist).
> 
> Can you tell me what I have to edit in your script to just let your script tag the information all the tracks have in common, so leave Artist, Title, Length, CD-number,.. of the different tracks as they are?

I'm not sure what you mean, try this:  
In the settings mp3 file:  
TEXT OPTION: FREE WEB SOURCES SCRIPT CODE FOR STANDARD SCRIPTS = **set "tracks"**  
and after that Action: Discogs Pone \> Create Scripts

But you will have to change the settings of the script extra for the releases and change it back for other releases afterward.

Personal comments:  
I spend some time on searching for the right realease version at discogs in such cases. CD versions are listed most of the time. It can be a bit tricky to find the right version with older albums which have been released many times with different bonus tracks.

Or I just tage the tracks which are in the vinyl release and tag these with the web source. After that, I write the tag information of the not-discogs-listed bonus tracks manually.

And I always compare the tracklist of the discogs release with the filenames in the "Adjust Album Information" window, because at least in my mp3 collection there are many albums with missing tracks or different tracklists than the discogs releases.

---

<div class="post-metadata">

**Author:** ![SaJoJiN](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/67e7ee/32.png) [@SaJoJiN](https://community.mp3tag.de/u/SaJoJiN)\
**Post date:** [May 17, 2011, 4:54pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/124 "2011-05-17T16:54:49Z")

</div>

Hi

first i'm sorry about my bad english i hope you can understand what im going to tell ya.

ok i want to install your script to use discogs but i have a problem.  
I have downloaded the package and copied the extracted files to my Home Folder of Mp3Tag.

Then i dont understand what it means to load the seetings mp3 file in mp3tag?

Must the file only shown in the Folder Listing Window of Mp3tag?

I have tried it so and now i have to open the Aktiongroup. But here i dont understand what i have to  
do there? My Options in the Aktion Groups are in german ( CDR, Standard, Schreibweise ändern )

There is nothing with update etc.

help would be nice  
thx so far

---

<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:** [May 17, 2011, 7:54pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/125 "2011-05-17T19:54:46Z")

</div>

See here for a German instruction / Schau hier für eine deutsche Anleitung:  
[Discogs-Pone Script Version 3 von 2011](https://community.mp3tag.de/t/11816/9)

If you don't see the action Discogs Pone\>Create Scripts you have moved the extracted files into the wrong folder. You have to move the files with the folders into the **%appdata%\Mp3tag\</b\> directory. The folder structure of the extracted files and folder must be kept as it ist.**

Wenn du die Aktion Discogs Pone\>Create Scripts nicht siehst, hast du die extrahierten Dateien in den falschen Ordner geschoben. Die Dateien müssen mit den Ordnern aus der Zip Datei in das **%appdata%\Mp3tag\</b\> Verzeichnis. Dabei muss die Ordnerstruktur der extrahierten Ordner und Dateien beigehalten werden.**

---

<div class="post-metadata">

**Author:** ![SaJoJiN](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/67e7ee/32.png) [@SaJoJiN](https://community.mp3tag.de/u/SaJoJiN)\
**Post date:** [May 19, 2011, 10:54am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/126 "2011-05-19T10:54:23Z")

</div>

Wow

very nice Script 10000 times Thank You.

Another Question i get. I Have a Folder lets say with 100 mp3 files and want wo search for covers.  
I dont want to click every mp3 file and search for cover manually. Is it possible to do it automaticly.

Like i Click a Button and get the search results for the first track  
and when its correct cover, tags etc then i can click ok or if its wrong i can click next and the search goes one with the second mp3 file?

this would be also very great 😃

---

<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:** [May 19, 2011, 4:48pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/127 "2011-05-19T16:48:47Z")

</div>

> [@SaJo](#):
>
> Another Question i get. I Have a Folder lets say with 100 mp3 files and want wo search for covers.  
> I dont want to click every mp3 file and search for cover manually. Is it possible to do it automaticly.
> 
> Like i Click a Button and get the search results for the first track  
> and when its correct cover, tags etc then i can click ok or if its wrong i can click next and the search goes one with the second mp3 file?

Not with Mp3tag when the mp3 files belong to different albums/releases.

There is an [easy script by me](https://community.mp3tag.de/t/11166/1) and a [very good tool by dano](https://community.mp3tag.de/t/11341/1) for cover images. But with both you have to search and click ok for every album. When 100 tracks belong to 100 album, you need 100 searches and 100 ok clicks ☹

---

<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:** [May 23, 2011, 10:05am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/128 "2011-05-23T10:05:52Z")

</div>

> [@\[WS\] Discogs ALL](https://community.mp3tag.de/t/ws-discogs-all/8641/195):
>
> What is this suppose to mean?
> 
> Tag Sources - Discogs Pone - Search by artist and it gives me this

This means that you did not read [my instructions](https://community.mp3tag.de/t/9226/1) carefully enough.

Either (a) you deleted the fields DISCOGS\_ALBUMARTIST and DISCOGS\_ARTIST in the _Discogs Pone Web Script Settings.mp3_ file, or ( b ) you exported the web scripts from a different file.

If a:  
Don't delete tag fields in the _Discogs Pone Web Script Settings.mp3_ file. Set the value of the fields which you don't want to "no". If you did delete fields, you have to download the file again.

If b:  
Step 4 of my instruction: load _Discogs Pone Web Script Settings.mp3_ into Mp3tag  
The action groups in Step 5 and 7 are meant to be run on that file.

some details on the search string:

The search by (album)artist searches for:  
$regexp($if2($regexp(%albumartist%,^va$,Various,1),%artist%),The (.\*),$1)

That means, it searches for %albumartist% if that field is present, or it search for %artist% if %albumartist% is not present.  
There are some replacements which are made with the search string:

- "va" is replaced by "Various"
- A leading "The" is deleted from the search string, beacause you get better search result in most cases.

"albumartist" and "artist" are the standard values of the fields DISCOGS\_ALBUMARTIST and DISCOGS\_ARTIST in the _Discogs Pone Web Script Settings.mp3_ file. If you replace this with other values (e.g. "album artist"), these other values are taken for the search.

---

<div class="post-metadata">

**Author:** ![RoYcO1979](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/7bcc69/32.png) [@RoYcO1979](https://community.mp3tag.de/u/RoYcO1979)\
**Post date:** [May 24, 2011, 8:53pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/129 "2011-05-24T20:53:11Z")

</div>

Maybe a very stupid question, but how can i get cover art?  
everytime i search for something i cant see coverart for that?

Never mind i get it!!

---

<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:** [May 25, 2011, 5:55am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/130 "2011-05-25T05:55:19Z")

</div>

> [@RoYcO1979](#):
>
> Maybe a very stupid question, but how can i get cover art?  
> everytime i search for something i cant see coverart for that?
> 
> Never mind i get it!!

This also happens to some times if search at the same time when I'm downloading some file. I think it has something to to with internet speed. When it takes to long to get the picture, mp3tag sets a timeout for it.

---

<div class="post-metadata">

**Author:** ![FreaQ](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/c67d28/32.png) [@FreaQ](https://community.mp3tag.de/u/FreaQ)\
**Post date:** [May 30, 2011, 5:11am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/131 "2011-05-30T05:11:57Z")

</div>

Hi pone,

there is a light mistake with your script.  
When I set TOTALDISCS it is written everytime the quantity of the mediatype is set.

2x CD (or Vinyl) -\> TOTALDISCS = 2 -\> correct  
3x CD (or Vinyl) -\> TOTALDISCS = 3 -\> correct  
.  
.  
.

2x File -\> TOTALDISCS = 2 -\> incorrect  
11x File -\> TOTALDISCS = 11 -\> incorrect  
.  
.  
.

Maybe you can correct it with the next release.

---

<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:** [May 30, 2011, 6:21am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/132 "2011-05-30T06:21:14Z")

</div>

> [@FreaQ](#):
>
> there is a light mistake with your script.  
> When I set TOTALDISCS it is written everytime the quantity of the mediatype is set.
> 
> 2x File -\> TOTALDISCS = 2 -\> incorrect  
> 11x File -\> TOTALDISCS = 11 -\> incorrect

That's right. TOTALDISCS is simply the quantity of the mediatype.

What would be correct for for "file" releases? Keeping TOTALDISCS blank? 0? 1?

---

<div class="post-metadata">

**Author:** ![FreaQ](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/c67d28/32.png) [@FreaQ](https://community.mp3tag.de/u/FreaQ)\
**Post date:** [May 30, 2011, 8:02am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/133 "2011-05-30T08:02:47Z")

</div>

From my point of view: Keep it blank.  
In my opinion TOTALDISCS refers to physical media and "File" is not a physical medium.

---

<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:** [May 30, 2011, 9:48am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/134 "2011-05-30T09:48:32Z")

</div>

I will care for that in the next update.

Until that, you can fix it yourself by using the TEXT OPTION: FREE WEB SOURCES SCRIPT CODE ... Fields of the settings file.

Add this code:

```
gotoline 3
findline "class=\"head\">Format:"
moveline 1 1
joinuntil "</div>"
findinline " &times;" 1 1
findinline ">" 1 1
if "File"
set "totaldiscs"
endif

```

to this three fields in the option file:  
TEXT OPTION: FREE WEB SOURCES SCRIPT CODE FOR DJ SETS IN ONE FILE TRACKLIST SCRIPT  
TEXT OPTION: FREE WEB SOURCES SCRIPT CODE FOR MULTISONG-TRACKS TRACKLIST SCRIPT  
TEXT OPTION: FREE WEB SOURCES SCRIPT CODE FOR STANDARD SCRIPTS

Note:  
If you haven't used these option fields befor, replace "#" with the code.  
If you already other code in these option fields, add the code after your already existing code there.

In the code, I have written " **set "totaldiscs"**", assuming that TOTALDISCS is the name for this fiel. If you have chosen a different fieldname for DISCOGS\_TOTALDISCS, you have to use that.

By the way:  
Are you happy with the way totalidiscs is written for single disc releases?  
It is left blank instead of being written as "1"  
Maybe I can also change that.

---

<div class="post-metadata">

**Author:** ![FreaQ](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/c67d28/32.png) [@FreaQ](https://community.mp3tag.de/u/FreaQ)\
**Post date:** [May 31, 2011, 4:34am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/135 "2011-05-31T04:34:02Z")

</div>

QUOTE (pone @ May 30 2011, 13:48) \<{POST\_SNAPBACK}\>

I will care for that in the next update.

Until that, you can fix it yourself by using the TEXT OPTION: FREE WEB SOURCES SCRIPT CODE ... Fields of the settings file.

Add this code:

```
gotoline 3
findline "class=\"head\">Format:"
moveline 1 1
joinuntil "</div>"
findinline " &times;" 1 1
findinline ">" 1 1
if "File"
set "totaldiscs"
endif

```

to this three fields in the option file:  
TEXT OPTION: FREE WEB SOURCES SCRIPT CODE FOR DJ SETS IN ONE FILE TRACKLIST SCRIPT  
TEXT OPTION: FREE WEB SOURCES SCRIPT CODE FOR MULTISONG-TRACKS TRACKLIST SCRIPT  
TEXT OPTION: FREE WEB SOURCES SCRIPT CODE FOR STANDARD SCRIPTS

Note:  
If you haven't used these option fields befor, replace "#" with the code.  
If you already other code in these option fields, add the code after your already existing code there.

In the code, I have written " **set "totaldiscs"**", assuming that TOTALDISCS is the name for this fiel. If you have chosen a different fieldname for DISCOGS\_TOTALDISCS, you have to use that.

  
Will try that.

> [@pone](#):
>
> By the way:  
> Are you happy with the way totalidiscs is written for single disc releases?  
> It is left blank instead of being written as "1"  
> Maybe I can also change that.

I am fine with a blank field for single disc releases.

---

<div class="post-metadata">

**Author:** ![njwalks](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/49beb7/32.png) [@njwalks](https://community.mp3tag.de/u/njwalks)\
**Post date:** [June 18, 2011, 6:54pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/136 "2011-06-18T18:54:21Z")

</div>

Hi pone,

Have you thought about adding an option to link to Discogs via the ID for the DIGITAL releases - these are now becoming more and more popular due to ever-evolving technology and the way we purchase music - sometimes the digital release has extra tracks and tracklistings in a slightly different order.

I am currently using Pone 3.5 - many thanks and keep up all your great work! 🙂

All the best, Neil

---

<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:** [June 18, 2011, 7:07pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/137 "2011-06-18T19:07:07Z")

</div>

What ID do you mean?  
The discogs release ID, which is part of the discogs URL is already there.  
I see no other ID at discogs pages. Can you give a example?

---

<div class="post-metadata">

**Author:** ![Leftaf](https://community.mp3tag.de/user_avatar/community.mp3tag.de/leftaf/32/7767_2.png) [@Leftaf](https://community.mp3tag.de/u/Leftaf)\
**Post date:** [June 25, 2011, 3:04pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/138 "2011-06-25T15:04:08Z")

</div>

Hi Pone,

I hope for you this is any easy answer. Where do I have to modify the script to get country in the search result shown?

 ![](https://community.mp3tag.de/uploads/default/original/2X/1/1d322d712d15b37d4919a997eb855d1fd3dbb291.png)  

the country which are shown here one screen later

![](https://community.mp3tag.de/uploads/default/original/2X/7/7222c064d757138a780b9fe564002f5d7c85387a.png)

thanks for your support

Leftaf

 ![](https://community.mp3tag.de/uploads/default/original/2X/1/1d322d712d15b37d4919a997eb855d1fd3dbb291.png)  

![](https://community.mp3tag.de/uploads/default/original/2X/7/7222c064d757138a780b9fe564002f5d7c85387a.png)

---

<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:** [June 27, 2011, 1:45pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/139 "2011-06-27T13:45:03Z")

</div>

> [@Leftaf](#):
>
> I hope for you this is any easy answer. Where do I have to modify the script to get country in the search result shown?

Unfortunately this is not possible.  
The search results are from a page like this:  
[http://www.discogs.com/advanced\_search?art...Search+Releases](http://www.discogs.com/advanced_search?artist=Kraftwerk&track=The+Robots&btn=Search+Releases)

As you can see, discogs search results has only fixed places for Artist, Album, Year, Format, Publisher & Catalog #. The country is sometimes mentioned in the preview text which my script presents as "info". But it is not always there

---

<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:** [July 12, 2011, 6:24pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/140 "2011-07-12T18:24:54Z")

</div>

Hello, I have some problem:  
[http://imageshack.us/photo/my-images/98/41915039.gif](http://imageshack.us/photo/my-images/98/41915039.gif)  
Pone mod lost the main mix titles, and show only names of tracks in megamix. Can you fix this?  
THX  
P.S. Grate mod

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

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