[WS] Discogs Album search + VA

wonderful!

the new script works fine as better as before!

my favorit is SEARCH for ARTIST + TITEL

THX!

Hello,

I am new to this forum and to mp3tag. Everything worked fine until today. I am again getting an message in the Album field and no info is pulled from Discogs.

Is there something wrong with the script or Discogs or is the problem on my end?

I doubt the problem is on my side, since nothing has changed on my computer - no changes in HD or SW...

Thanx for any hints/solutions.

The problem was a change in the discogs web site. Please download & install the new scripts from this topic and it should be fine.

Thanks for the updates. There is one minor flaw, in discogs-Release_ID_extended.src when there is no country noted in the tags at discogs, then the script fails at tag-lookup with .

Can you give me a release with no country?

Thanks again for the updates Dano!
Working again... :music:

Another update, it should fix the no country problem and some other stuff.

hello dano,

so sorry to bother you again, but the discogs-script makes problems again.
it does not find the artist and song-titles.
and an message appears in the style-field.
could you please take a look?
thanks so much!!!!

@dano:

replace

findline ">Tracklist"

with

findline ">Tracklist"

and it should work again. just updated my script.

Thanks. Updated...

Thanks for the working scripts again.

Is there any way to make DISCOGS_CATALOG only show just the first catalogue ID?

i.e; for (%DISCOGS_CATALOG%) to show

(disccat1)
instead of;
(disccat1, disccat2, disccat3, etc)

?

Many Thanks

Use this code for the catalog part:

# Catalog#:
outputto "Discogs_Catalog"
findline "class=\"head\">Catalog#:"
replace "</div>" ""
joinuntil "</div>"
regexpreplace ",.+(</div>)" "$1"
findinline "content\">"
sayuntil "</div>"

This doesn't work as I would expect when there is is two songs per track.

Example: Andy C – Nightlife 5 - Drum & Bass

This source script thinks this is track 10 & 11 rather than both being track 10. So the script things this album is 4 tracks two long.

The way I tag these if doing it manually would be:
Track: 10
Artist: Konflict / Splash
Title: Messiah / Babylon

I have made an extra script for releases like that.
It's called "tracklist for albums with multisong tracks" and it's in my discogs pone script bundle.
You have to tag the album with a standard script first (from dano or one of mine) and use my script afterward.
/t/9226/1

EDIT:
If you use dano's scripts, you have to use one of his extended scripts, because my "tracklist for albums with multisong tracks" script uses DISCOGS_RELEASE_ID for search.

Here is a little explanation of my "tracklist for albums with multisong tracks" script, with some example releaseses, and some others where it still fails to get the tracks right:
[WS] Discogs (pone mod)

QUOTE (dano @ Jun 23 2011, 16:06) <{POST_SNAPBACK}>
Use this code for the catalog part:
# Catalog#:
outputto "Discogs_Catalog"
findline "class=\"head\">Catalog#:"
replace "</div>" ""
joinuntil "</div>"
regexpreplace ",.+(</div>)" "$1"
findinline "content\">"
sayuntil "</div>"<!--QuoteEnd--></div><!--QuoteEEnd-->

Thanks for that, I sort of stumbled when it didnt work at first so I looked at the differences between the original and the code you put and noticed a bit was missing because the forums didnt like the syntax in the 'findline' line, so I rectified it and now it works like a charm.

No more super long filenames, thanks :wink:

Discogs changed something again...

Does not work for example for "Aiera&release_title=Skydive" (http://www.discogs.com/Aiera-Skydive/release/3005672).

Publisher: Blue Soho Recordings &ndash; BLS 039
Discogs_Catalog: <Error>

BLS 039 should be the catalog number.

Label and catalog number are now displayed in a row. Would be nice if the script was updated.

Thank you!

That's how I solved it for my modificated script version:

DISCOGS_LABEL

outputto "publisher"
findline "class="head">Label:"
findline "<div" 2 1
joinuntil ""
replace "|" "/"
regexpreplace " (\d{1,2})" ""
regexpreplace "([^>]*), The( (\d{1,2}))?" "The $1"

regexpreplace "\s{2,}" " "
regexpreplace "<a href="/label/.+?">" "<a href="/label/">"
sayregexp "(?<=<a href="/label/">).+?(?=)" "\\"

CATALOG

outputto "discogs_catalog"
sayregexp "(?<= –).+?(?=(, <a href=|))" "\\"

Comments:

regexpreplace " \(\d{1,2}\)" ""

use this only if you want to write labels which have the same name without the number in parentheses.
e.g. for releases from this label: http://www.discogs.com/label/Field+Records+%283%29

regexpreplace "([^>]*), The( (\d{1,2}))?" "The $1"

use this only if you want to write "The Label" instead of "Label, The"

e.g. for releases from this label http://www.discogs.com/label/Savant+Guard%2C+The

"\\\\" use this only if you want to split multiple entries into multivalue tags. (additional saving necessary after running the script). If not, use ", " (or whatever you like) as sepeartor.

Also, the default 'discogs' script is pulling the full release date, not just the year. I don't mind that info, but I have 100GB of retagged files with just the year, so maybe if the full release date could be added to a different tag line.

In any event, if Dano could get this script updated, I'd really appreciate it...I use it daily.

Taggin with the Discogs script gives an error. Seems like it's time for an update...

Hi dano

Your updated script doesn't get proper results for releases which have more than one label and catalog#.
Examples:
http://www.discogs.com/release/837614
http://www.discogs.com/release/51236

And it has a problem with releases by labels with a "|" in the name.
Examples:
http://www.discogs.com/label/tanzbar|musik
http://www.discogs.com/label/tanzbar|digital