[WS] Discogs (pone mod)

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 :stuck_out_tongue:
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 :slight_smile:

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

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 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
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
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

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

"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
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

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
"API-List Label" for "Spinnin' Records": http://api.discogs.com/label/Spinnin%27+Re...&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 :smiley: so while I've written this, you have found out yourself.

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 :slight_smile:

Thanks again.

Freue mich auf die "Nächste Generation".

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:

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!!

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.

d/l-ing now. thanks for the update :slight_smile: cannot wait for 4.0 :wink:

It is working! If you have a closer look you'll see it's not quite the same advice :wink:

Anyway, I'm looking forward to 4.0. I'm surprised you were using the Discogs HTML pages all the time :astonished: 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.

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.

No wish is crazy enough for the possibilities of Mp3tag :laughing: . 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 ↩︎

EDIT: nvm, fixed was an issue with installation :slight_smile:

using your script to generate cue files from discogs, handy :rolleyes:

thanks.

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.

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

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

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.

thank you for the fast reply

yes it worked on mp3tag 2.49 and pone script 3.7

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

Do other web sources with cover art work for you?
You can use the google images script for testing: /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 ?

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

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

nonetheless thank you very very much
fedsh

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 :flushed:

Thanks again for your help!

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),^(\d+),http://www.discogs.com/master/$1)

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 so maybe you can have a look. I tried to keep my settings file clean so perhaps I've done a too thorough job :stuck_out_tongue: