Help - Search - Members - Calendar
Full Version: [WS] Discogs Album search + VA
Mp3tag Forums > Mp3tag - International > Development > Web Sources Scripts
Pages: 1, 2, 3, 4, 5
dano
Mp3tag v2.33 or higher required
(Based on the normal discogs script.)

How do I install the script? / Wie installiere ich das Script?

Normal infos:
  • discogs.src
    Search by: Album
    Imports: Artist, Album, Genre, Title, Year, Style, Publisher, Cover
Extended infos - Mp3tag v2.50 required
  • discogs-Release ID extended.src
    discogs-Search by Artist + Title.src
    discogs-Search by Artist + Album.src
    discogs-Search by Album.src
    discogs-Search by Artist.src


    Imports: Artist, Album, Genre, Title, Year, Band, Catalog No, Country, Discnumber, Full Date, Style, Publisher, Mediatype, Mixartist, Cover
    Note: The Release ID is the number in the direct url of an album
    Example: From hxtp://www.discogs.com/release/123456 it would be 123456

    Note:
    This is a ready compiled version of the pone discogs script



Scripts with even more discogs tags and customization options are available here:
http://forums.mp3tag.de/index.php?showtopic=10431

.
..
...
hm1234
Hi.. (now running) but...

if you try to serach for Every Day [ http://www.discogs.com/release/38037 ]
this release won't be displayed in the search results. There are some other results.. but that one is missing.
dano
"Every Day" has 54 results:
http://www.discogs.com/search?type=release...very+Day&btn=Go
Your album is on the last page, the script can only search on the first page.
Ok in this script you can search by Catalog#:
Ydope
Thanks for the great discogs_release source. I'm using it all the time since i found it. :-)
When i try to import
http://www.discogs.com/release/23362
a part of the artist's name "3MB Featuring 'Magic' Juan Atkins" is missing. Probably because the hyperlink ends after that 3MB ?
dano
Please try this one. Also test with other releases if you can, it has some new code.
Ydope
Thanks. That worked now. :-)
Now look at this one: http://www.discogs.com/release/32785
or
http://www.discogs.com/release/32786

When there are two artists like this, it doesnt find the titles but puts the artist names instead.
I cant tell if the older verson did that, too.
dano
Yes that's because these albums are various artists albums but the script does not recognize them as such.
Currently VA albums are only recognized if the artist begins with "Various" and I won't change that ATM.
As a workaround you can use this script that just always asumes that the album is VA
So you must switch between the 2 scripts yourself.
Ydope
Thanks,

I am happy with this solution but in this particular case it fails:
http://www.discogs.com/release/137894

(the first track has got two artists divided by ' & ' and of these only the first artist is retrieved)

Thank for your fast answers, I know I'm a pain in the *** :-)
dano
Ok, it was also a problem on some other albums, so here's an update (both scripts)

Next update will be discogs_album because that doesn't work at all anymore I think.
Ydope
Thanks, it worked
Ydope
Now after getting a lot of information from discogs thanks to your great scripts discogs_release and discogs_relaese-VA I just want to compile some kind of wishlist/things I noticed/questions:

1. I would really love to have the option to download all the pics. (btw it's great that the default name is folder.xxx)

2. When downloading pictures the default directory is the current directory MP3TAG is using. When working with complete labels (where the releases are in subfolders) I noticed I always have to select the specific subfolder where I want to put the picture in. If the selected files are all in one folder this folder could be used as default target folder. This would be a bit more easy.

3. From time to time, my mp3s are not in the same order as on discogs. That means first of all noticing this fact, closing the web sources window, renaming the selected files appropriately, re-sort the file list, re-selecting the files and then entering the discogs number again. I have no clue if any of these steps could be automated somehow...

4. Could the latest entered discogs number be preserved for the next time the script is started? Sometimes more than one try is necessary and the number has to be entered again. This would also make 3. a little bit more easy.

5. Is the Style (Techno, Ambient, etc.) information stored somewhere? If not, could I do this in a sensible way?

Thats all for now...
Some of the questions are rather stupid probably, sorry for that.

Thanks again,
-Y
dano
1: I don't think that's possible with the current design.

2: That's already changed in the latest Development Build

3+4: I can only give you some tips:
To change the position in the file list you can also drag the files while holding ALT key.
You could also save the ID in the COMMENT field first and in the src file change the line
[SearchBy]=
to
[SearchBy]=%comment%

5. Styles are saved in a custom STYLES tag. You can see it when you press ALT+T or click on mt_tag.png or add a new column
Ydope
http://www.discogs.com/release/308848
discogs release gives me 4 results instead of 3. It doesnt really make much of a difference but I'm wondering what the reason may be...
Edit: weird, http://www.discogs.com/release/338710 and http://www.discogs.com/release/362656 also do this now, i'll have to try more releases with <4 tracks.
They're all reported now as having 4 tracks, the additional tracks have no title.
dano
Well for whatever reason they put empty table rows at the end of the song list, but there are also proper layouts:
http://www.discogs.com/release/414841

But I could easily fix it i hope..
Ydope
Its not a real problem anyway... Should i get that test version and do something with it?

A different idea: if the picture file is something.jpeg better rename it to folder.jpg instead of folder.jpeg because windows doesnt understand .jpeg and only displayes a small thumbnail in that case.

BTW am I the only one using this incredibly useful tool? I cant believe it...
Massive praise to Florian and dano!
dano
Yes you should try it out and test it if possible
Ydope
QUOTE (dano @ Nov 24 2005, 12:20)
You could also save the ID in the COMMENT field first and in the src file change the line
[SearchBy]=
to
[SearchBy]=%comment%


Tested the discogs release test now. No problems. The discogs-id-in-comment-thingie works fine.
Ydope
After some hundered tagged albums something didnt work:
http://www.discogs.com/release/440078
The artist name is "seltsam&strahler".
Ydope
http://www.discogs.com/release/43501
Instead of
The History Of The House Sound Of Chicago
the scripts retrieves:
The History Of The House Sound Of Chicago

That is one space too much after the third word. Strange one...

Edit: hmm, this forum cuts the extra space, but it's there.
Ydope
http://www.discogs.com/release/17549

In this case the thumbnailed preview is not shown, probably becaue it's a .png
dano
http://www.discogs.com/release/440078
look at the html title, there's only seltsam

http://www.discogs.com/release/43501
look in the html code of the site, it is also 2 spaces

http://www.discogs.com/release/17549
no problem here with the cover
zink23
I'm a total newbie to MP3tag but I'm a big fan of discogs and am looking for a tool to tag my music files from discogs and it looks like mp3tag will do exactly what I want to do.

But I've tried installing the program "out of the box" and I get an error connecting to discogs server. I suppose this is because I need to install one of these discogs Web Source scripts in the specified Application Data folder.

I've tried doing this but given that I'm also a complete newbie to scripting can someone tell me how to edit the script file (remove all lines and comments starting with #s ?) to get it to work with mp3tag?

Or even post a pre-edited "ready to use" script file that will allow me just to run an artist or album search on discogs to snag the rest of the data (year, cover art etc.)?

Perhaps I'm just stupid and missing something if so then obviously let me know wink.gif
dano
QUOTE
But I've tried installing the program "out of the box" and I get an error connecting to discogs server.

If you get an error, please write the exact message and what script and what search term was used.
QUOTE
I suppose this is because I need to install one of these discogs Web Source scripts in the specified Application Data folder.

No, these are just different or newer scripts.
QUOTE
I've tried doing this but given that I'm also a complete newbie to scripting can someone tell me how to edit the script file (remove all lines and comments starting with #s ?) to get it to work with mp3tag?

Or even post a pre-edited "ready to use" script file that will allow me just to run an artist or album search on discogs to snag the rest of the data (year, cover art etc.)?

I don't know what you want to edit and for what cause, every script here works as it is, no need to edit anything.
zink23
OK. Sorry. Just realized it was my firewall (Norton Internet Security) that was blocking all internet connections from Mp3tag, even though I'm sure I'd asked it to authorize all connections on installation blush.gif

Anyway. Thanks for the reply. I'm up and running and all the scripts do indeed work as is.

Sorry for any confusion caused!
Ydope
Hey, I'm just posting the two discogs scripts I am now using all the time.
Both are for use with the discogs ID and retrieve the usual info + info like mixartist, publisher, etc. I made them by following the instructions of Dano in this thread [EDIT: actually it was a different thread...], but It may be a bit hard to reproduce all necessary steps, so I'm posting them here.

One script is for almost all cases and the other one is for various artists releases where the artist is not called 'Various'. It only fails if the artists are written like 'Artist1 & Artist2' instead of the usual 'Artist1 / Artist2'. Maybe this last flaw would be easy to fix, no clue ;-)

Edit: This is rendered obsolete by a better script now!
dano
Updated (some days ago)...
sertua
Thank you dano, your scripts are very useful.
henrique
Tracks get wrong numbers when it's an 2xCD release

see:
http://www.discogs.com/release/227030

Would be nice too, if the script could get the cd number and write it together with the album name.

Buddha-Bar V By David Visan, CD1

or

Buddha-Bar V By David Visan, CD2
Paul_B
I also have a question concerning multi-cd information on the discogs source. I tend to rip a cd at a time and build the directories based on the CD number:

Renaissance - The Classics (Disc 1)
Renaissance - The Classics (Disc 2)
Renaissance - The Classics (Disc 3)

All works fine for disc one, but disc two through MP3Tag gets the same tags as disc 1 because I can't work out how to offset the returned information.

So is it possible to restrict the return from discogs by tracknumber or possibly through another attribute that lists cd number? Or can I do a string comparisson on the filename to the returned track names?

Any pointers would be much appreciated as I am just how powerful this product is smile.gif
ronny pries
i'm trying to figure out how to store the discogs catnr as id3 comment. was fiddling around with a script for a while now but always get errors.

errr... help wink.gif
Ydope
Extended discogs.com scripts here:
http://forums.mp3tag.de/index.php?showtopic=4902
Mihey
Not only VA albums have artists' names in tracklisting. For example:
http://www.discogs.com/release/52239

It would be more correct to check whether the tracklisting has information about artist or not. My version of discogs script is based on the standard one and dano's for VA.

Click to view attachment
Elfo
discogs, ever so useful smile.gif
malteser_2001
hi @ all,

i tried do define a discogs-search for "artist AND album" by myself but it seems that i'm not able to get it done. could anyone of you guys could give me a hint or just do it for me?
how come that nobody did it before yet?

thanks in advance, Paul
SultanH
Hi,
I'm new to this site.

Is there an easy way to edit only the Recording year for bunch of songs at once.
I'm trying to correct the recording year of albums of type "Best of..." where the release year doesn't match the recoding year of the song.

This "discogs#Search by Artist + Title.src" seem to find the information correctly when done one by one, but it also changes other tags such as Album, etc.. which I want to keep unchanged. I only want to change the recording year.

ANy help would be appreciated.
Thanks,
C-Dog
Hi,

thanks for the scripts! They all are very usefull!

But I've got a problem with the "discogs-Release ID extended.src"-script, when I try to import

http://www.discogs.com/release/312502

It seems, that there is a problem with the character "|". On the page you can see that the CD has 19+20=39 Tracks, but the Import in mp3-Tag shows 41 Tracks, cause it separates the title on every "|". The artists are read correctly.
Maybe a bug in the script?
Wolfgang B
QUOTE (SultanH @ Mar 2 2008, 20:14) *
Is there an easy way to edit only the Recording year for bunch of songs at once.
I'm trying to correct the recording year of albums of type "Best of..." where the release year doesn't match the recoding year of the song.

This "discogs#Search by Artist + Title.src" seem to find the information correctly when done one by one, but it also changes other tags such as Album, etc.. which I want to keep unchanged. I only want to change the recording year.


Hey,
same for me. I only wanna change the year for these best of greatest ever stuff in the same way as SultanH

Is there an easy way to modify the result of the "discogs#Search by Artist + Title.src" - I mean the sort order for inside the column Information where I'd like to see the year first to see the necessary information at first sight. Than I would retype it if there won't be easier ways to get the year.
Thanks

I have an example
The Jacksons
Title: I Want You Back [Album]

6 Hits discogs#Search by Artist + Title

In the 2nd hit you'll find 1981 but as the 20th word and it's really hard to find
dano
Updated discogs_search scripts with Format and Year columns
Aythamie
Thanks a lot, saves me lots of searching time smile.gif

by the way, if I'd like to omit Vinyl and Cassette how should I edit the .src files?
I actually only want to find the CD versions.

I guess i'd have to change something in between lines 60 and 65 smile.gif
Lemniscate
I get an error whenever I search the discogs database. I realized that I only get this error when I search for an artist that is more than one word. One word searches don't give me the error

Error connecting to server: www.discogs.com

This is the error right out of the box with version 2.42c

I tired the debugging mode but I don't get a debug file until I try searching with one word searches.
Any ideas? I tried searching for this error with only this thread showing up

To test it for yourself, search for Paulo Mojo to get the error and Paulo to successfully get results
Update: I have managed to get this error with one word search queries also. This makes me very confused as to what the issue is. I don't have any AV/Firewall
Florian
It works fine here. Are you using the discogs script that ships with Mp3tag or any of the scripts from the forums?
Lemniscate
QUOTE (Florian @ Jan 21 2009, 15:09) *
It works fine here. Are you using the discogs script that ships with Mp3tag or any of the scripts from the forums?


I was using the one that was included with the latest beta release. It works now, though. I think the discogs server was down
morrison
doesn't work for this release http://www.discogs.com/JuJuSpaceJazz-Inter...d/release/68419

also have trouble with multidisk release


UPD

fixed error with grab * artist

replace in # Album

findinline "</a> - "

by

findinline " - "

works fine for my modified version dano script
awx
QUOTE (morrison @ Feb 13 2009, 21:47) *
UPD

fixed error with grab * artist

replace in # Album

findinline "</a> - "

by

findinline " - "

works fine for my modified version dano script


Thanks Morrison, it solved my problem with "*" in artists titles.

Dano, i'm using your script to get info by discogs release ID and there is one problem - is it posible to get info about featuring artists and to make it apear in the track title (http://www.discogs.com/Zero-T-Cheap-Shots/release/1470908 track nr. 8 -> 08. Rising Sun (feat. Steo) )
gcmobile
Hi Dano!

First nice script walkman.gif

I have modified your discogs-Search by Artist + Title.src for my use. Here are the changes i have made

  1. The search result is now sorted by the release year
  2. Get the full release Date in 2 Tags (Date and ORIGYEAR; which is recommed for Traktor DJ Studio)
  3. Its usefull to fill the Genre-Tag with the Style (for DJ-Soft like VirtualDJ & Co.)


And here are the needed code for the changes

  1. QUOTE
    [IndexUrl]=http://www.discogs.com/search?type=all&q=%s&btn=Go&sort=year,asc
  2. QUOTE
    deleted, because there were errors - look down at EDITed text
  3. QUOTE
    # Genre=Style
    outputto "Genre"
    findline "Style:"
    joinuntil "</tr>"
    killtag "*"
    regexpreplace "\s+" " "
    findinline "Style:"
    sayrest


EDIT: There is an error in the second posted code - sorry. If there only is a release year, it put too much text in the tag!!! Try to resolve it.

EDIT2: I found a reason to solve the problem. But it uses only the search code of your posted script, which search in the html-code of the page. But nice, because in html the result includes more information like format and release year and the results can be sort in the list. In xml-search that isnt possible!! rolleyes.gif

After choose a release from this result list, the script loaded the xml-information from the release, so it is possible to add an Date-Tag in form YYYY-MM-DD needed by some DJ-Soft.



Best regards,
gcmobile
lordhuk
Hi, is there any way to get the Vinylno. (eg, instead of track numbers I want "A1", "B2", etc) using these scripts?

I've tried other scripts that claim they have this feature (Ydope's?) but can't seem to get them working.
Andy D.
Have a look at this one: http://forums.mp3tag.de/index.php?showtopi...ost&p=37674

Modify the code for your needs (the output tags! there's also the Mixartist for each track) and/or copy it to the script of your choice.
Andy D.
Hi dano,

I noticed that your discogs-Search by Artist.src doesn't find as much albums like this one http://forums.mp3tag.de/index.php?showtopi...ost&p=37674.

Yours got 20 hits and mine 45 for the artist Seelenluft - do you know why?
I'm not so experienced in programming, unfortunately.

thx
lordhuk
QUOTE (Andy D. @ Jul 1 2009, 13:54) *
Have a look at this one: http://forums.mp3tag.de/index.php?showtopi...ost&p=37674

Modify the code for your needs (the output tags! there's also the Mixartist for each track) and/or copy it to the script of your choice.


Great, thanks.
Aythamie
Any plans on adding more imports? for example DISCNUMBER?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.