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

<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 11, 2011, 8:38am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/81 "2011-04-11T08:38:33Z")

</div>

Get the new 3.2 version [form the starting post](https://community.mp3tag.de/t/9226/1). It does all what the 2.7 version did.  
The difference is, that you can change many things now if you want, but you don't have to.  
And you don't get ready-to-use .src files anymore. But they are created in step 6 of my script installation & usage instruction of the starting post.  
You can delete the 2.7 files.

---

<div class="post-metadata">

**Author:** ![gizbo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/9de0a6/32.png) [@gizbo](https://community.mp3tag.de/u/gizbo)\
**Post date:** [April 11, 2011, 9:42am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/82 "2011-04-11T09:42:52Z")

</div>

> [@pone](#):
>
> Get the new 3.2 version [form the starting post](https://community.mp3tag.de/t/9226/1). It does all what the 2.7 version did.  
> The difference is, that you can change many things now if you want, but you don't have to.  
> And you don't get ready-to-use .src files anymore. But they are created in step 6 of my script installation & usage instruction of the starting post.  
> You can delete the 2.7 files.

I see now that are created in the same folder, i did not see before 😃

Thanks again.

---

<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 11, 2011, 9:51am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/83 "2011-04-11T09:51:20Z")

</div>

> [@gizbo](#):
>
> I see now that are created in the same folder, i did not see before 😃

Move the _Discogs Pone Web Script Settings.mp3_ file to %appdata%\mp3tag and everything is created in the folder where it belongs.

---

<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 13, 2011, 11:51pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/84 "2011-04-13T23:51:58Z")

</div>

**Update 3.3:**

**Fixed:** Discogs did changes again, I had to change the script again...

---

<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:** [April 14, 2011, 1:48am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/85 "2011-04-14T01:48:08Z")

</div>

😳 Thanks again

---

<div class="post-metadata">

**Author:** ![Beluna](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/ed655f/32.png) [@Beluna](https://community.mp3tag.de/u/Beluna)\
**Post date:** [April 14, 2011, 3:05am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/86 "2011-04-14T03:05:52Z")

</div>

I suspected a change was being made, but I saw no Alert posted.

First, the previous script 3.2 was a great modification - not sure if 3.3 changes needed to occur so soon - however, 1. is it possible to post a notice to users in advance of new changes coming and (2) maybe schedule them 30 -60 days...

It's like fumbling with your keys - knowing it should work only to find out the lock has been changed.

Great job.... need an advance notice...

---

<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 14, 2011, 10:15am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/87 "2011-04-14T10:15:32Z")

</div>

No, that's not possible. I can't send you a alert.

I have no control of your Mp3tag or your computer, so I can't send you a notice that a update has been released.  
And I have no control of when discogs make changes on their website. So I can't choose the moment when I do a update.  
Only the 3.0 & 3.2 updates were choosen free by me. The first was something I wanted to change since a long time, and the second were some ideas other users had here. I do this when I have the time and the ideas, noc chance for a regular release rhythm.

But it's pretty easy for the users. Updates are always released here. If your script is not working anymore, most probably discogs has changed something and there will be a update of the script. So if you get a error message by the script, or some fields are not written any more or are written wrong, just have a look here. And if I haven't made a update yet, leaf a post **in this tread** , that the script has problems. I subscribed this tread per email, so I will see you meassage. That's something you could do, too, if you want a message for every script update. But of course you also get messages for other discussions in this thread.

---

<div class="post-metadata">

**Author:** ![KrissO](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/96bed5/32.png) [@KrissO](https://community.mp3tag.de/u/KrissO)\
**Post date:** [April 15, 2011, 9:52pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/88 "2011-04-15T21:52:36Z")

</div>

> [@pone](#):
>
> What points are unclear?  
> I gave a step by step instruction in the starting post:  
> [[WS] Discogs (pone mod)](https://community.mp3tag.de/t/9226/1)

I am sorry, everything works like a charm now. I must say your script is almost PERFECT!

Is here a way to.

1. Auto run actions after I have clicked ok in the tag information window?
2. Auto save after actions is run (instead of ctrl+s)

Good work, keep it up! 😃

---

<div class="post-metadata">

**Author:** ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)\
**Post date:** [April 16, 2011, 1:36pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/89 "2011-04-16T13:36:57Z")

</div>

I'm running a portable version of mp3tag. The path for the Program is **F:\PROGRAMS\Mp3tag portable**

When I run **step 7.** _run the action group: Discogs Pone\>Create Scripts_

It only creates the **Discogs &Pone# API-List &Artist.src** inside the folder **F:\PROGRAMS\Mp3tag portable\data\sources**

But **ALL** the .scr files are created in the **%appdata%\mp3tag** I was wondering is there a workaround so that they are created inside the root folders of your installation instead of the main roots.

BTW is there a way to make the album field appear like this? **album** **[catalog #]** appending the album with the catalog #

Thanks for the update, only got round to using it now.

---

<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 16, 2011, 2:25pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/90 "2011-04-16T14:25:02Z")

</div>

> [@KrissO](#):
>
> I am sorry, everything works like a charm now. I must say your script is almost PERFECT!
> 
> Is here a way to.
> 
> 1. Auto run actions after I have clicked ok in the tag information window?
> 2. Auto save after actions is run (instead of ctrl+s)
> 
> Good work, keep it up! 😃

1. no, it's not possible to combine actions and web sources in one automatic process.  
but you can tell me about your actions, maybe i can integrate them as options in the script

2. after actions (and also after web sources) there is always a auto save.  
the only "exception" is for multivalue tags. the seperator there \\ is read as literals when you write them with actions or web sources. the only way to transform \\ into mutlivalue field seperators is ctrl+s. there is also no way to change that at the moment. i have already made a feature request to Florian to change that in Mp3tag. Maybe it will come in the future.

---

<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 16, 2011, 2:42pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/91 "2011-04-16T14:42:44Z")

</div>

> [@stevehero](#):
>
> I'm running a portable version of mp3tag. The path for the Program is **F:\PROGRAMS\Mp3tag portable**
> 
> When I run **step 7.** _run the action group: Discogs Pone\>Create Scripts_
> 
> It only creates the **Discogs &Pone# API-List &Artist.src** inside the folder **F:\PROGRAMS\Mp3tag portable\data\sources**
> 
> But **ALL** the .scr files are created in the **%appdata%\mp3tag** I was wondering is there a workaround so that they are created inside the root folders of your installation instead of the main roots.

Ah thanks. That shows me another little mistake. ...API-List Artist should also be in %appdata%\mp3tag.

The workaround is:

- open the Discogs Pone\>Create Scripts action group
- open all export actions of this action group (one after the other)
- in the line "Export file name:" delete all the $if... function so that only _data\sources\Discogs &Pone#....src_ is left over (as it is now with _discogs pone# API-List Artisti.src_)

I think i can make something for portable installations in the next update.

> [@stevehero](#):
>
> BTW is there a way to make the album field appear like this? **album** **[catalog #]** appending the album with the catalog #

I will think for a way to combine fields freely and add additional characters. Should be possible, but will make the options more complex.

---

<div class="post-metadata">

**Author:** ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)\
**Post date:** [April 16, 2011, 5:05pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/92 "2011-04-16T17:05:32Z")

</div>

> [@pone](#):
>
> The workaround is:
> 
> - open the Discogs Pone\>Create Scripts action group
> - open all export actions of this action group (one after the other)
> - in the line "Export file name:" delete all the $if... function so that only _data\sources\Discogs &Pone#....src_ is left over (as it is now with _discogs pone# API-List Artisti.src_)

Thanks the way I fixed it was to just copy the files from the **%appdata%\mp3tag** to **F:\PROGRAMS\Mp3tag portable\data\sources** where my sources reside.

> [@](#):
>
> I will think for a way to combine fields freely and add additional characters. Should be possible, but will make the options more complex.

Thanks , I like the way these scripts keep growing and growing 🙂  
P.S pity there wasn't one like this out there for **beatport.com** ☹

---

<div class="post-metadata">

**Author:** ![Downunder](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/e47774/32.png) [@Downunder](https://community.mp3tag.de/u/Downunder)\
**Post date:** [April 17, 2011, 12:09am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/93 "2011-04-17T00:09:34Z")

</div>

I was wondering whether it is possible to add a Country column to the results page for the Search by Album(Artist) + Album script or I guess for any search? It is not always clear from the Info Column what the Country is so you have go to the next page to find out which is a bit tedious if it isn't the country that you are looking for.

---

<div class="post-metadata">

**Author:** ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)\
**Post date:** [April 17, 2011, 12:55am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/94 "2011-04-17T00:55:29Z")

</div>

> [@pone](#):
>
> The workaround is:
> 
> - open the Discogs Pone\>Create Scripts action group
> - open all export actions of this action group (one after the other)
> - in the line "Export file name:" delete all the $if... function so that only _data\sources\Discogs &Pone#....src_ is left over (as it is now with _discogs pone# API-List Artisti.src_)

**Still no joy. Probably missing something simple.**

**POST EDIT: GOT .SCR'S TO EXPORT CORRECTLY WITH PORTABLE VERSION**

Inside the _ **\data\actions** _ folder open the file **_Discogs &Pone#Create &Scripts (after editing the settings mp3 file).mta_**

Use notepad or something similar to replace:

```
$ifgreater($replace($replace($regexp(%_app%,v2.48\\\\w,v2.49),Mp3tag v,),.,),248,$getenv(appdata)\\\\Mp3tag\\\\,)

```

With:

```
"_"

```

(\_ represents an empty space)

---

<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 17, 2011, 10:38am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/95 "2011-04-17T10:38:16Z")

</div>

> [@Downunder](#):
>
> I was wondering whether it is possible to add a Country column to the results page for the Search by Album(Artist) + Album script or I guess for any search? It is not always clear from the Info Column what the Country is so you have go to the next page to find out which is a bit tedious if it isn't the country that you are looking for.

The result pages of the _Seach by..._ script search are based on the result pages of this search enginge:  
[http://www.discogs.com/advanced\_search?btn=Search+Releases](http://www.discogs.com/advanced_search?btn=Search+Releases)  
I can only show things which are displayed there. And the country, if there at all, is hidden in the info lines.

You can add something like:  
&country=US  
&country=Germany  
&country=UK  
&country=Europe  
...  
to the end of your search term to limit your search on a certain country.

---

<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 17, 2011, 10:43am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/96 "2011-04-17T10:43:00Z")

</div>

> [@stevehero](#):
>
> Inside the _ **\data\actions** _ folder open the file **_Discogs &Pone#Create &Scripts (after editing the settings mp3 file).mta_**
> 
> Use notepad or something similar to replace:
> 
> ```
> $ifgreater($replace($replace($regexp(%_app%,v2.48\\\\w,v2.49),Mp3tag v,),.,),248,$getenv(appdata)\\\\Mp3tag\\\\,)
> 
> ```
> 
> With:
> 
> ```
> "_"
> 
> ```
> 
> (\_ represents an empty space)

Yes, that is also possible. But you could have done this from within Mp3tag:  
Menubar\>Actions\>Actions\>Discogs Pone#Create Scripts\>Export "Discogs Pone Create ..."\>Export file name

---

<div class="post-metadata">

**Author:** ![KrissO](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/96bed5/32.png) [@KrissO](https://community.mp3tag.de/u/KrissO)\
**Post date:** [April 18, 2011, 3:41pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/97 "2011-04-18T15:41:01Z")

</div>

> [@pone](#):
>
> 1. no, it's not possible to combine actions and web sources in one automatic process.  
> but you can tell me about your actions, maybe i can integrate them as options in the script
> 
> 2. after actions (and also after web sources) there is always a auto save.  
> the only "exception" is for multivalue tags. the seperator there \\ is read as literals when you write them with actions or web sources. the only way to transform \\ into mutlivalue field seperators is ctrl+s. there is also no way to change that at the moment. i have already made a feature request to Florian to change that in Mp3tag. Maybe it will come in the future.

Ok, that would be super!

Ok so I have one action for adding publisher and catalog number in the comment field:  
Format value "COMMENT": %publisher% / %catalog #%  
Example: Colombia Records / COL001

Should be easy for you to add?

I guess renaming can be done in many different ways so I wouldn't expect you to add that as script options, but this is my simple action for that:  
Case conversion "\_FILENAME": Mixed Case  
Format value "\_FILENAME": %artist%-%title%  
Replace "_FILENAME": " " -\> "_" (replace spaces with underscores)  
Replace "_FILENAME": "(" -\> "_" (replace left bracket with underscore)  
Replace "_FILENAME": ")" -\> "" (remove right bracket)  
Example: Tiesto_&\_50\_Cent-In\_Da\_Flight\_\_Eminem\_Remix.mp3

Cheers!

---

<div class="post-metadata">

**Author:** ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)\
**Post date:** [April 18, 2011, 5:12pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/98 "2011-04-18T17:12:22Z")

</div>

> [@pone](#):
>
> Yes, that is also possible. But you could have done this from within Mp3tag:  
> Menubar\>Actions\>Actions\>Discogs Pone#Create Scripts\>Export "Discogs Pone Create ..."\>Export file name

**PORTABLE USERS OF THE PROGRAM**

I've uploaded the **_Discogs &Pone#Create &Scripts (after editing the settings mp3 file).mta_** file for any users out there who use the portable version of the app.

Just place this [Discogs\_\_Pone\_Create\_\_Scripts\_\_after\_editing\_the\_settings\_mp3\_file\_.mta](https://community.mp3tag.de/uploads/default/original/2X/f/f116580ad573d7f537a3262b5b69d61905baf728.mta) (2.6 KB) inside your _DRIVELETTER:...\data\actions_ folder, and once you run this .mta file the scripts are then created inside your portable folder instead of the _%appdata%\mp3tag_

[Discogs\_\_Pone\_Create\_\_Scripts\_\_after\_editing\_the\_settings\_mp3\_file\_.mta](https://community.mp3tag.de/uploads/default/original/2X/f/f116580ad573d7f537a3262b5b69d61905baf728.mta) (2.6 KB)

---

<div class="post-metadata">

**Author:** ![Downunder](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/e47774/32.png) [@Downunder](https://community.mp3tag.de/u/Downunder)\
**Post date:** [April 19, 2011, 2:52am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/99 "2011-04-19T02:52:10Z")

</div>

> [@pone](#):
>
> The result pages of the _Seach by..._ script search are based on the result pages of this search enginge:  
> [http://www.discogs.com/advanced\_search?btn=Search+Releases](http://www.discogs.com/advanced_search?btn=Search+Releases)  
> I can only show things which are displayed there. And the country, if there at all, is hidden in the info lines.
> 
> You can add something like:  
> &country=US  
> &country=Germany  
> &country=UK  
> &country=Europe  
> ...  
> to the end of your search term to limit your search on a certain country.

Thanks for that. I have just replicated the Album Artist + Album search script with a different &country added to the search for each one which has solved my problem nicely. 😃

---

<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:** [April 19, 2011, 5:40am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/100 "2011-04-19T05:40:33Z")

</div>

Is it just me or is 3.3 not working anymore?

@Pone  
Do I need to update your dummy mp3 also if I go from 3.2 -\> 3.3?

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

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