HydrogenAudio

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: bubbleguuum on 2006-11-26 21:58:23

Title: foo_discogs
Post by: bubbleguuum on 2006-11-26 21:58:23
Features:

- tag files using discogs data. Retrieve more info than most taggers. Goes to extra length to make sure retrieve data is correct and well formatted
- flexible tag mapping allows you to write only what you want where you want
- use of meta data in tags to display artist / label / release discogs www page
- able to later update specified tags (useful to update rating)


current version: 1.32
Download foo_discogs 1.32 (http://www.foobar2000.org/components/view/foo_discogs)
Documentation (http://eolindel.free.fr/foobar0.9/discogs.php) (thanks Bachi-Bouzouk)

find release dialog screenshot (v0.90) (http://bubbleguuum.free.fr/foo_discogs/foo_discogs3.png)
release dialog screenshot (v0.90) (http://bubbleguuum.free.fr/foo_discogs/foo_discogs.png)
screenshot illustrating use of discogs data (http://bubbleguuum.free.fr/foo_discogs/foo_discogs2.png)

GdiPlus.dll is a dependency, however if you use some recent version of Windows you already have it.
If you're using fb2k under wine (Linux) you'll need to copy GdiPlus.dll in fb2k root directory.
Title: foo_discogs
Post by: mquander on 2006-11-26 22:01:52
May I be the first one to extend my great thanks for this plugin.  I'll be sure to post any relevant feedback.
Title: foo_discogs
Post by: mquander on 2006-11-26 22:26:30
First impressions:

Easy problem:  Perhaps add the album release format (shown as "format" on discogs page) as a writeable tag?

Medium problem:  When I tag vinyl albums, I like to put their side/track vinyl tracknumbers in a "VINYLTRACK" field, as I know other people do, and I order the "TRACKNUMBER" field like anyone else would.  For example, a five-song 12" might look like

Track 1:  VINYLTRACK = A1, TRACKNUMBER = 1
Track 2:  VINYLTRACK = A2, TRACKNUMBER = 2
Track 3:  VINYLTRACK = B1, TRACKNUMBER = 3
Track 4:  VINYLTRACK = B2, TRACKNUMBER = 4
Track 5:  VINYLTRACK = B3, TRACKNUMBER = 5

Supporting this behavior natively somehow would be awesome.

(Edit:  Also, setting TOTALTRACKS would be nice.  I'm just hoping it can get to the point where I can enter the release ID and get my stuff tagged how I like it without having to go into properties afterward and muck around.)
Title: foo_discogs
Post by: bubbleguuum on 2006-11-26 22:34:11
First impressions:

Easy problem:  Perhaps add the album release format (shown as "format" on discogs page) as a writeable tag?

Medium problem:  When I tag vinyl albums, I like to put their side/track vinyl tracknumbers in a "VINYLTRACK" field, as I know other people do, and I order the "TRACKNUMBER" field like anyone else would.  For example, a five-song 12" might look like

Track 1:  VINYLTRACK = A1, TRACKNUMBER = 1
Track 2:  VINYLTRACK = A2, TRACKNUMBER = 2
Track 3:  VINYLTRACK = B1, TRACKNUMBER = 3
Track 4:  VINYLTRACK = B2, TRACKNUMBER = 4
Track 5:  VINYLTRACK = B3, TRACKNUMBER = 5

Supporting this behavior natively somehow would be awesome.


Both of them are easy to do so good candiate for the next version. In fact I already retrieve the "Format" info but just forgot to expose it ! Damn .
Title: foo_discogs
Post by: pawls on 2006-11-26 23:05:47
Woho! Let´s try it out.
I´ll report my thoughts later
Title: foo_discogs
Post by: alphaex32 on 2006-11-27 00:40:48
Thank you so much for this. Could you add support for the styles, notes, and composer info? It seems like style and genre info are being combined.
Title: foo_discogs
Post by: saberrider on 2006-11-27 00:42:12
Sounds great. But I guess I'll wait for custominfo support.
Title: foo_discogs
Post by: eejadx on 2006-11-27 01:05:52
Thanks, great component.
One small bug with files length higher than ten minutes. Looks like foo_discogs adds the length at the end of %title% field.

Release ID: 507593.

(http://img176.imageshack.us/img176/9634/foodiscogstu2.th.png) (http://img176.imageshack.us/my.php?image=foodiscogstu2.png)
Title: foo_discogs
Post by: bubbleguuum on 2006-11-27 12:20:28
Thank you so much for this. Could you add support for the styles, notes, and composer info? It seems like style and genre info are being combined.


Discogs genre is ignored because I thought it was too vague (Electronic, ...). Style is used instead because more precise. If people want it I can enable Discogs Genre again.
As for note composer info, we'll see later when the parser will be more robust but I wish discogs would propose a decent API for this - instead of parsing generated HTML.

Thanks, great component.
One small bug with files length higher than ten minutes. Looks like foo_discogs adds the length at the end of %title% field.

Release ID: 507593.

(http://img176.imageshack.us/img176/9634/foodiscogstu2.th.png) (http://img176.imageshack.us/my.php?image=foodiscogstu2.png)


Thanks for spotting this one!
Title: foo_discogs
Post by: alphaex32 on 2006-11-27 13:50:12
Id like to have genre enabled, if its not too much trouble
Title: foo_discogs
Post by: eejadx on 2006-11-27 14:00:15
Id like to have genre enabled, if its not too much trouble

Id like that too.
Title: foo_discogs
Post by: stampgevaar on 2006-11-27 14:04:08
this is a very nice idea but is it also possible if there are various artist names to have the right artist name for every song and not only a album artist or I'm I overlooking something.

and thanks btw great plugin saves me a lot of work

edit: I see this happens when the album artist is various artists, can you maybe make it possible to switch the album artist thing off for some albums because the info isn't always correct/incomplete so that the artists next to the song are taken (on discogs).

sorry for the bad english hope I'm a bit understandable

for example
http://www.discogs.com/release/605280 (http://www.discogs.com/release/605280)

when I tag this vinyl the artist is partyraiser by all the songs while as you can see this is not really the case so a option to chose between an album artist or to have them seperately or both would be usefull.

but it's just a suggestion, thanks in advance
Title: foo_discogs
Post by: zachastrife on 2006-11-27 14:59:14
How does this do with releases with multiple discs?
I use the %discnumber% tag...

And when handling many directories (which is how i handle multiple discs) it should sort the files with the full path instead of the filename (making it easier to match files without needing to use the move function over and over again).
Title: foo_discogs
Post by: _eclectic_ on 2006-11-27 16:23:06
Getting the following message upon startup:

Failed to load DLL: foo_discogs.dll
Reason: This component is missing a required dependency, or was made for different version of foobar2000.


I do have libcurl.dll in the foobar2000 root (didn't get it from your link, already had it), and am running foobar v0.9.4.1.  Any idea what is wrong?  libcurl.dll is version 7.15.1.
Title: foo_discogs
Post by: bubbleguuum on 2006-11-27 18:42:00
this is a very nice idea but is it also possible if there are various artist names to have the right artist name for every song and not only a album artist or I'm I overlooking something.

and thanks btw great plugin saves me a lot of work

edit: I see this happens when the album artist is various artists, can you maybe make it possible to switch the album artist thing off for some albums because the info isn't always correct/incomplete so that the artists next to the song are taken (on discogs).

sorry for the bad english hope I'm a bit understandable

for example
http://www.discogs.com/release/605280 (http://www.discogs.com/release/605280)

when I tag this vinyl the artist is partyraiser by all the songs while as you can see this is not really the case so a option to chose between an album artist or to have them seperately or both would be usefull.

but it's just a suggestion, thanks in advance


This is a known problem and will be corrected : releases such as this that have two artists are not parsed correctly yet
Title: foo_discogs
Post by: pawls on 2006-11-27 18:43:08
I think Tracknumber and Vinylnumber should be separated. As someone suggested earlier. Also %total tracks% should be filled I think. Works great with the few releases I have tried!

With foo_custominfo support it will be even better!
Title: foo_discogs
Post by: bubbleguuum on 2006-11-27 18:46:14
How does this do with releases with multiple discs?
I use the %discnumber% tag...

And when handling many directories (which is how i handle multiple discs) it should sort the files with the full path instead of the filename (making it easier to match files without needing to use the move function over and over again).



good ideas here, with some work the %discnumber% tag could be autodetected

Getting the following message upon startup:

Failed to load DLL: foo_discogs.dll
Reason: This component is missing a required dependency, or was made for different version of foobar2000.


I do have libcurl.dll in the foobar2000 root (didn't get it from your link, already had it), and am running foobar v0.9.4.1.  Any idea what is wrong?  libcurl.dll is version 7.15.1.



I din't tried it with 0.9.4.1 but it should be compatible...the problem is probably libcurl. Did you tried to replace your existing libcurl with the one linked in the first post to see if it works ?
Title: foo_discogs
Post by: metal_termite on 2006-11-27 18:58:25
Yay, you rule.

Add support for allmusic.com too!
Title: foo_discogs
Post by: pawls on 2006-11-27 19:01:23
One more thing: please add keyboard shortcuts in some future release.
Title: foo_discogs
Post by: stampgevaar on 2006-11-27 20:08:39

this is a very nice idea but is it also possible if there are various artist names to have the right artist name for every song and not only a album artist or I'm I overlooking something.

and thanks btw great plugin saves me a lot of work

edit: I see this happens when the album artist is various artists, can you maybe make it possible to switch the album artist thing off for some albums because the info isn't always correct/incomplete so that the artists next to the song are taken (on discogs).

sorry for the bad english hope I'm a bit understandable

for example
http://www.discogs.com/release/605280 (http://www.discogs.com/release/605280)

when I tag this vinyl the artist is partyraiser by all the songs while as you can see this is not really the case so a option to chose between an album artist or to have them seperately or both would be usefull.

but it's just a suggestion, thanks in advance


This is a known problem and will be corrected : releases such as this that have two artists are not parsed correctly yet


ok thanks mate
Title: foo_discogs
Post by: nilsHaus on 2006-11-27 20:22:41
Id like to have genre enabled, if its not too much trouble

Id like that too.


Why not have this as an option?

Also, what does libcurl.dll do?

Testing it right now, some things have popped up.

You should test this with all sorts of files, I'm trying to rename a .flac file (P.U.L.S.E. two discs) and its stuck halfway right now, I dunno if its gonna work out eventually...
But this is a .flac image, with embedded cuesheet I think.
edit:Yah, its hanging up hardcore, if you could look into that.

Also, are there any plans for it to find the number by itself, or within foobar bitte?

edit 2:What is the DISCOGS_PUBLISHER tag? Is it impossible to take that out?
Title: foo_discogs
Post by: TheTravis on 2006-11-27 21:25:25
Thanks for this great plugin! I just tagged some albums which were missing tracknumbers
Title: foo_discogs
Post by: _eclectic_ on 2006-11-27 22:24:30
Quote
Failed to load DLL: foo_discogs.dll
Reason: This component is missing a required dependency, or was made for different version of foobar2000.


I do have libcurl.dll in the foobar2000 root (didn't get it from your link, already had it), and am running foobar v0.9.4.1.  Any idea what is wrong?  libcurl.dll is version 7.15.1.

Quote
I din't tried it with 0.9.4.1 but it should be compatible...the problem is probably libcurl. Did you tried to replace your existing libcurl with the one linked in the first post to see if it works ?


Yes it does work with the libcurl.dll you reference. 
However, I compared your libcurl.dll to the one I am using.  The one I have has a version and a date and references The cURL library, http://curl.haxx.se/ (http://curl.haxx.se/).

The one you are recommended has no Properties associated with it, is half the size 94KB vs. 172KB, and is dated 1/2/2004 vs 2/26/2006 for the version I have.

Thus I think I am using a more recent version of the .dll.  Perhaps it would be worthwhile for you to consider utilizing the more recent version of libcurl.dll in this module.  I know you have plenty to do, and this appears to be a great plugin, but there must be significant differences in the two which might express itself with some other plugin (or whatever required the libcurl.dll in the first place).

Thanks!
Title: foo_discogs
Post by: bubbleguuum on 2006-11-27 22:48:16

Id like to have genre enabled, if its not too much trouble

Id like that too.



Quote
Why not have this as an option?


this will be in next version

Quote
Also, what does libcurl.dll do?


it retrieve html pages

Quote
Testing it right now, some things have popped up.

You should test this with all sorts of files, I'mibe in other softwa trying to rename a .flac file (P.U.L.S.E. two discs) and its stuck halfway right now, I dunno if its gonna work out eventually...
But this is a .flac image, with embedded cuesheet I think.
edit:Yah, its hanging up hardcore, if you could look into that.

I've tried with some flacs of mine, no hang. What do you mean by flac image? a single flac containing all tracks ?

Quote
Also, are there any plans for it to find the number by itself, or within foobar bitte?


Not in the immediate future as I tried a few very well done interface to what you describe in other software and it's almost always faster and less error prone done manually. Add to that the fact discogs does not facilitate search.



Thus I think I am using a more recent version of the .dll.  Perhaps it would be worthwhile for you to consider utilizing the more recent version of libcurl.dll in this module.  I know you have plenty to do, and this appears to be a great plugin, but there must be significant differences in the two which might express itself with some other plugin (or whatever required the libcurl.dll in the first place).

Thanks!


yup, will use the latest version!
Title: foo_discogs
Post by: nilsHaus on 2006-11-28 20:09:47
I've tried with some flacs of mine, no hang. What do you mean by flac image? a single flac containing all tracks ?


Yup, exactly.
Title: foo_discogs
Post by: mquander on 2006-11-29 02:29:47
I'd just like to note this album (http://www.discogs.com/release/233832), on which the catalog number appears to be "GSL 39 CD" but in the HTML there are actually two spaces - making it get read by the tagger as "GSL  39 CD."  Anyone notice any more discogs errors like that?

EDIT:  Yep, a lot of catalog numbers suffer from the extra-spaces disease.  Can we possibly get a workaround for this?

There are also some releases with multiple labels; if those worked, it would be amazing.  (e.g. (http://www.discogs.com/release/96572))
Title: foo_discogs
Post by: mquander on 2006-11-29 09:24:48
The plugin errors out when looking up tags for http://www.discogs.com/release/236971 (http://www.discogs.com/release/236971).
Title: foo_discogs
Post by: bubbleguuum on 2006-11-29 12:59:54
The plugin errors out when looking up tags for http://www.discogs.com/release/236971 (http://www.discogs.com/release/236971).


Yes, it barf because there is two artists and it's not supported yet.
Hopefully I'll rewrite the parser this week end to make it much more robust and handle the 5% of problematic cases.

I'll try to release a new version early next week

I'd just like to note this album (http://www.discogs.com/release/233832), on which the catalog number appears to be "GSL 39 CD" but in the HTML there are actually two spaces - making it get read by the tagger as "GSL  39 CD."  Anyone notice any more discogs errors like that?

EDIT:  Yep, a lot of catalog numbers suffer from the extra-spaces disease.  Can we possibly get a workaround for this?

There are also some releases with multiple labels; if those worked, it would be amazing.  (e.g. (http://www.discogs.com/release/96572))



cat # with multiple spaces: this can be checked and fixed, however it's really discogs data that is faulty here.

multiple label: will be supported with the new parser
Title: foo_discogs
Post by: bubbleguuum on 2006-12-03 02:57:17
Version 0.2 is OUT. See first post for changelog & details. Feedback welcome as usual !
It's been some effort but well worth it!

In particular, stress the parser, trying all kind of releases, and if it crashes or don't produce correct data let me know!
Title: foo_discogs
Post by: alphaex32 on 2006-12-03 05:08:05
Thank you so much for this

I'd still like to see genre and style separately mapped. Maybe there could be an option to combine or separate them?
Title: foo_discogs
Post by: Decuman on 2006-12-03 07:17:11
Isn't it for v.0.9.4.2?
I got this message:

Failed to load DLL: foo_discogs.dll
Reason: This component is missing a required dependency, or was made for different version of foobar2000.


Version 0.2 is OUT. See first post for changelog & details. Feedback welcome as usual !
It's been some effort but well worth it!

In particular, stress the parser, trying all kind of releases, and if it crashes or don't produce correct data let me know!
Title: foo_discogs
Post by: roentgen on 2006-12-03 07:59:12
2Decuman
Check again the first post of this thread. You'll need some additional dlls.
Title: foo_discogs
Post by: Decuman on 2006-12-03 10:15:24
Oh, yeah. My bad...
I just didn't notice it is ZIP archive and copied it to foobar's folder as is.
It works now! Thanks!!!

2Decuman
Check again the first post of this thread. You'll need some additional dlls.
Title: foo_discogs
Post by: bubbleguuum on 2006-12-03 16:56:37
0.21 released !  this version add basic album art support. Art file is put in the release directory, always named album_art.jpg and you can store either the low res or hi res version of the art.
Title: foo_discogs
Post by: Ronny Pries on 2006-12-03 17:51:57
wicked!!! ! !! !!!!
Title: foo_discogs
Post by: stampgevaar on 2006-12-03 18:07:34
nice work mate really you just saved me a lot of work 
Title: foo_discogs
Post by: hiscores on 2006-12-03 18:27:53
Bubbleguuum: you're my hero. This is AMAZING.
Title: foo_discogs
Post by: hiscores on 2006-12-03 18:39:20
One small suggestion: it'd be really nice to have an option to just get album art, without any of the tags. I've got a bunch of vinyl entries already tagged according to a certain system that I'd love to be able to go back and get artwork for...
Title: foo_discogs
Post by: hotzenpl0tz on 2006-12-03 18:47:28
You probably knew something like this would be requested, but here goes regardless *g* :

Let the user specify the name and location of the saved album art file, I would love to be able to do something like: d:\cover art\%artist% - %album%.png .
I always keep my album art in its own folder, because foobar won't let me move those files with it's file rename/move tool.
Title: foo_discogs
Post by: bubbleguuum on 2006-12-03 18:55:11
One small suggestion: it'd be really nice to have an option to just get album art, without any of the tags. I've got a bunch of vinyl entries already tagged according to a certain system that I'd love to be able to go back and get artwork for...


Glad you like the plugin . In a future version it'll be possible to batch process releases tagged with foo_discogs and retrieve missing art automaticcally
For your already tagged collection, if you didn't use foo_discogs you can still retrieve only album art by disabling write on all tags in mappings. Well almost becase ALBUM ARTIST and COMPILATION are always written for now

You probably knew something like this would be requested, but here goes regardless *g* :

Let the user specify the name and location of the saved album art file, I would love to be able to do something like: d:\cover art\%artist% - %album%.png .
I always keep my album art in its own folder, because foobar won't let me move those files with it's file rename/move tool.



yes saw that coming . Album art will be of course more parametrable
Title: foo_discogs
Post by: hiscores on 2006-12-03 20:29:36
Quote
In a future version it'll be possible to batch process releases tagged with foo_discogs and retrieve missing art automaticcally


 

Quote
For your already tagged collection, if you didn't use foo_discogs you can still retrieve only album art by disabling write on all tags in mappings. Well almost becase ALBUM ARTIST and COMPILATION are always written for now


Thanks for the quick reply, BG. I anticipated that you'd suggest turning the tag mappings off; the problem with that is that I use foo_discogs simultaneously with albums that just need art and albums that need tags. It'd be nice to have a quick toggle option that says 'Just get artwork' to save the time of having to constantly go into the menu and deselect all the field mappings. But in the grand scheme of things, this is a pretty minor quibble -- foo_discogs is fantastic otherwise.
Title: foo_discogs
Post by: orchid on 2006-12-05 16:44:57
Hi and thanks for great plugin

I'd still like to see genre and style separately mapped. Maybe there could be an option to combine or separate them?


I second this. Genres and styles are listed separately for a reason and having two tags makes sorting more efficient. Also it would be great to be able to combine a variety of tags into one (eg, 'Country' and 'Catalog #' into %comment% separated by comma)
Title: foo_discogs
Post by: AntiLynd on 2006-12-05 17:10:21
Thanks for this awesome plugin! I really love it. As a matter of fact, I've started thinking about using it on a major part of my collection in order to add label info and catalog numbers to the files (which I find really helpful in certain genres). But in order to do something like that, I guess it would be sweet if foo_discogs was able to automatically find the Discogs release number (shouldn't be a difficult if %artist% and %album% are present). I mean, it's not a problem to look up a release number or two on the web once in a while*, but imagine doing this for like dozens of albums...
 



--------
*) pretty comfy actually with a discogs search field in Firefox's toolbar
Title: foo_discogs
Post by: stampgevaar on 2006-12-05 17:44:27
that's a fact and also make the fields editable like the tracknumber cause some info on discogs isn't 100 procent correct.
http://www.discogs.com/release/801092 (http://www.discogs.com/release/801092) if you see this one there's still a mistake in the numbering. it keeps going like one cd while it are 2cd's and sometimes there type faults in the title or artist tags. (or I'm I doing something wrong?)
It would be nice to edit them directly in stead of have to open a seperate program to do this. + have the option to save the album art somewhere else cause it always saves in cd1 but i like to have it in the parent folder so when I open cd2 I can also see the album art. But this is just a idea nothing that important.
Title: foo_discogs
Post by: bubbleguuum on 2006-12-05 18:56:42
that's a fact and also make the fields editable like the tracknumber cause some info on discogs isn't 100 procent correct.
http://www.discogs.com/release/801092 (http://www.discogs.com/release/801092) if you see this one there's still a mistake in the numbering. it keeps going like one cd while it are 2cd's
[url]

That's exactly what's the "Multi-disc release" panel is for. If you didn't, have a look at the first post, end of the 0.20 change log, I explain how to use it on such releases. The renumber button will renumber the tracks.

Quote
and sometimes there type faults in the title or artist tags. (or I'm I doing something wrong?)


tell me which URL produce faults so I can check it the typos are in discog data or if it's the parser.

Quote
It would be nice to edit them directly in stead of have to open a seperate program to do this. + have the option to save the album art somewhere else cause it always saves in cd1 but i like to have it in the parent folder so when I open cd2 I can also see the album art. But this is just a idea nothing that important.


Album art will be more configurable in future version, you'll be able to specify the directory and filename format. And my development version already fetch all art available (possibly several files) if you tell so
Title: foo_discogs
Post by: stampgevaar on 2006-12-05 19:00:18
It's not the parser for the typos I'm sure, if I notice it again I will post but this is not often that it happens but it was just a suggestion I don't know much about coding so I don't know if it's a lot of work but it was just a idea I was playing with.

And thanks for explaining the multi disc thing
Title: foo_discogs
Post by: bubbleguuum on 2006-12-05 19:04:22
Hi and thanks for great plugin


I'd still like to see genre and style separately mapped. Maybe there could be an option to combine or separate them?


I second this. Genres and styles are listed separately for a reason and having two tags makes sorting more efficient. Also it would be great to be able to combine a variety of tags into one (eg, 'Country' and 'Catalog #' into %comment% separated by comma)


In next version genre and style will be separated, and "Format" will be available (forgot about it in fact in 0.20).

Now I need your input on how I should fill the genre combo box. For my own need, I would only fill it with "Style" as Genre is too general for me (I don't need to know 90% of my collection is Electronic).

Maybe a settings to map the combo box to "Style", "Genre" or "Style and Genre" ?

It would have benn more simple for me if Discogs never did the distinction between style and genre...
Title: foo_discogs
Post by: alphaex32 on 2006-12-05 19:22:33
Personally, I would just fill the "style" tag with styles and the "genre" tag with genre.
Title: foo_discogs
Post by: stampgevaar on 2006-12-06 20:13:42
I was thinking, if you make the album covers download automatically in the future versions like you said can you also make it possible to update all the tags of all the albums tagged with your plugin with one touch of a button. Cause I don't really know if the updating now goes automatically if you play a song but it's quite timetaking to go and look every time when a thing has changed on a album or when a cover has come available on discogs so a button to update all in once should be nice. and maybe make it possible to just type the whole url in the field that also goes a bit quicker. I mean when I'm tagging 1500 albums selecting the code everytime gets a bit annoying. I was also thinking of tagging all my music with your plugin but I don't have that much time for checking for new covers etc.that's why...
Title: foo_discogs
Post by: bubbleguuum on 2006-12-06 22:35:09
I was thinking, if you make the album covers download automatically in the future versions like you said can you also make it possible to update all the tags of all the albums tagged with your plugin with one touch of a button. Cause I don't really know if the updating now goes automatically if you play a song but it's quite timetaking to go and look every time when a thing has changed on a album or when a cover has come available on discogs so a button to update all in once should be nice. and maybe make it possible to just type the whole url in the field that also goes a bit quicker. I mean when I'm tagging 1500 albums selecting the code everytime gets a bit annoying. I was also thinking of tagging all my music with your plugin but I don't have that much time for checking for new covers etc.that's why...



You're going to be happy because I just added batch album art update (work on tagged releases with foo_discogs). You can update art on:

- releases that have no art yet because you didn't fetch art at tagging time or there was no art on discogs at that time
- all releases, whether they already have art or not.

Also you can select if you want to retrieve all available art (sometimes there's something like 3 or 4 scans availables) or only the first picture.

As for tag update you can already do it via discogs->update tags. It will update all tags that have update (and write) checked in "edit tag mappings".

Also when you select discogs->write tags, the release id will be fill for you if you previously tagged the release with foo_discogs provided you didn't disable write on "release id link" in tag mappings (not recommended)
Title: foo_discogs
Post by: mquander on 2006-12-07 10:56:22
Haha, I know you just changed this in the last version, but personally (and I assume lots of other people are in this boat) I tag tracknumber with just one digit, instead of padding it out to "04" or "07".  If it's convenient, would you mind sticking a checkbox or something in for that?  If not, don't bother, as I can always just go back with masstagger afterward.  (I think the one-digit tracknumber is something FB2K encourages, since that's how "auto track number" numbers things.)
Title: foo_discogs
Post by: stampgevaar on 2006-12-07 11:25:04

I was thinking, if you make the album covers download automatically in the future versions like you said can you also make it possible to update all the tags of all the albums tagged with your plugin with one touch of a button. Cause I don't really know if the updating now goes automatically if you play a song but it's quite timetaking to go and look every time when a thing has changed on a album or when a cover has come available on discogs so a button to update all in once should be nice. and maybe make it possible to just type the whole url in the field that also goes a bit quicker. I mean when I'm tagging 1500 albums selecting the code everytime gets a bit annoying. I was also thinking of tagging all my music with your plugin but I don't have that much time for checking for new covers etc.that's why...



You're going to be happy because I just added batch album art update (work on tagged releases with foo_discogs). You can update art on:

- releases that have no art yet because you didn't fetch art at tagging time or there was no art on discogs at that time
- all releases, whether they already have art or not.

Also you can select if you want to retrieve all available art (sometimes there's something like 3 or 4 scans availables) or only the first picture.

As for tag update you can already do it via discogs->update tags. It will update all tags that have update (and write) checked in "edit tag mappings".

Also when you select discogs->write tags, the release id will be fill for you if you previously tagged the release with foo_discogs provided you didn't disable write on "release id link" in tag mappings (not recommended)


Very nice  if that comes out your program is very close to perfection for my needs big thanks!! also nice of you to reply that quick and explain stuff
Title: foo_discogs
Post by: bubbleguuum on 2006-12-07 14:18:19
Haha, I know you just changed this in the last version, but personally (and I assume lots of other people are in this boat) I tag tracknumber with just one digit, instead of padding it out to "04" or "07".  If it's convenient, would you mind sticking a checkbox or something in for that?  If not, don't bother, as I can always just go back with masstagger afterward.  (I think the one-digit tracknumber is something FB2K encourages, since that's how "auto track number" numbers things.)


I'm tempted to restore single digit numbers everywhere without it being an option. Does anybody absolutly wants double digit track numbers ?
Title: foo_discogs
Post by: hiscores on 2006-12-07 14:20:17
I prefer double digit, please!
Title: foo_discogs
Post by: pawls on 2006-12-07 16:43:39
Single digit for me 

Two suggestions/wishes:
- To be able to format a separator/delimiter for multiple artists.
I write multiple artists like this: Artist1, Artist2
Someone else might want to write it like this: Artist1 & Artist2
You get the idea.

- Keyboard shortcuts would be really helpful!

Other than that, superb!
Title: foo_discogs
Post by: mquander on 2006-12-07 16:59:29
Single digit for me 

Two suggestions/wishes:
- To be able to format a separator/delimiter for multiple artists.
I write multiple artists like this: Artist1, Artist2
Someone else might want to write it like this: Artist1 & Artist2
You get the idea.

- Keyboard shortcuts would be really helpful!

Other than that, superb!


Is there *any* good reason to do that, rather than have multiple artist tags and then use $meta_sep() in your code to format it however you like?  Serious question - if there is, then shoot, but I can't think of why you would want that.
Title: foo_discogs
Post by: stampgevaar on 2006-12-07 17:00:55
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 00E28E22h
Access violation, operation: read, address: 0000004Ch
Call path:
entry=>app_mainloop=>contextmenu_item_node::execute
This is the first crash logged by this instance.
Code bytes (00E28E22h):
00E28DE2h:  57 8D 78 01 8A 10 83 C0 01 84 D2 75 F7 2B C7 50
00E28DF2h:  8B 41 14 56 50 6A 00 E8 52 DE FF FF F7 D8 1B C0
00E28E02h:  83 C0 01 5F C3 CC CC CC CC CC CC CC CC CC 8B C6
00E28E12h:  57 8D 78 01 8A 10 83 C0 01 84 D2 75 F7 2B C7 50
00E28E22h:  8B 41 14 56 50 6A 00 E8 22 DE FF FF F7 D8 1B C0
00E28E32h:  F7 D8 5F C3 CC CC CC CC CC CC CC CC CC CC 83 78
00E28E42h:  18 10 8B 50 14 72 17 8B 40 04 52 50 8B 41 14 50
00E28E52h:  6A 00 E8 F7 DD FF FF F7 D8 1B C0 F7 D8 C3 52 83
Stack (0013EC00h):
0013EBE0h:  A98BAA44 00000020 A98BAD3C BF986924
0013EBF0h:  BF98FE18 FFFFFFFF BF8F49CA BF8BD6B0
0013EC00h:  00000000 087293E8 00E25BDC 9924A82F
0013EC10h:  00000000 087293E8 00E558D8 046A1F38
0013EC20h:  00E558D8 0013ECD8 00000000 00E26899
0013EC30h:  00000000 00000006 09440488 00000006
0013EC40h:  9924A87B 00000000 087293E8 00000000
0013EC50h:  046A1F38 087295B4 0013EC8C 00E27576
0013EC60h:  087295B8 00000000 0013EC8C 00000002
0013EC70h:  00000000 00000000 0000000F 9924A81F
0013EC80h:  0013EEC8 00E476A8 00000000 00E2538B
0013EC90h:  0013ECF4 00000000 9924A8A3 00000009
0013ECA0h:  03F7B1E0 0013EEF4 00000000 77D1C665
0013ECB0h:  003E0C82 046A1F38 00000000 004DEB74
0013ECC0h:  00E4CED0 00000000 094404B0 00000001
0013ECD0h:  087293E8 0004035A 00000084 32313300
0013ECE0h:  00003030 77D1EB3E 00722448 00000000
0013ECF0h:  0000000F 00E4CFE0 094209D8 00000006
0013ED00h:  00000006 00F27318 00000025 00000025
0013ED10h:  00000001 0879FEE8 00000000 00000001
Registers:
EAX: 00000000, EBX: 00000038, ECX: 00000038, EDX: 00000000
ESI: 00E4C713, EDI: 00E4C714, EBP: 0013ECF4, ESP: 0013EC00
Crash location: "foo_discogs", loaded at 00E20000h - 00E5D000h

Loaded modules:
foobar2000   loaded at 00400000h - 004F3000h
ntdll loaded at 7C900000h - 7C9B6000h
kernel32 loaded at 7C800000h - 7C8FE000h
COMCTL32 loaded at 77390000h - 77493000h
msvcrt   loaded at 77BE0000h - 77C38000h
ADVAPI32 loaded at 77F40000h - 77FEB000h
RPCRT4   loaded at 77DA0000h - 77E31000h
GDI32 loaded at 77E40000h - 77E87000h
USER32   loaded at 77D10000h - 77DA0000h
SHLWAPI   loaded at 77E90000h - 77F06000h
SHELL32   loaded at 7C9C0000h - 7D1E0000h
ole32 loaded at 774A0000h - 775DD000h
shared   loaded at 10000000h - 10029000h
comdlg32 loaded at 76350000h - 7639A000h
IMM32 loaded at 76330000h - 7634D000h
wbsys loaded at 66500000h - 6650A000h
MSCTF loaded at 746A0000h - 746EB000h
apphelp   loaded at 77B00000h - 77B22000h
msctfime loaded at 75250000h - 7527E000h
foo_abx   loaded at 00B20000h - 00B53000h
foo_albumlist loaded at 00B70000h - 00BB7000h
OLEAUT32 loaded at 770E0000h - 7716C000h
foo_autoplaylist loaded at 00BE0000h - 00C10000h
foo_cdda loaded at 00C30000h - 00C66000h
foo_converter loaded at 00C90000h - 00CF9000h
foo_custominfo   loaded at 00D20000h - 00DA5000h
foo_cwb_hooks loaded at 00DD0000h - 00DFE000h
foo_discogs   loaded at 00E20000h - 00E5D000h
gdiplus   loaded at 4EB80000h - 4ED23000h
libcurl   loaded at 00E70000h - 00E89000h
WS2_32   loaded at 71A30000h - 71A47000h
WS2HELP   loaded at 71A20000h - 71A28000h
WINMM loaded at 76AF0000h - 76B1E000h
foo_dsp_soundtouch   loaded at 00F30000h - 00F3F000h
MSVCP80   loaded at 7C420000h - 7C4A7000h
MSVCR80   loaded at 78130000h - 781CB000h
foo_dsp_std   loaded at 00F60000h - 00FA1000h
foo_infobox   loaded at 00FD0000h - 01010000h
foo_input_std loaded at 01030000h - 01144000h
foo_masstag   loaded at 01170000h - 011C0000h
foo_menu_addons   loaded at 011E0000h - 011FE000h
foo_msnalt   loaded at 01210000h - 01229000h
foo_playcount loaded at 01250000h - 01264000h
foo_rgscan   loaded at 01280000h - 012C8000h
foo_run   loaded at 012F0000h - 0131B000h
foo_uie_albumart loaded at 01340000h - 01372000h
foo_uie_albumlist loaded at 013A0000h - 013DF000h
foo_uie_explorer loaded at 01400000h - 0143C000h
UxTheme   loaded at 5B190000h - 5B1C8000h
foo_uie_queuemanager loaded at 01460000h - 01499000h
mscoree   loaded at 79000000h - 79045000h
msvcm80   loaded at 7C4C0000h - 7C53D000h
mscorwks loaded at 79E70000h - 7A3D1000h
mscorlib.ni   loaded at 790C0000h - 79BA6000h
mscorjit loaded at 79060000h - 790B3000h
rsaenh   loaded at 0FFD0000h - 0FFF8000h
System.ni loaded at 7A440000h - 7ABFE000h
System.Drawing.ni loaded at 7ADE0000h - 7AF74000h
foo_uie_quicksearch   loaded at 03BF0000h - 03C38000h
foo_uie_single_column_playlist  loaded at 03C50000h - 03CA4000h
foo_uie_tabs loaded at 03CC0000h - 03CEA000h
foo_uie_trackinfo_mod loaded at 03D10000h - 03D66000h
foo_ui_columns   loaded at 03D80000h - 03E1B000h
foo_ui_std   loaded at 03E40000h - 03E97000h
foo_unpack   loaded at 03EC0000h - 03EEE000h
foo_utils loaded at 03F10000h - 03F49000h
CLBCATQ   loaded at 76F90000h - 7700F000h
COMRes   loaded at 77010000h - 770DD000h
VERSION   loaded at 77BD0000h - 77BD8000h
System.Windows.Forms.ni   loaded at 7AFD0000h - 7BC56000h
SETUPAPI loaded at 778E0000h - 779D7000h
cscui loaded at 779E0000h - 77A36000h
CSCDLL   loaded at 765A0000h - 765BD000h
USERENV   loaded at 76970000h - 76A24000h
DSOUND   loaded at 73E80000h - 73EDC000h
WINTRUST loaded at 76BF0000h - 76C1E000h
CRYPT32   loaded at 77A40000h - 77AD5000h
MSASN1   loaded at 77AE0000h - 77AF2000h
IMAGEHLP loaded at 76C50000h - 76C78000h
wdmaud   loaded at 72C90000h - 72C99000h
msacm32   loaded at 72C80000h - 72C88000h
MSACM32   loaded at 77BB0000h - 77BC5000h
midimap   loaded at 77BA0000h - 77BA7000h
KsUser   loaded at 73E50000h - 73E54000h
dciman32 loaded at 73B30000h - 73B36000h
xpsp2res loaded at 20000000h - 202D5000h
netapi32 loaded at 6FF20000h - 6FF74000h
browseui loaded at 75F20000h - 7601D000h
shdocvw   loaded at 77720000h - 77890000h
CRYPTUI   loaded at 76880000h - 76904000h
WININET   loaded at 771B0000h - 7727E000h
Normaliz loaded at 08570000h - 08579000h
iertutil loaded at 5DCA0000h - 5DCE5000h
WLDAP32   loaded at 76F20000h - 76F4D000h
rarext   loaded at 085A0000h - 085CC000h
ntshrui   loaded at 76940000h - 76966000h
ATL   loaded at 76AD0000h - 76AE1000h
tmdshell loaded at 085F0000h - 08606000h
mswsock   loaded at 719D0000h - 71A10000h
DNSAPI   loaded at 76EE0000h - 76F07000h
winrnr   loaded at 76F70000h - 76F78000h
rasadhlp loaded at 76F80000h - 76F86000h
hnetcfg   loaded at 61200000h - 61259000h
wshtcpip loaded at 71A10000h - 71A18000h
mscorlib.resources   loaded at 05F60000h - 05FAC000h
ieframe   loaded at 7E1E0000h - 7E7A9000h
PSAPI loaded at 76BB0000h - 76BBB000h
urlmon   loaded at 61410000h - 61534000h
DBGHELP   loaded at 59E70000h - 59F11000h

Stack dump analysis:
Address: 00E25BDCh, location: "foo_discogs", loaded at 00E20000h - 00E5D000h
Address: 00E558D8h, location: "foo_discogs", loaded at 00E20000h - 00E5D000h
Address: 00E558D8h, location: "foo_discogs", loaded at 00E20000h - 00E5D000h
Address: 00E26899h, location: "foo_discogs", loaded at 00E20000h - 00E5D000h
Address: 00E27576h, location: "foo_discogs", loaded at 00E20000h - 00E5D000h
Address: 00E476A8h, location: "foo_discogs", loaded at 00E20000h - 00E5D000h
Address: 00E2538Bh, location: "foo_discogs", loaded at 00E20000h - 00E5D000h
Address: 77D1C665h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "CallWindowProcW" (+0000001Bh)
Address: 004DEB74h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00E4CED0h, location: "foo_discogs", loaded at 00E20000h - 00E5D000h
Address: 77D1EB3Eh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "CallNextHookEx" (+0000003Bh)
Address: 00E4CFE0h, location: "foo_discogs", loaded at 00E20000h - 00E5D000h
Address: 00E4CFB4h, location: "foo_discogs", loaded at 00E20000h - 00E5D000h
Address: 00E48D7Fh, location: "foo_discogs", loaded at 00E20000h - 00E5D000h
Address: 00E214B2h, location: "foo_discogs", loaded at 00E20000h - 00E5D000h
Address: 00E4C890h, location: "foo_discogs", loaded at 00E20000h - 00E5D000h
Address: 10002DD2h, location: "shared", loaded at 10000000h - 10029000h
Symbol: "uCallStackTracker::uCallStackTracker" (+00000032h)
Address: 00410D9Eh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 03C57462h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 004A882Ah, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 77D20B9Dh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DestroyMenu" (+00000000h)
Address: 03C57493h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 00FFFFEBh, location: "foo_infobox", loaded at 00FD0000h - 01010000h
Address: 03C96F9Ch, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 004DF180h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 03C961B0h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 03C9627Ch, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 03C961ECh, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 03C913E8h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 03C5676Ch, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 03C91498h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 03C557DDh, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 03C55760h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 77D18734h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+0000006Dh)
Address: 03C55760h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 03C55760h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 77D2418Dh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "PrivateExtractIconExW" (+000002B2h)
Address: 03C55760h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 77D40467h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D241B0h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "PrivateExtractIconExW" (+000002D5h)
Address: 77D23FD9h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "PrivateExtractIconExW" (+000000FEh)
Address: 03C55760h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 7C90EAE3h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "KiUserCallbackDispatcher" (+00000013h)
Address: 77D1B50Ch, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+000001D0h)
Address: 77D1B42Dh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+000000F1h)
Address: 7C90EAE3h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "KiUserCallbackDispatcher" (+00000013h)
Address: 77D23F5Ah, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "PrivateExtractIconExW" (+0000007Fh)
Address: 77D194BEh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetWindowLongA" (+00000061h)
Address: 77D1B42Dh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+000000F1h)
Address: 77D1B393h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+00000057h)
Address: 77D184FCh, location: "USER32", loaded at 77D10000h - 77DA0000h
Address: 77D185A4h, location: "USER32", loaded at 77D10000h - 77DA0000h
Address: 77D1B3F9h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+000000BDh)
Address: 77D1B393h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+00000057h)
Address: 77D40467h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D1B3B0h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+00000074h)
Address: 773E0D72h, location: "COMCTL32", loaded at 77390000h - 77493000h
Symbol: "Ordinal384" (+00034ED2h)
Address: 773E0C82h, location: "COMCTL32", loaded at 77390000h - 77493000h
Symbol: "Ordinal384" (+00034DE2h)
Address: 77D241DCh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "PrivateExtractIconExW" (+00000301h)
Address: 77D241A9h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "PrivateExtractIconExW" (+000002CEh)
Address: 03DE1E71h, location: "foo_ui_columns", loaded at 03D80000h - 03E1B000h
Address: 77D18B26h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetWindowThreadProcessId" (+000000A6h)
Address: 03D87220h, location: "foo_ui_columns", loaded at 03D80000h - 03E1B000h
Address: 77D188D1h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetWindowLongW" (+0000002Bh)
Address: 77D188DAh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetWindowLongW" (+00000034h)
Address: 03D87220h, location: "foo_ui_columns", loaded at 03D80000h - 03E1B000h
Address: 03D87398h, location: "foo_ui_columns", loaded at 03D80000h - 03E1B000h
Address: 03D87220h, location: "foo_ui_columns", loaded at 03D80000h - 03E1B000h
Address: 03D87220h, location: "foo_ui_columns", loaded at 03D80000h - 03E1B000h
Address: 77D18734h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+0000006Dh)
Address: 03D87220h, location: "foo_ui_columns", loaded at 03D80000h - 03E1B000h
Address: 03D87220h, location: "foo_ui_columns", loaded at 03D80000h - 03E1B000h
Address: 77D18816h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+0000014Fh)
Address: 77D1885Ah, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+00000193h)
Address: 77D1882Ah, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+00000163h)
Address: 77D40467h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D18734h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+0000006Dh)
Address: 773E0C82h, location: "COMCTL32", loaded at 77390000h - 77493000h
Symbol: "Ordinal384" (+00034DE2h)
Address: 773E0C82h, location: "COMCTL32", loaded at 77390000h - 77493000h
Symbol: "Ordinal384" (+00034DE2h)
Address: 77D18816h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+0000014Fh)
Address: 773E0C82h, location: "COMCTL32", loaded at 77390000h - 77493000h
Symbol: "Ordinal384" (+00034DE2h)
Address: 773E0C82h, location: "COMCTL32", loaded at 77390000h - 77493000h
Symbol: "Ordinal384" (+00034DE2h)
Address: 77D1B51Ch, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+000001E0h)
Address: 77D40467h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D18830h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+00000169h)
Address: 77D1C63Fh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "IsWindowUnicode" (+000000A1h)
Address: 773E0C82h, location: "COMCTL32", loaded at 77390000h - 77493000h
Symbol: "Ordinal384" (+00034DE2h)
Address: 03C54CE0h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 77D1C665h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "CallWindowProcW" (+0000001Bh)
Address: 773E0C82h, location: "COMCTL32", loaded at 77390000h - 77493000h
Symbol: "Ordinal384" (+00034DE2h)
Address: 03C55432h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 773E0C82h, location: "COMCTL32", loaded at 77390000h - 77493000h
Symbol: "Ordinal384" (+00034DE2h)
Address: 03C54CE0h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 03C55760h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 77D1B51Ch, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+000001E0h)
Address: 7C90EAE3h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "KiUserCallbackDispatcher" (+00000013h)
Address: 77D23F5Ah, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "PrivateExtractIconExW" (+0000007Fh)
Address: 77D194BEh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetWindowLongA" (+00000061h)
Address: 77D1B42Dh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+000000F1h)
Address: 77D1B50Ch, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+000001D0h)
Address: 77D40467h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D241B0h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "PrivateExtractIconExW" (+000002D5h)
Address: 77D241A9h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "PrivateExtractIconExW" (+000002CEh)
Address: 77D23FD9h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "PrivateExtractIconExW" (+000000FEh)
Address: 03C90CC8h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 77D18734h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+0000006Dh)
Address: 03C54CE0h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 03C54CE0h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 77D18816h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+0000014Fh)
Address: 03C54CE0h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 77D40467h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D18830h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+00000169h)
Address: 77D1D17Fh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "EnumDisplayMonitors" (+0000021Ch)
Address: 03C54CE0h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 77D184FCh, location: "USER32", loaded at 77D10000h - 77DA0000h
Address: 77D185A4h, location: "USER32", loaded at 77D10000h - 77DA0000h
Address: 77D1B3F9h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+000000BDh)
Address: 77D1B393h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+00000057h)
Address: 77D40467h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D1B3B0h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+00000074h)
Address: 773E0D72h, location: "COMCTL32", loaded at 77390000h - 77493000h
Symbol: "Ordinal384" (+00034ED2h)
Address: 773E0C82h, location: "COMCTL32", loaded at 77390000h - 77493000h
Symbol: "Ordinal384" (+00034DE2h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "strchr" (+00000117h)
Address: 7C910738h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlAllocateHeap" (+00000164h)
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 7C9105D4h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlAllocateHeap" (+00000000h)
Address: 7C910738h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlAllocateHeap" (+00000164h)
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C9106ABh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlAllocateHeap" (+000000D7h)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 03C90CC8h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 77D18734h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+0000006Dh)
Address: 7C911BFFh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlInitializeCriticalSection" (+000000D2h)
Address: 7C911E2Eh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlInitializeCriticalSection" (+00000301h)
Address: 0046988Eh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 773E0C82h, location: "COMCTL32", loaded at 77390000h - 77493000h
Symbol: "Ordinal384" (+00034DE2h)
Address: 7C910E91h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "wcsncpy" (+00000402h)
Address: 77D18734h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+0000006Dh)
Address: 773E0C82h, location: "COMCTL32", loaded at 77390000h - 77493000h
Symbol: "Ordinal384" (+00034DE2h)
Address: 77D18734h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+0000006Dh)
Address: 773E0C82h, location: "COMCTL32", loaded at 77390000h - 77493000h
Symbol: "Ordinal384" (+00034DE2h)
Address: 773E0C82h, location: "COMCTL32", loaded at 77390000h - 77493000h
Symbol: "Ordinal384" (+00034DE2h)
Address: 77D18816h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+0000014Fh)
Address: 773E0C82h, location: "COMCTL32", loaded at 77390000h - 77493000h
Symbol: "Ordinal384" (+00034DE2h)
Address: 773E0C82h, location: "COMCTL32", loaded at 77390000h - 77493000h
Symbol: "Ordinal384" (+00034DE2h)
Address: 77D18830h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+00000169h)
Address: 77D40467h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D18830h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+00000169h)
Address: 77D1C63Fh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "IsWindowUnicode" (+000000A1h)
Address: 773E0C82h, location: "COMCTL32", loaded at 77390000h - 77493000h
Symbol: "Ordinal384" (+00034DE2h)
Address: 03C54CE0h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 77D1C665h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "CallWindowProcW" (+0000001Bh)
Address: 773E0C82h, location: "COMCTL32", loaded at 77390000h - 77493000h
Symbol: "Ordinal384" (+00034DE2h)
Address: 03C55432h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 773E0C82h, location: "COMCTL32", loaded at 77390000h - 77493000h
Symbol: "Ordinal384" (+00034DE2h)
Address: 03C54CE0h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 746DE548h, location: "MSCTF", loaded at 746A0000h - 746EB000h
Address: 746B0E78h, location: "MSCTF", loaded at 746A0000h - 746EB000h
Symbol: "TF_UninitSystem" (+00000A0Fh)
Address: 746B0E71h, location: "MSCTF", loaded at 746A0000h - 746EB000h
Symbol: "TF_UninitSystem" (+00000A08h)
Address: 77D1EAF2h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "EnableMenuItem" (+000000C3h)
Address: 77D1EA9Eh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "EnableMenuItem" (+0000006Fh)
Address: 77D1EAADh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "EnableMenuItem" (+0000007Eh)
Address: 7C91056Dh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 77D40467h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D1EAB0h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "EnableMenuItem" (+00000081h)
Address: 77D1EAADh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "EnableMenuItem" (+0000007Eh)
Address: 77D1EBF3h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "CallNextHookEx" (+000000F0h)
Address: 77D1EC03h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "CallNextHookEx" (+00000100h)
Address: 7C90EAE3h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "KiUserCallbackDispatcher" (+00000013h)
Address: 746B0DE9h, location: "MSCTF", loaded at 746A0000h - 746EB000h
Symbol: "TF_UninitSystem" (+00000980h)
Address: 77D1EAC1h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "EnableMenuItem" (+00000092h)
Address: 03C90CC8h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 77D18734h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+0000006Dh)
Address: 03C54CE0h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 03C54CE0h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 77D18816h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+0000014Fh)
Address: 03C54CE0h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 77D40467h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D18830h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+00000169h)
Address: 77D189CDh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetWindowLongW" (+00000127h)
Address: 03C54CE0h, location: "foo_uie_single_column_playlist", loaded at 03C50000h - 03CA4000h
Address: 77D1EC03h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "CallNextHookEx" (+00000100h)
Address: 77D31B4Dh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "AppendMenuA" (+0000006Eh)
Address: 77D40467h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D189F0h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetWindowLongW" (+0000014Ah)
Address: 77D18A10h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DispatchMessageW" (+0000000Fh)
Address: 77D2E097h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "IsDialogMessageW" (+000000DBh)
Address: 0042FE48h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 77D1DAEAh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DestroyWindow" (+00000000h)
Address: 004BEB9Ch, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0042FEBAh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 014317DAh, location: "foo_uie_explorer", loaded at 01400000h - 0143C000h
Address: 10002DD2h, location: "shared", loaded at 10000000h - 10029000h
Symbol: "uCallStackTracker::uCallStackTracker" (+00000032h)
Address: 004C0510h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00430A19h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004C07D0h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004C767Ch, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004C767Ch, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 004F3000h

Version info:
foobar2000 v0.9.4
UNICODE

Additional info:
Columns UI 0.1.3 beta 1v5  (foo_ui_columns)
MSN Now Playing (alt) 2.4  (foo_msnalt)
Track info panel mod 0.7.1 beta [Dec  2 2006 - 01:31:40]  (foo_uie_trackinfo_mod)
Album list panel 0.2.1 beta 4  (foo_uie_albumlist)
Special file info box 2.0.4  (foo_infobox)
CD Audio Decoder 2.1.1  (foo_cdda)
SoundTouch DSP 0.1  (foo_dsp_soundtouch)
foo_custominfo 0.1.2  (foo_custominfo)
ABX Comparator 1.3.1  (foo_abx)
Album List 3.2.0  (foo_albumlist)
Menu Addons 0.3.4  (foo_menu_addons)
Single Column Playlist Display 0.4 beta [Nov  3 2006 - 14:03:22]  (foo_uie_single_column_playlist)
FLAC decoder 1.1.0  (foo_input_std)
Tabbed panel modified 0.2.5  (foo_uie_tabs)
Discogs Tagger 0.21  (foo_discogs)
RAR reader 1.1  (foo_unpack)
Play Count 1.9.2  (foo_playcount)
Converter 1.0.1  (foo_converter)
Default User Interface 0.9acc  (foo_ui_std)
Masstagger 1.6  (foo_masstag)
Autoplaylist Manager 1.0  (foo_autoplaylist)
cwbowron's title format hooks 1.0.13 [Oct  2 2006 - 09:06:52]  (foo_cwb_hooks)
Explorer Tree 1.04.6b  (foo_uie_explorer)
Album Art Panel 0.2.1  (foo_uie_albumart)
Quick Search Toolbar 2.8g  (foo_uie_quicksearch)
Queue manager panel 0.2.1  (foo_uie_queuemanager)
ReplayGain Scanner 2.0.2  (foo_rgscan)
Standard DSP array 1.0  (foo_dsp_std)
ZIP/GZIP reader 1.0  (foo_unpack)
WMA Decoder 1.1  (foo_input_std)
foobar2000 core v0.9.4  (Core)
Standard Input Array 1.0  (foo_input_std)
Playlist tools 0.5.7  (foo_utils)
Run services 0.3.2  (foo_run)

I get a crash when checking to many boxes with the refresh tag on update option
Title: foo_discogs
Post by: bubbleguuum on 2006-12-07 17:12:03
Single digit for me 

Two suggestions/wishes:

- To be able to format a separator/delimiter for multiple artists.
I write multiple artists like this: Artist1, Artist2
Someone else might want to write it like this: Artist1 & Artist2
You get the idea.


This could be done, however discog already include a join field between artist which can be different
between release (&, and etc) and I suppose reflect the delimiter on the physical release).
So you're sure you want to be able to delimit all your artist regardless of discogs delimiter ?

Quote
- Keyboard shortcuts would be really helpful!

soon!
Title: foo_discogs
Post by: 2Pacalypse on 2006-12-07 17:30:58
I've not actually used this plugin yet but its looks amazing! i just had a query. Currently my %title% tag contains the title followed by any featured artists "When the music stops feat d12" I wondered how your plugin handles this as i had a quick look on discogs and this is how it is displayed

16 When The Music Stops (4:29)
       Co-producer - Denaun Porter
          Producer - Eminem
          Rap [Featuring] - D12
Title: foo_discogs
Post by: bubbleguuum on 2006-12-07 17:37:04
I get a crash when checking to many boxes with the refresh tag on update option


Can you tell me which tags where enabled for updating (in tag mapping dialog ?)
Title: foo_discogs
Post by: pawls on 2006-12-07 18:36:47
This could be done, however discog already include a join field between artist which can be different
between release (&, and etc) and I suppose reflect the delimiter on the physical release).
So you're sure you want to be able to delimit all your artist regardless of discogs delimiter ?


Ah, that´s true. However I´d still like to request this feature. For me the ARTIST field and the writings on the cover is not the same thing.
Title: foo_discogs
Post by: 2Pacalypse on 2006-12-07 18:38:21
I've not actually used this plugin yet but its looks amazing! i just had a query. Currently my %title% tag contains the title followed by any featured artists "When the music stops feat d12" I wondered how your plugin handles this as i had a quick look on discogs and this is how it is displayed

16 When The Music Stops (4:29)
       Co-producer - Denaun Porter
          Producer - Eminem
          Rap [Featuring] - D12


tried it now is it possible to have as a feature "append featuring to title"?
Title: foo_discogs
Post by: stampgevaar on 2006-12-07 19:08:03

I get a crash when checking to many boxes with the refresh tag on update option


Can you tell me which tags where enabled for updating (in tag mapping dialog ?)


all! except the discogs rating, votes, submitter, wanted, owned, totaltracks and track
Title: foo_discogs
Post by: bubbleguuum on 2006-12-07 19:35:19
all! except the discogs rating, votes, submitter, wanted, owned, totaltracks and track


Found it!! it will crash on update on all tags filled from track info ("artist", 'track number", "track title", "artist link"), something you were the first to test



I've not actually used this plugin yet but its looks amazing! i just had a query. Currently my %title% tag contains the title followed by any featured artists "When the music stops feat d12" I wondered how your plugin handles this as i had a quick look on discogs and this is how it is displayed

16 When The Music Stops (4:29)
       Co-producer - Denaun Porter
          Producer - Eminem
          Rap [Featuring] - D12


tried it now is it possible to have as a feature "append featuring to title"?


In the current version foo_discogs do not parse roles (Featuring, Producer, etc). Maybe in the future but it's not a priority.
Title: foo_discogs
Post by: orchid on 2006-12-08 09:46:45
Maybe a settings to map the combo box to "Style", "Genre" or "Style and Genre" ?

How about two mappings, one for genre and one for style. And add option for genre box to include styles if someone prefers only one tag

I'm tempted to restore single digit numbers everywhere without it being an option. Does anybody absolutly wants double digit track numbers ?

Please leave double digits as an option.

Also I'd like to use %BAND% instead of %album artist% so could you make this changeable? And although easy to remove manually, a check box to disable compilation=1 would be nice.
Title: foo_discogs
Post by: bubbleguuum on 2006-12-08 12:32:42

Maybe a settings to map the combo box to "Style", "Genre" or "Style and Genre" ?

How about two mappings, one for genre and one for style. And add option for genre box to include styles if someone prefers only one tag


Yeah Style and Genre will be separated again in next version. I just have to find a good way to present the information in the Release dialog (combos), so all combination are possible since there not 2 users who have the same need

Quote

I'm tempted to restore single digit numbers everywhere without it being an option. Does anybody absolutly wants double digit track numbers ?

Please leave double digits as an option.


sure

Quote
Also I'd like to use %BAND% instead of %album artist% so could you make this changeable? And although easy to remove manually, a check box to disable compilation=1 would be nice.


I'll do that as it's easy to implement, and forcing write of %album artist% and %compilation% was not very good
Title: foo_discogs
Post by: Scheisen2000 on 2006-12-08 12:39:26
Hey bubbleguuum,

your plug-in sounds very interesting to me... unfortunately the links seem to be broken.
could u please re-upload the dll?

TIA
Title: foo_discogs
Post by: Scheisen2000 on 2006-12-08 15:48:03
it's up again
tnx alot
Title: foo_discogs
Post by: bubbleguuum on 2006-12-09 21:33:30
V0.25 IS OUT.  See first post for changelog. It will reset your tag mappings so if you modified the defaults you'll have to edit them again
Title: foo_discogs
Post by: mquander on 2006-12-09 23:00:18
Hey, when I tag this release (http://www.discogs.com/release/66926), I get:

VINYLTRACK:  A1, A2, B1, B2
TRACKNUMBER:  1, 2, 3, 4
TOTALTRACKS:  "Vinyl"

What's up with the "Vinyl"?  Is that a bug, or intentional?  Usually I would just want to label TOTALTRACKS as 4, like any normal release.
Title: foo_discogs
Post by: hiscores on 2006-12-09 23:22:23
The retrieve album art functionality crashes my Foobar now..
Title: foo_discogs
Post by: bubbleguuum on 2006-12-09 23:35:04
Hey, when I tag this release (http://www.discogs.com/release/66926), I get:

VINYLTRACK:  A1, A2, B1, B2
TRACKNUMBER:  1, 2, 3, 4
TOTALTRACKS:  "Vinyl"

What's up with the "Vinyl"?  Is that a bug, or intentional?  Usually I would just want to label TOTALTRACKS as 4, like any normal release.


found the bug, thanks!! redownload the v0.25, it's corrected

The retrieve album art functionality crashes my Foobar now..


More details please ? which release ? Does this crash when fetching art when tagging a release or on the batch update of art ? WHat do you have in configuration panel in "Album Art" as location ?
Title: foo_discogs
Post by: hiscores on 2006-12-10 00:06:21
More details please ? which release ? Does this crash when fetching art when tagging a release or on the batch update of art ? WHat do you have in configuration panel in "Album Art" as location ?


It happens when I highlight all 13 tracks of a record that's already been tagged with Discogs and select "Update Album Art". I get a Runtime error and Foobar crashes.

Save path = $replace(%path%)folder
Title: foo_discogs
Post by: bubbleguuum on 2006-12-10 00:25:53

More details please ? which release ? Does this crash when fetching art when tagging a release or on the batch update of art ? WHat do you have in configuration panel in "Album Art" as location ?


It happens when I highlight all 13 tracks of a record that's already been tagged with Discogs and select "Update Album Art". I get a Runtime error and Foobar crashes.

Save path = $replace(%path%)folder


your save path make it crash...$replace(%path%) evaluate to "", that's not what you want.
Put "$replace(%path%,%filename_ext%,)folder" instead.
I'll to have to prevent from malformed titleformat script though...
Title: foo_discogs
Post by: hiscores on 2006-12-10 00:28:30
your save path make it crash...$replace(%path%) evaluate to "", that's not what you want.
Put "$replace(%path%,%filename_ext%,)folder" instead.
I'll to have to prevent from malformed titleformat script though...


That works, but it names the file folder_1.jpg. How do I get it just to name it folder.jpg?
Title: foo_discogs
Post by: bubbleguuum on 2006-12-10 00:36:47

your save path make it crash...$replace(%path%) evaluate to "", that's not what you want.
Put "$replace(%path%,%filename_ext%,)folder" instead.
I'll to have to prevent from malformed titleformat script though...


That works, but it names the file folder_1.jpg. How do I get it just to name it folder.jpg?


for now you can't because there might be several files...folder_2.jpg, folder_3.jpg etc if you enable fetch of all art. Just add "-$replace(%path%,%filename_ext%,)folder_1.jpg" in your foo_albumart config and that should do the trick.
Title: foo_discogs
Post by: bubbleguuum on 2006-12-10 00:53:03
Just released v0.26 which fixes a few bugs of 0.25
Title: foo_discogs
Post by: iOsiris on 2006-12-10 01:18:03
Shows promise, this database even has some asian songs (very limited). But I'd just like to say thanks for making it we appreciate it!
Title: foo_discogs
Post by: hiscores on 2006-12-10 01:22:01
for now you can't because there might be several files...folder_2.jpg, folder_3.jpg etc if you enable fetch of all art. Just add "-$replace(%path%,%filename_ext%,)folder_1.jpg" in your foo_albumart config and that should do the trick.


To be honest, that's kind of a pain, and not very elegant. It'd be nice to see a fix for this in an upcoming version. Thanks for the update though -- foodiscogs is amazing.
Title: foo_discogs
Post by: drbeachboy on 2006-12-10 02:45:28
I'm getting this error message in foobar2000_v0.9.4.2:

Failed to load DLL: foo_discogs.dll
Reason: Invalid ordinal.

Any ideas on what may be causing this?
Title: foo_discogs
Post by: c0utta on 2006-12-10 04:25:55
drbeachboy,

As per the first post, make sure that you use libcurl and zlib1 that are in the archive.  Even though I had a later version of zlib1 I had to use it, otherwise, I received "Invalid ordinal".

Cheers,

c0utta
Title: foo_discogs
Post by: mquander on 2006-12-10 10:38:51
Hah, it still does it!  Tagging this release (http://www.discogs.com/release/233832) gives me:

TRACKNUMBER:  1, 2, 3, 4, 5, 6, 7
TOTALTRACKS:  "CD"


EDIT:  DISREGARD THAT, I SUCK COCKS
Title: foo_discogs
Post by: orchid on 2006-12-10 11:34:54
Thanks for the fast update

Working smoothly except in a case of multi-artist release like this http://www.discogs.com/release/630496 (http://www.discogs.com/release/630496), 'album artist' tag is not written. Didn't test this with earlier version so not sure if its intended or a bug.

Shows promise, this database even has some asian songs (very limited).


Discogs is as large as its users make it so go ahead and contribute some releases.


EDIT: Found a bug. Every time I restart foobar some mappings reset to defaults (maybe all). Tag mapping editing panel still shows the old settings
Title: foo_discogs
Post by: stampgevaar on 2006-12-10 14:11:41
Is it safe to start tagging my whole collection with your plugin or are there going to be some major changes? I like to know this because I'm not planning to retag it again when your plugin changes again cause this will take a lot of time.
Title: foo_discogs
Post by: mquander on 2006-12-10 14:19:15
EDIT: Found a bug. Every time I restart foobar some mappings reset to defaults (maybe all). Tag mapping editing panel still shows the old settings


I second this bug.  It looks like you forgot to read the functional settings from the saved settings at startup.
Title: foo_discogs
Post by: bubbleguuum on 2006-12-10 14:45:26
EDIT: Found a bug. Every time I restart foobar some mappings reset to defaults (maybe all). Tag mapping editing panel still shows the old settings


I second this bug.  It looks like you forgot to read the functional settings from the saved settings at startup.


Strange, redid some tests here, everything work fine. Are you able to reproduce lost settings consistently ? for example changing a setting, hit OK (or apply), quit fb2k, relaunch and you losed the setting ?

Is it safe to start tagging my whole collection with your plugin or are there going to be some major changes? I like to know this because I'm not planning to retag it again when your plugin changes again cause this will take a lot of time.


It's quite safe and there won't be incompatible changes now. It can still be considered as beta for the moment so if you're afraid of that you can wait some more.

Thanks for the fast update

Working smoothly except in a case of multi-artist release like this http://www.discogs.com/release/630496 (http://www.discogs.com/release/630496), 'album artist' tag is not written. Didn't test this with earlier version so not sure if its intended or a bug.


Yes, for now compilation is detected to 1 only if Artist = "Various" which is not the case in this release.
As there is not deterministic way to determine if a release is compilation (except the obvious "Various" case which is used for 95% of compilations), in next version I'll put a checkbox for it so you can force it.

edit: didn't see you talked about "album artist", not "compilation". For "Album Artist" this can be determined automatically
Title: foo_discogs
Post by: orchid on 2006-12-10 14:51:33
Strange, redid some tests here, everything work fine. Are you able to reproduce lost settings consistently ? for example changing a setting, hit OK (or apply), quit fb2k, relaunch and you losed the setting ?


The settings reset every time i restart foobar. However its easy to restore my own settings by opening the mapping panel and hitting OK, since my old settings are still stored there.

Could you make the matching system optional please. It messes up albums if track lengths differ from discogs
Title: foo_discogs
Post by: mquander on 2006-12-10 15:20:51

Strange, redid some tests here, everything work fine. Are you able to reproduce lost settings consistently ? for example changing a setting, hit OK (or apply), quit fb2k, relaunch and you losed the setting ?


The settings reset every time i restart foobar. However its easy to restore my own settings by opening the mapping panel and hitting OK, since my old settings are still stored there.


This matches my experience.  I will try to document it in more detail later.
Title: foo_discogs
Post by: drbeachboy on 2006-12-10 15:54:51
drbeachboy,

As per the first post, make sure that you use libcurl and zlib1 that are in the archive.  Even though I had a later version of zlib1 I had to use it, otherwise, I received "Invalid ordinal".

Cheers,

c0utta

c0utta,

Thank you! I read about libcurl, but didn't realize that it pertained to zlib1 too. I must of missed that while reading the 4 pages of posts.
Title: foo_discogs
Post by: bubbleguuum on 2006-12-10 16:44:14
Could you make the matching system optional please. It messes up albums if track lengths differ from discogs


The matching based on track length is foobar'ed in 0.26, ie buggy, hence the messed mapping. I just corrected it and know it works as it should . Probably a good idea to be able to disable auto-matching though.

Will try to make 0.27 available tonight. Thanks to people who report bugs!

The settings reset every time i restart foobar. However its easy to restore my own settings by opening the mapping panel and hitting OK, since my old settings are still stored there.


Found it! will be corrected in 0.27
Title: foo_discogs
Post by: bubbleguuum on 2006-12-10 20:24:58
V0.27 is out, see first post as usual for changes. Hopefully this version will be good until next week-end!
With this version you don't need libcurl.dll/zlib1.dll anymore, if it's not used by another plugin you can delete them (be careful).
Title: foo_discogs
Post by: orchid on 2006-12-11 11:35:29
Bugs:
- 'album artist' still not written on every release with multiple artists. (working ones 250323 338567, not working 238793 600329 576739)
- Track lengths were written to end of tracks on release 7237

Feature requests:
- Make the fields editable
- Custom button support through context menu

Thanks for your work with this. Really appreciate it
Title: foo_discogs
Post by: mquander on 2006-12-11 12:19:27
Bugs:
- 'album artist' still not written on every release with multiple artists. (working ones 250323 338567, not working 238793 600329 576739)
- Track lengths were written to end of tracks on release 7237

Feature requests:
- Make the fields editable
- Custom button support through context menu

Thanks for your work with this. Really appreciate it


Discogs has got to standardize their shit, that's ridiculous.  Track lengths with periods?
Title: foo_discogs
Post by: bubbleguuum on 2006-12-11 12:33:57
Bugs:
- 'album artist' still not written on every release with multiple artists. (working ones 250323 338567, not working 238793 600329 576739)


fixed. I like bugs that easy to fix

Quote
- Track lengths were written to end of tracks on release 7237

will fix it. As mquander noticed points in track length should not happen

Quote
- Make the fields editable


Any concrete example of situation you'd like to edit discogs data ?

Quote
- Custom button support through context menu


Can you explain more, I did not understand
Title: foo_discogs
Post by: orchid on 2006-12-11 14:21:45
Quote
Any concrete example of situation you'd like to edit discogs data ?

Main reason would be this new ANV system (good example http://www.discogs.com/release/338567 (http://www.discogs.com/release/338567)). A variety of names for same artist messes up searches, foo_browse etc. Also Discogs is full of typos but they don't bother me that much, might someone else.

Quote
Can you explain more, I did not understand

Sorry never mind. Didn't notice adding discogs menu commands to buttons is already possible
Title: foo_discogs
Post by: mquander on 2006-12-11 16:16:10
Your parser chokes on this (http://www.discogs.com/release/3666), but I don't blame it.
Title: foo_discogs
Post by: bubbleguuum on 2006-12-11 18:56:18
Quote
Main reason would be this new ANV system (good example http://www.discogs.com/release/338567 (http://www.discogs.com/release/338567)). A variety of names for same artist messes up searches, foo_browse etc. Also Discogs is full of typos but they don't bother me that much, might someone else.


The parser alerady detects ANV to discard "*" appended to them, although I don't make use of this info for anything else. What I thought some time ago and would be could in the case of the artist being an ANV, let the user choose between the ANV or the Non-ANV name of the artist. Even a configuration settings to automaticcaly use the non-ANV artist name could be done. Anyway there's no harm to make the fields editable (except track names) and i'll think about it.

Now I have a question for you people. If foo_discogs could use foo_custominfo to store tags (customizable per tag) would you use that ? for which use scenario and which tags ?
I see more iconvenient to storing using foo_custominfo, especially because it's usable only with foobar and if you loose the database you loose the tags

Your parser chokes on this (http://www.discogs.com/release/3666), but I don't blame it.


nice find! no wonder the parser goes berserk!
Title: foo_discogs
Post by: mquander on 2006-12-11 20:37:26
This (http://www.discogs.com/release/35227) doesn't seem to get an "Album Artist" tag.  Shouldn't it?  (Nevermind that the artists are all fake aliases of Bogdan anyway.)
Title: foo_discogs
Post by: bubbleguuum on 2006-12-11 20:52:05
This (http://www.discogs.com/release/35227) doesn't seem to get an "Album Artist" tag.  Shouldn't it?  (Nevermind that the artists are all fake aliases of Bogdan anyway.)


Fixed in upcoming version. Actually you have Album Artist written if the main artist is made of several artists, or if Album="Various" or if in the tracklisting there's at least a track with two artists.  This is not the case for this release so the last test is more like "has a least a track with *one* artist"
Title: foo_discogs
Post by: mquander on 2006-12-11 21:13:06

This (http://www.discogs.com/release/35227) doesn't seem to get an "Album Artist" tag.  Shouldn't it?  (Nevermind that the artists are all fake aliases of Bogdan anyway.)


Fixed in upcoming version. Actually you have Album Artist written if the main artist is made of several artists, or if Album="Various" or if in the tracklisting there's at least a track with two artists.  This is not the case for this release so the last test is more like "has a least a track with *one* artist"


Aha, I understand.  Thanks for the clarification.
Title: foo_discogs
Post by: mquander on 2006-12-11 21:40:44
The parser screws up on this (http://www.discogs.com/release/408647), but it looks like another weirdo edge case.
Title: foo_discogs
Post by: bubbleguuum on 2006-12-11 21:51:17
The parser screws up on this (http://www.discogs.com/release/408647), but it looks like another weirdo edge case.


yup another non-standard thing with bold (!) CD names in the middle of no where...yet you can tag it ! remove offending tracks and use the renumber button!! would never have thought this could have been used for this...cool!

I'm working on automatic ANV removal...(ie replace ANV by non-ANV artist names) ...funny stuff!
Title: foo_discogs
Post by: mquander on 2006-12-11 22:19:47

The parser screws up on this (http://www.discogs.com/release/408647), but it looks like another weirdo edge case.


yup another non-standard thing with bold (!) CD names in the middle of no where...yet you can tag it ! remove offending tracks and use the renumber button!! would never have thought this could have been used for this...cool!

I'm working on automatic ANV removal...(ie replace ANV by non-ANV artist names) ...funny stuff!


Yep - so far all the weird failure data has been gracefully handled, which is great!
Title: foo_discogs
Post by: mquander on 2006-12-11 23:58:03
Occasionally on releases with multiple catalog numbers, there is an extra space preceding the second catalog number.  This (http://www.discogs.com/release/599581) is an example:  tags are written "GUN 230 B" and " 82876 75177 2" (note the space.)
Title: foo_discogs
Post by: Ronny Pries on 2006-12-12 00:23:06
hey bubblegum,

can you leave an option to write the tracknumbers in vinyl side (a1, a2, b1 etc) fashion ? thx a lot!!

ronny

ps: you've gotta check out the new stephen brown / subject scotland!
Title: foo_discogs
Post by: mquander on 2006-12-12 00:56:35
hey bubblegum,

can you leave an option to write the tracknumbers in vinyl side (a1, a2, b1 etc) fashion ? thx a lot!!

ronny

ps: you've gotta check out the new stephen brown / subject scotland!


Why can't you do that with the plugin as-is?  Just set the vinyl track field to "TRACKNUMBER" and disable the track number field.
Title: foo_discogs
Post by: Ronny Pries on 2006-12-12 11:30:21
Why can't you do that with the plugin as-is?  Just set the vinyl track field to "TRACKNUMBER" and disable the track number field.


oh yeah, there it is - i went over it... jeez.

the stephen brown recommendation is still valid nevertheless

ronny
Title: foo_discogs
Post by: mquander on 2006-12-12 14:43:51
You include the (2) in the name of labels like this (http://www.discogs.com/label/Volcano+(2)), although I'm not sure you shouldn't.  You drop it for artists though so you probably want to drop it here.
Title: foo_discogs
Post by: bubbleguuum on 2006-12-12 23:02:21
Occasionally on releases with multiple catalog numbers, there is an extra space preceding the second catalog number.  This (http://www.discogs.com/release/599581) is an example:  tags are written "GUN 230 B" and " 82876 75177 2" (note the space.)


fixed



You include the (2) in the name of labels like this (http://www.discogs.com/label/Volcano+(2)), although I'm not sure you shouldn't.  You drop it for artists though so you probably want to drop it here.


fixed
Title: foo_discogs
Post by: gob on 2006-12-12 23:11:21
can this component find and tag files that are live based on the album they are on?
Title: foo_discogs
Post by: bubbleguuum on 2006-12-12 23:27:23
can this component find and tag files that are live based on the album they are on?


I don't understand what you mean !
Title: foo_discogs
Post by: q-stankovic on 2006-12-13 12:57:42

can this component find and tag files that are live based on the album they are on?


I don't understand what you mean !


I think not to search by id but by album tag. Would be nice and would save much time.
Title: foo_discogs
Post by: stampgevaar on 2006-12-13 14:06:27
seems like a good idea but keep the id thing in case the album tag is not right.

And the search should be  done by google on the discogs site this because the discogs search engine never finds what I want and google does. Maybe I'm the only one with this problem? I don't know...
Title: foo_discogs
Post by: orchid on 2006-12-13 14:09:22
Now I have a question for you people. If foo_discogs could use foo_custominfo to store tags (customizable per tag) would you use that ? for which use scenario and which tags ?

I prefer to write everything to tags. If you move the files around you lose all custom info.


I think not to search by id but by album tag. Would be nice and would save much time.

Discogs is quite large database and there are often many releases of same album, which makes searching by name inaccurate and slower.
Title: foo_discogs
Post by: 2Pacalypse on 2006-12-13 14:47:47
seems like a good idea but keep the id thing in case the album tag is not right.

And the search should be  done by google on the discogs site this because the discogs search engine never finds what I want and google does. Maybe I'm the only one with this problem? I don't know...


+1

it would be nice to auto search from %album% / %album% & %artist% tags

Also agree that google is a better option eg "discogs %artist% %album%"
and yes also keep the manual entry of release id in case it doesnt find it
Title: foo_discogs
Post by: mquander on 2006-12-13 15:25:52
I have no problem with the discogs search (I've never not been able to find something with it, that is) and searching by album name is ridiculous.  There are often 10-12 releases of the same album on different labels, with different tracks, in different countries, and at different times.
Title: foo_discogs
Post by: stampgevaar on 2006-12-13 15:59:39
I have no problem with the discogs search (I've never not been able to find something with it, that is) and searching by album name is ridiculous.  There are often 10-12 releases of the same album on different labels, with different tracks, in different countries, and at different times.


that depends on what genre of music you listen in my favorite genre this is not the case and almost al cds that come out are compilations which have dedicated names so double entries are very rare. problem is that discogs can't find these very good so in your case it is ridiculous but in my case it's very logic.
Title: foo_discogs
Post by: 2Pacalypse on 2006-12-13 16:30:48
I have no problem with the discogs search (I've never not been able to find something with it, that is) and searching by album name is ridiculous.  There are often 10-12 releases of the same album on different labels, with different tracks, in different countries, and at different times.


im not suggesting get rid of the manual id release, but how are you supposed to tag your complete library? by manually searching it would take forever!

it would be great like the old freedb where it auto searched but also had the option to manual search
Title: foo_discogs
Post by: NogginJ on 2006-12-13 16:42:43
some sort of sloppy auto search would be nice. maybe it could search for an album with the same album name, the same artist name, and the same number of tracks? then it could just pick the first one. you could then 'review' it's choice or you could set it up in fully auto mode and just let it run. maybe even custom search strings, like if you already know the label or something it could filter it with that too.

yea itd be sloppy, and yer mp3s might be labelled as UK instead of US, but it would get most of the tags (artist, track, album, art) right for most people.
Title: foo_discogs
Post by: stampgevaar on 2006-12-13 16:46:22
some sort of sloppy auto search would be nice. maybe it could search for an album with the same album name, the same artist name, and the same number of tracks? then it could just pick the first one. you could then 'review' it's choice or you could set it up in fully auto mode and just let it run. maybe even custom search strings, like if you already know the label or something it could filter it with that too.

yea itd be sloppy, and yer mp3s might be labelled as UK instead of US, but it would get most of the tags (artist, track, album, art) right for most people.


I was thinking the same thing, just something that searches for album / artist name and then you can select the album you want from the search results. And maybe hyperlinks in every result so when you click it you can see if it's the album that you want just to be sure.
Title: foo_discogs
Post by: mquander on 2006-12-13 16:50:36

I have no problem with the discogs search (I've never not been able to find something with it, that is) and searching by album name is ridiculous.  There are often 10-12 releases of the same album on different labels, with different tracks, in different countries, and at different times.


im not suggesting get rid of the manual id release, but how are you supposed to tag your complete library? by manually searching it would take forever!

it would be great like the old freedb where it auto searched but also had the option to manual search


I have about 600 albums, 5000 tracks, and I did it already.  It took about four hours all told, which is a pain in the ass, but you only have to do it once.  I wrote a foo_run script to launch a discogs search for each album, then I look at the releases, check the different releases, go to the one I want, copy and paste the release ID.  Fifteen seconds.

With a bit of work, you could certainly have a preview window like I described in this post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50329&view=findpost&p=450759), but that's not really very much faster, and there's no way you could automate the whole process of getting a release ID without having it fuck up and get the wrong release one time out of three.
Title: foo_discogs
Post by: 2Pacalypse on 2006-12-13 17:15:41


I have no problem with the discogs search (I've never not been able to find something with it, that is) and searching by album name is ridiculous.  There are often 10-12 releases of the same album on different labels, with different tracks, in different countries, and at different times.


that depends on what genre of music you listen in my favorite genre this is not the case and almost al cds that come out are compilations which have dedicated names so double entries are very rare. problem is that discogs can't find these very good so in your case it is ridiculous but in my case it's very logic.


I have about 600 albums, 5000 tracks, and I did it already.  It took about four hours all told, which is a pain in the ass, but you only have to do it once.  I wrote a foo_run script to launch a discogs search for each album, then I look at the releases, check the different releases, go to the one I want, copy and paste the release ID.  Fifteen seconds.


i listen to a lot of hip-hop which means that a lot of tracks feature other artists.
Hopefully the featuring on discogs will be added to the mapping in a future release then i will tag my complete library.

@mquander - i followed your link to your previous post, its a good idea! Would it not be feasible for those releases found to be added to a drop down menu with a preview button and be used like in freedb where you could see how it looks?

Edit - Small request, when tracks are selected in the discogs plugin window can you map the 'del' key to remove the tracks (same as the button, i just naturally hit del)
Title: foo_discogs
Post by: bubbleguuum on 2006-12-13 19:15:20
and there's no way you could automate the whole process of getting a release ID without having it fuck up and get the wrong release one time out of three.


That's pretty much my opininon and that's why I'm not very motivated to do a search interface.
I'll probably do it though since people expect it. It's much more reliable to use a web browser to find the good id, IMHO.
Title: foo_discogs
Post by: zachastrife on 2006-12-13 21:12:28
I have a request for a feature...
I want to see the size of the image (width and height) and/or a simple preview window of the whole image (so I can see the quality of it).
But if it's too hard to do forget it =)
Title: foo_discogs
Post by: stampgevaar on 2006-12-13 21:20:01
I just tagged my first record label with the plugin it was still a lot faster than manual but couldn't you make it possible to paste the intire url in the discogs release id box this because selecting it everytime again drives me crazy
so: http://www.discogs.com/release/63894 (http://www.discogs.com/release/63894) instead of 63894 or both is also fine. it don't think the url changes after release/ I don't know actually but if it's possible please do it. for one album it wouldn't matter but for 1000 it does and it saves up a lot of time and it's also a bit out of lazyness...
Title: foo_discogs
Post by: bubbleguuum on 2006-12-13 21:59:36
I have a request for a feature...
I want to see the size of the image (width and height) and/or a simple preview window of the whole image (so I can see the quality of it).
But if it's too hard to do forget it =)


Too much work for what it is...and usually quality is high enough (600x600 jpg)


I just tagged my first record label with the plugin it was still a lot faster than manual but couldn't you make it possible to paste the intire url in the discogs release id box this because selecting it everytime again drives me crazy
so: http://www.discogs.com/release/63894 (http://www.discogs.com/release/63894) instead of 63894 or both is also fine. it don't think the url changes after release/ I don't know actually but if it's possible please do it. for one album it wouldn't matter but for 1000 it does and it saves up a lot of time and it's also a bit out of lazyness...


I was thinking to this not so long ago so it'll be done, but you won't make me believe selecting the release id and hitting ctrl-c is much slower than selecting the whole URL. Well it still does make sense to paste the whole URL even if it's 0.5s faster....
Title: foo_discogs
Post by: bubbleguuum on 2006-12-13 23:28:51
released V0.28. See changelog for details
Title: foo_discogs
Post by: mquander on 2006-12-14 04:10:49
I just tagged my first record label with the plugin it was still a lot faster than manual but couldn't you make it possible to paste the intire url in the discogs release id box this because selecting it everytime again drives me crazy
so: http://www.discogs.com/release/63894 (http://www.discogs.com/release/63894) instead of 63894 or both is also fine. it don't think the url changes after release/ I don't know actually but if it's possible please do it. for one album it wouldn't matter but for 1000 it does and it saves up a lot of time and it's also a bit out of lazyness...


I strongly agree - it can't hurt to accept both, and it's easy to implement.
Title: foo_discogs
Post by: Decuman on 2006-12-14 11:36:30
Just a couple of comments and notes:

- Sometimes it doesn't sort tracks alphabetically... for example for the following albums
http://www.discogs.com/release/433449 (http://www.discogs.com/release/433449)
http://www.discogs.com/release/789299 (http://www.discogs.com/release/789299)
I guess it should always place tracks in order they are numbered/ordered on discog's page and then you can have an ability to change it the way you want + Have a button to sort tracks alphabetically with one click.

- Would it be possible to embed the following command to run web browser from within menu:
http://www.discogs.com/search?type=release...eplace(%artist% (http://www.discogs.com/search?type=releases&q=$replace(%artist%), ,+)+$replace(%album%, ,+)&btn=Search (I use fooRUN component to run this command)
Or even more - parse the page which discogs generate from that link and place the first album link into clipboard or run the renaming dialog right away for the first (if any) successful album

Thanks for such a great component!!!

N
Title: foo_discogs
Post by: mazy on 2006-12-14 14:59:15
bubbleguuum, i _love_ that you've used herbert for your anv example . good work; i'm still (patiently) waiting for custom info support though.
Title: foo_discogs
Post by: mquander on 2006-12-14 15:35:14
I haven't used libcurl, so I don't know how tough this would be to implement, but a progress bar dialog box while it fetches the release data would be a friendly improvement, especially if you are fetching multiple pages (like with ANVs presumably.)
Title: foo_discogs
Post by: orchid on 2006-12-14 16:35:25
- Sometimes it doesn't sort tracks alphabetically... for example for the following albums
http://www.discogs.com/release/433449 (http://www.discogs.com/release/433449)
http://www.discogs.com/release/789299 (http://www.discogs.com/release/789299)
I guess it should always place tracks in order they are numbered/ordered on discog's page and then you can have an ability to change it the way you want + Have a button to sort tracks alphabetically with one click.


Yeah there is a matching system which compares your track lengths to discogs and sorts the tracks based on results. That button for fast re-sorting sounds good
Title: foo_discogs
Post by: bubbleguuum on 2006-12-14 19:26:59
bubbleguuum, i _love_ that you've used herbert for your anv example . good work; i'm still (patiently) waiting for custom info support though.


Herbert is just the king of ANVs !

I'm still considering wheter to add foo_custominfo support or not as I don't think it'll interest a lot of people...
Can you describe precisely why you prefer custom info and for which tags ?

I haven't used libcurl, so I don't know how tough this would be to implement, but a progress bar dialog box while it fetches the release data would be a friendly improvement, especially if you are fetching multiple pages (like with ANVs presumably.)


It's becoming necessary to have a progress bar since it can sometimes take a long time to retrieve info and there's no feedback for that, so yes it'll be added!

Just a couple of comments and notes:

- Sometimes it doesn't sort tracks alphabetically... for example for the following albums
http://www.discogs.com/release/433449 (http://www.discogs.com/release/433449)
http://www.discogs.com/release/789299 (http://www.discogs.com/release/789299)
I guess it should always place tracks in order they are numbered/ordered on discog's page and then you can have an ability to change it the way you want + Have a button to sort tracks alphabetically with one click.


as someone said discogs track are automatically reordered if the matching algorithm can map them to local tracks. NOw I know it'd make more sense  to have the discogs track in fixed order and reorder the local files instead , but that's not the case because of how I did the dialog in the first place.

Quote
- Would it be possible to embed the following command to run web browser from within menu:
http://www.discogs.com/search?type=release...eplace(%artist% (http://www.discogs.com/search?type=releases&q=$replace(%artist%), ,+)+$replace(%album%, ,+)&btn=Search (I use fooRUN component to run this command)
Or even more - parse the page which discogs generate from that link and place the first album link into clipboard or run the renaming dialog right away for the first (if any) successful album


I'll try to do a proper search dialog


I just tagged my first record label with the plugin it was still a lot faster than manual but couldn't you make it possible to paste the intire url in the discogs release id box this because selecting it everytime again drives me crazy
so: http://www.discogs.com/release/63894 (http://www.discogs.com/release/63894) instead of 63894 or both is also fine. it don't think the url changes after release/ I don't know actually but if it's possible please do it. for one album it wouldn't matter but for 1000 it does and it saves up a lot of time and it's also a bit out of lazyness...


I strongly agree - it can't hurt to accept both, and it's easy to implement.


Done in v0.28!
Title: foo_discogs
Post by: nbv4 on 2006-12-14 20:35:53
I'm having trouble getting 2 disc sets to work. I highlight all the tracks in the album (both discs), right click and select "write tags", enter this: "http://www.discogs.com/release/805659"

and it tags everything as one disc with 27 tracks, instead of 2 discs with 13 and 14 tracks. Am I doing anything wrong?
Title: foo_discogs
Post by: mquander on 2006-12-14 20:38:06
I'm having trouble getting 2 disc sets to work. I highlight all the tracks in the album (both discs), right click and select "write tags", enter this: "http://www.discogs.com/release/805659"

and it tags everything as one disc with 27 tracks, instead of 2 discs with 13 and 14 tracks. Am I doing anything wrong?


You sure read the instructions in the first post wrong, for a start.
Title: foo_discogs
Post by: bubbleguuum on 2006-12-14 20:39:44
I'm having trouble getting 2 disc sets to work. I highlight all the tracks in the album (both discs), right click and select "write tags", enter this: "http://www.discogs.com/release/805659"

and it tags everything as one disc with 27 tracks, instead of 2 discs with 13 and 14 tracks. Am I doing anything wrong?


Look at first post, at the end of the changelog of v 0.2. I explain how to tag multi-disc releases
Title: foo_discogs
Post by: bubbleguuum on 2006-12-14 23:13:59
bubbleguuum, i _love_ that you've used herbert for your anv example . good work; i'm still (patiently) waiting for custom info support though.


Your wait is almost over, I just added custominfo support (configurable per tag). It was much faster to do than I thought thanks to the easy API. Look for a release this week end.
Only information you can't put in a custom info is the precious release id which is always stored in tag. That way, even if you loose the custom info db you can still regenerate it all either in real tags or in custom info or a mix of the two!
Title: foo_discogs
Post by: 2Pacalypse on 2006-12-15 09:23:24
bubbleguuum this plugin is awesum and updated really fast! much appreciated.

i requested before just wanted to drop a reminder could you add a tag for the featured artists?
Title: foo_discogs
Post by: orchid on 2006-12-15 11:49:38
Article 'the' appears at the end of names (e.g. Prodigy, The) if non-ANV name is used
Title: foo_discogs
Post by: mazy on 2006-12-16 00:07:38
I'm still considering wheter to add foo_custominfo support or not as I don't think it'll interest a lot of people...
Can you describe precisely why you prefer custom info and for which tags ?

that's quite weird thing on my side. i simply do not add tags to any release with sfv files. i tag only my own rips and / or non-scene stuff. so i can't really use replaygain since 0.9 for example :/
Title: foo_discogs
Post by: stampgevaar on 2006-12-16 14:24:31
I was thinking since internet explorer now works with tabs can you maybe make it possible if you select the albums you want to be tagged in foobar that it automatically looks for the urls in the tabs that you have open in internet explorer.
that would speedup the things very much.
but leave the normal copy past thing also but what I said would be accurate for mass tagging
if it's possible you only have the search for the discogs and then just press a button and maybe show the field again to look if the tags are good sorted or to choose if you want the albumart or not. and then just press enter for every album.
but it's just a idea because a lot of people have talked about making something like the freedb thing but this would be more accurate and not as slow so I think...
Title: foo_discogs
Post by: stampgevaar on 2006-12-16 15:10:09
and this isn't parsed correctly

http://www.discogs.com/release/848061 (http://www.discogs.com/release/848061)

the (16) behind the artist doesn't belong there.
Title: foo_discogs
Post by: bubbleguuum on 2006-12-17 01:28:03
v0.30 released !  Finally with a dialog that helps to find releases, works great (screenshot (http://bubbleguuum.free.fr/foo_discogs/foo_discogs3.png)). Also with foo_custominfo support and download progress indicators.

See first post for download and changelog.

It will reset your tag mappings to the defaults.
Title: foo_discogs
Post by: 4nt1 on 2006-12-17 05:13:25
awesome work - great to see developers adding stuff that people want keep it up
Title: foo_discogs
Post by: stampgevaar on 2006-12-17 12:10:45
nice work mate really
Title: foo_discogs
Post by: orchid on 2006-12-17 12:48:43
The progress bar got stuck on my screen after album art fetching was complete. Got rid of it by tagging an other album. I'll report if happens again
Title: foo_discogs
Post by: stampgevaar on 2006-12-17 16:35:03
The progress bar got stuck on my screen after album art fetching was complete. Got rid of it by tagging an other album. I'll report if happens again


I've got the same problem but not always...
http://www.discogs.com/release/66030 (http://www.discogs.com/release/66030) I think this one is parsed incorrectly the tracknumbers don't show up

Also in the next version a sort button would be nice
and in the find release dialog everything is not showed only the releases of the artist, problem is if your tagging a compilation you still have to go and look it up with your browser.
and maybe a little field to filter out what you don't need in the find release dialog then it's perfect !! great work !!
Title: foo_discogs
Post by: mazy on 2006-12-17 16:51:06
bubbleguuum, thanx for the new version! the search dialog is great, as is custom info support. i would like to keep the release id in the custom info too though.

discogs is probably the best music database for (not only) electronic music - just what i like to listen to .
Title: foo_discogs
Post by: bubbleguuum on 2006-12-17 17:32:53
bubbleguuum, thanx for the new version! the search dialog is great, as is custom info support. i would like to keep the release id in the custom info too though.


Yup, I'll make it modifiable with a BIG warning (if you loose your custom info db, you're screwed).
There's some little things that does not works as advertised with custominfo in 0.30:

- format, catalog and label always written to tags even if custom info checked. Same under some
other circonstances with style and genre.

So you may want to wait next version, or disable thoses tag and update them later




The progress bar got stuck on my screen after album art fetching was complete. Got rid of it by tagging an other album. I'll report if happens again


I've got the same problem but not always...
http://www.discogs.com/release/66030 (http://www.discogs.com/release/66030) I think this one is parsed incorrectly the tracknumbers don't show up



It's not a bug it's a ..feature!  I discard discogs track numbering which can be funky (1.01, 1.02), so I renumber the tracks in the order of the tracklisting.

Quote
Also in the next version a sort button would be nice


to sort what ? releases ?

Quote
and in the find release dialog everything is not showed only the releases of the artist, problem is if your tagging a compilation you still have to go and look it up with your browser.

will look into it

Quote
and maybe a little field to filter out what you don't need in the find release dialog then it's perfect !! great work !!


yup, incremental filtering would be neat.




The progress bar got stuck on my screen after album art fetching was complete. Got rid of it by tagging an other album. I'll report if happens again


I've got the same problem but not always...
http://www.discogs.com/release/66030 (http://www.discogs.com/release/66030) I think this one is parsed incorrectly the tracknumbers don't show up



It's not a bug it's a ..feature!  I discard discogs track numbering which can be funky (1.01, 1.02), so I renumber the tracks in the order of the tracklisting.



Well, the track numbers are indeed not displayed for this funky release because of the vinyl tracks at the end. That does not mean track numbers does not exist, there are just not displayed. In next release i'll display track number
Title: foo_discogs
Post by: stampgevaar on 2006-12-17 18:05:10
I mean a button to sort the left field with the info on discogs because sometimes it goes crazy.
For example track 20 , track 25, track 05, etc
and I have to sort them manually this takes a while sometimes


Oooh and can you make the find release dialog resizeable and also display catalog numbers after the format, that's easier for tagging vinyl
Title: foo_discogs
Post by: bubbleguuum on 2006-12-19 22:30:14
v0.31 released featuring incremental search in release list, custominfo fixes, improved "update tags".
Title: foo_discogs
Post by: stampgevaar on 2006-12-20 18:51:18
Perfect  just perfect!! great work

But there are still a few bugs to work out. sometimes when there are multiple artist under a name and you click the other name there are no releases? and the album cover download processbar still stays on the screen sometimes but less than before
Title: foo_discogs
Post by: Rostvertol-Mil on 2006-12-22 19:07:16
Disgogs must be the best music library around, and it is great to have it intregrated in foobar.
Keep up the good work!
Title: foo_discogs
Post by: deucalion on 2006-12-23 09:29:50
Thank you for this great plugin, it almost makes you my personal hero. :-)

Btw... could you please add "gdiplus.dll" to the dependencies? It isn't that obvious that it is a needed dll, and it seems to refuse to work without it. Thanks!

And... a few feature suggestions:

- An addition to the "Write Tags" dialogue: a multiselect field with all available tags, so you can select which fields to tag. (OK, this might be not very important, but is a nice-to-have IMHO.)

- Caching of the information you fetched from discogs e.g. in a local sqlite DB or something similar. Usage scenarios: prefetch content into DB manually (if you have no network connection on the machine you want to tag things), speed up album searching (cache list of releases by an artist and maybe add a "refresh" button), etc.

- Include the "Credits:" line for various artists albums. Ideal would be to have the fields DISCOGS_CREDITS (with the artist who mixed the CD etc, e.g. "Ravin" at buddha bar 6) and DISCOGS_CREDITS_CATEGORY (e.g. DJ Mix, Executive Producer, ... - whatever there is in the string before the dash.)

EDIT: cleared up the list a bit. ;-)
Title: foo_discogs
Post by: deucalion on 2006-12-23 10:31:43
A little bug I noticed in 0.31...
... "Discogs -> Write Tags" doesn't work (it doesn't write any tags), however "Discogs -> Update Tags" does work. Any idea what could cause this?

Thanks!

(I'm just manually filling in the "DISCOGS_RELEASE_ID" field and then use update tags as a workaround, but... I'm hoping for a 0.32 release with this bug fixed. ;-) )

EDIT: I'm using foobar2000 v0.9.4.2.
Title: foo_discogs
Post by: bubbleguuum on 2006-12-23 13:09:33
Perfect  just perfect!! great work

But there are still a few bugs to work out. sometimes when there are multiple artist under a name and you click the other name there are no releases? and the album cover download processbar still stays on the screen sometimes but less than before


The empty release list for some artists is not a bug: I only display "releases" and "dj mixes" sections of the relevant web pages, not displaying other categories such as "appears on", "remixes", "production" etc whose listed releases always have a different artist name than the one you search for.
However I see it could be some use to list them and now there's the filter box, I may add them to the release list. For now, if an artist doesn't have releases listed in the panel, it is that they don't have anything as "Releases" or "DJ MIxes".

For the progress bar stuck i've not seen it myself but sometimes receiving data from discogs.com can be slow or stall. The plugin should detect it under 1min and display a error message box if it's the case.
Soon I'll tag a good part of my colection so maybe I'll see the pbm.


Thank you for this great plugin, it almost makes you my personal hero. :-)

Btw... could you please add "gdiplus.dll" to the dependencies? It isn't that obvious that it is a needed dll, and it seems to refuse to work without it. Thanks!


Sure it's a dependency, it comes standard with XP I believe , not sure of other version of Windows. foo_uie_albumart use it too.

Quote
And... a few feature suggestions:

- An addition to the "Write Tags" dialogue: a multiselect field with all available tags, so you can select which fields to tag. (OK, this might be not very important, but is a nice-to-have IMHO.)


That's what the tag mapping dialog is for, provided you don't change the config too often (ie for every two releases)

Quote
- Caching of the information you fetched from discogs e.g. in a local sqlite DB or something similar. Usage scenarios: prefetch content into DB manually (if you have no network connection on the machine you want to tag things), speed up album searching (cache list of releases by an artist and maybe add a "refresh" button), etc.


I'd rather support fetching discogs data from local DB dump, when (if) they release such a dump.

Quote
- Include the "Credits:" line for various artists albums. Ideal would be to have the fields DISCOGS_CREDITS (with the artist who mixed the CD etc, e.g. "Ravin" at buddha bar 6) and DISCOGS_CREDITS_CATEGORY (e.g. DJ Mix, Executive Producer, ... - whatever there is in the string before the dash.)


Sounds reasonable.
Title: foo_discogs
Post by: bubbleguuum on 2006-12-23 13:34:58
A little bug I noticed in 0.31...
... "Discogs -> Write Tags" doesn't work (it doesn't write any tags), however "Discogs -> Update Tags" does work. Any idea what could cause this?

Thanks!


Very strange...can you always reproduce it ? I'm using 0.9.4.1 myself so I'll have to try with 0.9.4.2
Title: foo_discogs
Post by: deucalion on 2006-12-23 15:02:36

A little bug I noticed in 0.31...
... "Discogs -> Write Tags" doesn't work (it doesn't write any tags), however "Discogs -> Update Tags" does work. Any idea what could cause this?

Thanks!


Very strange...can you always reproduce it ? I'm using 0.9.4.1 myself so I'll have to try with 0.9.4.2


Sadly yes. However, this _might_ be a bug in wine (I'm running foobar2000 on linux using wine 0.9.25) as well... however I doubt it, as the tagging with e.g. the freedb plugin works fine. And the tag update function works too, so... it's rather strange.
But I'll see if I can test in in vmware under windows xp as well, to make sure it's not wine-related.


Btw... could you please add "gdiplus.dll" to the dependencies? It isn't that obvious that it is a needed dll, and it seems to refuse to work without it. Thanks!


Sure it's a dependency, it comes standard with XP I believe , not sure of other version of Windows. foo_uie_albumart use it too.


According to foobar2000.org/requirements.html (http://www.foobar2000.org/requirements.html) windows 2000 is a supported OS, so it'd be just a nice hint for all other windows 2000 users to have it listed. ;-)

(And yes, it's included in windows xp, it's part of the .net package as well etc.)
Title: foo_discogs
Post by: bubbleguuum on 2006-12-23 16:54:33
Quote
Quote


Very strange...can you always reproduce it ? I'm using 0.9.4.1 myself so I'll have to try with 0.9.4.2


Sadly yes. However, this _might_ be a bug in wine (I'm running foobar2000 on linux using wine 0.9.25) as well... however I doubt it, as the tagging with e.g. the freedb plugin works fine. And the tag update function works too, so... it's rather strange.
But I'll see if I can test in in vmware under windows xp as well, to make sure it's not wine-related.


You're lucky that I'm also a Linux guy (coding windows plugins): I just tried in wine and there's indeed a problem with writing tags when invoked from "write tags...". As I want this plugin to work perfectly with fb2k under wine, I'll fix this.
Title: foo_discogs
Post by: a3aan on 2006-12-23 17:03:54
Hi,

Great plug-in!!

Just been reading this thread. Here is my vote, a bug? and some wishes.

vote
my vote is for double digit track#

bug?
discogs tags are not always written eg. for http://www.discogs.com/release/789485 (http://www.discogs.com/release/789485) (using Write tags..)

wishes
optional use of square brackets [] for remix info instead of ()
option to maintain album art filenames as found
option to maintain artists as found on discogs for artists with 'The' etc as in 'Beatles, The'
possibility to edit tags before accepting
possibility to rename files as well

Keep up the good work.

Cheers,
a3aan
Title: foo_discogs
Post by: deucalion on 2006-12-23 17:11:44
You're lucky that I'm also a Linux guy (coding windows plugins): I just tried in wine and there's indeed a problem with writing tags when invoked from "write tags...". As I want this plugin to work perfectly with fb2k under wine, I'll fix this.


Glad to hear that.

Thanks a lot!


EDIT:

Two new (?) bugs:
- Fetching albumart of discogs #794561 via "Discogs -> Update Album Art" (with "retrieve all available art" and "process only releases[...]" checkboxes activated.) crashes foobar2000 with a cpp runtime error.
- Tagging discogs #54230 results in a broken artist (which should read Add N to (X)), "(" and ")" don't seem to be sufficiently escaped; it results in "Add N to ".
Title: foo_discogs
Post by: bubbleguuum on 2006-12-23 20:36:31
Hi,

Great plug-in!!

Just been reading this thread. Here is my vote, a bug? and some wishes.

vote
my vote is for double digit track#


This already an option in the configuration panel, and double digits is the default IIRC

Quote
bug?
discogs tags are not always written eg. for http://www.discogs.com/release/789485 (http://www.discogs.com/release/789485) (using Write tags..)


can you be more specific, which tags etc ?

Quote
wishes
optional use of square brackets [] for remix info instead of ()


I will not process discogs data, it comes as it is. You probably can convert ( to [ with other fb plugins.

Quote
option to maintain album art filenames as found


They have some meaningless filenames such as R-789485-1158971146.jpeg so you really don't want this

Quote
option to maintain artists as found on discogs for artists with 'The' etc as in 'Beatles, The'


Good idea

Quote
possibility to edit tags before accepting


And you can edit them later in the "Properties" standard foobar dialog...that's why I'm not too keen on doing this as the functionality is already there (less convenient maybe but there)

Quote
possibility to rename files as well


Could be done but I suppose there's some functionality in fb2k that allows to do that based on tags ? Anybody ?

Thanks for the feedback.


You're lucky that I'm also a Linux guy (coding windows plugins): I just tried in wine and there's indeed a problem with writing tags when invoked from "write tags...". As I want this plugin to work perfectly with fb2k under wine, I'll fix this.


Glad to hear that.

Thanks a lot!


EDIT:

Two new (?) bugs:
- Fetching albumart of discogs #794561 via "Discogs -> Update Album Art" (with "retrieve all available art" and "process only releases[...]" checkboxes activated.) crashes foobar2000 with a cpp runtime error.
- Tagging discogs #54230 results in a broken artist (which should read Add N to (X)), "(" and ")" don't seem to be sufficiently escaped; it results in "Add N to ".


I corrected the bug having not tags written in wine...A win32 list API call not implemented as it should.
Will have to look into the album art crash.
Lol on Add to N to (X): the parser remove the trailing artist number which usually is something like Foo (3).
Well you see what happens in that case !
Title: foo_discogs
Post by: a3aan on 2006-12-23 21:08:54
Quote

bug?
discogs tags are not always written eg. for http://www.discogs.com/release/789485 (http://www.discogs.com/release/789485) (using Write tags..)


can you be more specific, which tags etc ?



None of the tags starting with DISCOGS are saved.  I did work a few times, but somehow it stopped working...

EDIT: I played some more with it. The DISCOGS tags are not saved when the the option ID3v2 Writer Compatibility Mode is checked.


Quote
They have some meaningless filenames such as R-789485-1158971146.jpeg so you really don't want this


I dont care about the name. Just want to determine the files on discogs are the same as i donwloaded before.

Cheers,
a3aan.
Title: foo_discogs
Post by: stampgevaar on 2006-12-24 11:29:21
[quote name='bubbleguuum' date='Dec 23 2006, 14:09' post='459246']
[quote name='stampgevaar' post='458668' date='Dec 20 2006, 19:51']
Perfect  just perfect!! great work

But there are still a few bugs to work out. sometimes when there are multiple artist under a name and you click the other name there are no releases? and the album cover download processbar still stays on the screen sometimes but less than before
[/quote]

The empty release list for some artists is not a bug: I only display "releases" and "dj mixes" sections of the relevant web pages, not displaying other categories such as "appears on", "remixes", "production" etc whose listed releases always have a different artist name than the one you search for.
However I see it could be some use to list them and now there's the filter box, I may add them to the release list. For now, if an artist doesn't have releases listed in the panel, it is that they don't have anything as "Releases" or "DJ MIxes".



===>

It would be nice if the categories like appears on, remixes etc also show maybe with a checkbutton for those. So if you have that option on, everything on discogs is possible to find with your plugin and that would be great. Cause sometimes I still can't find stuff with your plugin because I forget the album artist or have the wrong album artist tagged and still have to search for the discogs id. and maybe have the option the search for a album or record label with your searchbox, album search isn't really necessary but nice to have and record label would be good to find things quickly and my case that is.
Title: foo_discogs
Post by: bubbleguuum on 2006-12-24 12:26:28
Quote
It would be nice if the categories like appears on, remixes etc also show maybe with a checkbutton for those. So if you have that option on, everything on discogs is possible to find with your plugin and that would be great. Cause sometimes I still can't find stuff with your plugin because I forget the album artist or have the wrong album artist tagged and still have to search for the discogs id. and maybe have the option the search for a album or record label with your searchbox, album search isn't really necessary but nice to have and record label would be good to find things quickly and my case that is.


Yep, it now displays all release displayed on an artist page. I tagged some part of my collection yesterday and it was obvious it was missing.

Also fixed the annoying progress popup not disappearing. I'll make a release later today
Title: foo_discogs
Post by: Slotos on 2006-12-26 11:16:29
It seems there is a problem with proxy usage. I'm using proxy and all i get is short hang with zero results. Inputting release number/url results in "wrong release" error.

Here is TCPView screenshot:
(http://img184.imageshack.us/img184/595/tcpviewgz4.png)
Foobar is connecting directly to discogs without using proxy.

I have proxy set both in foobar and iexplore so I wonder where else should I set it and if proxy usage is implemented at all.

To post conclusion. I'm waiting for support anxiously, because the idea is great and I really want to utilise this component.
Title: foo_discogs
Post by: bubbleguuum on 2006-12-26 11:26:41
It seems there is a problem with proxy usage. I'm using proxy and all i get is short hang with zero results. Inputting release number/url results in "wrong release" error.

Here is TCPView screenshot:
(http://img184.imageshack.us/img184/595/tcpviewgz4.png)
Foobar is connecting directly to discogs without using proxy.

I have proxy set both in foobar and iexplore so I wonder where else should I set it and if proxy usage is implemented at all.

To post conclusion. I'm waiting for support anxiously, because the idea is great and I really want to utilise this component.



Ahh didn't thought of proxies! I'll add support for it retrieving fb2k configured proxy and passing that to libcurl.
Title: foo_discogs
Post by: Chaser on 2006-12-26 17:37:05
foo_discogs freezes foobar on a slow internet-connection, as long as data is received. Can you improve this behaviour?
Thank you for your work!
Title: foo_discogs
Post by: pawls on 2006-12-26 19:52:52
The new artist search is great! But I just found a bug, I think;

Artist names with an "&" character can´t be searched.

For example:
Ost & Kjex
http://www.discogs.com/artist/Ost+%26+Kjex (http://www.discogs.com/artist/Ost+%26+Kjex)
Title: foo_discogs
Post by: bubbleguuum on 2006-12-27 20:47:59
V0.90 is out! See first post.



foo_discogs freezes foobar on a slow internet-connection, as long as data is received. Can you improve this behaviour?
Thank you for your work!


You're right, while retrieving data fb2k UI is freezed because retrieving happens in the main thread.
Not sure how to do this properly though (retrieving in a thread is not sufficient because I need to wait for the thread to end and then block).

The new artist search is great! But I just found a bug, I think;

Artist names with an "&" character can´t be searched.

For example:
Ost & Kjex
http://www.discogs.com/artist/Ost+%26+Kjex (http://www.discogs.com/artist/Ost+%26+Kjex)


See "known issues" of 0.90 for an explanation of this
Title: foo_discogs
Post by: nbv4 on 2006-12-28 04:59:09
Wonderful piece of software. I love how it's so actively being developed.

I have one suggestion. In the configuration menu, I have the album art save path set as:

x:\covers\%artist% - %album%

which works fine, except for when there is an illegal character in the album or artist name. Sure, I could add a long, clunky replace() in there, but I think it'd be better if there was an option to strip out all illegal characters, which btw are \*|":?></
Title: foo_discogs
Post by: Slotos on 2006-12-28 09:07:21
Yay! Works perfectly. Thank you very much for a great component. No more regexp replace game with masstagger
Title: foo_discogs
Post by: bubbleguuum on 2006-12-29 17:32:16
Wonderful piece of software. I love how it's so actively being developed.

I have one suggestion. In the configuration menu, I have the album art save path set as:

x:\covers\%artist% - %album%

which works fine, except for when there is an illegal character in the album or artist name. Sure, I could add a long, clunky replace() in there, but I think it'd be better if there was an option to strip out all illegal characters, which btw are \*|":?></


Yes I noticed that some time ago and forgot about it . I'll replace illegal chars with underscore, but how are you going to tell the source to foo_uie_albumart ? The only way I see is a ugly TAGZ command which replace all illegal chars with "_". Does a TAGZ command exist that format a string so it's compatible with the filesystem ? Would be great.
Title: foo_discogs
Post by: bubbleguuum on 2006-12-29 20:03:36
released v0.91 which mainly fixes album art not retrieved at all in 0.90.
Title: foo_discogs
Post by: Sphix on 2006-12-31 16:02:48
Updated
Title: foo_discogs
Post by: deucalion on 2006-12-31 16:08:18
Your software rocks. Seriously. :-)

Thank you for fixing the album-art stuff... !!

If now just all the special character escaping worked a tad better, your plugin should be included in foobar2000 by default ;-)
Title: foo_discogs
Post by: stampgevaar on 2007-01-02 18:39:00
Can you possibly make the fetching of the small album art and the automated search for the album artist optional. I mean when you use your plugin it automatically searches for an artist and if it's the wrong artist or when you already have the url your waiting for nothing.
The same for the small album art in the tagging window, it's nice to have but a possibility to switch this of is nicer for mass tagging.
I have noticed when I get the covers afterwards that the tagging goes a lot quicker.
I'm sorry if I sound demanding but I tagged over 1000 albums with your plugin and I have noticed that these are the things that always keep me waiting.

btw the processbar still hangs sometimes but it isn't that much of a deal anyway
Title: foo_discogs
Post by: abducted on 2007-01-02 21:24:27
hi; I just tried this plugin.
Seems fine but there's something I don't understand.
Why do I have to re-order discogs tracks manually (to match with files on the right) ?
Why doesn't the plugin automatically guess what is best order ?
(I have ticked "automatically match discogs tracks to local tracks")
Title: foo_discogs
Post by: bubbleguuum on 2007-01-03 17:05:32
hi; I just tried this plugin.
Seems fine but there's something I don't understand.
Why do I have to re-order discogs tracks manually (to match with files on the right) ?
Why doesn't the plugin automatically guess what is best order ?
(I have ticked "automatically match discogs tracks to local tracks")


The automatic reordering is a bit basic as it will only reorder tracks if the number of local files and number of track in the discogs release is the same.

If its equal first it will match the tracks on trac length if this information is available on discogs (typically for CD but less often for vinyl). If there's no track length it will use %tracknumber% in files if available.
Else it won't go further by comparing track names for example.

Can you possibly make the fetching of the small album art and the automated search for the album artist optional. I mean when you use your plugin it automatically searches for an artist and if it's the wrong artist or when you already have the url your waiting for nothing.
The same for the small album art in the tagging window, it's nice to have but a possibility to switch this of is nicer for mass tagging.
I have noticed when I get the covers afterwards that the tagging goes a lot quicker.
I'm sorry if I sound demanding but I tagged over 1000 albums with your plugin and I have noticed that these are the things that always keep me waiting.

btw the processbar still hangs sometimes but it isn't that much of a deal anyway



I tagged quite a bit of my own collection (600 release for now) and I arrive to the same conclusion so look for options to disable fetching of small album art and automatic search, in the next version
Title: foo_discogs
Post by: stampgevaar on 2007-01-04 13:41:55
your component crashes foobar when I try to update a lot of albums with albumart. it says that it let's the runtime act in a unusual way. It doesn't matter if I chose to update all art or just want the missing covers...

If noticed that it happens when the albums are from a lot of different labels, don't know if it has something to do with it...
Title: foo_discogs
Post by: 2Pacalypse on 2007-01-04 14:07:06
sometimes when fetching the album art the progress bar fills up 100% but doesn't close, i have to click cancel.

Not sure if this is to do with it being saved as folder.jpg? as i later changed it to album_art

using latest version
Title: foo_discogs
Post by: bubbleguuum on 2007-01-04 18:18:21
your component crashes foobar when I try to update a lot of albums with albumart. it says that it let's the runtime act in a unusual way. It doesn't matter if I chose to update all art or just want the missing covers...

If noticed that it happens when the albums are from a lot of different labels, don't know if it has something to do with it...


I didn't saw that myself and I update qui a few album with it (over 30Mb of art retrieved)
Can you reproduce on a particular release ? More info on th error that happened ?

sometimes when fetching the album art the progress bar fills up 100% but doesn't close, i have to click cancel.

Not sure if this is to do with it being saved as folder.jpg? as i later changed it to album_art

using latest version


It happens rarely but I think it can happen if the focus window is changed when the progress window is displayed. It's just a display bug : art is retrieved correctly
Title: foo_discogs
Post by: stampgevaar on 2007-01-04 18:30:03
I had the error 2 times but I can't reproduce it, maybe it wasn't your plugin. If I see it again I will post it

Edit: it happens when I want to update album art on a large number of files. say 10a15 complete labels
I get this error => see picture

(http://img167.imageshack.us/img167/6135/naamloosko3.th.jpg) (http://img167.imageshack.us/my.php?image=naamloosko3.jpg)

only happens when I do the album art update thing it's not my foobar I can give you the labels if you need them but you have to wait a while because there quite a lot.
Title: foo_discogs
Post by: shakey_snake on 2007-01-05 17:22:40
I like this Plug-in a lot, thanks.
Title: foo_discogs
Post by: Ronny Pries on 2007-01-08 00:19:29
Yay,

just checked out the latest version - wicked!

Any chance for a context menu item "Grab Album Art" if Artist and Album tags are present and correct?

Ronny
Title: foo_discogs
Post by: pawls on 2007-01-08 02:06:30
FB just crashed when I was searching for an artist within the plugin. Then I noticed that right now Discogs is down (for me at least) at the moment - and I think that´s the problem  Is there a timeout in foo_discogs? It would also be nice if one would be able to stop searches - Search button turns into a stop button or similar. Not just to battle the timeout problem but also to speed up when trying to find an artist..

Any chance for a context menu item "Grab Album Art" if Artist and Album tags are present and correct?
Would be lovley.


Still THE plugin of 2006 (and probably 2007) 
Title: foo_discogs
Post by: 2Pacalypse on 2007-01-08 13:16:20
Have request (don't know if other people are interested but it would be really useful for me) would it be possible to have the artists images (off the artists page - not the release page) downloaded?

also don't know if you've considered my previous request, of adding to your parser the featured artists to a <featured> tag? - it would make me a happy man

Still THE plugin of 2006 (and probably 2007) 


Agreed along with SCPL, thanks for the great work
Title: foo_discogs
Post by: Dave_Scream on 2007-01-08 15:06:50
Can you possibly make the fetching of the small album art and the automated search for the album artist optional. I mean when you use your plugin it automatically searches for an artist and if it's the wrong artist or when you already have the url your waiting for nothing.
The same for the small album art in the tagging window, it's nice to have but a possibility to switch this of is nicer for mass tagging.
I have noticed when I get the covers afterwards that the tagging goes a lot quicker.
I'm sorry if I sound demanding but I tagged over 1000 albums with your plugin and I have noticed that these are the things that always keep me waiting.

btw the processbar still hangs sometimes but it isn't that much of a deal anyway


+1
---
its true... when I tagging full label collection with many releases, i dont use internal search engine. i open this page in internet explorer(label or artis page) and copy-paste URLs step-by-step + i have a slow connection so Auto artist searching is really VERY annoying...

and i think for more comfortable work, you need to make the order of buttons more ergonomic:
now i tagging with that way:

1. import folder - all label releases..or artist
2. remove all tags from mp3's (because i dont want to autostart "auto artist searching" - remove it!)
3. select tracks in playlist for tagging
4. press hot key for "Write tags..."    -  "S" (i manually set it)


// now about ergonomic keys, about what I spoke above
5. then,
5.1 i need to press TAB button 3 times, to make focus on URL  - i think this area must be first-focused by default
5.2 press ctrl+v to paste URL
5.3 and then press tab 2 times again to focus on the OK button, to enter... i think buttons should be in that TAB order: 1.URL 2.OK button

(may be this can be automated: if URL, that i manually pasted, have both strings: "http://discogs.com" and "/release/" - then start to search automatically - this checking algorithm will avoid wrong start of searching, in situations when clipboard has some wrong URLs: not on discogs.com, or on discogs.com, but not on release page) so if pasted URL not right i can paste other URL here... so u make script:

when i MANUALLY paste URL to URLstring(default focused), foo_discogs check this pasted URL, and if this right,autostart searching(press ok):

PASTE EVENT:
if (strstr(URL.text,"discogs.com") !=NULL && strstr(URL.text,"/release/") != NULL)
{
    auto press OK
}



6 .....and theen .... i turned off auto track matching, because all tracks in folder and in discogs usually goes alphabetically so i just press enter...  in this window "write tags" - focused by default.. this is good



---
UPD... another IDEA: 

add global static string  "previousURL"
and use it here:
//================================
if (
strstr(URL.text,"discogs.com") !=NULL
&& strstr(URL.text,"/release/") != NULL
&& strcmp(URL.text,previousURL) != 0 //not identical            <<<<  HERE
)
{
    strcpy(previousURL,URL.text);      // previousURL = URL.text          <<<<< and HERE
    auto press OK
}


so if i forget somethink... and trying to paste URL that i already tagged right before -  it dont press OK button automatically, so i will be noticed that somethink wrong  URL is wrong, or previous search was with that URL... so i need to check URL, and if allright, then press enter manually
Title: foo_discogs
Post by: stampgevaar on 2007-01-08 15:50:59
"5.3 and then press tab 2 times again to focus on the OK button, to enter... i think buttons should be in that TAB order: 1.URL 2.OK button"

Why not just set make the plugin when you press enter it automatically does the ok button. Sort of like a keyboard shortcut in foobar.

I'm also agreed with the automatically searching for artist, this because it isn't handy. Most of the time when your tagging you collection it is because the tags aren't correct and not because you have already did the effort to put a right artist name in the tags.
Title: foo_discogs
Post by: Dave_Scream on 2007-01-08 15:59:42
"5.3 and then press tab 2 times again to focus on the OK button, to enter... i think buttons should be in that TAB order: 1.URL 2.OK button"

Why not just set make the plugin when you press enter it automatically does the ok button. Sort of like a keyboard shortcut in foobar.


YEAH!  i think too...
-default focus when form loads is on URL
-default action when i press enter is OKbutton.click

so users just need to press ctrl+V and enter (if my script will not operate.. i script is not so hard to realize.. but maybe it will comfortable)    what other ppl think about this script that i explained above?

Quote
I'm also agreed with the automatically searching for artist, this because it isn't handy. Most of the time when your tagging you collection it is because the tags aren't correct and not because you have already did the effort to put a right artist name in the tags.


try to remove %artist% in properties before tagging
Title: foo_discogs
Post by: stampgevaar on 2007-01-08 16:40:25
Quote
try to remove %artist% in properties before tagging


To much work, then it's quicker to just wait for it
Title: foo_discogs
Post by: 2Pacalypse on 2007-01-08 16:59:43
YEAH!  i think too...
-default focus when form loads is on URL
-default action when i press enter is OKbutton.click


not sure about default focus i can see your point, sometimes it would be useful but other times i prefer to search through foobar.

Def agree about the "Ok" set to enter key.

I also miss having the "Del" key to remove selected file - currently have to click remove

Also - mass moving eg when u want to move more then 1 file up/down should be able to select multiple tracks and hit move up / down
Title: foo_discogs
Post by: lyte on 2007-01-08 21:39:37
i ripped one of my vinyls and remembered about foo_discogs on this site. worked great. thanks for your work!
Title: foo_discogs
Post by: Westies on 2007-01-10 05:28:23
Oh wow. I haven't been on the HA forums in a while and this plugin is a pleasant surprise. Looks fantastic, downloading it now!
Title: foo_discogs
Post by: MiSP on 2007-01-10 22:01:49
Why isn't the various contributing people list downloaded and tagged? What I speak of is, in this example (http://www.discogs.com/release/604819), the

Flugelhorn - Bo Rande
French Horn - Lasse Mauritzen
Soprano Vocals - Rebecca Stark

on track 2.
Title: foo_discogs
Post by: bubbleguuum on 2007-01-10 22:53:23
Why isn't the various contributing people list downloaded and tagged? What I speak of is, in this example (http://www.discogs.com/release/604819), the

Flugelhorn - Bo Rande
French Horn - Lasse Mauritzen
Soprano Vocals - Rebecca Stark

on track 2.



It's because the information is not available in a programmer friendly way. That's what discogs call roles or credits, there are like a zillion of them (http://help.discogs.com/wiki/SubmissionGuidelinesCreditList) some of them standard and other not. I'm figuring a way to retrieve a few of them like "Featuring"  or "Vocals" but it's still a hack, that's why I'm a bit reluctant to do it
It'll be written in their own tags (ie %DISCOGS_FEATURING%) and people will have to use the masstager afterwards if they want to put it in %TRACKNAME% for example, using whatever formatting they like.

I'll also probably add a %DISCOGS_CREDITS% tag with all credit per track concatenated which for some track can be huge
Title: foo_discogs
Post by: MiSP on 2007-01-11 14:09:39
You could add them into tags like this:

*person1*: *role1*;*person2*: *role2*;*person3*: *role3*

etc. Personally, I have such lists mapped to INVOLVED PEOPLE LIST, which foobar should map to TIPL, according to the ID3v2.4 standard (http://www.id3.org/id3v2.4.0-frames).
Title: foo_discogs
Post by: 2Pacalypse on 2007-01-11 15:57:57
i just plan on displaying %title% then an if statement such as:

$if($meta(discogs_featuring), featuring [%discogs_featuring%],)
Title: foo_discogs
Post by: bubbleguuum on 2007-01-12 00:59:46
v 0.92 is available taking into account a lot of the recent feedback - thanks! :


- add: find release dialog: focus on OK and search buttons is automatically set according to user actions
- add: find release dialog: "auto" option if enabled will auto search for the value of %ARTIST% if the tag has some value
- add: find release dialog: ability to search for non exact artist names, "exact matches" checkbox
toggle display of exact matches and all matches
- add: find release dialog: artist name containing funky characters (&, :, etc) should now return results
- add release dialog: option to display or not the small album art. Allow to gain some time by not fetching it (for display purpose)
- add release dialog: Delete key delete tracks in discogs and local track lists
- chg: connection failure should be more robust if discogs is not responding or no data is received for some time



Next version will fetch some of the track credits!
Title: foo_discogs
Post by: 4nt1 on 2007-01-12 03:55:44
sensational - I love it
Title: foo_discogs
Post by: stampgevaar on 2007-01-12 08:36:04
yeaaah  very nice that the new version is out
but one small question, when I disable the fetching of the small album art and want to download the covers later on is this possible?
Title: foo_discogs
Post by: Dve on 2007-01-12 10:13:02
Firstly... I love this component!!!

But I have a couple of suggestions, appologies if they have been suggested before.

1) Option to rename physical files based on discog info/mp3 tags as many ripped CDs come out as track1, track2 etc

2) Not sure how this'd work, but ill try and explain...  When searching for an album, using the recent new interface, many albums have lots of versions e.g. us, uk, australian etc. Sometimes slight variations on track lists. So you have to go to each discogs page and try and find the on that matches the number of tracks you have.
It would be cool if the component could count how many files you have selected to tag and then check the discogs pages for albums that have the same number of tracks, just to narrow it down a bit.

Hope that makes sense!!

Dve
Title: foo_discogs
Post by: Slotos on 2007-01-12 10:40:40
1) Masstagger. No need to duplicate functions.
Title: foo_discogs
Post by: Dve on 2007-01-12 11:11:04
1) Masstagger. No need to duplicate functions.


You got a download link?
Title: foo_discogs
Post by: bubbleguuum on 2007-01-12 11:15:46
Firstly... I love this component!!!

But I have a couple of suggestions, appologies if they have been suggested before.

1) Option to rename physical files based on discog info/mp3 tags as many ripped CDs come out as track1, track2 etc


You already the mass file renamer for this, in file operation/move rename files that does a great job at it.
After tagging I rename the files by Label/release id - album/track


Quote
2) Not sure how this'd work, but ill try and explain...  When searching for an album, using the recent new interface, many albums have lots of versions e.g. us, uk, australian etc. Sometimes slight variations on track lists. So you have to go to each discogs page and try and find the on that matches the number of tracks you have.
It would be cool if the component could count how many files you have selected to tag and then check the discogs pages for albums that have the same number of tracks, just to narrow it down a bit.


This would'nt work if you want to tag an incomplete release (ie you don't have all the files), and you can already double click on a release to launch the www release page to do a quick check.
Title: foo_discogs
Post by: Dve on 2007-01-12 11:23:53

Firstly... I love this component!!!

But I have a couple of suggestions, appologies if they have been suggested before.

1) Option to rename physical files based on discog info/mp3 tags as many ripped CDs come out as track1, track2 etc


You already the mass file renamer for this, in file operation/move rename files that does a great job at it.
After tagging I rename the files by Label/release id - album/track


Didnt know about this, cheers!

Quote

2) Not sure how this'd work, but ill try and explain...  When searching for an album, using the recent new interface, many albums have lots of versions e.g. us, uk, australian etc. Sometimes slight variations on track lists. So you have to go to each discogs page and try and find the on that matches the number of tracks you have.
It would be cool if the component could count how many files you have selected to tag and then check the discogs pages for albums that have the same number of tracks, just to narrow it down a bit.


This would'nt work if you want to tag an incomplete release (ie you don't have all the files), and you can already double click on a release to launch the www release page to do a quick check.


I didnt mean limit the list, but add as a filter option, to make it quicker to track down the release that your probably looking for.
Title: foo_discogs
Post by: bubbleguuum on 2007-01-12 13:42:04
Quote
I didnt mean limit the list, but add as a filter option, to make it quicker to track down the release that your probably looking for.


The problem is that to retrieve the number of track of each release you have to parse all the pages which would be painfully slow.
Title: foo_discogs
Post by: Dve on 2007-01-12 14:24:32
Quote

I didnt mean limit the list, but add as a filter option, to make it quicker to track down the release that your probably looking for.


The problem is that to retrieve the number of track of each release you have to parse all the pages which would be painfully slow.


I see, oh well. Maybe one day discogs will distribute an API.

Nice work on the component though, I use it all the time!
Title: foo_discogs
Post by: Dave_Scream on 2007-01-12 14:32:14
error in retreiving AlbumArt, foo_discogs v0.91, 0.92

release page:
http://www.discogs.com/release/828682 (http://www.discogs.com/release/828682)
album art page:
http://www.discogs.com/viewimages?what=R&obid=828682 (http://www.discogs.com/viewimages?what=R&obid=828682)

steps:
Update Album Art -> Fetching Discogs data... -> Runtime Error!

screenshot:
(http://img134.imageshack.us/img134/3395/errorhw3.th.jpg) (http://img134.imageshack.us/my.php?image=errorhw3.jpg)
Title: foo_discogs
Post by: molnart on 2007-01-12 14:54:57
Hi, i love this plugin, it takes my music collection to a whole new level.
But i have a request regarding this topic: could you please put the changelogs into a codebox or just simply remove the old changelogs and keep only the most recent one? I'm using the Linear+ forum layout and the 1st post is taking too much space, so i always have to scroll a lot.
Thanks in advance, hope i'm not carping too much
Title: foo_discogs
Post by: KRi2 on 2007-01-12 19:55:08
Whoow! Absoulutely the Best plugin for this app!
Love it ,use it ,works ,perfect*
Thanks.
Title: foo_discogs
Post by: bubbleguuum on 2007-01-12 20:18:42
@dave_scream : I could not reproduce it, can you ?

@molnart & kri2 : thanks

There will be some great new features in the next version!
Title: foo_discogs
Post by: molnart on 2007-01-12 21:49:54
ehm... i meant a codebox (which is smaller and has a vertical scrollbar) instead of code . So use <codebox></codebox> instead of <code></code> (replace the <> with []). I really don't want to bother, but this quite annoys me. Hope you don't get angry or offended in any way...
Title: foo_discogs
Post by: robotnik on 2007-01-15 22:45:19
Hello!
I've used winamp for ten years, but changed to foobar2000 because of this plugin.
I've tested it on a lots of albums; and it works very good..
It's missed some tracklisting on some albums, but thats ok.

I really liked your screenshot and have working a couple of days in doing the same thing, but what i'm missing is
the UI-codes for VinylTracks and discogsMembersHave.

It's been mentioned earlier inthe tread that one should use masstagger to change the filenames from the tags. That would be nice. I am thinking about renaming my files according to the %discogs_artist% etc.. but i cannot find masstagger anywhere. Another thing that would be nice is the possibility of overwriting the %artist% tag by the %discogs_artist% tag etc .. to to clean up the library..

How about some function that checks your discogs id on a folder and tells you what files that are lost..and an export to exel so that you can do statistics on your collection; or upload the collection to 'myDiscogs'..
lol im on a roll...this is the best plugin i've used..you made me happy..thanks
Title: foo_discogs
Post by: bubbleguuum on 2007-01-15 23:15:51
Hello!
I've used winamp for ten years, but changed to foobar2000 because of this plugin.
I've tested it on a lots of albums; and it works very good..
It's missed some tracklisting on some albums, but thats ok.


which ones ? the plugin failed or the album just was not on discogs ?


Quote
I really liked your screenshot and have working a couple of days in doing the same thing, but what i'm missing is
the UI-codes for VinylTracks and discogsMembersHave.


just use [%vinyltrack%] or [%discogs_members_have%] or whatever the mappings you attributed to those values

Quote
It's been mentioned earlier inthe tread that one should use masstagger to change the filenames from the tags. That would be nice. I am thinking about renaming my files according to the %discogs_artist% etc..


It's not the mass-tagger but the mass file rename which can be found in the context menu under "File operation/ Move rename deletes files". Experiment with it a bit with some files to find a good mask, here's waht I use which rename by "label/cat# - album artist - album/track or vinyltrack - artist - title" (simplified)

Code: [Select]
Labels/$replace($replace($meta(discogs_label,0),\,-,/,-,:,-,*,-,?,,",-,<,-,>,-,|,-),_,-)/
$replace($replace('['$meta(discogs_catalog,0)']' - %album artist% - %album%[ '('disc %discnumber%')'][ - %date%],\,-,/,-,:,-,*,-,?,,",-,<,-,>,-,|,-),_,-)/$if2(%vinyltrack%,%track%) - $replace($replace(%artist% - %title%,\,-,/,-,:,-,*,-,?,,",-,<,-,>,-,|,-),_,-)


Quote
but i cannot find masstagger anywhere. Another thing that would be nice is the possibility of overwriting the %artist% tag by the %discogs_artist% tag etc .. to to clean up the library..


by default Artist is mapped to tag ARTIST if you didn't change it in the mapping. You can copy a tag into another using the masstagger but I never used it so I can't help you
Title: foo_discogs
Post by: robotnik on 2007-01-16 17:53:38
thanks for the quick and informative reply..
..It was just the cronology of the tracks, I'll tag more tonight,and will tip you on which albums it happens on..
with whe vinyl tag: had to turn on 'write' tag on those..but when i tried to update, foobar crashed..

Hey..i'll try that tagging code immediately..looks good..
Title: foo_discogs
Post by: robotnik on 2007-01-16 18:14:05
the crash happened when i tried to update this 12" (the tags were already written with foo_discogs):
http://www.discogs.com/release/5193 (http://www.discogs.com/release/5193)
i then tried to write the info again, and noticed that the B-side was on top of the A-side in the window.
Title: foo_discogs
Post by: Duble0Syx on 2007-01-16 18:31:10
Just thought I'd say this is a great plug-in.  Works great for tagging my vinyl recordings.  Nice work.
Title: foo_discogs
Post by: bubbleguuum on 2007-01-16 21:04:55
the crash happened when i tried to update this 12" (the tags were already written with foo_discogs):
http://www.discogs.com/release/5193 (http://www.discogs.com/release/5193)
i then tried to write the info again, and noticed that the B-side was on top of the A-side in the window.


The plugin tries to match the tracks but sometimes the order is wrong: just use the move up/down button in that case too match tracks manually.
As for the crash, I don't know : I tried it followed by an update and it didn't crash.


I'm working on artist art download on artist pages and I have a question for those who are interested by the feature. All artist art will be stored in a single directory user-specifiable which make sense since this data is common to several releases. Now I wonder on the format of the files.
Each artist has a unique numeric id and it'd be easy to store the file as <artist_id>_1.jpg etc...
This id would be stored into a tag, so you'd only have to set <path_to_dir>/%discogs_artist_id%_?.jpg as a source for foo_uie_albumart.
The other solution is to use artist name in file, but it has several complications : they are not unique, not always compliant with the filesystem etc..The only real advantage is if you want to see the image outside fb2k.
Title: foo_discogs
Post by: MiSP on 2007-01-16 21:37:04
Is it possible to include an option which lets you disable the track automatch thingy? In the right list my tracks are always in order, and if foo_discogs could just let the order be as it is on the release page, it would be a lot easier to track long albums. (Not having to reorder foo_discog's suggested (wrong) order.) I don't really see the meaning of the automacht thingy, because most of the time, your tracks would be in the right order.
Title: foo_discogs
Post by: Decuman on 2007-01-16 23:06:46
great work!!! thanks again for updating your plugin.

I have a simple request: would it be possible to add a horizontal scroll bar (or a tip pop-up) to the album/release browser window so I can see the endings of long album names. Now there is no way to see the end of a long string for the same release name with different label/CD/LP etc.

Thanks in advance!
Title: foo_discogs
Post by: 2Pacalypse on 2007-01-17 10:49:19
I'm working on artist art download on artist pages and I have a question for those who are interested by the feature. All artist art will be stored in a single directory user-specifiable which make sense since this data is common to several releases. Now I wonder on the format of the files.
Each artist has a unique numeric id and it'd be easy to store the file as <artist_id>_1.jpg etc...
This id would be stored into a tag, so you'd only have to set <path_to_dir>/%discogs_artist_id%_?.jpg as a source for foo_uie_albumart.
The other solution is to use artist name in file, but it has several complications : they are not unique, not always compliant with the filesystem etc..The only real advantage is if you want to see the image outside fb2k.


great news! think i requested this 1. either way sounds good both would be usable.

for simplicity could it not just be %artist%0.jpg, %artist%1.jpg, %artist%2.jpg etc etc same as you have for album art covers. think it is beneficial to see the pictures outside of the foobar instead of seeing a load of numbers

thanks for the continual updates!!
Title: foo_discogs
Post by: a3aan on 2007-01-19 22:59:55
I'm working on artist art download on artist pages and I have a question for those who are interested by the feature. All artist art will be stored in a single directory user-specifiable which make sense since this data is
..


I'm still thinking that using the filenames as found on discogs is just fine. I have set foobar to use any image found in the same folder as the music file and it' parent folder. When the artist picture download is available i'll add the parent of that folder too. I have my music in the structure \artist\album\[\cd1...cdn].
Not renaming also makes updating of the image files easier, i assume.

Just my 2c.

cheers,
a3aan.
Title: foo_discogs
Post by: shakey_snake on 2007-01-19 23:54:14
I'm working on artist art download on artist pages and I have a question for those who are interested by the feature. All artist art will be stored in a single directory user-specifiable which make sense since this data is common to several releases. Now I wonder on the format of the files.
Each artist has a unique numeric id and it'd be easy to store the file as <artist_id>_1.jpg etc...
This id would be stored into a tag, so you'd only have to set <path_to_dir>/%discogs_artist_id%_?.jpg as a source for foo_uie_albumart.
The other solution is to use artist name in file, but it has several complications : they are not unique, not always compliant with the filesystem etc..The only real advantage is if you want to see the image outside fb2k.
Let us use a configurable Tagz string, for name and directory!
Title: foo_discogs
Post by: stampgevaar on 2007-01-22 13:22:37
When chosing update album art with the "process only releases for which is no art" option checked. Does it download also covers for release where there is art but not all art. Say when somebody has put new covers online or also backcovers and that stuff?


Ooh and is it possible that your plugin only writes various artists as album artist. because I have tagged all of my music and noticed that in most cases a album artist track is not present and this while I had the option checked on. When it was various artist the tag is always there. is this normal?
Title: foo_discogs
Post by: bubbleguuum on 2007-01-22 20:21:19
When chosing update album art with the "process only releases for which is no art" option checked. Does it download also covers for release where there is art but not all art. Say when somebody has put new covers online or also backcovers and that stuff?


This option will only update releases for which there is not at least one album art image file according to the expression you set in the Preference panel. It's really intended to quickly fetch art for those release for which there was none at the time of tagging
If you want to get all art, just check "retrieve all available art" and uncheck "overwrite existing files" (optional)

Quote
Ooh and is it possible that your plugin only writes various artists as album artist. because I have tagged all of my music and noticed that in most cases a album artist track is not present and this while I had the option checked on. When it was various artist the tag is always there. is this normal?


I checked the source code how it works:

- if the release is a compilation (automaticcally set if the global artist name of the release is "Various", but it can be overriden with the check box), "Various Artist" is written as ALBUM ARTIST

- if the release global artist is made of several artists (splitted ep for example) or if at least one of the tracks has a an associtaed artist,  ALBUM ARTIST is written with the global artist name

Note that it has not always been this way so it could depend with wich version you tagged the files.
Title: foo_discogs
Post by: stampgevaar on 2007-01-22 20:37:48
I have noticed that, so if I update al tags it should be written the good way or not? cause most of my collection is tagged with an older version of your component.

and does your component just looks for the album art images in the folder I set up. or do you have something special that remembers which covers are downloaded and which not.
This because I'm planning to reorganise my collection and not to have to download the whole 300 mb again when I want to update album art even with the overwrite thing off.
Title: foo_discogs
Post by: bubbleguuum on 2007-01-22 20:43:55
I have noticed that, so if I update al tags it should be written the good way or not? cause most of my collection is tagged with an older version of your component


Yes you can use update tags to update it and it should work as advertised
Title: foo_discogs
Post by: Xedecimal on 2007-01-22 22:43:25
Version Discogs Tagger - 0.92 - foo_discogs

BUG: if you attempt to write tags to release id of "726569" (bonkers 16), the first track of the 3 cds of this compilation ends up being ## - Various - <b>, the first item in this release should be an actual track name that you will see if you visit discogs.com in a browser and look that release up.

BUG: Automatically match discogs tracks to local tracks, in the configuration seems to be completely random. Never has a single track actually matched, they usually just screw up the existing order of items that were good until the auto sorting randomized them. My solution to that is to just disable the auto-sorting, but if it worked better that would be awesome.

Feature Request: Synchronized scrolling, when re-ordering a large list of multiple cd albums I can find myself reorganizing these tracks on the left side for like an hour while trying to constantly keep the right side in sync. If it could scroll both sides simultaneously to keep them both in synch, that would be nice.

Feature Request: It would be absolutely marvelous if you could drag/drop the order on the left, I could re-order super fast that way. That is, to drag initially would select, second drag on a selection would move (much like the playlist view of foobar2k)

Feature Request: If you're having trouble finding information on an mp3 that only has a title tag and a bad title of the filename like "Track 01.mp3" if you recently ripped it off one of your cds. Using the filename display on the right side of the tag writer can get pretty confusing, what seems like a somewhat easy method to re-do this would be to add a combobox or such that would let you pick for the right side "Filename", "%TITLE%", "%TITLE% - %TRACKNUMBER%" or better yet, just a text box that would use the existing foobar formatting to format the right side of this, then you could get around %ARTIST% with %ALBUM ARTIST% and %TRACKNUMBER% with %VINYL TRACK% or whatever another person suggested that they tag their vinyls by.

Feature Request: This one sounds totally impossible. The namign convention of downloaded album art. Usually ends up to be like album_art.jpg, album_art_2.jpg, etc. If possibly you could name them what they actually are, cover.jpg, inset.jpg, back.jpg, cd1.jpg, cd2.jpg. Which at first I was thinking was impossible, but they usually have a consistant order. From the majority of lists I see in discogs, it usually goes front, cdX, back, inset. Or something along those lines. Probably a complete waste of time to even attempt but I'm putting it in here anyways, super low priority.

I'm sure I had more at some point in time but this is all I can come up with off hand. I'll possibly post more later. Down with freedb, down with winamp, up with foobar, discogs and this badass plugin.
Title: foo_discogs
Post by: bubbleguuum on 2007-01-23 00:11:30
Version Discogs Tagger - 0.92 - foo_discogs

BUG: if you attempt to write tags to release id of "726569" (bonkers 16), the first track of the 3 cds of this compilation ends up being ## - Various - <b>, the first item in this release should be an actual track name that you will see if you visit discogs.com in a browser and look that release up.


I knew of that small parsing bug which  manifest in the rare case discs are named. However you can just use the delete button to remove those offending fake tracks.

Quote
BUG: Automatically match discogs tracks to local tracks, in the configuration seems to be completely random. Never has a single track actually matched, they usually just screw up the existing order of items that were good until the auto sorting randomized them. My solution to that is to just disable the auto-sorting, but if it worked better that would be awesome.


auto track matching is not very advanced : it will match tracks on track length if they exist. I've seen it fail in some case and will have a look. I've not spent much time on this as most people already have the tracks sorted in most case and it's tricky to get right (ie the more advanced the algorithm is there's some whole lot of cases when it will get it wrong).

Quote
Feature Request: Synchronized scrolling, when re-ordering a large list of multiple cd albums I can find myself reorganizing these tracks on the left side for like an hour while trying to constantly keep the right side in sync. If it could scroll both sides simultaneously to keep them both in synch, that would be nice.


Agreed, it's a pain in the ass with multiple CD without this

Quote
Feature Request: It would be absolutely marvelous if you could drag/drop the order on the left, I could re-order super fast that way. That is, to drag initially would select, second drag on a selection would move (much like the playlist view of foobar2k)


sounds useful

Quote
Feature Request: If you're having trouble finding information on an mp3 that only has a title tag and a bad title of the filename like "Track 01.mp3" if you recently ripped it off one of your cds. Using the filename display on the right side of the tag writer can get pretty confusing, what seems like a somewhat easy method to re-do this would be to add a combobox or such that would let you pick for the right side "Filename", "%TITLE%", "%TITLE% - %TRACKNUMBER%" or better yet, just a text box that would use the existing foobar formatting to format the right side of this, then you could get around %ARTIST% with %ALBUM ARTIST% and %TRACKNUMBER% with %VINYL TRACK% or whatever another person suggested that they tag their vinyls by.


I think I understand what you mean but that seem a rare use case to me. I could use %title% which is an alias on $if2($meta(title),%_filename%), instead of just the filename.

Quote
Feature Request: This one sounds totally impossible. The namign convention of downloaded album art. Usually ends up to be like album_art.jpg, album_art_2.jpg, etc. If possibly you could name them what they actually are, cover.jpg, inset.jpg, back.jpg, cd1.jpg, cd2.jpg. Which at first I was thinking was impossible, but they usually have a consistant order. From the majority of lists I see in discogs, it usually goes front, cdX, back, inset. Or something along those lines. Probably a complete waste of time to even attempt but I'm putting it in here anyways, super low priority.


If discogs had a clear rule for this, that would be doable. In the meantime....

Quote
I'm sure I had more at some point in time but this is all I can come up with off hand. I'll possibly post more later. Down with freedb, down with winamp, up with foobar, discogs and this badass plugin.


Thanks for you input!


and does your component just looks for the album art images in the folder I set up. or do you have something special that remembers which covers are downloaded and which not.
This because I'm planning to reorganise my collection and not to have to download the whole 300 mb again when I want to update album art even with the overwrite thing off.


If you rewrite the folder structure of the collection with the mass file mover/renamer of fb2k it will not move album art. One solution is to refetch it all using "update art".
What you can do to avoid this problem in the future if you plan to change the directory organisation again, is to store all art in a common directory using something like %album% in preference for the file prefix.
Title: foo_discogs
Post by: Xedecimal on 2007-01-23 00:21:58
[quote name='bubbleguuum' date='Jan 22 2007, 18:03' post='466414']
[quote name='Xedecimal' post='466403' date='Jan 22 2007, 23:43']
Version Discogs Tagger - 0.92 - foo_discogs

BUG: if you attempt to write tags to release id of "726569" (bonkers 16), the first track of the 3 cds of this compilation ends up being ## - Various - <b>, the first item in this release should be an actual track name that you will see if you visit discogs.com in a browser and look that release up.
[/quote]

I knew of that small parsing bug which  manifest in the rare case discs are named. However you can just use the delete button to remove those offending fake tracks.

[/quote]

As for deleting the offending tracks, the offending track is actually 01, so that leaves 01 as 02 and you gotta move them once again, one single item at a time down to line up, but then your first track out of each album usually ends up not matching the rest of the tracks.

Quote


Quote

BUG: Automatically match discogs tracks to local tracks, in the configuration seems to be completely random. Never has a single track actually matched, they usually just screw up the existing order of items that were good until the auto sorting randomized them. My solution to that is to just disable the auto-sorting, but if it worked better that would be awesome.


auto track matching is not very advanced : it will match tracks on track length if they exist. I've seen it fail in some case and will have a look. I've not spent much time on this as most people already have the tracks sorted in most case and it's tricky to get right (ie the more advanced the algorithm is there's some whole lot of cases when it will get it wrong).


As for the random matching, there's a whole crapload of methods...

http://www.cs.sunysb.edu/~algorith/files/a...-matching.shtml (http://www.cs.sunysb.edu/~algorith/files/approximate-pattern-matching.shtml)
http://en.wikipedia.org/wiki/Approximate_string_matching (http://en.wikipedia.org/wiki/Approximate_string_matching)
http://en.wikipedia.org/wiki/Soundex (http://en.wikipedia.org/wiki/Soundex)
http://en.wikipedia.org/wiki/Agrep (http://en.wikipedia.org/wiki/Agrep)
http://en.wikipedia.org/wiki/Levenshtein_distance (http://en.wikipedia.org/wiki/Levenshtein_distance)

These may take time to include, and don't really come out with that much bang for their buck, but in case you get bored, I'd suggest soundex and levenshtein, those work wonderful, then just match to the highest percentage of success.
Quote


Quote

Feature Request: Synchronized scrolling, when re-ordering a large list of multiple cd albums I can find myself reorganizing these tracks on the left side for like an hour while trying to constantly keep the right side in sync. If it could scroll both sides simultaneously to keep them both in synch, that would be nice.


Agreed, it's a pain in the ass with multiple CD without this

Quote

Feature Request: It would be absolutely marvelous if you could drag/drop the order on the left, I could re-order super fast that way. That is, to drag initially would select, second drag on a selection would move (much like the playlist view of foobar2k)


sounds useful

Quote

Feature Request: If you're having trouble finding information on an mp3 that only has a title tag and a bad title of the filename like "Track 01.mp3" if you recently ripped it off one of your cds. Using the filename display on the right side of the tag writer can get pretty confusing, what seems like a somewhat easy method to re-do this would be to add a combobox or such that would let you pick for the right side "Filename", "%TITLE%", "%TITLE% - %TRACKNUMBER%" or better yet, just a text box that would use the existing foobar formatting to format the right side of this, then you could get around %ARTIST% with %ALBUM ARTIST% and %TRACKNUMBER% with %VINYL TRACK% or whatever another person suggested that they tag their vinyls by.


I think I understand what you mean but that seem a rare use case to me. I could use %title% which is an alias on $if2($meta(title),%_filename%), instead of just the filename.



I meant that if you could specify the actual TAGZ format string, you could adapt a series of strings to different methods of organization (sometimes I even gotta go by file path to get a series of tagless mp3s into a group)

Quote

Quote

Feature Request: This one sounds totally impossible. The namign convention of downloaded album art. Usually ends up to be like album_art.jpg, album_art_2.jpg, etc. If possibly you could name them what they actually are, cover.jpg, inset.jpg, back.jpg, cd1.jpg, cd2.jpg. Which at first I was thinking was impossible, but they usually have a consistant order. From the majority of lists I see in discogs, it usually goes front, cdX, back, inset. Or something along those lines. Probably a complete waste of time to even attempt but I'm putting it in here anyways, super low priority.


If discogs had a clear rule for this, that would be doable. In the meantime....

Quote

I'm sure I had more at some point in time but this is all I can come up with off hand. I'll possibly post more later. Down with freedb, down with winamp, up with foobar, discogs and this badass plugin.


Thanks for you input!


I guess the biggest easiest feature that would be the most helpful to include, would be the ability to move multiple tracks simultaneously. Eg. if you select multiple items on the left side, then hit move up / move down. They won't budge, if this would move multiple items, it could really speed up the usability side of this plugin.

Sorry I sound picky, I'm just trying to give you some ideas on different directions you can go, the majority of these features I could care less if they even get incorporated but I'd think others might really enjoy these features.
Title: foo_discogs
Post by: stampgevaar on 2007-01-27 16:00:10
on this release there is no fetching of album art and there is album art present :s

http://www.discogs.com/release/882524 (http://www.discogs.com/release/882524)
Title: foo_discogs
Post by: 4nt1 on 2007-01-28 02:04:16
I have a bug that breaks foobar - if I am downloading album art and there is existing file with the same name then there is no issue when it is replaced.

But if there is the typical albumart files added by media player then the album art is set to attrib + Hidden + System - this consequesntly crashes the player every time without fail.

Obviously I can try and do a mass update to all my files but thats got to scan through 50,000 files..

Just wondering if it can detect a file with the same name - maybe it can delete the file first before replacing or having the options available to strip the tags that I want to remove eg hidden, system,archieve etc..

Also would it be possible to have when you search for an artist and you see multipl copies of an album that the total tracks shows up at the end of the albumname/date ie so that I know which version I have by the number of tracks I have... I continualy have to open multiple copies before I find the right version.

Also what are the chances of including Artist art, I notice most discogs have the artists picture as well, generally I have my artist.jpg in the folder below the album. What are your thoughts...

Another feature would it be possible to have the file writer accessable from your plugin eg so I can tag the files as well as rewrite the filenames.. even if its just the presets I have created to then run atfer I have atgged the music.. even just a little button - or a drop down box of the varitions setup. I think this would help a lot of people.

Love your plugin use it every day!!!
Title: foo_discogs
Post by: Xedecimal on 2007-01-28 02:10:35
Also would it be possible to have when you search for an artist and you see multipl copies of an album that the total tracks shows up at the end of the albumname/date ie so that I know which version I have by the number of tracks I have... I continualy have to open multiple copies before I find the right version.


I second, third and fourth that! I have to cancel all out, search all over again, for each album until I find the exact match.
Title: foo_discogs
Post by: mquander on 2007-01-28 03:45:53

Also would it be possible to have when you search for an artist and you see multipl copies of an album that the total tracks shows up at the end of the albumname/date ie so that I know which version I have by the number of tracks I have... I continualy have to open multiple copies before I find the right version.


I second, third and fourth that! I have to cancel all out, search all over again, for each album until I find the exact match.


Well, that's why the label name, format, and year is included - so you can recognize which one you own.

If you don't actually have the CD and somehow you don't have a clue because you just downloaded a bunch of random tracks, I think the intent is to double-click the release that you are curious about and go look on discogs for the right one, then select it.
Title: foo_discogs
Post by: 4nt1 on 2007-01-28 06:10:36
yes but a lot of times they all look very similar to eachother...
Title: foo_discogs
Post by: MiSP on 2007-01-28 09:59:41
That's right - the label, format and title could be the same, but they could differ on the tracks. I've encountered this multiple times.
Title: foo_discogs
Post by: bubbleguuum on 2007-01-28 11:34:54
on this release there is no fetching of album art and there is album art present :s

http://www.discogs.com/release/882524 (http://www.discogs.com/release/882524)


that's a known bug : art is not fetched for pending release because the link to art is slilghtly different


I have a bug that breaks foobar - if I am downloading album art and there is existing file with the same name then there is no issue when it is replaced.

But if there is the typical albumart files added by media player then the album art is set to attrib + Hidden + System - this consequesntly crashes the player every time without fail.

Obviously I can try and do a mass update to all my files but thats got to scan through 50,000 files..

Just wondering if it can detect a file with the same name - maybe it can delete the file first before replacing or having the options available to strip the tags that I want to remove eg hidden, system,archieve etc..


You mean hidden folder.jpg files I suppose. the plugin shoudn't crash foobar because of theses so i'll correct that

Quote
Also would it be possible to have when you search for an artist and you see multipl copies of an album that the total tracks shows up at the end of the albumname/date ie so that I know which version I have by the number of tracks I have... I continualy have to open multiple copies before I find the right version.


It was already requested and I explained it was not possible because to count track I'd have to parse every release page which would take forever. As mquander explained, double click on a release in the list to display it's web page and make your choice. You can also do that in the artist list, to display its page

Quote
Also what are the chances of including Artist art, I notice most discogs have the artists picture as well, generally I have my artist.jpg in the folder below the album. What are your thoughts...


This is already in my development version and works very well but need some more work. It's really cool to see the face of those usually unknowns .

Quote
Another feature would it be possible to have the file writer accessable from your plugin eg so I can tag the files as well as rewrite the filenames.. even if its just the presets I have created to then run atfer I have atgged the music.. even just a little button - or a drop down box of the varitions setup. I think this would help a lot of people.


I understand what you mean and it would be usefull indeed. No promise as I don't know if the mass file mover is accessible via the SDK.

Quote
Love your plugin use it every day!!!


thanks!
Title: foo_discogs
Post by: 4nt1 on 2007-01-29 00:37:27
thanks for your reply - its great when a dev really listens to peoples comments and takes them onboard - I guess this is why your component is soo damn good

Look forward to testing the Artist Art.

Also yes when the folder.jpg is hidden + system tag then it does crash foobar when you try to download a new folder.jpg over the top.

Also is there anyway you could possible have the image dimensions appear at the bottom eg 500x500 so we know we are not replacing the images with a lesser sized picture..


Thx
Title: foo_discogs
Post by: Luxus on 2007-01-29 17:14:05
i have some problems
i have a lot of albums with more then 1 CD
for example http://www.discogs.com/release/740020 (http://www.discogs.com/release/740020)
now i want that all albums get the right disc, tracknumbers, totaltracks, totaldisc and  discname
if i just press ok i get only 1 album with 59 tracks
how i can tag the album with just one update ( i can do it right if i just select one disc)
Title: foo_discogs
Post by: musosticky on 2007-01-29 18:58:27
Could you make the saving of artist art user-definable when you release it...I have all my artist art in one folder and itd be a pain to have an artist picture for every album especially when you have so many discographies
Title: foo_discogs
Post by: bubbleguuum on 2007-01-29 22:02:08
i have some problems
i have a lot of albums with more then 1 CD
for example http://www.discogs.com/release/740020 (http://www.discogs.com/release/740020)
now i want that all albums get the right disc, tracknumbers, totaltracks, totaldisc and  discname
if i just press ok i get only 1 album with 59 tracks
how i can tag the album with just one update ( i can do it right if i just select one disc)


you have to use the multi-disc panel in that case. extract from the change log:

"The multi-disc options works like this:
You must tag the files of one disc at a time. Enter the release id as usual and on the release panel you'll
have more discogs tracks than tracks to tag. Select the tracks to remove in the discogs track list and remove them. Then check "enable" in the "Multi Disc Release" Panel. Now you can set TOTALDISCS and DISCNUMBER. button "renumber" will renumber all tracks in the discogs track list : this is usually needed for CD2 or higher

Could you make the saving of artist art user-definable when you release it...I have all my artist art in one folder and itd be a pain to have an artist picture for every album especially when you have so many discographies


Artist art will be saved in a single directory you can specify in options. However you'll not have the choice of the filenames : it'll be %artist_id%_<incremented number>.jpg. Initially I wanted to use artist name instead of %artist id% but it's much more complicated to handle and an artist id is much more simpler.
Title: foo_discogs
Post by: musosticky on 2007-01-29 23:09:59
ok that wont be hard to work around. thanks very much for the quick reply. I'm a strong believer in this plugin
Title: foo_discogs
Post by: Luxus on 2007-01-29 23:14:29
@bubbleguuum
yeah that is how i use it at the moment...
i hope that something on the way to make it more easier (tagging all discs on same time
Title: foo_discogs
Post by: Stryng on 2007-01-30 21:51:08
When I try to search or write tagz I get this error with the discogs plugin 

Error contacting discogs.com or bad release id: aborting (release id= )

Help?
Title: foo_discogs
Post by: Chris Norman on 2007-01-30 22:33:46
Hey,

First of all, bubbleguuum thx for this marvelous plugin. Simply awesome, one of the most useful plugins.

After playing around I have some of the usual feature requests/usability improvement suggestions:

1) Are you planning to include an option to tag notes and comments given on the release page?
2) Related to 1) are you planning to include track based information like "remix", "composer", etc?
3) It would be nice to have in the "Release" window a checkbox which could toggle auto rearrange.
3) A "Go back" button in the "Release" window to go back to the "Find Release" window.
5) The ability in the "Release" screen to drag multiple tracks if selected.
6) An option to customize the view in the Release window (tracks and discogs window) via tagz.
7) To have in the "release" window checkboxes in front of every discogs element (pretty much in the way like it is done with the "Varous" checkbox. This could be realized in two flavours.
a) evetrytime one enters into the release selection checkboxes are preselected according to the preferences
b) settings are preserved for the next release

Stability increased much, I have the impression that the overall performance could be improved a little bit. Again, thx for all your efforts. Hope you'll keep the work going on this.

Chris.
Title: foo_discogs
Post by: cheatz on 2007-01-31 05:17:14
For my vinyls my folder structure goes like this:

F:/Vinyl/2007/January/Part1
F:/Vinyl/2007/January/Part2
F:/Vinyl/2007/January/Part3
F:/Vinyl/2007/Febuary/Part1

etc.

There is a problem though. Since there's about 30 vinyls in each folder, i'd like to have album art for each mp3. I write the tags for all the tracks in folder and on the discogs preview pic it shows there is an album art and i click OK after i confirm the tags and pic is correct. However when I play the track the picture does not show up in the album art, instead it shows album_art.jpg which is the first vinyl of that folder.

Also it does not save more than 2 jpg's per folder.

There is only album_art.jpg and album_art_2.jpg after i try save more it won't save to the directory. Why is that so?
Title: foo_discogs
Post by: bubbleguuum on 2007-01-31 18:58:12
When I try to search or write tagz I get this error with the discogs plugin 

Error contacting discogs.com or bad release id: aborting (release id= )

Help?


You probably hit OK without having a release id or url, so use the search function, select a release and hit OK

Hey,

First of all, bubbleguuum thx for this marvelous plugin. Simply awesome, one of the most useful plugins.

After playing around I have some of the usual feature requests/usability improvement suggestions:

1) Are you planning to include an option to tag notes and comments given on the release page?
2) Related to 1) are you planning to include track based information like "remix", "composer", etc?
3) It would be nice to have in the "Release" window a checkbox which could toggle auto rearrange.
3) A "Go back" button in the "Release" window to go back to the "Find Release" window.
5) The ability in the "Release" screen to drag multiple tracks if selected.
6) An option to customize the view in the Release window (tracks and discogs window) via tagz.
7) To have in the "release" window checkboxes in front of every discogs element (pretty much in the way like it is done with the "Varous" checkbox. This could be realized in two flavours.
a) evetrytime one enters into the release selection checkboxes are preselected according to the preferences
b) settings are preserved for the next release

Stability increased much, I have the impression that the overall performance could be improved a little bit. Again, thx for all your efforts. Hope you'll keep the work going on this.

Chris.


1)
Not in the immediate future as it is a real pain to parse, and quite frankly I'm a bit fed up with parsing generated HTML. If/When discogs has an API that expose this data then surely. An API is planned from their side but there's no sign of it yet, so it's just wait and see

2) see 1). Long answer: I've started think of it and it's not easy to o properly and to present the info the user in a generic way.

3) Sure it would be nice

4) I could do it but probably won't since If you have a doubt you can double click the release in the find list to display it and check that it's the good release.

5) This will be in the next version I hope

6) Why would you want custom tagz string ?

7) I don't see much usefulness for this as in 99% of cases you want to tag everything with the same tags, so you rarely change tag mappings...


For my vinyls my folder structure goes like this:

F:/Vinyl/2007/January/Part1
F:/Vinyl/2007/January/Part2
F:/Vinyl/2007/January/Part3
F:/Vinyl/2007/Febuary/Part1

etc.

There is a problem though. Since there's about 30 vinyls in each folder, i'd like to have album art for each mp3. I write the tags for all the tracks in folder and on the discogs preview pic it shows there is an album art and i click OK after i confirm the tags and pic is correct. However when I play the track the picture does not show up in the album art, instead it shows album_art.jpg which is the first vinyl of that folder.

Also it does not save more than 2 jpg's per folder.

There is only album_art.jpg and album_art_2.jpg after i try save more it won't save to the directory. Why is that so?


just use %album% as file prefix in the preference panel (and use that as your foo_uie_albumart source)
Title: foo_discogs
Post by: SoulMan on 2007-01-31 19:45:23
Hello, this pluggin is verry great,

I think an interresting feature will be to add the ability to use various websites, and not only discogs, using a querry script, like in "Ant Movie Catalog" for films database.

With such pliggin, everibody can create scripts for different sites, such feature will be verry verry great.

So thank you a lot for this good work, the ability to configure your own tag mapping is really marvelous.
Title: foo_discogs
Post by: cheatz on 2007-02-01 09:26:17
just use %album% as file prefix in the preference panel (and use that as your foo_uie_albumart source)

EDIT: It sometimes works but it still plays up.

This is my source for album art right now.

[foo_uie_albumart]
$replace(%path%,%filename_ext%,)%album%.jpg
-$replace(%path%,%filename_ext%,)*.jpg
-$replace(%path%,%filename_ext%,)*.png
--components\default.*
[End]

Thanks for helping out

EDIT: Also sometimes in discogs plugin it shows that there is an album art and i click write tags (with album art options checked) and doesn't fetch the album art.
It happened to these pages

http://www.discogs.com/release/891529 (http://www.discogs.com/release/891529)
http://www.discogs.com/release/891354 (http://www.discogs.com/release/891354)
Title: foo_discogs
Post by: Chris Norman on 2007-02-01 14:17:19
Quote
1)
Not in the immediate future as it is a real pain to parse, and quite frankly I'm a bit fed up with parsing generated HTML. If/When discogs has an API that expose this data then surely. An API is planned from their side but there's no sign of it yet, so it's just wait and see

2) see 1). Long answer: I've started think of it and it's not easy to o properly and to present the info the user in a generic way.

3) Sure it would be nice

4) I could do it but probably won't since If you have a doubt you can double click the release in the find list to display it and check that it's the good release.

5) This will be in the next version I hope

6) Why would you want custom tagz string ?

7) I don't see much usefulness for this as in 99% of cases you want to tag everything with the same tags, so you rarely change tag mappings...



Thx for your answer. I agree when looking at the site, that including more extra information could not be done so easily.

Just a quick reply to the open points.

6) customization would be mostly helpful in the file display to avoid that long filenames hide important information.

7) Actually this is not true for me. Most of the time my tags are already quite ok, quality-wise. Two major issues where I this feature would be helpful are: 1) when you retag a multi-disc album. Usually I switch off update on album and on tracknumbers/totaltracks. 2) When there is reason to keep the existing tags, e.g. additional information like remix by exists, and where I won't like to see this to be overwriten. The same issue appears when e.g. remix albums are filed under "Various" where I'd like to see the original album artist preserved.
Going into the mappings menu just takes a lot of time.

Greets and thx for ur work,

Chris
Title: foo_discogs
Post by: Ydope on 2007-02-12 03:25:16
Wow, this is highly useful! Thanks a lot!
Title: foo_discogs
Post by: nbv4 on 2007-02-13 12:47:18
(http://isodrosotherm.info/nbv4/quick/Untitled-1.png)

See how the tracks in the discogs box are all out of order? It goes 1, 4, 3, 2, 5, 6... Is there a reason for this?
Title: foo_discogs
Post by: bubbleguuum on 2007-02-13 18:42:37
See how the tracks in the discogs box are all out of order? It goes 1, 4, 3, 2, 5, 6... Is there a reason for this?


Yes the track matching based on track length is buggy and don't work. Disable it until I release the next version hopefully this week end
Title: foo_discogs
Post by: nbv4 on 2007-02-14 01:08:19

See how the tracks in the discogs box are all out of order? It goes 1, 4, 3, 2, 5, 6... Is there a reason for this?


Yes the track matching based on track length is buggy and don't work. Disable it until I release the next version hopefully this week end

ok no problem.

Also, I have a lot of albums that are tagged fine, but have no album art. It would be nice if there was a way to just right click -> discogs -> get album art. Then a dedicated box comes up designed around retrieving album art. Even awesomer would be a way to do this in bulk, so you don't have to do them all one by one.

I have a huge collection that needs album art, but there are no real good automated ways to get the art. There are a few apps out there, but they either suck, or are hardcoded to save as "folder.jpg" or some other nonsense.
Title: foo_discogs
Post by: Ydope on 2007-02-14 16:40:10
I have a huge collection that needs album art, but there are no real good automated ways to get the art. There are a few apps out there, but they either suck, or are hardcoded to save as "folder.jpg" or some other nonsense.

Well, folder.jpg makes sense for windows users who want to see a picture preview when they browse their folders in 'thumbnail' view.
Nevertheless I also dont know a tool that can batch-fetch album art. Selecting all files that have the discogs_release_id and making foo_discogs fetch all the album art in one go would be super-cool of course. works like a charme and is super-cool  . For the regular tags I wouldnt use this because just sometimes the tracks i have dont match the discogs info 100%. For tags there has to be a second level of checking everything is correct.
Title: foo_discogs
Post by: bubbleguuum on 2007-02-14 19:58:02

I have a huge collection that needs album art, but there are no real good automated ways to get the art. There are a few apps out there, but they either suck, or are hardcoded to save as "folder.jpg" or some other nonsense.


Nevertheless I also dont know a tool that can batch-fetch album art. Selecting all files that have the discogs_release_id


This is already possible : Discogs/update album art.
You can select you whole collection if you wish and it will fetch / update art for files that have %discogs_release_id% set.

To nbv4: there's no program that can automatically and reliably get album art without a minimum of user intervention. If you have files with no %discogs_release_id% you could set it manually or with the plugin then use "update album art"
Title: foo_discogs
Post by: Ydope on 2007-02-14 23:27:09
http://www.discogs.com/viewimages?what=R&obid=139352 (http://www.discogs.com/viewimages?what=R&obid=139352) and
http://www.discogs.com/viewimages?what=R&obid=67786 (http://www.discogs.com/viewimages?what=R&obid=67786)
give an error while updating album art. Seems there there is a weird second picture on that page.

Edit: Same here:
http://www.discogs.com/viewimages?what=R&obid=130290 (http://www.discogs.com/viewimages?what=R&obid=130290)
Title: foo_discogs
Post by: mil3s on 2007-02-23 12:50:37
How does this plugin work? How do I get it to download album art? How do I disable tag writing? Are the any "getting started" help somewhere?
Title: foo_discogs
Post by: stampgevaar on 2007-02-23 15:16:38
put the component in your components folder, I don't think it's possible to download album art without the discogs release id. and why would you disable tag writing? just select the songs you want to tag and right click
Title: foo_discogs
Post by: Mercachifle on 2007-02-24 03:45:38
This is very useful, thanks a lot.
Title: foo_discogs
Post by: kcay on 2007-02-24 19:15:29
Having problems.  Clicking search or entering the discogs id manually crashes foobar every time.  Doesn't matter which particular mp3 I do a discog search for; it crashes.  Any help?
log:
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 00033908h
Access violation, operation: write, address: 00000000h
Call path:
entry=>app_mainloop=>contextmenu_item_node::execute
This is the first crash logged by this instance.
Code bytes (00033908h):
000338C8h:  8E 06 02 00 48 E0 80 7C E8 01 00 00 E4 46 15 00
000338D8h:  DC 01 00 00 94 38 03 00 88 32 91 7C 84 39 03 00
000338E8h:  A8 9A 83 7C 78 E3 80 7C FF FF FF FF DC E3 80 7C
000338F8h:  00 00 15 00 38 E0 80 7C 74 06 02 00 00 00 00 00
00033908h:  00 00 00 00 F0 CA 38 00 4C A2 01 00 3D 00 00 00
00033918h:  74 38 03 00 44 3A 5C 66 6F 6F 62 61 72 32 30 30
00033928h:  30 5C 66 6F 6F 62 61 72 32 30 30 30 2E 65 78 65
00033938h:  00 00 15 00 00 00 00 00 F6 1B 80 7C DC 3A 03 00
Stack (00033888h):
00033868h:  00000000 00000000 00000000 00000000
00033878h:  00000000 00000000 00000000 00000000
00033888h:  00383432 00033908 00000001 00033A34
00033898h:  0003392A 00000000 003828E3 000338BC
000338A8h:  00033908 00000190 00E820D0 01720048
000338B8h:  00000000 7FFDF000 001543A0 00154508
000338C8h:  0002068E 7C80E048 000001E8 001546E4
000338D8h:  000001DC 00033894 7C913288 00033984
000338E8h:  7C839AA8 7C80E378 FFFFFFFF 7C80E3DC
000338F8h:  00150000 7C80E038 00020674 00000000
00033908h:  00000000 0038CAF0 0001A24C 0000003D
00033918h:  00033874 665C3A44 61626F6F 30303272
00033928h:  6F665C30 7261626F 30303032 6578652E
00033938h:  00150000 00000000 7C801BF6 00033ADC
00033948h:  0038CAF0 00000000 01DC01DA 00154508
00033958h:  001A0018 7FFDFC00 00000018 77DD2BE4
00033968h:  00033A36 77DD16A4 0000022F 000339C4
00033978h:  7C919BD3 00033A36 000002A3 77DD0000
00033988h:  77DD2158 77DD2BE4 00000000 00000001
00033998h:  00033A34 00000000 00000001 77DD0000
Registers:
EAX: 00000000, EBX: 00033908, ECX: 0038C8FC, EDX: 00036172
ESI: 00033908, EDI: 00033908, EBP: 00E84460, ESP: 00033888
Title: foo_discogs
Post by: Dave_Scream on 2007-03-18 09:54:25
http://www.discogs.com/release/1350 (http://www.discogs.com/release/1350)

this release crush my foobar
...
there is no answers here for a long time... bubbleguuum v0.92 is a final version? u dont interested in upgrades no more?
Title: foo_discogs
Post by: Dave_Scream on 2007-03-18 10:09:06
i think i understand
[DC01, 1996] Adam Beyer & Lenk - Drumcode 01
[DC02, 1996] Adam Beyer - Compressed
[DC15A, 1998] Adam Beyer _ Cari Lekebusch - Split EP
[DC16, 1998.12] Marco Carola & Adam Beyer - Drumcode 16

this releases are good!
but this

drumcode 01.5 - Adam Beyer & Lenk (luke slater) - Drumcode #1 (1996)
drumcode 20.5
drumcode 21.5 - Adam Beyer - The Time Ltd (2001)
drumcode 22.5 - Henrik B. - Recollections Ltd (2001)
drumcode 23.5 - Safety Session - Maru Part 1 Ltd (2001)
drumcode 25.5A - Adam Beyer & Henrik B. - Sound Identification Ltd (2002)
...e.t.c

not good...  because of catalog# !!!
DC01 - good
DC01.5 - not good
DC20 - good
DC20.5 - not good

"." - not good
wtf?

check or debug this releases plz:
http://www.discogs.com/release/1350 (http://www.discogs.com/release/1350)
http://www.discogs.com/release/5839 (http://www.discogs.com/release/5839)
http://www.discogs.com/release/6373 (http://www.discogs.com/release/6373)
http://www.discogs.com/release/21292 (http://www.discogs.com/release/21292)
http://www.discogs.com/release/33702 (http://www.discogs.com/release/33702)
http://www.discogs.com/release/102023 (http://www.discogs.com/release/102023)
http://www.discogs.com/release/79230 (http://www.discogs.com/release/79230)
http://www.discogs.com/release/164566 (http://www.discogs.com/release/164566)
http://www.discogs.com/release/282847 (http://www.discogs.com/release/282847)
http://www.discogs.com/release/479128 (http://www.discogs.com/release/479128)
Title: foo_discogs
Post by: stampgevaar on 2007-03-18 17:21:38
I noticed when updating a lot of tags and downloading cover art afterwards that some release pages of discogs have been moved or deleted, so would it be handy that the foo_discogs plugin just ignores that album and goes further with the other albums because it just stops and this is quite annoying if your updating a large portion of the library. Also is it possible that the albums for which the plugin doesn't find the release id anymore that these are saved in a txt file or something like that so they can be retagged.

i think i understand
[DC01, 1996] Adam Beyer & Lenk - Drumcode 01
[DC02, 1996] Adam Beyer - Compressed
[DC15A, 1998] Adam Beyer _ Cari Lekebusch - Split EP
[DC16, 1998.12] Marco Carola & Adam Beyer - Drumcode 16

this releases are good!
but this

drumcode 01.5 - Adam Beyer & Lenk (luke slater) - Drumcode #1 (1996)
drumcode 20.5
drumcode 21.5 - Adam Beyer - The Time Ltd (2001)
drumcode 22.5 - Henrik B. - Recollections Ltd (2001)
drumcode 23.5 - Safety Session - Maru Part 1 Ltd (2001)
drumcode 25.5A - Adam Beyer & Henrik B. - Sound Identification Ltd (2002)
...e.t.c

not good...  because of catalog# !!!
DC01 - good
DC01.5 - not good
DC20 - good
DC20.5 - not good

"." - not good
wtf?

check or debug this releases plz:
http://www.discogs.com/release/1350 (http://www.discogs.com/release/1350)
http://www.discogs.com/release/5839 (http://www.discogs.com/release/5839)
http://www.discogs.com/release/6373 (http://www.discogs.com/release/6373)
http://www.discogs.com/release/21292 (http://www.discogs.com/release/21292)
http://www.discogs.com/release/33702 (http://www.discogs.com/release/33702)
http://www.discogs.com/release/102023 (http://www.discogs.com/release/102023)
http://www.discogs.com/release/79230 (http://www.discogs.com/release/79230)
http://www.discogs.com/release/164566 (http://www.discogs.com/release/164566)
http://www.discogs.com/release/282847 (http://www.discogs.com/release/282847)
http://www.discogs.com/release/479128 (http://www.discogs.com/release/479128)


Ooh and this is because the info on discogs isn't correct if bubblegum has to correct al the mistakes on discogs it would be crazy. So if you want those things correct edit your mp3 tags or edit the info on discogs.
Title: foo_discogs
Post by: Dave_Scream on 2007-03-19 16:32:50
Quote

check or debug this releases plz:
http://www.discogs.com/release/1350 (http://www.discogs.com/release/1350)
http://www.discogs.com/release/5839 (http://www.discogs.com/release/5839)
http://www.discogs.com/release/6373 (http://www.discogs.com/release/6373)
http://www.discogs.com/release/21292 (http://www.discogs.com/release/21292)
http://www.discogs.com/release/33702 (http://www.discogs.com/release/33702)
http://www.discogs.com/release/102023 (http://www.discogs.com/release/102023)
http://www.discogs.com/release/79230 (http://www.discogs.com/release/79230)
http://www.discogs.com/release/164566 (http://www.discogs.com/release/164566)
http://www.discogs.com/release/282847 (http://www.discogs.com/release/282847)
http://www.discogs.com/release/479128 (http://www.discogs.com/release/479128)

Ooh and this is because the info on discogs isn't correct if bubblegum has to correct al the mistakes on discogs it would be crazy. So if you want those things correct edit your mp3 tags or edit the info on discogs.


so you mean than this is correct then foobar chushing if catalog# consist ","?? i dont think so...  any error situation must be predicted.

Quote
Ooh and this is because the info on discogs isn't correct

and i dont think that this string: "Catalog#:   DC20,5" --- "isn't correct"   
Title: foo_discogs
Post by: stampgevaar on 2007-03-19 17:29:27
aaah sorry I didn't quite understand your problem then
Title: foo_discogs
Post by: bubbleguuum on 2007-03-19 18:51:51
I must admit I've not worked on the plugin for a long time.
There will be a new version though but I don't know when, need to find a week-end
to work on it. Need to finish artist art fetching.

I also need to clean up the code before releasing the source.

For the cat# problem the crash comes from the "," in the cat# which usually
separate several cat#, i'll look into that
Title: foo_discogs
Post by: bubbleguuum on 2007-03-28 00:28:45
Finally a new version with new features and bug fixes! I didn't test fully so it might have some glitches but I think it should be pretty solid. When it has been tested some more I'll release the source.
Artist art is kind of cool, it allow to put faces on all those anonyms

This version will reset all you tag mappings and configuration

See first post for download link

v 0.98
-------

- chg: big refactoring of the code
- chg: all dialogs are now non-modal and feching discogs info properly use threads, so no more UI slugishness.
- chg: use standard foobar dialog for task progress display
- chg: redone configuration panel, using tabs and moving album art options previously in release dialog

- add: fetch/update artist art support
- add: new entry in context menu: "display artist art page" (need %discogs_artist_id%)
- add: tag mapppings: added "Original Track number", used to point to the discogs track number,
to be later able to find those track for updating track specific tags. Enabled by default and recommended to let it enabled
- add: tag mapppings: added "Artist id", "Artist aliases", "Artist groups", "Artist members" and "Artists ANVs".  This information is fetched from discogs artist pages, so it takes a bit longer
- add: support of dragging of single items in discogs track list.

- fix: auto matching based on track length was incorrect. Now it's enabled by default and should work 99% of the time
- fix: html parser: fixed crash when cat# contained "," such as release 1350 (thanks Dave Scream)
- fix: when fetching art ignore not found image instead of just aborting (thanks Ydope)
- fix: find release dialog: in some cases old previously searched artist list could appear
- fix: find release dialog: "exact matches" state was not correctly restored to user's setting next time if automatically checked on search when there are no exact matches
- fix: release dialog: "save art" check box was always disabled if "display art" was not checked
- fix: update tags: TOTALTRACKS was not written

Artist art
==========

If you want to retrieve artist art on releases already tagged with foo_discogs, it's easy:
check fetch artist art in the configuration panel and indicate a directory where all artist art
will be downloaded. Artists have a unique numeric identifier associated to them and stored as
tag DISCOGS_ARTIST_ID. It is automatically written when retrieving / fetching artist art, so you
can use this source for foo_uie_albumart:

<path_to_artist_art>\[%discogs_artist_id%]_?.jpg

Files are stored as <artist_id>_<numeric suffix>.jpg. This scheme won't be parametrable as it has severe complications

Artist aliases
========

Fetching artist aliases allow interesting queries such as displaying all music of an artist and its aliases.
By default in foo_uie_quicksearch if you enter an artist name, it will also find all it's aliases
Some useful queries can probably be done with "Artist members" and "Artist groups".

Updating tags for track specific tags
=======================

When updating tags there's the need to map the local track being updated to it's corresponding discog track,
when filling track-specific tags (Artist, title, track number, vinyl track, Artist aliases, Artist Groups, Artist members, Artists ANV, artist id)

To find the discogs track, it works like this:

if %DISCOGS_ORIGINAL_TRACK_NUMBER% exist (only with files tagged from this version)
use this as the discogs track number
else if %DISCNUMBER% > 1 do nothing as we can't know discogs corresponding track (mainly for CD > 1 of multi-cd releases)
else if %DISCNUMBER% do not exist or is equal to 1, then use the mapping of %TRACKNUMBER% if it exist or it's remapped equivalent

In theory it's possible to delete and regenerate all tags, provided that %DISCOGS_RELEASE_ID%
exist and the track can be mapped to the discog track with the system above.

Know limitations
================

Dragging items in discogs track list works for single items only. You can select
several items by clicking on them but that works for the "remove" button only.
win32 list programming sux0r...
Title: foo_discogs
Post by: kcay on 2007-03-28 01:19:00
I'm still getting the crashes when clicking 'search' -- could it have something to do with my gdi dll version?
Title: foo_discogs
Post by: metal_termite on 2007-03-28 03:47:49
I'm going to orgasm if this component ever gets broadened to parse any web source via custom scripts. And thanks for the recent update.
Title: foo_discogs
Post by: incunabula on 2007-03-28 04:34:48
Thank you very much for your continued development of this plugin!
Title: foo_discogs
Post by: stampgevaar on 2007-03-28 10:28:38
Nice upgrade, if you can also make it possible to download label pictures and info you are my god haha but it's just and idea...
Also can you possibly make it that the release id which isn't correct any more because a page has moved or someone had deleted it that the album name is stored somewhere or that you can see with a popup which albums aren't correct anymore so they can be retagged.

and BTW great work
Title: foo_discogs
Post by: bubbleguuum on 2007-03-28 18:44:39
I'm still getting the crashes when clicking 'search' -- could it have something to do with my gdi dll version?


Very strange! does it crashes all the time ? It has nothing to do with GDI. I'll do a version that you can tes with some traces in a file to have a clue where it crashes

I'm going to orgasm if this component ever gets broadened to parse any web source via custom scripts. And thanks for the recent update.


I'm not interested in writing myself a generic component that would fetch data from several web sources. When I release the source code if anyone want to adapt it to handle other sources I'm all for it!
The html parser code is quite isolated and other parsers implementing the interface could be added. The parser would have to be written in C++ (using libhtmlcxx) which is not the most straightforward thing to do or a bridge could be done to import data from mp3tag scripts for example. There's also quite a bit of discogsism in the UI which would need some rework because all web sources do not support the same data and this would have to be abstracted. Doing win32 UI work using old API is just slow, clunky, error prone and limited compared to what you can do in Java or .net


Nice upgrade, if you can also make it possible to download label pictures and info you are my god haha but it's just and idea...
Also can you possibly make it that the release id which isn't correct any more because a page has moved or someone had deleted it that the album name is stored somewhere or that you can see with a popup which albums aren't correct anymore so they can be retagged.

and BTW great work


having a feature that detect invalid release id in selection could be useful yes
Title: foo_discogs
Post by: Decuman on 2007-03-28 22:41:56
Great! Thanks for the update!!!
... have a little problem though. It doesn't fetch album art anymore. I set all the option correct i.e. show/fetch the album and it started to show in in its dialog but do not fetch any images. Any other option I missed?

Any change of skipping tracks which marked as Video?

Thanks again!
Title: foo_discogs
Post by: bubbleguuum on 2007-03-29 00:15:26
Great! Thanks for the update!!!
... have a little problem though. It doesn't fetch album art anymore. I set all the option correct i.e. show/fetch the album and it started to show in in its dialog but do not fetch any images. Any other option I missed?


Strange, are you sure you don't have a picture in the release directory ? By default they are named album_art_*.jpg. What happen if you update album art after tagging ? does it work ?
Title: foo_discogs
Post by: Decuman on 2007-03-29 03:29:44
Yep... I'm absolutely sure. I have checked it with no art / with different prefixes / with overwrite option etc. with no result  Will see if someone else has the same problem.

()


Great! Thanks for the update!!!
... have a little problem though. It doesn't fetch album art anymore. I set all the option correct i.e. show/fetch the album and it started to show in in its dialog but do not fetch any images. Any other option I missed?


Strange, are you sure you don't have a picture in the release directory ? By default they are named album_art_*.jpg. What happen if you update album art after tagging ? does it work ?
Title: foo_discogs
Post by: s.newave on 2007-03-29 06:24:06
Hi, im dying to try this plugin but have a really noob question. After installing the plugin and right clicking on a track to bring up the menu the only menu items enabled in the Discogs menu are "Write tags", "Edit tag mappings" and "Configuration". All the other items are greyed out. I have tried everything I can think of to enable the other menu items but nothing seems to work. Is there something really basic I am missing/misunderstanding? By the way I am using the FofR black reflection config.

thx
Title: foo_discogs
Post by: shakey_snake on 2007-03-29 13:44:06
I have tried everything I can think of to enable the other menu items but nothing seems to work. Is there something really basic I am missing/misunderstanding?
Have you written tags for the item with discogs yet?

It's kinda hard for the plugin to update the tags or album art or view whatever page if you haven't written the %discogs release_id% tag yet to tell it which item in the discogs catalog it's dealing with.
Title: foo_discogs
Post by: stampgevaar on 2007-03-29 21:08:34
I noticed when updating album and artist art that the overwrite box isn't there anymore :s isn't there a possibility to put it back. I always liked it because when a album was first released there where always low quality covers and after af few months when I looked again I mostly got high quality covers because after a time somebody ups them in high quality. So please put it back

and a little bug: when fetching art and the release id isn't found anymore the fetching of the art stops, it tags files again and stops....
Title: foo_discogs
Post by: bubbleguuum on 2007-03-29 21:30:56
I noticed when updating album and artist art that the overwrite box isn't there anymore :s isn't there a possibility to put it back. I always liked it because when a album was first released there where always low quality covers and after af few months when I looked again I mostly got high quality covers because after a time somebody ups them in high quality. So please put it back


It's there in the configuration art tab
Quote
and a little bug: when fetching art and the release id isn't found anymore the fetching of the art stops, it tags files again and stops....


I'm not sure I understand what you mean, ca you explain more ?
Title: foo_discogs
Post by: Decuman on 2007-03-29 21:56:25
Oh, yes... I see now what happened. Used it previously and never written discogs ID tag since I don't really need it... but the album art fetching worked without that tag previously, right? What is the reason to write that tag in order to fetch the album art just once? I may be wrong but it is just a bit misleading to see the art in the dialog (i.e. seeing that it actually found the album art) but didn't write it properly with album art fetch option turned on.

Anyways, thanks for explaining and a great component.

Cheers!


I have tried everything I can think of to enable the other menu items but nothing seems to work. Is there something really basic I am missing/misunderstanding?
Have you written tags for the item with discogs yet?

It's kinda hard for the plugin to update the tags or album art or view whatever page if you haven't written the %discogs release_id% tag yet to tell it which item in the discogs catalog it's dealing with.
Title: foo_discogs
Post by: stampgevaar on 2007-03-30 08:35:37
I'm sorry I think it had something to do with my connection, I'm not sure, will see if it happens again...
edit: it happend again, so when I choose update album /artist art in the context menu. It first searches for the art but it then bumps on a release id that isn't correct anymore
(because someone has moved the page or something like that, some releases of mine are not the same as in the beginning I tagged them with your plugin)
then it gives an errorbox where I have to click ok but instead of searching for the rest of the album./ artist art it begins to update tags very quickly and that's everything.
Hope I've made myself a little understandable...
Title: foo_discogs
Post by: shakey_snake on 2007-03-30 08:46:51
Oh, yes... I see now what happened. Used it previously and never written discogs ID tag since I don't really need it... but the album art fetching worked without that tag previously, right? What is the reason to write that tag in order to fetch the album art just once?

Well, this isn't primarily an album art fetching component, it's a discogs info fetching component with album art fetching built in.
Title: foo_discogs
Post by: Dave_Scream on 2007-03-30 10:08:46
fetching art and  catalog numbers with "," and other things works fine!  i have no problems! yet . thank you!
---

stampgevaar  ... hmm... if page has moved to somewhere so and release_id changed, you can find it again in browser and change "release_id" tag.  then i assume fetching art will work fine.
Title: foo_discogs
Post by: Dave_Scream on 2007-03-30 16:50:09
UPDATE:
OOPS IM SORRY THAT WAS MY FAULT =) ALL WORKS FINE =)  just i set errorous parameters for my proxy server ))) now i back my proxy config, and foo_discogs work fine... (i made some experimentation with gzip encoding in proxy...)
----------
Title: foo_discogs
Post by: bubbleguuum on 2007-03-30 19:01:45
Oh, yes... I see now what happened. Used it previously and never written discogs ID tag since I don't really need it... but the album art fetching worked without that tag previously, right?


After looking at the newer code you're right: before you could fetch art without the release id tag (when tagging a release, not updating art).
I'll correct this in the next version. Good find
Btw it's a good idea to leave the release id always written because a lot of functionality (update art/tag) cannot work without this. This also mean if I add newer tag in the future you'll be able to batch fetch them.
Title: foo_discogs
Post by: stampgevaar on 2007-03-31 08:55:07
fetching art and  catalog numbers with "," and other things works fine!  i have no problems! yet . thank you!
---

stampgevaar  ... hmm... if page has moved to somewhere so and release_id changed, you can find it again in browser and change "release_id" tag.  then i assume fetching art will work fine.


yes I can do that but that's not happening till there's is a way to see which albums are wrong, cause else I have to update tags, see where it has gone wrong, fix id, redo this, etc etc and that all takes to much time. I don't know if the release id incorrect boxes appear for every release that isn't found but I got the feeling there acting a bit strange but I'm going to try it one of these days to see what it gives.

Ooh it's normal that it can't find albumart where the release id is missing but it entirely stops there it doesn't go furter with the other albums which have a correct release id and are after this album in my playlist.

a printscreen to make myself clearer

http://img455.imageshack.us/my.php?image=naamlooskz4.jpg (http://img455.imageshack.us/my.php?image=naamlooskz4.jpg)

It stops updating al the tags when a incorrect release id is found and starts updating the files.
I also have the problem with this artist and release
http://www.discogs.com/release/915439 (http://www.discogs.com/release/915439)
http://www.discogs.com/artist/Dirk+DJ (http://www.discogs.com/artist/Dirk+DJ)
, don't ask my why cause I have no idea it just gives the same error as in my example that it can't find the id but if I choose to view release or artist page this is done perfectly


EDIT: I think it has something to do when you have a multiple cd release, the tagger and album/artist art fetching works good with normal 1 cd releases and vinyl so maybe you should take a look at that (always disc 2)
Title: foo_discogs
Post by: odyssey on 2007-04-01 23:19:41
Brilliant plugin, but the UI might need a little tweaking.

Quote

It would be cool if the component could count how many files you have selected to tag and then check the discogs pages for albums that have the same number of tracks, just to narrow it down a bit.
This would'nt work if you want to tag an incomplete release (ie you don't have all the files), and you can already double click on a release to launch the www release page to do a quick check.


It's indeed a problem that you can't compare different releases. Why don't you imitate the freedb tagger interface? If you search artist+album it should not parse that many pages (especially not if you filter by CD's and albums only). This feature could eventually be deactivated, for some with slow internet connections (are people really still using modems anywhere?)

Also is it possible to retrieve additional track information, like remixer, producer and featuring artists? Also it would be nice, if it was able to retrieve multiple pages at a time, to compare the details (some releases fills more data then others).
Title: foo_discogs
Post by: stampgevaar on 2007-04-02 11:18:36
Now I'm updating tags and artist and album art and I have noticed al works perfectly except for multi disc releases, It's always cd 2 that gives an error so please fix this. thanks
Title: foo_discogs
Post by: bubbleguuum on 2007-04-02 21:26:20
Brilliant plugin, but the UI might need a little tweaking.

Quote

It would be cool if the component could count how many files you have selected to tag and then check the discogs pages for albums that have the same number of tracks, just to narrow it down a bit.
This would'nt work if you want to tag an incomplete release (ie you don't have all the files), and you can already double click on a release to launch the www release page to do a quick check.


It's indeed a problem that you can't compare different releases. Why don't you imitate the freedb tagger interface? If you search artist+album it should not parse that many pages (especially not if you filter by CD's and albums only). This feature could eventually be deactivated, for some with slow internet connections (are people really still using modems anywhere?)

Also is it possible to retrieve additional track information, like remixer, producer and featuring artists? Also it would be nice, if it was able to retrieve multiple pages at a time, to compare the details (some releases fills more data then others).


I'm not going to change the UI much at this point for the 5% of cases where it could be better. And I hate win32 UI programming foobar style with the 15 years old win32 common controls API! As for additional info I've thought doing it but by parsing html pages it's hard to get it right everytime. Discogs has some guidelines but there's a lot of corner cases. Now when I release the source if someone want to do it then great !
Maybe one day discogs will implement a proper Web service API to do that kind of stuff without having to parse ugly generated html. They've planned it but I wouldn't count on it anytime soon...




Now I'm updating tags and artist and album art and I have noticed al works perfectly except for multi disc releases, It's always cd 2 that gives an error so please fix this. thanks


I guess you have disable the "Original Discog Track" tag aka DISCOG_ORIGINAL_TRACK, introduced by 0.98.
Without this tag, no tag update is performed for discs >= 2 for track specific tags (which tags were you updating?). That is because I have no way to link the local track to the remote track without this tag
Title: foo_discogs
Post by: bubbleguuum on 2007-04-02 22:08:20
v0.99 out! <- scary number!

see first post for link

v 0.99


- add: "find deleted release ids" will scan all selected item and see if %DISCOG_RELEASE_ID% has been
deleted in discogs.com database. Those items are put in a new playlist.

- chg: when updating tags /art the only possible error now aborting the operation is if the connection
to discogs.com is lost. Other errors (deleted release id, bad url) will just cancel processing
for the current item and proceed to the next. Most of those errors are now logged in the foobar console.
If operation is stopped because of a connexion error, retrieved tag up to this point will be still written.
Also the abort button will stop the operation but still write all tags up to this point.

- chg: now it's possible again to retrieve art when tagging,  without having the release id tag enabled for writing
-chg: removed moving discogs track by draging the item as it messed quick selection (shift+click) usefull to remove items for multi-cd releases
- chg: clear cached data (releases, artists, ...) when the cache contains 50 releases.
- fix: crash if updating tags for tags write-enabled and DISCOGS_ORIGINAL_TRACK_NUMBER was write-enabled


Note: if artist art is checked or artist releated tag are enabled (anvs list, members, aliases, artist id) it can take bloody forever to retrieve all this info for a compilation and an eternity for a multi-cd compilation. Best is to batch update it later. For multi-cd this will be much quicker for discs >= 2
Title: foo_discogs
Post by: odyssey on 2007-04-02 22:49:04
But how about this?:

Also is it possible to retrieve additional track information, like remixer, producer and featuring artists?
Title: foo_discogs
Post by: incunabula on 2007-04-03 03:32:24
But how about this?:

Also is it possible to retrieve additional track information, like remixer, producer and featuring artists?



Your question is answered in post 291.  Basically no, not until a web services API for discogs is released.  This question has been answered at least twice before in this thread.
Title: foo_discogs
Post by: stampgevaar on 2007-04-03 11:16:11
I guess you have disable the "Original Discog Track" tag aka DISCOG_ORIGINAL_TRACK, introduced by 0.98.
Without this tag, no tag update is performed for discs >= 2 for track specific tags (which tags were you updating?). That is because I have no way to link the local track to the remote track without this tag



I don't have it disabled but  problem is I already tagged my whole collection and updating tags doesn't work with "original discogs track" cause it's disabled. is there a way somehow to update those tracknumbers cause I'm not spending another week to completely retag all my double cds so they have the correct DISCOGS_ORIGINAL_TRACK...

But it doesn't matter that much but I think that's the problem
Title: foo_discogs
Post by: Ydope on 2007-04-05 17:07:06
Release 778632 gives a foobar crash. I had the ID tagged before but the release got rejected at discogs in the meantime. It is also not recognized as deleted release.
Pretty rare case i guess, but it just happened to me...

http://www.discogs.com/release/778632 (http://www.discogs.com/release/778632)

Thanks again for this plug-in.
Title: foo_discogs
Post by: stampgevaar on 2007-04-06 13:46:16
I got a crash when updating a large amount of tags

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 00CD2AEAh
Access violation, operation: read, address: 00000030h
Call path:
threaded_process thread
This is the first crash logged by this instance.
Code bytes (00CD2AEAh):
00CD2AAAh:  34 0F 00 00 00 89 5E 30 88 5E 20 83 7E 18 10 72
00CD2ABAh:  0C 8B 4E 04 51 E8 31 F3 03 00 83 C4 04 89 5E 14
00CD2ACAh:  C7 46 18 0F 00 00 00 88 5E 04 5E 5B C3 CC CC CC
00CD2ADAh:  CC CC CC CC CC CC 53 8B 5C 24 08 55 8B 6C 24 10
00CD2AEAh:  39 6B 14 56 57 8B F1 73 05 E8 0F EC 03 00 8B 7B
00CD2AFAh:  14 8B 44 24 1C 2B FD 3B C7 73 02 8B F8 3B F3 75
00CD2B0Ah:  1F 6A FF 03 FD 57 8B CE E8 F9 03 00 00 55 6A 00
00CD2B1Ah:  8B CE E8 EF 03 00 00 5F 8B C6 5E 5D 5B C2 0C 00
Stack (0B4EF840h):
0B4EF820h:  0012F498 7E3A37BC 00000000 0000000C
0B4EF830h:  00000000 08B123B0 00000000 0012F4C4
0B4EF840h:  0B4EF8A4 0B4EF97C 00CE2792 0000001C
0B4EF850h:  00000000 FFFFFFFF F7EDC97F 00000000
0B4EF860h:  0B4EF97C 0B4EF97C 0B4EF87C F7EDC9AB
0B4EF870h:  0B4EF97C 14D75380 00CF6400 00000000
0B4EF880h:  00000000 00000000 00000000 0000000F
0B4EF890h:  F7EDC97F 0B4EF858 0B4EF920 00D28EA8
0B4EF8A0h:  FFFFFFFF 00000000 00CE1EE5 0000001C
0B4EF8B0h:  0B4EF97C 00000000 00000000 0B4EF97C
0B4EF8C0h:  0B4EF8F0 00000000 0B4EF8E8 00CE160E
0B4EF8D0h:  0B4EF8E8 0000001C 0B4EF97C 00000000
0B4EF8E0h:  00000068 00000000 00438A0A 004E2ABC
0B4EF8F0h:  0F2203A8 00CDE639 0000001C F7EDC8DB
0B4EF900h:  0F220370 0000001D 0F28C5E4 0F28C608
0B4EF910h:  0B4EFA34 00000000 00000001 00000000
0B4EF920h:  0B4EFA54 00D29589 00000000 00CDEE5D
0B4EF930h:  0B4EF97C 0F2203A8 00000000 F7EDC89B
0B4EF940h:  021E2968 0000001D 00D40018 00D4048F
0B4EF950h:  00462070 00000000 00000000 00000000
Registers:
EAX: 0000001C, EBX: 0000001C, ECX: 0B4EF874, EDX: 00000001
ESI: 00000000, EDI: 00000000, EBP: 00000000, ESP: 0B4EF840
Crash location: "foo_discogs", loaded at 00CD0000h - 00D4C000h

Loaded modules:
foobar2000                      loaded at 00400000h - 004F3000h
ntdll                            loaded at 7C900000h - 7C9B6000h
kernel32                        loaded at 7C800000h - 7C8FE000h
COMCTL32                        loaded at 77390000h - 77493000h
msvcrt                          loaded at 77BE0000h - 77C38000h
ADVAPI32                        loaded at 77F40000h - 77FEB000h
RPCRT4                          loaded at 77DA0000h - 77E31000h
GDI32                            loaded at 77E40000h - 77E87000h
USER32                          loaded at 7E390000h - 7E420000h
SHLWAPI                          loaded at 77E90000h - 77F06000h
SHELL32                          loaded at 7C9C0000h - 7D1E0000h
ole32                            loaded at 774A0000h - 775DD000h
shared                          loaded at 10000000h - 10029000h
comdlg32                        loaded at 76350000h - 7639A000h
IMM32                            loaded at 76330000h - 7634D000h
uxtheme                          loaded at 5B190000h - 5B1C8000h
msctfime                        loaded at 75250000h - 7527E000h
foo_abx                          loaded at 00A30000h - 00A64000h
foo_albumlist                    loaded at 00A70000h - 00AB7000h
OLEAUT32                        loaded at 770E0000h - 7716C000h
foo_cdda                        loaded at 00AD0000h - 00B06000h
foo_converter                    loaded at 00B30000h - 00B99000h
foo_custominfo                  loaded at 00BC0000h - 00C45000h
foo_cwb_hooks                    loaded at 00C70000h - 00CA5000h
foo_discogs                      loaded at 00CD0000h - 00D4C000h
gdiplus                          loaded at 4EB80000h - 4ED23000h
WS2_32                          loaded at 71A30000h - 71A47000h
WS2HELP                          loaded at 71A20000h - 71A28000h
WINMM                            loaded at 76AF0000h - 76B1E000h
foo_dsp_std                      loaded at 00DF0000h - 00E31000h
foo_input_std                    loaded at 00E60000h - 00F74000h
foo_masstag                      loaded at 00FA0000h - 00FF0000h
foo_masstag_addons              loaded at 01010000h - 0101E000h
MSVCR80                          loaded at 78130000h - 781CB000h
foo_menu_addons                  loaded at 01040000h - 01065000h
foo_msnalt                      loaded at 01080000h - 01099000h
foo_playcount                    loaded at 010C0000h - 010E8000h
foo_playlist_tree                loaded at 01110000h - 01182000h
libmzsch360_000                  loaded at 10400000h - 105D0000h
WSOCK32                          loaded at 71A50000h - 71A5A000h
libmzgc360_000                  loaded at 011B0000h - 01254000h
foo_rgscan                      loaded at 012A0000h - 012E8000h
foo_run                          loaded at 01310000h - 0133B000h
foo_uie_console                  loaded at 01360000h - 0137B000h
foo_uie_quicksearch              loaded at 013A0000h - 013E6000h
foo_ui_columns                  loaded at 01410000h - 014A7000h
foo_ui_panels                    loaded at 014D0000h - 015A3000h
foo_ui_std                      loaded at 015D0000h - 01627000h
foo_unpack                      loaded at 01650000h - 0167E000h
foo_utils                        loaded at 016A0000h - 016D9000h
foo_whatsnew                    loaded at 01700000h - 01730000h
Msimg32                          loaded at 76320000h - 76325000h
DSOUND                          loaded at 73E80000h - 73EDC000h
VERSION                          loaded at 77BD0000h - 77BD8000h
WINTRUST                        loaded at 76BF0000h - 76C1E000h
CRYPT32                          loaded at 77A40000h - 77AD5000h
MSASN1                          loaded at 77AE0000h - 77AF2000h
IMAGEHLP                        loaded at 76C50000h - 76C78000h
wdmaud                          loaded at 72C90000h - 72C99000h
msacm32                          loaded at 72C80000h - 72C88000h
MSACM32                          loaded at 77BB0000h - 77BC5000h
midimap                          loaded at 77BA0000h - 77BA7000h
KsUser                          loaded at 73E50000h - 73E54000h
netapi32                        loaded at 6FF20000h - 6FF74000h
SETUPAPI                        loaded at 778E0000h - 779D7000h
appHelp                          loaded at 77B00000h - 77B22000h
CLBCATQ                          loaded at 76F90000h - 7700F000h
COMRes                          loaded at 77010000h - 770DD000h
cscui                            loaded at 779E0000h - 77A36000h
CSCDLL                          loaded at 765A0000h - 765BD000h
mlang                            loaded at 75D40000h - 75DD1000h
mswsock                          loaded at 719D0000h - 71A10000h
DNSAPI                          loaded at 76EE0000h - 76F07000h
hnetcfg                          loaded at 61200000h - 61259000h
wshtcpip                        loaded at 71A10000h - 71A18000h
winrnr                          loaded at 76F70000h - 76F78000h
WLDAP32                          loaded at 76F20000h - 76F4D000h
rasadhlp                        loaded at 76F80000h - 76F86000h
ieframe                          loaded at 105D0000h - 10B9A000h
PSAPI                            loaded at 76BB0000h - 76BBB000h
iertutil                        loaded at 6E850000h - 6E895000h
urlmon                          loaded at 61410000h - 61534000h
Secur32                          loaded at 77F10000h - 77F21000h
xpsp2res                        loaded at 20000000h - 202D5000h
DBGHELP                          loaded at 59E70000h - 59F11000h

Stack dump analysis:
Address: 00CE2792h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00CF6400h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Symbol: "foobar2000_get_interface" (+00001BC0h)
Address: 00D28EA8h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00CE1EE5h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00CE160Eh, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00438A0Ah, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E2ABCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00CDE639h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00D29589h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00CDEE5Dh, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00D40018h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00D4048Fh, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00462070h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00D4048Fh, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 004C47F4h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00D11E42h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00CD2EE6h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00438A0Ah, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E2ABCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00D14598h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00D3CDD0h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00D3C8A0h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00D147D4h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00D3CEB0h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00438A0Ah, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E2ABCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E2ABCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00D2990Ah, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00CDE166h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00D29948h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00CE0F67h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00D31AF0h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 7C919AF0h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "towlower" (+00000384h)
Address: 7C800000h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Address: 6120676Eh, location: "hnetcfg", loaded at 61200000h - 61259000h
Address: 61410000h, location: "urlmon", loaded at 61410000h - 61534000h
Symbol: "Ordinal230" (+00000000h)
Address: 61411AA6h, location: "urlmon", loaded at 61410000h - 61534000h
Symbol: "Ordinal230" (+00001AA6h)
Address: 76F21341h, location: "WLDAP32", loaded at 76F20000h - 76F4D000h
Symbol: "Ordinal325" (+00001341h)
Address: 76F411B0h, location: "WLDAP32", loaded at 76F20000h - 76F4D000h
Address: 76F211CEh, location: "WLDAP32", loaded at 76F20000h - 76F4D000h
Symbol: "Ordinal325" (+000011CEh)
Address: 614A3FDFh, location: "urlmon", loaded at 61410000h - 61534000h
Address: 61411AA6h, location: "urlmon", loaded at 61410000h - 61534000h
Symbol: "Ordinal230" (+00001AA6h)
Address: 7C9011A7h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "LdrInitializeThunk" (+00000029h)
Address: 61410000h, location: "urlmon", loaded at 61410000h - 61534000h
Symbol: "Ordinal230" (+00000000h)
Address: 7C918E94h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "CsrNewThread" (+0000001Ah)
Address: 7C918F87h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "CsrNewThread" (+0000010Dh)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "strchr" (+00000117h)
Address: 7C918ED0h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "CsrNewThread" (+00000056h)
Address: 7C918E74h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlUnicodeStringToInteger" (+00000213h)
Address: 7C90E8C4h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "ZwTestAlert" (+0000000Ch)
Address: 7C918DFAh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlUnicodeStringToInteger" (+00000199h)
Address: 7E39BB74h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "MapWindowPoints" (+00000045h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "strchr" (+00000117h)
Address: 7C918E00h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlUnicodeStringToInteger" (+0000019Fh)
Address: 7C918DFAh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlUnicodeStringToInteger" (+00000199h)
Address: 7C90D625h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "ZwContinue" (+0000000Ch)
Address: 7C90EACFh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "KiUserApcDispatcher" (+0000000Fh)
Address: 7E39BB74h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "MapWindowPoints" (+00000045h)
Address: 0045D3EFh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C810659h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "CreateThread" (+00000022h)
Address: 7C810659h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "CreateThread" (+00000022h)
Address: 00D29E7Ch, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 0045D460h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7E39BB74h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "MapWindowPoints" (+00000045h)
Address: 004C42A8h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 10002D87h, location: "shared", loaded at 10000000h - 10029000h
Symbol: "uPrintCrashInfo_SetDumpPath" (+000000A7h)
Address: 004C42A8h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004A86ACh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0045D414h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004A6459h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C80B683h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "GetModuleFileNameA" (+000001B4h)
Address: 7E39BB74h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "MapWindowPoints" (+00000045h)
Address: 7C839AA8h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "ValidateLocale" (+000002B0h)
Address: 7C80B690h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "GetModuleFileNameA" (+000001C1h)
Address: 0045D3EFh, location: "foobar2000", loaded at 00400000h - 004F3000h

Version info:
foobar2000 v0.9.4.2
UNICODE

Additional info:
Quick Search Toolbar 2.8k  (foo_uie_quicksearch)
Playback Statistics 1.3.2  (foo_playcount)
ABX Comparator 1.3.1  (foo_abx)
Playlist tools 0.5.7  (foo_utils)
Feature Watcher 1.0.2  (foo_whatsnew)
ZIP/GZIP reader 1.0  (foo_unpack)
Playlist Tree Panel 3.0.BETA_2 [Mar 23 2007 - 16:44:16]  (foo_playlist_tree)
Masstagger Addons 0.3.3  (foo_masstag_addons)
Columns UI 0.1.3 beta 1v7  (foo_ui_columns)
FLAC Decoder 1.1.0  (foo_input_std)
Discogs Tagger 0.99  (foo_discogs)
Converter 1.0.1  (foo_converter)
Masstagger 1.6  (foo_masstag)
Default User Interface 0.9acc  (foo_ui_std)
Album List 3.2.0  (foo_albumlist)
RAR reader 1.1  (foo_unpack)
Run services 0.3.2  (foo_run)
cwbowron's title format hooks 1.1.0beta [Dec  1 2006 - 13:47:34]  (foo_cwb_hooks)
foo_custominfo 0.1.2  (foo_custominfo)
Console panel 0.2.1  (foo_uie_console)
foobar2000 core 0.9.4.2  (Core)
WMA Decoder 1.1  (foo_input_std)
MSN Now Playing (alt) 2.4  (foo_msnalt)
Standard Input Array 1.0  (foo_input_std)
CD Audio Decoder 2.1.1  (foo_cdda)
ReplayGain Scanner 2.0.2  (foo_rgscan)
Standard DSP array 1.0  (foo_dsp_std)
Panels UI 0.9.1 beta [Mar 27 2007 - 23:07:16]  (foo_ui_panels)
Menu Addons 0.3.9  (foo_menu_addons)


and other one (same reason)

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 00CD2AEAh
Access violation, operation: read, address: 00000030h
Call path:
threaded_process thread
This is the first crash logged by this instance.
Code bytes (00CD2AEAh):
00CD2AAAh:  34 0F 00 00 00 89 5E 30 88 5E 20 83 7E 18 10 72
00CD2ABAh:  0C 8B 4E 04 51 E8 31 F3 03 00 83 C4 04 89 5E 14
00CD2ACAh:  C7 46 18 0F 00 00 00 88 5E 04 5E 5B C3 CC CC CC
00CD2ADAh:  CC CC CC CC CC CC 53 8B 5C 24 08 55 8B 6C 24 10
00CD2AEAh:  39 6B 14 56 57 8B F1 73 05 E8 0F EC 03 00 8B 7B
00CD2AFAh:  14 8B 44 24 1C 2B FD 3B C7 73 02 8B F8 3B F3 75
00CD2B0Ah:  1F 6A FF 03 FD 57 8B CE E8 F9 03 00 00 55 6A 00
00CD2B1Ah:  8B CE E8 EF 03 00 00 5F 8B C6 5E 5D 5B C2 0C 00
Stack (06F1F840h):
06F1F820h:  0012F498 7E3A37BC 00000000 0000000C
06F1F830h:  00000000 003A3F58 00000000 0012F4C4
06F1F840h:  06F1F8A4 06F1F97C 00CE2792 0000001C
06F1F850h:  00000000 FFFFFFFF CCB9C8BD 00000000
06F1F860h:  06F1F97C 06F1F97C 06F1F87C CCB9C869
06F1F870h:  06F1F97C 0CCA5380 00CF6400 00000000
06F1F880h:  00000000 00000000 00000000 0000000F
06F1F890h:  CCB9C8BD 06F1F858 06F1F920 00D28EA8
06F1F8A0h:  FFFFFFFF 00000000 00CE1EE5 0000001C
06F1F8B0h:  06F1F97C 00000000 00000000 06F1F97C
06F1F8C0h:  06F1F8F0 00000000 06F1F8E8 00CE160E
06F1F8D0h:  06F1F8E8 0000001C 06F1F97C 00000000
06F1F8E0h:  00000068 00000000 00438A0A 004E2ABC
06F1F8F0h:  10C52860 00CDE639 0000001C CCB9C919
06F1F900h:  10C52828 0000001D 11268A8C 11268AB0
06F1F910h:  06F1FA34 00000000 00000001 00000000
06F1F920h:  06F1FA54 00D29589 00000000 00CDEE5D
06F1F930h:  06F1F97C 10C52860 00000000 CCB9C959
06F1F940h:  022F61E8 0000001D 00D40018 00D4048F
06F1F950h:  00462070 00000000 00000000 00000000
Registers:
EAX: 0000001C, EBX: 0000001C, ECX: 06F1F874, EDX: 00000001
ESI: 00000000, EDI: 00000000, EBP: 00000000, ESP: 06F1F840
Crash location: "foo_discogs", loaded at 00CD0000h - 00D4C000h

Loaded modules:
foobar2000                      loaded at 00400000h - 004F3000h
ntdll                            loaded at 7C900000h - 7C9B6000h
kernel32                        loaded at 7C800000h - 7C8FE000h
COMCTL32                        loaded at 77390000h - 77493000h
msvcrt                          loaded at 77BE0000h - 77C38000h
ADVAPI32                        loaded at 77F40000h - 77FEB000h
RPCRT4                          loaded at 77DA0000h - 77E31000h
GDI32                            loaded at 77E40000h - 77E87000h
USER32                          loaded at 7E390000h - 7E420000h
SHLWAPI                          loaded at 77E90000h - 77F06000h
SHELL32                          loaded at 7C9C0000h - 7D1E0000h
ole32                            loaded at 774A0000h - 775DD000h
shared                          loaded at 10000000h - 10029000h
comdlg32                        loaded at 76350000h - 7639A000h
IMM32                            loaded at 76330000h - 7634D000h
uxtheme                          loaded at 5B190000h - 5B1C8000h
msctfime                        loaded at 75250000h - 7527E000h
foo_abx                          loaded at 00A30000h - 00A64000h
foo_albumlist                    loaded at 00A70000h - 00AB7000h
OLEAUT32                        loaded at 770E0000h - 7716C000h
foo_cdda                        loaded at 00AD0000h - 00B06000h
foo_converter                    loaded at 00B30000h - 00B99000h
foo_custominfo                  loaded at 00BC0000h - 00C45000h
foo_cwb_hooks                    loaded at 00C70000h - 00CA5000h
foo_discogs                      loaded at 00CD0000h - 00D4C000h
gdiplus                          loaded at 4EB80000h - 4ED23000h
WS2_32                          loaded at 71A30000h - 71A47000h
WS2HELP                          loaded at 71A20000h - 71A28000h
WINMM                            loaded at 76AF0000h - 76B1E000h
foo_dsp_std                      loaded at 00DF0000h - 00E31000h
foo_input_std                    loaded at 00E60000h - 00F74000h
foo_masstag                      loaded at 00FA0000h - 00FF0000h
foo_masstag_addons              loaded at 01010000h - 0101E000h
MSVCR80                          loaded at 78130000h - 781CB000h
foo_menu_addons                  loaded at 01040000h - 01065000h
foo_msnalt                      loaded at 01080000h - 01099000h
foo_playcount                    loaded at 010C0000h - 010E8000h
foo_playlist_tree                loaded at 01110000h - 01182000h
libmzsch360_000                  loaded at 10400000h - 105D0000h
WSOCK32                          loaded at 71A50000h - 71A5A000h
libmzgc360_000                  loaded at 011B0000h - 01254000h
foo_rgscan                      loaded at 012A0000h - 012E8000h
foo_run                          loaded at 01310000h - 0133B000h
foo_uie_console                  loaded at 01360000h - 0137B000h
foo_uie_quicksearch              loaded at 013A0000h - 013E6000h
foo_ui_columns                  loaded at 01410000h - 014A7000h
foo_ui_panels                    loaded at 014D0000h - 015A3000h
foo_ui_std                      loaded at 015D0000h - 01627000h
foo_unpack                      loaded at 01650000h - 0167E000h
foo_utils                        loaded at 016A0000h - 016D9000h
foo_whatsnew                    loaded at 01700000h - 01730000h
Msimg32                          loaded at 76320000h - 76325000h
DSOUND                          loaded at 73E80000h - 73EDC000h
VERSION                          loaded at 77BD0000h - 77BD8000h
WINTRUST                        loaded at 76BF0000h - 76C1E000h
CRYPT32                          loaded at 77A40000h - 77AD5000h
MSASN1                          loaded at 77AE0000h - 77AF2000h
IMAGEHLP                        loaded at 76C50000h - 76C78000h
wdmaud                          loaded at 72C90000h - 72C99000h
msacm32                          loaded at 72C80000h - 72C88000h
MSACM32                          loaded at 77BB0000h - 77BC5000h
midimap                          loaded at 77BA0000h - 77BA7000h
KsUser                          loaded at 73E50000h - 73E54000h
appHelp                          loaded at 77B00000h - 77B22000h
CLBCATQ                          loaded at 76F90000h - 7700F000h
COMRes                          loaded at 77010000h - 770DD000h
cscui                            loaded at 779E0000h - 77A36000h
CSCDLL                          loaded at 765A0000h - 765BD000h
mswsock                          loaded at 719D0000h - 71A10000h
hnetcfg                          loaded at 61200000h - 61259000h
wshtcpip                        loaded at 71A10000h - 71A18000h
DNSAPI                          loaded at 76EE0000h - 76F07000h
winrnr                          loaded at 76F70000h - 76F78000h
WLDAP32                          loaded at 76F20000h - 76F4D000h
rasadhlp                        loaded at 76F80000h - 76F86000h
DBGHELP                          loaded at 59E70000h - 59F11000h

Stack dump analysis:
Address: 00CE2792h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00CF6400h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Symbol: "foobar2000_get_interface" (+00001BC0h)
Address: 00D28EA8h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00CE1EE5h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00CE160Eh, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00438A0Ah, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E2ABCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00CDE639h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00D29589h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00CDEE5Dh, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00D40018h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00D4048Fh, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00462070h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00D4048Fh, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 004C47F4h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00D11E42h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00CD2EE6h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00438A0Ah, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E2ABCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00D14598h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00D3CDD0h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00D3C8A0h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00D147D4h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00D3CEB0h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00438A0Ah, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E2ABCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E2ABCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00D2990Ah, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00CDE166h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00D29948h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00CE0F67h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 00D31AF0h, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 7C919AF0h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "towlower" (+00000384h)
Address: 7C919BA0h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "LdrGetProcedureAddress" (+00000018h)
Address: 7C800000h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Address: 6120676Eh, location: "hnetcfg", loaded at 61200000h - 61259000h
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 76F21382h, location: "WLDAP32", loaded at 76F20000h - 76F4D000h
Symbol: "Ordinal325" (+00001382h)
Address: 76F21341h, location: "WLDAP32", loaded at 76F20000h - 76F4D000h
Symbol: "Ordinal325" (+00001341h)
Address: 76F411B0h, location: "WLDAP32", loaded at 76F20000h - 76F4D000h
Address: 76F211CEh, location: "WLDAP32", loaded at 76F20000h - 76F4D000h
Symbol: "Ordinal325" (+000011CEh)
Address: 76F21178h, location: "WLDAP32", loaded at 76F20000h - 76F4D000h
Symbol: "Ordinal325" (+00001178h)
Address: 76F20000h, location: "WLDAP32", loaded at 76F20000h - 76F4D000h
Symbol: "Ordinal325" (+00000000h)
Address: 7C9011A7h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "LdrInitializeThunk" (+00000029h)
Address: 76F20000h, location: "WLDAP32", loaded at 76F20000h - 76F4D000h
Symbol: "Ordinal325" (+00000000h)
Address: 7C918E94h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "CsrNewThread" (+0000001Ah)
Address: 7C918F87h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "CsrNewThread" (+0000010Dh)
Address: 76F21130h, location: "WLDAP32", loaded at 76F20000h - 76F4D000h
Symbol: "Ordinal325" (+00001130h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "strchr" (+00000117h)
Address: 7C918ED0h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "CsrNewThread" (+00000056h)
Address: 7C918E74h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlUnicodeStringToInteger" (+00000213h)
Address: 7C90E8C4h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "ZwTestAlert" (+0000000Ch)
Address: 7C918DFAh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlUnicodeStringToInteger" (+00000199h)
Address: 7E39BB74h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "MapWindowPoints" (+00000045h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "strchr" (+00000117h)
Address: 7C918E00h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlUnicodeStringToInteger" (+0000019Fh)
Address: 7C918DFAh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlUnicodeStringToInteger" (+00000199h)
Address: 7C90D625h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "ZwContinue" (+0000000Ch)
Address: 7C90EACFh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "KiUserApcDispatcher" (+0000000Fh)
Address: 7E39BB74h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "MapWindowPoints" (+00000045h)
Address: 0045D3EFh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C810659h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "CreateThread" (+00000022h)
Address: 00D29E7Ch, location: "foo_discogs", loaded at 00CD0000h - 00D4C000h
Address: 0045D460h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7E39BB74h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "MapWindowPoints" (+00000045h)
Address: 004C42A8h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 10002D87h, location: "shared", loaded at 10000000h - 10029000h
Symbol: "uPrintCrashInfo_SetDumpPath" (+000000A7h)
Address: 004C42A8h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004A86ACh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0045D414h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004A6459h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C80B683h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "GetModuleFileNameA" (+000001B4h)
Address: 7E39BB74h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "MapWindowPoints" (+00000045h)
Address: 7C839AA8h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "ValidateLocale" (+000002B0h)
Address: 7C80B690h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "GetModuleFileNameA" (+000001C1h)
Address: 0045D3EFh, location: "foobar2000", loaded at 00400000h - 004F3000h

Version info:
foobar2000 v0.9.4.2
UNICODE

Additional info:
Album List 3.2.0  (foo_albumlist)
Columns UI 0.1.3 beta 1v7  (foo_ui_columns)
RAR reader 1.1  (foo_unpack)
Masstagger 1.6  (foo_masstag)
Playlist Tree Panel 3.0.BETA_2 [Mar 23 2007 - 16:44:16]  (foo_playlist_tree)
FLAC Decoder 1.1.0  (foo_input_std)
cwbowron's title format hooks 1.1.0beta [Dec  1 2006 - 13:47:34]  (foo_cwb_hooks)
Converter 1.0.1  (foo_converter)
Discogs Tagger 0.99  (foo_discogs)
MSN Now Playing (alt) 2.4  (foo_msnalt)
Standard Input Array 1.0  (foo_input_std)
Quick Search Toolbar 2.8k  (foo_uie_quicksearch)
Run services 0.3.2  (foo_run)
Panels UI 0.9.1 beta [Mar 27 2007 - 23:07:16]  (foo_ui_panels)
foo_custominfo 0.1.2  (foo_custominfo)
ABX Comparator 1.3.1  (foo_abx)
Menu Addons 0.3.9  (foo_menu_addons)
ZIP/GZIP reader 1.0  (foo_unpack)
Masstagger Addons 0.3.3  (foo_masstag_addons)
Console panel 0.2.1  (foo_uie_console)
Default User Interface 0.9acc  (foo_ui_std)
Feature Watcher 1.0.2  (foo_whatsnew)
foobar2000 core 0.9.4.2  (Core)
Standard DSP array 1.0  (foo_dsp_std)
CD Audio Decoder 2.1.1  (foo_cdda)
Playback Statistics 1.3.2  (foo_playcount)
WMA Decoder 1.1  (foo_input_std)
ReplayGain Scanner 2.0.2  (foo_rgscan)
Playlist tools 0.5.7  (foo_utils)

Title: foo_discogs
Post by: Ronny Pries on 2007-04-17 16:06:59
Wow, another update. Works flawlessly here.

The only thing i'm missing is a back button from the 'release' to 'find release' dialog.
Title: foo_discogs
Post by: Chase on 2007-04-17 21:38:52
I agree; a back button would be great.
Title: foo_discogs
Post by: leland on 2007-04-19 05:53:06
Awesome plugin, although I'm having a problem where it adds in the tracks in a seemingly random order, and there's no quick way to sort them by the existing track number or filename (as would be logical).
Title: foo_discogs
Post by: enj0y on 2007-04-20 11:35:10
Hello,

is is somehow possible to store the retrieved discogs information a a central database file or something? I would love to use the plugin and think it's a great idea, but i dont't want to mess with the id3 tags of my mp3 files.
Greetings
Title: foo_discogs
Post by: shakey_snake on 2007-04-20 13:30:55
foo_custom_info
Title: foo_discogs
Post by: arT2 on 2007-04-21 03:19:25
just stumbled over this discogs dll.. and i love it!
Title: foo_discogs
Post by: stampgevaar on 2007-04-23 19:58:58
It gives a crash on this release id 859843, and foobar says it can't write something to custom info which is weird because I don't have the tags set up to write something to custom info with your plugin. I only use it for playcount and ratings... It crashes when I want to tag with your plugin so
Title: foo_discogs
Post by: arT2 on 2007-04-25 11:43:25
hi there,
i would love to see editable fields before i let write the tags.
i've made a screenshot for better understanding

(http://img246.imageshack.us/img246/1108/foodiscogsfj6.gif)


edit: another question.. is there a way to fetch those special tags with AMIP?
Title: foo_discogs
Post by: Hivemind on 2007-04-27 21:29:03
this release seems to make it crash
http://www.discogs.com/release/743691 (http://www.discogs.com/release/743691)

great work though, fantastic plugin
Title: foo_discogs
Post by: bubbleguuum on 2007-04-28 22:17:36
Thanks for the support and interest in this plugin guys. I've been quite busy recently but here's 1.0 with a few fixes and finally the back button, which I must say is useful:

1.0
----

- add: back button on the release dialog, return to find release dialog
- fix: crash when parsing some releases such as 743691 with disc titles in the tracklisting. (thx Hivemind)
- fix: crash when parsing buggy artist pages with empty "Members:" section. Hey Bob Sinclar . (thx stampgevaar)

See first post for linky.

Also with this version I release the source code (see first page). If anyone (that knows what he's doing) want to take over further development of the plugin, drop me a message. As far as I'm concerned it does pretty much all I want it to do. Some area of development that I could see (but will not do):

- extract some role infos in tracks such as remixer, featuring etc. Not trivial and exciting to do in a reliable way by parsing html.
- extract notes in release pages
- implement dragging of track for reordering in discogs track list pretty much like in a playlist. I've been defeated by nasty win32 lists on this
- better matching of local and discogs tracks in release dialog, based on advanced string comparison algorithm. Now it use only track length when present (rarely for vinyl) which works in 99% of cases.
Title: foo_discogs
Post by: shakey_snake on 2007-04-29 04:08:02
Thanks for all your hard wook, bubbleguuuum.
You've really developed a first-rate plugin.
Title: foo_discogs
Post by: mitchmalibu on 2007-04-29 14:12:47
+1, one of the most useful plugins in a long time.
Title: foo_discogs
Post by: kcay on 2007-05-01 02:32:35
Still having crash problems with release http://www.discogs.com/release/78943 (http://www.discogs.com/release/78943)

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 03163959h
Access violation, operation: read, address: FFFFFFFFh
Call path:

This is the first crash logged by this instance.
Code bytes (03163959h):
03163919h:  56 42 24 58 3A 22 00 66 07 02 00 48 E0 80 7C B0
03163929h:  02 00 00 00 3D 22 00 A8 02 00 00 EC 38 16 03 A8
03163939h:  9A 83 7C DC 39 16 03 A8 9A 83 7C 78 E3 80 7C FF
03163949h:  FF FF FF DC E3 80 7C 00 00 15 00 38 E0 80 7C 40
03163959h:  07 02 00 00 00 00 00 00 00 00 00 F0 CA 38 00 8D
03163969h:  B9 01 00 44 3A 5C 74 6F 6F 6C 73 5C 66 6F 6F 62
03163979h:  61 72 32 30 30 30 5C 66 6F 6F 62 61 72 32 30 30
03163989h:  30 2E 65 78 65 00 7C 00 00 15 00 00 00 00 00 F6
Stack (031638D8h):
031638B8h:  0012F600 00000000 0000000F EA071CD1
031638C8h:  7E4188DA 0012F6AC 00DBAC5D FFFFFFFF
031638D8h:  00383432 03163958 00000001 03163A84
031638E8h:  03163980 00000000 003828E3 0316390C
031638F8h:  03163958 00001368 1E816620 1E847888
03163908h:  00000000 7FFD8000 7FFD8000 7FFD8000
03163918h:  244256D8 00223A58 00020766 7C80E048
03163928h:  000002B0 00223D00 000002A8 031638EC
03163938h:  7C839AA8 031639DC 7C839AA8 7C80E378
03163948h:  FFFFFFFF 7C80E3DC 00150000 7C80E038
03163958h:  00020740 00000000 00000000 0038CAF0
03163968h:  0001B98D 745C3A44 736C6F6F 6F6F665C
03163978h:  32726162 5C303030 626F6F66 30327261
03163988h:  652E3030 7C006578 00150000 00000000
03163998h:  7C801BF6 03163B34 0038CAF0 00000000
031639A8h:  02A802A6 00223A58 001A0018 7FFD8C00
031639B8h:  00000018 77DD2BE4 03163A8E 77DD16A4
031639C8h:  0000022F 03163A1C 7C919BD3 03163A8E
031639D8h:  000002A3 77DD0000 77DD2158 77DD2BE4
031639E8h:  00000000 00000001 03163A8C 00000000
Registers:
EAX: 00000001, EBX: 03163958, ECX: 0038C8FC, EDX: 03166172
ESI: 03163958, EDI: 03163958, EBP: 1E82F7E8, ESP: 031638D8
Title: foo_discogs
Post by: Ydope on 2007-05-02 22:10:46
Thank you again very much for this incredible plug-in.
Anyone up for adding roles? It's the only thing that's really missing imho.
Title: foo_discogs
Post by: arT2 on 2007-05-03 09:50:11
still works fine for me. thank you for this nice app!
Title: foo_discogs
Post by: urlwolf on 2007-05-15 10:57:23
Great plugin. Thanks!
Title: foo_discogs
Post by: stampgevaar on 2007-05-16 19:58:14
Code: [Select]
ijIllegal operation:
Code: C0000005h, flags: 00000000h, address: 00CD2AEAh
Access violation, operation: read, address: 00000030h
Call path:
threaded_process thread
This is the first crash logged by this instance.
Code bytes (00CD2AEAh):
00CD2AAAh:  34 0F 00 00 00 89 5E 30 88 5E 20 83 7E 18 10 72
00CD2ABAh:  0C 8B 4E 04 51 E8 81 F3 03 00 83 C4 04 89 5E 14
00CD2ACAh:  C7 46 18 0F 00 00 00 88 5E 04 5E 5B C3 CC CC CC
00CD2ADAh:  CC CC CC CC CC CC 53 8B 5C 24 08 55 8B 6C 24 10
00CD2AEAh:  39 6B 14 56 57 8B F1 73 05 E8 5F EC 03 00 8B 7B
00CD2AFAh:  14 8B 44 24 1C 2B FD 3B C7 73 02 8B F8 3B F3 75
00CD2B0Ah:  1F 6A FF 03 FD 57 8B CE E8 F9 03 00 00 55 6A 00
00CD2B1Ah:  8B CE E8 EF 03 00 00 5F 8B C6 5E 5D 5B C2 0C 00
Stack (07B0F840h):
07B0F820h:  0013F498 7E3A37BC 00000000 0000000C
07B0F830h:  00000000 003A5450 00000000 0013F4C4
07B0F840h:  07B0F8A4 07B0F97C 00CE27C2 0000001C
07B0F850h:  00000000 FFFFFFFF EDD7EC25 00000000
07B0F860h:  07B0F97C 07B0F97C 07B0F87C EDD7ECF1
07B0F870h:  07B0F97C 09E919F0 00CF6500 00000000
07B0F880h:  00000000 00000000 00000000 0000000F
07B0F890h:  EDD7EC25 07B0F858 07B0F920 00D28EA8
07B0F8A0h:  FFFFFFFF 00000000 00CE1F15 0000001C
07B0F8B0h:  07B0F97C 00000000 00000000 07B0F97C
07B0F8C0h:  07B0F8F0 00000000 07B0F8E8 00CE163E
07B0F8D0h:  07B0F8E8 0000001C 07B0F97C 00000000
07B0F8E0h:  00000068 00000000 00438A0A 004E2ABC
07B0F8F0h:  1176C988 00CDE669 0000001C EDD7ED81
07B0F900h:  1176C950 0000001D 11325CF4 11325D18
07B0F910h:  07B0FA34 00000000 00000001 00000000
07B0F920h:  07B0FA54 00D295B9 00000000 00CDEE8D
07B0F930h:  07B0F97C 1176C988 00000000 EDD7EDC1
07B0F940h:  01E4C600 0000001D 00D40018 00D4048F
07B0F950h:  00462070 00000000 00000000 00000000
Registers:
EAX: 0000001C, EBX: 0000001C, ECX: 07B0F874, EDX: 00000001
ESI: 00000000, EDI: 00000000, EBP: 00000000, ESP: 07B0F840
Crash location: "foo_discogs", loaded at 00CD0000h - 00D4D000h

Loaded modules:
foobar2000                      loaded at 00400000h - 004F3000h
ntdll                            loaded at 7C900000h - 7C9B6000h
kernel32                        loaded at 7C800000h - 7C8FE000h
COMCTL32                        loaded at 77390000h - 77493000h
msvcrt                          loaded at 77BE0000h - 77C38000h
ADVAPI32                        loaded at 77F40000h - 77FEB000h
RPCRT4                          loaded at 77DA0000h - 77E31000h
GDI32                            loaded at 77E40000h - 77E87000h
USER32                          loaded at 7E390000h - 7E420000h
SHLWAPI                          loaded at 77E90000h - 77F06000h
SHELL32                          loaded at 7C9C0000h - 7D1E0000h
ole32                            loaded at 774A0000h - 775DD000h
shared                          loaded at 10000000h - 10029000h
comdlg32                        loaded at 76350000h - 7639A000h
IMM32                            loaded at 76330000h - 7634D000h
uxtheme                          loaded at 5B190000h - 5B1C8000h
apphelp                          loaded at 77B00000h - 77B22000h
msctfime                        loaded at 75250000h - 7527E000h
foo_abx                          loaded at 00A30000h - 00A64000h
foo_albumlist                    loaded at 00A70000h - 00AB7000h
OLEAUT32                        loaded at 770E0000h - 7716C000h
foo_cdda                        loaded at 00AD0000h - 00B06000h
foo_converter                    loaded at 00B30000h - 00B99000h
foo_custominfo                  loaded at 00BC0000h - 00C45000h
foo_cwb_hooks                    loaded at 00C70000h - 00CA6000h
foo_discogs                      loaded at 00CD0000h - 00D4D000h
gdiplus                          loaded at 4EB80000h - 4ED23000h
WS2_32                          loaded at 71A30000h - 71A47000h
WS2HELP                          loaded at 71A20000h - 71A28000h
WINMM                            loaded at 76AF0000h - 76B1E000h
foo_dsp_std                      loaded at 00DF0000h - 00E31000h
foo_input_std                    loaded at 00E60000h - 00F74000h
foo_masstag                      loaded at 00FA0000h - 00FF0000h
foo_menu_addons                  loaded at 01010000h - 01035000h
MSVCR80                          loaded at 78130000h - 781CB000h
foo_msnalt                      loaded at 01060000h - 01079000h
foo_playcount                    loaded at 010A0000h - 010C8000h
foo_rgscan                      loaded at 010F0000h - 01138000h
foo_run                          loaded at 01160000h - 0118B000h
foo_uie_quicksearch              loaded at 011B0000h - 011F6000h
foo_ui_columns                  loaded at 01220000h - 012B7000h
foo_ui_panels                    loaded at 012E0000h - 013A7000h
foo_ui_std                      loaded at 013D0000h - 01427000h
foo_unpack                      loaded at 01450000h - 0147E000h
foo_utils                        loaded at 103E0000h - 10419000h
SciLexer                        loaded at 018E0000h - 01941000h
Msimg32                          loaded at 76320000h - 76325000h
DSOUND                          loaded at 73E80000h - 73EDC000h
VERSION                          loaded at 77BD0000h - 77BD8000h
WINTRUST                        loaded at 76BF0000h - 76C1E000h
CRYPT32                          loaded at 77A40000h - 77AD5000h
MSASN1                          loaded at 77AE0000h - 77AF2000h
IMAGEHLP                        loaded at 76C50000h - 76C78000h
wdmaud                          loaded at 72C90000h - 72C99000h
msacm32                          loaded at 72C80000h - 72C88000h
MSACM32                          loaded at 77BB0000h - 77BC5000h
midimap                          loaded at 77BA0000h - 77BA7000h
KsUser                          loaded at 73E50000h - 73E54000h
xpsp2res                        loaded at 20000000h - 202D5000h
mswsock                          loaded at 719D0000h - 71A10000h
hnetcfg                          loaded at 61200000h - 61259000h
wshtcpip                        loaded at 71A10000h - 71A18000h
DNSAPI                          loaded at 76EE0000h - 76F07000h
winrnr                          loaded at 76F70000h - 76F78000h
WLDAP32                          loaded at 76F20000h - 76F4D000h
rasadhlp                        loaded at 76F80000h - 76F86000h
DBGHELP                          loaded at 59E70000h - 59F11000h

Stack dump analysis:
Address: 00CE27C2h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CF6500h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Symbol: "foobar2000_get_interface" (+00001C70h)
Address: 00D28EA8h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CE1F15h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CE163Eh, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00438A0Ah, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E2ABCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00CDE669h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D295B9h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CDEE8Dh, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D40018h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D4048Fh, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00462070h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00D4048Fh, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 004C47F4h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004DF58Ch, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00D11E92h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CD2EE6h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00438A0Ah, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E2ABCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00D145E8h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D3CDD0h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D3C8A0h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D14824h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D3CEB0h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00438A0Ah, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E2ABCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E2ABCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00D2996Ah, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CDE196h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D299A8h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CE0F97h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D31AE8h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 7C919AF0h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "towlower" (+00000384h)
Address: 7C919BA0h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "LdrGetProcedureAddress" (+00000018h)
Address: 7C800000h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Address: 6120676Eh, location: "hnetcfg", loaded at 61200000h - 61259000h
Address: 7C910029h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlNtStatusToDosErrorNoTeb" (+000004A0h)
Address: 7C844958h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "SetUnhandledExceptionFilter" (+000001BBh)
Address: 7C910970h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlReleasePebLock" (+0000000Fh)
Address: 7C97E4C0h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Address: 7C844975h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "SetUnhandledExceptionFilter" (+000001D8h)
Address: 77BB137Eh, location: "MSACM32", loaded at 77BB0000h - 77BC5000h
Address: 77BB1328h, location: "MSACM32", loaded at 77BB0000h - 77BC5000h
Address: 77BB12DAh, location: "MSACM32", loaded at 77BB0000h - 77BC5000h
Address: 77BB0000h, location: "MSACM32", loaded at 77BB0000h - 77BC5000h
Address: 7C9011A7h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "LdrInitializeThunk" (+00000029h)
Address: 73E50000h, location: "KsUser", loaded at 73E50000h - 73E54000h
Address: 7C918E94h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "CsrNewThread" (+0000001Ah)
Address: 7C918F87h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "CsrNewThread" (+0000010Dh)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "strchr" (+00000117h)
Address: 7C918ED0h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "CsrNewThread" (+00000056h)
Address: 7C918E74h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlUnicodeStringToInteger" (+00000213h)
Address: 7C90E8C4h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "ZwTestAlert" (+0000000Ch)
Address: 7C918DFAh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlUnicodeStringToInteger" (+00000199h)
Address: 7E39BB74h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "MapWindowPoints" (+00000045h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "strchr" (+00000117h)
Address: 7C918E00h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlUnicodeStringToInteger" (+0000019Fh)
Address: 7C918DFAh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlUnicodeStringToInteger" (+00000199h)
Address: 7C90D625h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "ZwContinue" (+0000000Ch)
Address: 7C90EACFh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "KiUserApcDispatcher" (+0000000Fh)
Address: 7E39BB74h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "MapWindowPoints" (+00000045h)
Address: 0045D3EFh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C810659h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "CreateThread" (+00000022h)
Address: 00D29EDCh, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 0045D460h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7E39BB74h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "MapWindowPoints" (+00000045h)
Address: 004C42A8h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 10002D87h, location: "shared", loaded at 10000000h - 10029000h
Symbol: "uPrintCrashInfo_SetDumpPath" (+000000A7h)
Address: 004C42A8h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004A86ACh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0045D414h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004A6459h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C80B683h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "GetModuleFileNameA" (+000001B4h)
Address: 7E39BB74h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "MapWindowPoints" (+00000045h)
Address: 7C839AA8h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "ValidateLocale" (+000002B0h)
Address: 7C80B690h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "GetModuleFileNameA" (+000001C1h)
Address: 0045D3EFh, location: "foobar2000", loaded at 00400000h - 004F3000h

Version info:
foobar2000 v0.9.4.2
UNICODE

Additional info:
ZIP/GZIP reader 1.0  (foo_unpack)
cwbowron's title format hooks 1.1.1 [May  4 2007 - 12:39:47]  (foo_cwb_hooks)
Playback Statistics 1.3.2  (foo_playcount)
FLAC Decoder 1.1.0  (foo_input_std)
Standard DSP array 1.0  (foo_dsp_std)
Playlist tools 0.5.7  (foo_utils)
CD Audio Decoder 2.1.1  (foo_cdda)
foobar2000 core 0.9.4.2  (Core)
Panels UI 0.12.3 beta [May  7 2007 - 23:49:33]  (foo_ui_panels)
Columns UI 0.1.3 beta 1v7  (foo_ui_columns)
WMA Decoder 1.1  (foo_input_std)
Masstagger 1.6  (foo_masstag)
ReplayGain Scanner 2.0.2  (foo_rgscan)
Menu Addons 0.3.9  (foo_menu_addons)
Standard Input Array 1.0  (foo_input_std)
Discogs Tagger 1.0  (foo_discogs)
RAR reader 1.1  (foo_unpack)
Quick Search Toolbar 2.8k  (foo_uie_quicksearch)
MSN Now Playing (alt) 2.4  (foo_msnalt)
Album List 3.2.0  (foo_albumlist)
Run services 0.3.2  (foo_run)
Default User Interface 0.9acc  (foo_ui_std)
foo_custominfo 0.1.2  (foo_custominfo)
Converter 1.0.1  (foo_converter)
ABX Comparator 1.3.1  (foo_abx)


I got a crash when updating tags
Title: foo_discogs
Post by: bubbleguuum on 2007-05-16 20:12:04
Code: [Select]
ijIllegal operation:
Code: C0000005h, flags: 00000000h, address: 00CD2AEAh
Access violation, operation: read, address: 00000030h
Call path:
threaded_process thread
This is the first crash logged by this instance.
Code bytes (00CD2AEAh):
00CD2AAAh:  34 0F 00 00 00 89 5E 30 88 5E 20 83 7E 18 10 72
00CD2ABAh:  0C 8B 4E 04 51 E8 81 F3 03 00 83 C4 04 89 5E 14
00CD2ACAh:  C7 46 18 0F 00 00 00 88 5E 04 5E 5B C3 CC CC CC
00CD2ADAh:  CC CC CC CC CC CC 53 8B 5C 24 08 55 8B 6C 24 10
00CD2AEAh:  39 6B 14 56 57 8B F1 73 05 E8 5F EC 03 00 8B 7B
00CD2AFAh:  14 8B 44 24 1C 2B FD 3B C7 73 02 8B F8 3B F3 75
00CD2B0Ah:  1F 6A FF 03 FD 57 8B CE E8 F9 03 00 00 55 6A 00
00CD2B1Ah:  8B CE E8 EF 03 00 00 5F 8B C6 5E 5D 5B C2 0C 00
Stack (07B0F840h):
07B0F820h:  0013F498 7E3A37BC 00000000 0000000C
07B0F830h:  00000000 003A5450 00000000 0013F4C4
07B0F840h:  07B0F8A4 07B0F97C 00CE27C2 0000001C
07B0F850h:  00000000 FFFFFFFF EDD7EC25 00000000
07B0F860h:  07B0F97C 07B0F97C 07B0F87C EDD7ECF1
07B0F870h:  07B0F97C 09E919F0 00CF6500 00000000
07B0F880h:  00000000 00000000 00000000 0000000F
07B0F890h:  EDD7EC25 07B0F858 07B0F920 00D28EA8
07B0F8A0h:  FFFFFFFF 00000000 00CE1F15 0000001C
07B0F8B0h:  07B0F97C 00000000 00000000 07B0F97C
07B0F8C0h:  07B0F8F0 00000000 07B0F8E8 00CE163E
07B0F8D0h:  07B0F8E8 0000001C 07B0F97C 00000000
07B0F8E0h:  00000068 00000000 00438A0A 004E2ABC
07B0F8F0h:  1176C988 00CDE669 0000001C EDD7ED81
07B0F900h:  1176C950 0000001D 11325CF4 11325D18
07B0F910h:  07B0FA34 00000000 00000001 00000000
07B0F920h:  07B0FA54 00D295B9 00000000 00CDEE8D
07B0F930h:  07B0F97C 1176C988 00000000 EDD7EDC1
07B0F940h:  01E4C600 0000001D 00D40018 00D4048F
07B0F950h:  00462070 00000000 00000000 00000000
Registers:
EAX: 0000001C, EBX: 0000001C, ECX: 07B0F874, EDX: 00000001
ESI: 00000000, EDI: 00000000, EBP: 00000000, ESP: 07B0F840
Crash location: "foo_discogs", loaded at 00CD0000h - 00D4D000h

Loaded modules:
foobar2000                      loaded at 00400000h - 004F3000h
ntdll                            loaded at 7C900000h - 7C9B6000h
kernel32                        loaded at 7C800000h - 7C8FE000h
COMCTL32                        loaded at 77390000h - 77493000h
msvcrt                          loaded at 77BE0000h - 77C38000h
ADVAPI32                        loaded at 77F40000h - 77FEB000h
RPCRT4                          loaded at 77DA0000h - 77E31000h
GDI32                            loaded at 77E40000h - 77E87000h
USER32                          loaded at 7E390000h - 7E420000h
SHLWAPI                          loaded at 77E90000h - 77F06000h
SHELL32                          loaded at 7C9C0000h - 7D1E0000h
ole32                            loaded at 774A0000h - 775DD000h
shared                          loaded at 10000000h - 10029000h
comdlg32                        loaded at 76350000h - 7639A000h
IMM32                            loaded at 76330000h - 7634D000h
uxtheme                          loaded at 5B190000h - 5B1C8000h
apphelp                          loaded at 77B00000h - 77B22000h
msctfime                        loaded at 75250000h - 7527E000h
foo_abx                          loaded at 00A30000h - 00A64000h
foo_albumlist                    loaded at 00A70000h - 00AB7000h
OLEAUT32                        loaded at 770E0000h - 7716C000h
foo_cdda                        loaded at 00AD0000h - 00B06000h
foo_converter                    loaded at 00B30000h - 00B99000h
foo_custominfo                  loaded at 00BC0000h - 00C45000h
foo_cwb_hooks                    loaded at 00C70000h - 00CA6000h
foo_discogs                      loaded at 00CD0000h - 00D4D000h
gdiplus                          loaded at 4EB80000h - 4ED23000h
WS2_32                          loaded at 71A30000h - 71A47000h
WS2HELP                          loaded at 71A20000h - 71A28000h
WINMM                            loaded at 76AF0000h - 76B1E000h
foo_dsp_std                      loaded at 00DF0000h - 00E31000h
foo_input_std                    loaded at 00E60000h - 00F74000h
foo_masstag                      loaded at 00FA0000h - 00FF0000h
foo_menu_addons                  loaded at 01010000h - 01035000h
MSVCR80                          loaded at 78130000h - 781CB000h
foo_msnalt                      loaded at 01060000h - 01079000h
foo_playcount                    loaded at 010A0000h - 010C8000h
foo_rgscan                      loaded at 010F0000h - 01138000h
foo_run                          loaded at 01160000h - 0118B000h
foo_uie_quicksearch              loaded at 011B0000h - 011F6000h
foo_ui_columns                  loaded at 01220000h - 012B7000h
foo_ui_panels                    loaded at 012E0000h - 013A7000h
foo_ui_std                      loaded at 013D0000h - 01427000h
foo_unpack                      loaded at 01450000h - 0147E000h
foo_utils                        loaded at 103E0000h - 10419000h
SciLexer                        loaded at 018E0000h - 01941000h
Msimg32                          loaded at 76320000h - 76325000h
DSOUND                          loaded at 73E80000h - 73EDC000h
VERSION                          loaded at 77BD0000h - 77BD8000h
WINTRUST                        loaded at 76BF0000h - 76C1E000h
CRYPT32                          loaded at 77A40000h - 77AD5000h
MSASN1                          loaded at 77AE0000h - 77AF2000h
IMAGEHLP                        loaded at 76C50000h - 76C78000h
wdmaud                          loaded at 72C90000h - 72C99000h
msacm32                          loaded at 72C80000h - 72C88000h
MSACM32                          loaded at 77BB0000h - 77BC5000h
midimap                          loaded at 77BA0000h - 77BA7000h
KsUser                          loaded at 73E50000h - 73E54000h
xpsp2res                        loaded at 20000000h - 202D5000h
mswsock                          loaded at 719D0000h - 71A10000h
hnetcfg                          loaded at 61200000h - 61259000h
wshtcpip                        loaded at 71A10000h - 71A18000h
DNSAPI                          loaded at 76EE0000h - 76F07000h
winrnr                          loaded at 76F70000h - 76F78000h
WLDAP32                          loaded at 76F20000h - 76F4D000h
rasadhlp                        loaded at 76F80000h - 76F86000h
DBGHELP                          loaded at 59E70000h - 59F11000h

Stack dump analysis:
Address: 00CE27C2h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CF6500h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Symbol: "foobar2000_get_interface" (+00001C70h)
Address: 00D28EA8h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CE1F15h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CE163Eh, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00438A0Ah, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E2ABCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00CDE669h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D295B9h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CDEE8Dh, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D40018h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D4048Fh, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00462070h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00D4048Fh, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 004C47F4h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004DF58Ch, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00D11E92h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CD2EE6h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00438A0Ah, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E2ABCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00D145E8h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D3CDD0h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D3C8A0h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D14824h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D3CEB0h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00438A0Ah, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E2ABCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E2ABCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00D2996Ah, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CDE196h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D299A8h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CE0F97h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D31AE8h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 7C919AF0h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "towlower" (+00000384h)
Address: 7C919BA0h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "LdrGetProcedureAddress" (+00000018h)
Address: 7C800000h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Address: 6120676Eh, location: "hnetcfg", loaded at 61200000h - 61259000h
Address: 7C910029h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlNtStatusToDosErrorNoTeb" (+000004A0h)
Address: 7C844958h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "SetUnhandledExceptionFilter" (+000001BBh)
Address: 7C910970h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlReleasePebLock" (+0000000Fh)
Address: 7C97E4C0h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Address: 7C844975h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "SetUnhandledExceptionFilter" (+000001D8h)
Address: 77BB137Eh, location: "MSACM32", loaded at 77BB0000h - 77BC5000h
Address: 77BB1328h, location: "MSACM32", loaded at 77BB0000h - 77BC5000h
Address: 77BB12DAh, location: "MSACM32", loaded at 77BB0000h - 77BC5000h
Address: 77BB0000h, location: "MSACM32", loaded at 77BB0000h - 77BC5000h
Address: 7C9011A7h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "LdrInitializeThunk" (+00000029h)
Address: 73E50000h, location: "KsUser", loaded at 73E50000h - 73E54000h
Address: 7C918E94h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "CsrNewThread" (+0000001Ah)
Address: 7C918F87h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "CsrNewThread" (+0000010Dh)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "strchr" (+00000117h)
Address: 7C918ED0h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "CsrNewThread" (+00000056h)
Address: 7C918E74h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlUnicodeStringToInteger" (+00000213h)
Address: 7C90E8C4h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "ZwTestAlert" (+0000000Ch)
Address: 7C918DFAh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlUnicodeStringToInteger" (+00000199h)
Address: 7E39BB74h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "MapWindowPoints" (+00000045h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "strchr" (+00000117h)
Address: 7C918E00h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlUnicodeStringToInteger" (+0000019Fh)
Address: 7C918DFAh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlUnicodeStringToInteger" (+00000199h)
Address: 7C90D625h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "ZwContinue" (+0000000Ch)
Address: 7C90EACFh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "KiUserApcDispatcher" (+0000000Fh)
Address: 7E39BB74h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "MapWindowPoints" (+00000045h)
Address: 0045D3EFh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C810659h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "CreateThread" (+00000022h)
Address: 00D29EDCh, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 0045D460h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7E39BB74h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "MapWindowPoints" (+00000045h)
Address: 004C42A8h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 10002D87h, location: "shared", loaded at 10000000h - 10029000h
Symbol: "uPrintCrashInfo_SetDumpPath" (+000000A7h)
Address: 004C42A8h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004A86ACh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0045D414h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004A6459h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C80B683h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "GetModuleFileNameA" (+000001B4h)
Address: 7E39BB74h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "MapWindowPoints" (+00000045h)
Address: 7C839AA8h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "ValidateLocale" (+000002B0h)
Address: 7C80B690h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "GetModuleFileNameA" (+000001C1h)
Address: 0045D3EFh, location: "foobar2000", loaded at 00400000h - 004F3000h

Version info:
foobar2000 v0.9.4.2
UNICODE

Additional info:
ZIP/GZIP reader 1.0  (foo_unpack)
cwbowron's title format hooks 1.1.1 [May  4 2007 - 12:39:47]  (foo_cwb_hooks)
Playback Statistics 1.3.2  (foo_playcount)
FLAC Decoder 1.1.0  (foo_input_std)
Standard DSP array 1.0  (foo_dsp_std)
Playlist tools 0.5.7  (foo_utils)
CD Audio Decoder 2.1.1  (foo_cdda)
foobar2000 core 0.9.4.2  (Core)
Panels UI 0.12.3 beta [May  7 2007 - 23:49:33]  (foo_ui_panels)
Columns UI 0.1.3 beta 1v7  (foo_ui_columns)
WMA Decoder 1.1  (foo_input_std)
Masstagger 1.6  (foo_masstag)
ReplayGain Scanner 2.0.2  (foo_rgscan)
Menu Addons 0.3.9  (foo_menu_addons)
Standard Input Array 1.0  (foo_input_std)
Discogs Tagger 1.0  (foo_discogs)
RAR reader 1.1  (foo_unpack)
Quick Search Toolbar 2.8k  (foo_uie_quicksearch)
MSN Now Playing (alt) 2.4  (foo_msnalt)
Album List 3.2.0  (foo_albumlist)
Run services 0.3.2  (foo_run)
Default User Interface 0.9acc  (foo_ui_std)
foo_custominfo 0.1.2  (foo_custominfo)
Converter 1.0.1  (foo_converter)
ABX Comparator 1.3.1  (foo_abx)


I got a crash when updating tags


which release (if you have this info) and which tags were you updating?
Title: foo_discogs
Post by: stampgevaar on 2007-05-16 22:29:14
Code: [Select]
ijIllegal operation:
Code: C0000005h, flags: 00000000h, address: 00CD2AEAh
Access violation, operation: read, address: 00000030h
Call path:
threaded_process thread
This is the first crash logged by this instance.
Code bytes (00CD2AEAh):
00CD2AAAh:  34 0F 00 00 00 89 5E 30 88 5E 20 83 7E 18 10 72
00CD2ABAh:  0C 8B 4E 04 51 E8 81 F3 03 00 83 C4 04 89 5E 14
00CD2ACAh:  C7 46 18 0F 00 00 00 88 5E 04 5E 5B C3 CC CC CC
00CD2ADAh:  CC CC CC CC CC CC 53 8B 5C 24 08 55 8B 6C 24 10
00CD2AEAh:  39 6B 14 56 57 8B F1 73 05 E8 5F EC 03 00 8B 7B
00CD2AFAh:  14 8B 44 24 1C 2B FD 3B C7 73 02 8B F8 3B F3 75
00CD2B0Ah:  1F 6A FF 03 FD 57 8B CE E8 F9 03 00 00 55 6A 00
00CD2B1Ah:  8B CE E8 EF 03 00 00 5F 8B C6 5E 5D 5B C2 0C 00
Stack (07B0F840h):
07B0F820h:  0013F498 7E3A37BC 00000000 0000000C
07B0F830h:  00000000 003A5450 00000000 0013F4C4
07B0F840h:  07B0F8A4 07B0F97C 00CE27C2 0000001C
07B0F850h:  00000000 FFFFFFFF EDD7EC25 00000000
07B0F860h:  07B0F97C 07B0F97C 07B0F87C EDD7ECF1
07B0F870h:  07B0F97C 09E919F0 00CF6500 00000000
07B0F880h:  00000000 00000000 00000000 0000000F
07B0F890h:  EDD7EC25 07B0F858 07B0F920 00D28EA8
07B0F8A0h:  FFFFFFFF 00000000 00CE1F15 0000001C
07B0F8B0h:  07B0F97C 00000000 00000000 07B0F97C
07B0F8C0h:  07B0F8F0 00000000 07B0F8E8 00CE163E
07B0F8D0h:  07B0F8E8 0000001C 07B0F97C 00000000
07B0F8E0h:  00000068 00000000 00438A0A 004E2ABC
07B0F8F0h:  1176C988 00CDE669 0000001C EDD7ED81
07B0F900h:  1176C950 0000001D 11325CF4 11325D18
07B0F910h:  07B0FA34 00000000 00000001 00000000
07B0F920h:  07B0FA54 00D295B9 00000000 00CDEE8D
07B0F930h:  07B0F97C 1176C988 00000000 EDD7EDC1
07B0F940h:  01E4C600 0000001D 00D40018 00D4048F
07B0F950h:  00462070 00000000 00000000 00000000
Registers:
EAX: 0000001C, EBX: 0000001C, ECX: 07B0F874, EDX: 00000001
ESI: 00000000, EDI: 00000000, EBP: 00000000, ESP: 07B0F840
Crash location: "foo_discogs", loaded at 00CD0000h - 00D4D000h

Loaded modules:
foobar2000                      loaded at 00400000h - 004F3000h
ntdll                            loaded at 7C900000h - 7C9B6000h
kernel32                        loaded at 7C800000h - 7C8FE000h
COMCTL32                        loaded at 77390000h - 77493000h
msvcrt                          loaded at 77BE0000h - 77C38000h
ADVAPI32                        loaded at 77F40000h - 77FEB000h
RPCRT4                          loaded at 77DA0000h - 77E31000h
GDI32                            loaded at 77E40000h - 77E87000h
USER32                          loaded at 7E390000h - 7E420000h
SHLWAPI                          loaded at 77E90000h - 77F06000h
SHELL32                          loaded at 7C9C0000h - 7D1E0000h
ole32                            loaded at 774A0000h - 775DD000h
shared                          loaded at 10000000h - 10029000h
comdlg32                        loaded at 76350000h - 7639A000h
IMM32                            loaded at 76330000h - 7634D000h
uxtheme                          loaded at 5B190000h - 5B1C8000h
apphelp                          loaded at 77B00000h - 77B22000h
msctfime                        loaded at 75250000h - 7527E000h
foo_abx                          loaded at 00A30000h - 00A64000h
foo_albumlist                    loaded at 00A70000h - 00AB7000h
OLEAUT32                        loaded at 770E0000h - 7716C000h
foo_cdda                        loaded at 00AD0000h - 00B06000h
foo_converter                    loaded at 00B30000h - 00B99000h
foo_custominfo                  loaded at 00BC0000h - 00C45000h
foo_cwb_hooks                    loaded at 00C70000h - 00CA6000h
foo_discogs                      loaded at 00CD0000h - 00D4D000h
gdiplus                          loaded at 4EB80000h - 4ED23000h
WS2_32                          loaded at 71A30000h - 71A47000h
WS2HELP                          loaded at 71A20000h - 71A28000h
WINMM                            loaded at 76AF0000h - 76B1E000h
foo_dsp_std                      loaded at 00DF0000h - 00E31000h
foo_input_std                    loaded at 00E60000h - 00F74000h
foo_masstag                      loaded at 00FA0000h - 00FF0000h
foo_menu_addons                  loaded at 01010000h - 01035000h
MSVCR80                          loaded at 78130000h - 781CB000h
foo_msnalt                      loaded at 01060000h - 01079000h
foo_playcount                    loaded at 010A0000h - 010C8000h
foo_rgscan                      loaded at 010F0000h - 01138000h
foo_run                          loaded at 01160000h - 0118B000h
foo_uie_quicksearch              loaded at 011B0000h - 011F6000h
foo_ui_columns                  loaded at 01220000h - 012B7000h
foo_ui_panels                    loaded at 012E0000h - 013A7000h
foo_ui_std                      loaded at 013D0000h - 01427000h
foo_unpack                      loaded at 01450000h - 0147E000h
foo_utils                        loaded at 103E0000h - 10419000h
SciLexer                        loaded at 018E0000h - 01941000h
Msimg32                          loaded at 76320000h - 76325000h
DSOUND                          loaded at 73E80000h - 73EDC000h
VERSION                          loaded at 77BD0000h - 77BD8000h
WINTRUST                        loaded at 76BF0000h - 76C1E000h
CRYPT32                          loaded at 77A40000h - 77AD5000h
MSASN1                          loaded at 77AE0000h - 77AF2000h
IMAGEHLP                        loaded at 76C50000h - 76C78000h
wdmaud                          loaded at 72C90000h - 72C99000h
msacm32                          loaded at 72C80000h - 72C88000h
MSACM32                          loaded at 77BB0000h - 77BC5000h
midimap                          loaded at 77BA0000h - 77BA7000h
KsUser                          loaded at 73E50000h - 73E54000h
xpsp2res                        loaded at 20000000h - 202D5000h
mswsock                          loaded at 719D0000h - 71A10000h
hnetcfg                          loaded at 61200000h - 61259000h
wshtcpip                        loaded at 71A10000h - 71A18000h
DNSAPI                          loaded at 76EE0000h - 76F07000h
winrnr                          loaded at 76F70000h - 76F78000h
WLDAP32                          loaded at 76F20000h - 76F4D000h
rasadhlp                        loaded at 76F80000h - 76F86000h
DBGHELP                          loaded at 59E70000h - 59F11000h

Stack dump analysis:
Address: 00CE27C2h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CF6500h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Symbol: "foobar2000_get_interface" (+00001C70h)
Address: 00D28EA8h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CE1F15h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CE163Eh, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00438A0Ah, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E2ABCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00CDE669h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D295B9h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CDEE8Dh, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D40018h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D4048Fh, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00462070h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00D4048Fh, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 004C47F4h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004DF58Ch, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00D11E92h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CD2EE6h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00438A0Ah, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E2ABCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00D145E8h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D3CDD0h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D3C8A0h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D14824h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D3CEB0h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00438A0Ah, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E2ABCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E2ABCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00D2996Ah, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CDE196h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D299A8h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CE0F97h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D31AE8h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 7C919AF0h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "towlower" (+00000384h)
Address: 7C919BA0h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "LdrGetProcedureAddress" (+00000018h)
Address: 7C800000h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Address: 6120676Eh, location: "hnetcfg", loaded at 61200000h - 61259000h
Address: 7C910029h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlNtStatusToDosErrorNoTeb" (+000004A0h)
Address: 7C844958h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "SetUnhandledExceptionFilter" (+000001BBh)
Address: 7C910970h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlReleasePebLock" (+0000000Fh)
Address: 7C97E4C0h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Address: 7C844975h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "SetUnhandledExceptionFilter" (+000001D8h)
Address: 77BB137Eh, location: "MSACM32", loaded at 77BB0000h - 77BC5000h
Address: 77BB1328h, location: "MSACM32", loaded at 77BB0000h - 77BC5000h
Address: 77BB12DAh, location: "MSACM32", loaded at 77BB0000h - 77BC5000h
Address: 77BB0000h, location: "MSACM32", loaded at 77BB0000h - 77BC5000h
Address: 7C9011A7h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "LdrInitializeThunk" (+00000029h)
Address: 73E50000h, location: "KsUser", loaded at 73E50000h - 73E54000h
Address: 7C918E94h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "CsrNewThread" (+0000001Ah)
Address: 7C918F87h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "CsrNewThread" (+0000010Dh)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "strchr" (+00000117h)
Address: 7C918ED0h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "CsrNewThread" (+00000056h)
Address: 7C918E74h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlUnicodeStringToInteger" (+00000213h)
Address: 7C90E8C4h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "ZwTestAlert" (+0000000Ch)
Address: 7C918DFAh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlUnicodeStringToInteger" (+00000199h)
Address: 7E39BB74h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "MapWindowPoints" (+00000045h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "strchr" (+00000117h)
Address: 7C918E00h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlUnicodeStringToInteger" (+0000019Fh)
Address: 7C918DFAh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlUnicodeStringToInteger" (+00000199h)
Address: 7C90D625h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "ZwContinue" (+0000000Ch)
Address: 7C90EACFh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "KiUserApcDispatcher" (+0000000Fh)
Address: 7E39BB74h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "MapWindowPoints" (+00000045h)
Address: 0045D3EFh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C810659h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "CreateThread" (+00000022h)
Address: 00D29EDCh, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 0045D460h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7E39BB74h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "MapWindowPoints" (+00000045h)
Address: 004C42A8h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 10002D87h, location: "shared", loaded at 10000000h - 10029000h
Symbol: "uPrintCrashInfo_SetDumpPath" (+000000A7h)
Address: 004C42A8h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004A86ACh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0045D414h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004A6459h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C80B683h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "GetModuleFileNameA" (+000001B4h)
Address: 7E39BB74h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "MapWindowPoints" (+00000045h)
Address: 7C839AA8h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "ValidateLocale" (+000002B0h)
Address: 7C80B690h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "GetModuleFileNameA" (+000001C1h)
Address: 0045D3EFh, location: "foobar2000", loaded at 00400000h - 004F3000h

Version info:
foobar2000 v0.9.4.2
UNICODE

Additional info:
ZIP/GZIP reader 1.0  (foo_unpack)
cwbowron's title format hooks 1.1.1 [May  4 2007 - 12:39:47]  (foo_cwb_hooks)
Playback Statistics 1.3.2  (foo_playcount)
FLAC Decoder 1.1.0  (foo_input_std)
Standard DSP array 1.0  (foo_dsp_std)
Playlist tools 0.5.7  (foo_utils)
CD Audio Decoder 2.1.1  (foo_cdda)
foobar2000 core 0.9.4.2  (Core)
Panels UI 0.12.3 beta [May  7 2007 - 23:49:33]  (foo_ui_panels)
Columns UI 0.1.3 beta 1v7  (foo_ui_columns)
WMA Decoder 1.1  (foo_input_std)
Masstagger 1.6  (foo_masstag)
ReplayGain Scanner 2.0.2  (foo_rgscan)
Menu Addons 0.3.9  (foo_menu_addons)
Standard Input Array 1.0  (foo_input_std)
Discogs Tagger 1.0  (foo_discogs)
RAR reader 1.1  (foo_unpack)
Quick Search Toolbar 2.8k  (foo_uie_quicksearch)
MSN Now Playing (alt) 2.4  (foo_msnalt)
Album List 3.2.0  (foo_albumlist)
Run services 0.3.2  (foo_run)
Default User Interface 0.9acc  (foo_ui_std)
foo_custominfo 0.1.2  (foo_custominfo)
Converter 1.0.1  (foo_converter)
ABX Comparator 1.3.1  (foo_abx)


I got a crash when updating tags


which release (if you have this info) and which tags were you updating?

I don't know which release I just selected all of my music and did a tag update.
the tags I was updading are all the tags except title artist tracknumber discogs rating votes submitted by
members want / have vinyltrack totaltracks compilation These tracks are BTW update enabled so I only did an update. If there's something else you like to know ask me but the release I don't know.
Title: foo_discogs
Post by: urlwolf on 2007-05-17 19:49:22
I have been experiencing random crashes, but cannot be sure it's foo_discog.
Should I post my next dump here as well?
Title: foo_discogs
Post by: bubbleguuum on 2007-05-18 21:30:50
I have been experiencing random crashes, but cannot be sure it's foo_discog.
Should I post my next dump here as well?


It's foo_discogs crashing you get a crash when running some discog operation (like tagging).

If it crashes most valuable information is the most detailed description on what you were doing, the release id if tagging/updating and the settings you are using, so I can try to reproduce it. The crash dump is almost useless.
Title: foo_discogs
Post by: stampgevaar on 2007-05-19 11:04:37
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 00CD2AEAh
Access violation, operation: read, address: 00000030h
Call path:
entry=>app_mainloop
This is the first crash logged by this instance.
Code bytes (00CD2AEAh):
00CD2AAAh:  34 0F 00 00 00 89 5E 30 88 5E 20 83 7E 18 10 72
00CD2ABAh:  0C 8B 4E 04 51 E8 81 F3 03 00 83 C4 04 89 5E 14
00CD2ACAh:  C7 46 18 0F 00 00 00 88 5E 04 5E 5B C3 CC CC CC
00CD2ADAh:  CC CC CC CC CC CC 53 8B 5C 24 08 55 8B 6C 24 10
00CD2AEAh:  39 6B 14 56 57 8B F1 73 05 E8 5F EC 03 00 8B 7B
00CD2AFAh:  14 8B 44 24 1C 2B FD 3B C7 73 02 8B F8 3B F3 75
00CD2B0Ah:  1F 6A FF 03 FD 57 8B CE E8 F9 03 00 00 55 6A 00
00CD2B1Ah:  8B CE E8 EF 03 00 00 5F 8B C6 5E 5D 5B C2 0C 00
Stack (0013F510h):
0013F4F0h:  00E5EEB8 7C9C93C0 77E943DD 7C9C93C0
0013F500h:  00000004 00000000 00E5E3C4 00000000
0013F510h:  0013F574 0013F64C 00CE27C2 0000001C
0013F520h:  00000000 FFFFFFFF 2A9ED054 00000000
0013F530h:  0013F64C 0013F64C 0013F54C 2A9ED060
0013F540h:  0013F64C 071A5258 00CF6500 00000000
0013F550h:  00000000 00000000 00000000 0000000F
0013F560h:  2A9ED054 0013F528 0013F5F0 00D28EA8
0013F570h:  FFFFFFFF 00000000 00CE1F15 0000001C
0013F580h:  0013F64C 00000000 00000000 0013F64C
0013F590h:  0013F5C0 00000000 0013F5B8 00CE163E
0013F5A0h:  0013F5B8 0000001C 0013F64C 00000000
0013F5B0h:  00000068 00000000 00438A0A 004E2ABC
0013F5C0h:  06FB27C0 00CDE669 0000001C 2A9ED0F0
0013F5D0h:  06FB2788 0000001D 0713EB18 0713EB3C
0013F5E0h:  0013F704 00000000 00000001 00000000
0013F5F0h:  0013F724 00D295B9 00000000 00CDEE8D
0013F600h:  0013F64C 06FB27C0 00000000 2A9ED330
0013F610h:  037EDD08 0000001D 00D40018 00D4048F
0013F620h:  00D11B97 00000000 00000000 00000000
Registers:
EAX: 0000001C, EBX: 0000001C, ECX: 0013F544, EDX: 00000001
ESI: 00000000, EDI: 00000000, EBP: 00000000, ESP: 0013F510
Crash location: "foo_discogs", loaded at 00CD0000h - 00D4D000h

Loaded modules:
foobar2000                      loaded at 00400000h - 004F3000h
ntdll                            loaded at 7C900000h - 7C9B6000h
kernel32                        loaded at 7C800000h - 7C8FE000h
COMCTL32                        loaded at 77390000h - 77493000h
msvcrt                          loaded at 77BE0000h - 77C38000h
ADVAPI32                        loaded at 77F40000h - 77FEB000h
RPCRT4                          loaded at 77DA0000h - 77E31000h
GDI32                            loaded at 77E40000h - 77E87000h
USER32                          loaded at 7E390000h - 7E420000h
SHLWAPI                          loaded at 77E90000h - 77F06000h
SHELL32                          loaded at 7C9C0000h - 7D1E0000h
ole32                            loaded at 774A0000h - 775DD000h
shared                          loaded at 10000000h - 10029000h
comdlg32                        loaded at 76350000h - 7639A000h
IMM32                            loaded at 76330000h - 7634D000h
uxtheme                          loaded at 5B190000h - 5B1C8000h
apphelp                          loaded at 77B00000h - 77B22000h
msctfime                        loaded at 75250000h - 7527E000h
foo_abx                          loaded at 00A30000h - 00A64000h
foo_albumlist                    loaded at 00A70000h - 00AB7000h
OLEAUT32                        loaded at 770E0000h - 7716C000h
foo_cdda                        loaded at 00AD0000h - 00B06000h
foo_converter                    loaded at 00B30000h - 00B99000h
foo_custominfo                  loaded at 00BC0000h - 00C45000h
foo_cwb_hooks                    loaded at 00C70000h - 00CA6000h
foo_discogs                      loaded at 00CD0000h - 00D4D000h
gdiplus                          loaded at 4EB80000h - 4ED23000h
WS2_32                          loaded at 71A30000h - 71A47000h
WS2HELP                          loaded at 71A20000h - 71A28000h
WINMM                            loaded at 76AF0000h - 76B1E000h
foo_dsp_std                      loaded at 00DF0000h - 00E31000h
foo_input_std                    loaded at 00E60000h - 00F74000h
foo_masstag                      loaded at 00FA0000h - 00FF0000h
foo_menu_addons                  loaded at 01010000h - 01035000h
MSVCR80                          loaded at 78130000h - 781CB000h
foo_msnalt                      loaded at 01060000h - 01079000h
foo_playcount                    loaded at 010A0000h - 010C8000h
foo_rgscan                      loaded at 010F0000h - 01138000h
foo_run                          loaded at 01160000h - 0118B000h
foo_uie_quicksearch              loaded at 011B0000h - 011F6000h
foo_ui_columns                  loaded at 01220000h - 012B7000h
foo_ui_panels                    loaded at 012E0000h - 013CC000h
foo_ui_std                      loaded at 013F0000h - 01447000h
foo_unpack                      loaded at 01470000h - 0149E000h
foo_utils                        loaded at 103E0000h - 10419000h
Msimg32                          loaded at 76320000h - 76325000h
CLBCATQ                          loaded at 76F90000h - 7700F000h
COMRes                          loaded at 77010000h - 770DD000h
VERSION                          loaded at 77BD0000h - 77BD8000h
mlang                            loaded at 75D40000h - 75DD1000h
msdmo                            loaded at 73620000h - 73627000h
wmadmod                          loaded at 11820000h - 118DC000h
mfplat                          loaded at 0BEF0000h - 0BF27000h
DSOUND                          loaded at 73E80000h - 73EDC000h
WINTRUST                        loaded at 76BF0000h - 76C1E000h
CRYPT32                          loaded at 77A40000h - 77AD5000h
MSASN1                          loaded at 77AE0000h - 77AF2000h
IMAGEHLP                        loaded at 76C50000h - 76C78000h
wdmaud                          loaded at 72C90000h - 72C99000h
msacm32                          loaded at 72C80000h - 72C88000h
MSACM32                          loaded at 77BB0000h - 77BC5000h
midimap                          loaded at 77BA0000h - 77BA7000h
KsUser                          loaded at 73E50000h - 73E54000h
netapi32                        loaded at 6FF20000h - 6FF74000h
ieframe                          loaded at 448B0000h - 44E7A000h
PSAPI                            loaded at 76BB0000h - 76BBB000h
iertutil                        loaded at 44350000h - 44395000h
urlmon                          loaded at 446B0000h - 447D4000h
Secur32                          loaded at 77F10000h - 77F21000h
SETUPAPI                        loaded at 778E0000h - 779D7000h
mswsock                          loaded at 719D0000h - 71A10000h
hnetcfg                          loaded at 61200000h - 61259000h
wshtcpip                        loaded at 71A10000h - 71A18000h
DNSAPI                          loaded at 76EE0000h - 76F07000h
winrnr                          loaded at 76F70000h - 76F78000h
WLDAP32                          loaded at 76F20000h - 76F4D000h
rasadhlp                        loaded at 76F80000h - 76F86000h
DBGHELP                          loaded at 59E70000h - 59F11000h

Stack dump analysis:
Address: 00CE27C2h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CF6500h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Symbol: "foobar2000_get_interface" (+00001C70h)
Address: 00D28EA8h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CE1F15h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CE163Eh, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00438A0Ah, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E2ABCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00CDE669h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D295B9h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CDEE8Dh, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D40018h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D4048Fh, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D11B97h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D4048Fh, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 7C9106F0h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlAllocateHeap" (+0000011Ch)
Address: 004C4C98h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004C4C98h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00CF6A2Ch, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Symbol: "foobar2000_get_interface" (+0000219Ch)
Address: 004C4C98h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00CF5BF6h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Symbol: "foobar2000_get_interface" (+00001366h)
Address: 004E2ABCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004AC3D8h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0040A6BFh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00D2996Ah, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CDE196h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D299A8h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CE1313h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D31C7Ch, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D2AF62h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00CE50E0h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D33C54h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 00D2B033h, location: "foo_discogs", loaded at 00CD0000h - 00D4D000h
Address: 0045D393h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004A71EFh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0045D848h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 77E47012h, location: "GDI32", loaded at 77E40000h - 77E87000h
Symbol: "BitBlt" (+00000089h)
Address: 77E46FFAh, location: "GDI32", loaded at 77E40000h - 77E87000h
Symbol: "BitBlt" (+00000071h)
Address: 01010054h, location: "foo_menu_addons", loaded at 01010000h - 01035000h
Address: 7E3984FCh, location: "USER32", loaded at 7E390000h - 7E420000h
Address: 7E3985A4h, location: "USER32", loaded at 7E390000h - 7E420000h
Address: 004AB23Ch, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0045DEFFh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004864E2h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00486465h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00486410h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7E398734h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "GetDC" (+0000006Dh)
Address: 00486410h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00486410h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7E3A3745h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "PrivateExtractIconExW" (+000002B2h)
Address: 00486410h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7E3C0457h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 7E3A3768h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "PrivateExtractIconExW" (+000002D5h)
Address: 7E3A3591h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "PrivateExtractIconExW" (+000000FEh)
Address: 00486410h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7E3A379Ah, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "DefDlgProcW" (+00000000h)
Address: 011C0540h, location: "foo_uie_quicksearch", loaded at 011B0000h - 011F6000h
Address: 7E3984FCh, location: "USER32", loaded at 7E390000h - 7E420000h
Address: 7E3985A4h, location: "USER32", loaded at 7E390000h - 7E420000h
Address: 7E3A37BCh, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "DefDlgProcW" (+00000022h)
Address: 7E398734h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "GetDC" (+0000006Dh)
Address: 7E3A379Ah, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "DefDlgProcW" (+00000000h)
Address: 7E3A379Ah, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "DefDlgProcW" (+00000000h)
Address: 7E398816h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "GetDC" (+0000014Fh)
Address: 7E3A379Ah, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "DefDlgProcW" (+00000000h)
Address: 00493498h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7E3C0457h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 7E398830h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "GetDC" (+00000169h)
Address: 7E3989CDh, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "GetWindowLongW" (+00000127h)
Address: 7E3A379Ah, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "DefDlgProcW" (+00000000h)
Address: 004DE9C0h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004C088Ch, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7E3C0457h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 7E3989F0h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "GetWindowLongW" (+0000014Ah)
Address: 7E398A10h, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "DispatchMessageW" (+0000000Fh)
Address: 7E3AD99Dh, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "IsDialogMessageW" (+000000DBh)
Address: 00430122h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7E39DAEAh, location: "USER32", loaded at 7E390000h - 7E420000h
Symbol: "DestroyWindow" (+00000000h)
Address: 004BEBB0h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00430194h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004A65F5h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 10002DD2h, location: "shared", loaded at 10000000h - 10029000h
Symbol: "uCallStackTracker::uCallStackTracker" (+00000032h)
Address: 004C0560h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00430CF3h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004BC44Ch, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004C70FCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004C70FCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004C70E0h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "strchr" (+00000117h)
Address: 7C910738h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlAllocateHeap" (+00000164h)
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C911596h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "wcsncpy" (+00000B07h)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 004E41B0h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004B49D0h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C91056Dh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 7C917BF5h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlReAllocateHeap" (+000001F8h)
Address: 004E3E80h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "strchr" (+00000117h)
Address: 7C9106F0h, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlAllocateHeap" (+0000011Ch)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B6000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 00491D18h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E4230h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0040CA96h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004480F4h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004990ADh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00496FE0h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004C0570h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 10002D87h, location: "shared", loaded at 10000000h - 10029000h
Symbol: "uPrintCrashInfo_SetDumpPath" (+000000A7h)
Address: 004C0570h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004AF5D4h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004C0570h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00430EFAh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E0928h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0049729Ah, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004935BCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004935B6h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004B49E4h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004B34A0h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E4228h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00496FE0h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004AF9C8h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00496154h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00496FE0h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C816FD7h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "RegisterWaitForInputIdle" (+00000049h)
Address: 7C839AA8h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "ValidateLocale" (+000002B0h)
Address: 7C816FE0h, location: "kernel32", loaded at 7C800000h - 7C8FE000h
Symbol: "RegisterWaitForInputIdle" (+00000052h)
Address: 004961BDh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E0049h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004F0044h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004B0063h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00410072h, location: "foobar2000", loaded at 00400000h - 004F3000h

Version info:
foobar2000 v0.9.4.2
UNICODE

Additional info:
foo_custominfo 0.1.2  (foo_custominfo)
Converter 1.0.1  (foo_converter)
Standard DSP array 1.0  (foo_dsp_std)
Panels UI 0.13.1 beta [May 18 2007 - 04:08:37]  (foo_ui_panels)
cwbowron's title format hooks 1.1.1 [May  4 2007 - 12:39:47]  (foo_cwb_hooks)
RAR reader 1.1  (foo_unpack)
ABX Comparator 1.3.1  (foo_abx)
Menu Addons 0.3.9  (foo_menu_addons)
Playlist tools 0.5.7  (foo_utils)
foobar2000 core 0.9.4.2  (Core)
FLAC Decoder 1.1.0  (foo_input_std)
Standard Input Array 1.0  (foo_input_std)
WMA Decoder 1.1  (foo_input_std)
Discogs Tagger 1.0  (foo_discogs)
Quick Search Toolbar 2.8k  (foo_uie_quicksearch)
MSN Now Playing (alt) 2.4  (foo_msnalt)
Album List 3.2.0  (foo_albumlist)
Playback Statistics 1.3.2  (foo_playcount)
CD Audio Decoder 2.1.1  (foo_cdda)
Run services 0.3.2  (foo_run)
Masstagger 1.6  (foo_masstag)
ZIP/GZIP reader 1.0  (foo_unpack)
Columns UI 0.1.3 beta 1v7  (foo_ui_columns)
ReplayGain Scanner 2.0.2  (foo_rgscan)
Default User Interface 0.9acc  (foo_ui_std)


I get a crash when updating http://www.discogs.com/release/973403 (http://www.discogs.com/release/973403) don't know why but I'm trying it again right now.

edit: still crashing with this release, you should check this one bubblegum.
Title: foo_discogs
Post by: bubbleguuum on 2007-05-19 11:49:31
I get a crash when updating http://www.discogs.com/release/973403 (http://www.discogs.com/release/973403) don't know why but I'm trying it again right now.

edit: still crashing with this release, you should check this one bubblegum.


Found it an corrected it. Missing artists in track listing (which is unusual for a VA) was trigerring a bug. In the meantime you can disable tags "Artist aliases", "Artist members", "Artist name variations" ,"Artist id" and it should work on this release. Beware that pending releases if they have errors could potentially make the plugin barf.
Title: foo_discogs
Post by: Chris Norman on 2007-05-22 14:36:42
Foobar crashes when I use the "Back Button" and it does so every time.

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 01376727h
Access violation, operation: read, address: 00000008h
Call path:
entry=>app_mainloop
This is the first crash logged by this instance.
Code bytes (01376727h):
013766E7h:  15 00 00 8D 44 24 20 C7 84 24 D8 00 00 00 FF FF
013766F7h:  FF FF E8 32 F8 FF FF B8 01 00 00 00 EB 5C 8B 0D
01376707h:  84 00 3D 01 85 C9 74 08 8B 11 8B 02 6A 01 FF D0
01376717h:  8B 4B 08 51 FF 15 D4 C1 3B 01 8B 15 7C 00 3D 01
01376727h:  8B 42 08 6A 01 50 FF 15 E0 C1 3B 01 B8 01 00 00
01376737h:  00 EB 27 66 83 7D 0C 2E 75 1D 8B 45 10 3B 43 10
01376747h:  75 09 8B FB E8 20 0B 00 00 EB 0C 3B 43 14 75 07
01376757h:  8B FB E8 E2 0B 00 00 83 C8 FF 8B 8C 24 D0 00 00
Stack (0012F5FCh):
0012F5DCh:  4456446E 4954417C 7C434D4D 6C616572
0012F5ECh:  79616C70 6476447C 79616C50 4E7C7265
0012F5FCh:  A55FAD5C 000703CA 00000447 0005034E
0012F60Ch:  10246008 3F800000 00A0E782 0012F668
0012F61Ch:  5B0F278C 00A0FA2E 00347188 9E012113
0012F62Ch:  00000001 3F800000 00000000 0012F658
0012F63Ch:  0012F6A8 00000000 00000000 7C809E60
0012F64Ch:  7C809E01 5B0F2C28 00000000 5B0F153D
0012F65Ch:  003426E4 003426D0 003B0000 00000201
0012F66Ch:  05625FA0 04CF0178 0000120C 0012F8A8
0012F67Ch:  7C921538 0012F6B4 04CF0000 7C920732
0012F68Ch:  00000006 04CF07A8 04CF0000 0557F720
0012F69Ch:  0012F68C 00000000 77D184FC 77D185A4
0012F6ACh:  0005034E 000703CA 013859F0 0012F6F0
0012F6BCh:  77D188D1 0076A1B8 A55FAD50 77D188DA
0012F6CCh:  0012F798 013BA44B FFFFFFFF 0012F6CC
0012F6DCh:  0012F710 01385AC2 00000111 00000447
0012F6ECh:  000703CA 10246008 01385A49 00000447
0012F6FCh:  000703CA 0012F778 013859F0 00000000
0012F70Ch:  00000000 0012F73C 77D18734 0005034E
Registers:
EAX: 00000001, EBX: 10246008, ECX: 0012F5F0, EDX: 00000000
ESI: 00000447, EDI: 000703CA, EBP: 0012F6DC, ESP: 0012F5FC
Crash location: "foo_discogs", loaded at 01360000h - 013DD000h

Loaded modules:
foobar2000   loaded at 00400000h - 004F3000h
ntdll loaded at 7C910000h - 7C9C7000h
kernel32 loaded at 7C800000h - 7C906000h
COMCTL32 loaded at 773A0000h - 774A3000h
msvcrt   loaded at 77BE0000h - 77C38000h
ADVAPI32 loaded at 77DA0000h - 77E4A000h
RPCRT4   loaded at 77E50000h - 77EE1000h
GDI32 loaded at 77EF0000h - 77F37000h
USER32   loaded at 77D10000h - 77DA0000h
SHLWAPI   loaded at 77F40000h - 77FB6000h
SHELL32   loaded at 7C9D0000h - 7D1EF000h
ole32 loaded at 774B0000h - 775ED000h
shared   loaded at 10000000h - 10029000h
comdlg32 loaded at 76350000h - 7639A000h
uxtheme   loaded at 5B0F0000h - 5B128000h
fgmgr loaded at 003C0000h - 003C8000h
SynTPFcs loaded at 63000000h - 63014000h
VERSION   loaded at 77BD0000h - 77BD8000h
foo_abx   loaded at 00E30000h - 00E63000h
foo_ac3   loaded at 00E80000h - 00EAC000h
foo_AdvancedControls loaded at 00ED0000h - 00F00000h
foo_albumlist loaded at 00F10000h - 00F57000h
OLEAUT32 loaded at 770F0000h - 7717C000h
foo_audioscrobbler   loaded at 00F80000h - 00FB7000h
WS2_32   loaded at 71A10000h - 71A27000h
WS2HELP   loaded at 71A00000h - 71A08000h
foo_autoplaylist loaded at 00FE0000h - 01010000h
foo_cdda loaded at 01030000h - 01065000h
foo_channel_mixer loaded at 01090000h - 010CB000h
foo_common   loaded at 010E0000h - 0111A000h
foo_converter loaded at 01140000h - 011A9000h
foo_cuesheet_creator loaded at 011D0000h - 011FD000h
foo_cwb_hooks loaded at 01220000h - 01255000h
foo_dbsearch loaded at 01280000h - 012F0000h
foo_dbsearch_api_demo loaded at 01310000h - 01331000h
foo_discogs   loaded at 01360000h - 013DD000h
gdiplus   loaded at 4EBA0000h - 4ED43000h
WINMM loaded at 76AF0000h - 76B1E000h
foo_dop   loaded at 01480000h - 014E6000h
SETUPAPI loaded at 778F0000h - 779E4000h
foo_dsp_crossfader   loaded at 01510000h - 0152D000h
libmmd   loaded at 01540000h - 017F1000h
MSVCR80   loaded at 78130000h - 781CB000h
foo_dsp_std   loaded at 01820000h - 01861000h
foo_dsp_vlevel   loaded at 01890000h - 018B4000h
foo_freedb2   loaded at 018E0000h - 01920000h
foo_history   loaded at 01940000h - 0195C000h
foo_infobox   loaded at 01980000h - 019C0000h
foo_input_awma   loaded at 019E0000h - 01A1D000h
WMVCore   loaded at 086D0000h - 08917000h
WMASF loaded at 070D0000h - 0710A000h
foo_input_dts loaded at 01A30000h - 01A95000h
foo_input_monkey loaded at 01AC0000h - 01B0A000h
foo_input_mslive loaded at 01B30000h - 01BA6000h
foo_input_shorten loaded at 01BC0000h - 01BEE000h
foo_input_std loaded at 01C10000h - 01D23000h
foo_lnk   loaded at 01D50000h - 01D69000h
foo_lyricsdb loaded at 01D90000h - 01DAE000h
MSVCP80   loaded at 7C420000h - 7C4A7000h
WININET   loaded at 77180000h - 77227000h
CRYPT32   loaded at 77A50000h - 77AE5000h
MSASN1   loaded at 77AF0000h - 77B02000h
foo_masstag   loaded at 01DC0000h - 01E0F000h
foo_menu_addons   loaded at 01E80000h - 01ECD000h
foo_metadbstats   loaded at 01E40000h - 01E6E000h
foo_navigator loaded at 01EF0000h - 01F11000h
foo_out_nonstop   loaded at 01F40000h - 01F5B000h
foo_playcount loaded at 01F70000h - 01F98000h
foo_playlist_manager loaded at 01FC0000h - 02007000h
foo_plbench   loaded at 02030000h - 02061000h
foo_pqview   loaded at 02090000h - 020AC000h
foo_prettypop loaded at 020D0000h - 0211D000h
mscoree   loaded at 79000000h - 79045000h
msvcm80   loaded at 7C4C0000h - 7C53D000h
mscorwks loaded at 79E70000h - 7A3D1000h
mscorlib.ni   loaded at 790C0000h - 79BA8000h
mscorjit loaded at 79060000h - 790B3000h
rsaenh   loaded at 0FFD0000h - 0FFF8000h
foo_random   loaded at 045C0000h - 045FF000h
foo_rgscan   loaded at 046A0000h - 046E8000h
foo_run   loaded at 04710000h - 0473C000h
foo_runcmd   loaded at 04760000h - 0478F000h
foo_scheduler loaded at 047B0000h - 0481F000h
POWRPROF loaded at 74A50000h - 74A58000h
foo_scrobblecharts   loaded at 04840000h - 04873000h
foo_sid   loaded at 048A0000h - 04920000h
foo_trackpos loaded at 04940000h - 0495F000h
foo_uie_albumart loaded at 04980000h - 049B7000h
foo_uie_albumlist loaded at 049E0000h - 04A1D000h
foo_uie_console   loaded at 04A40000h - 04A5B000h
foo_uie_lyrics   loaded at 04A80000h - 04ADF000h
foo_uie_quicksearch   loaded at 04B00000h - 04B46000h
foo_uie_tabs loaded at 04B70000h - 04B9A000h
foo_uie_vis_egoh loaded at 04BC0000h - 04BDD000h
foo_uie_wmpvis   loaded at 04BF0000h - 04C2B000h
foo_ui_columns   loaded at 04C40000h - 04CD7000h
foo_ui_panels loaded at 04D00000h - 04DC7000h
foo_ui_std   loaded at 04DF0000h - 04E47000h
foo_utils loaded at 04E70000h - 04EA8000h
foo_verifier loaded at 04ED0000h - 04F00000h
foo_version   loaded at 04F20000h - 04F46000h
dbghelp   loaded at 59DD0000h - 59E71000h
foo_vis_channelusage loaded at 05070000h - 05093000h
foo_whatsnew loaded at 050C0000h - 050F0000h
foo_xm   loaded at 05110000h - 05139000h
perl58   loaded at 28000000h - 280C9000h
mswsock   loaded at 719B0000h - 719F0000h
DNSAPI   loaded at 76EE0000h - 76F07000h
rasadhlp loaded at 76F80000h - 76F86000h
hnetcfg   loaded at 66710000h - 66769000h
wshtcpip loaded at 719F0000h - 719F8000h
System.ni loaded at 7A440000h - 7ABFE000h
System.Drawing.ni loaded at 7ADE0000h - 7AF74000h
System.Windows.Forms.ni   loaded at 7AFD0000h - 7BC56000h
dciman32 loaded at 73B30000h - 73B36000h
SciLexer loaded at 08610000h - 08671000h
IMM32 loaded at 76330000h - 7634D000h
Msimg32   loaded at 76320000h - 76325000h
WINTRUST loaded at 76BF0000h - 76C1E000h
IMAGEHLP loaded at 76C50000h - 76C78000h
dopushlp loaded at 08680000h - 086C6000h
MPR   loaded at 71A80000h - 71A92000h
DSOUND   loaded at 73E70000h - 73ECC000h
wdmaud   loaded at 72C90000h - 72C99000h
msacm32   loaded at 72C80000h - 72C88000h
MSACM32   loaded at 77BB0000h - 77BC5000h
midimap   loaded at 77BA0000h - 77BA7000h
KsUser   loaded at 73E40000h - 73E44000h
xpsp2res loaded at 20000000h - 202D9000h
winrnr   loaded at 76F70000h - 76F78000h
WLDAP32   loaded at 76F20000h - 76F4D000h
netapi32 loaded at 597D0000h - 59824000h
appHelp   loaded at 77B10000h - 77B32000h
CLBCATQ   loaded at 76F90000h - 7700F000h
COMRes   loaded at 77010000h - 770E3000h
GRA8E1~1 loaded at 661C0000h - 663DD000h
GrooveUtil   loaded at 68EF0000h - 68FE1000h
GrooveNew loaded at 68FF0000h - 68FF7000h
ATL80 loaded at 7C630000h - 7C64B000h
shdocvw   loaded at 7E1E0000h - 7E34F000h
CRYPTUI   loaded at 76880000h - 76905000h
DVDShell loaded at 51980000h - 5198D000h
dopuslib loaded at 0FF20000h - 0FFCB000h
SHFOLDER loaded at 76730000h - 76739000h
urlmon   loaded at 7DF20000h - 7DFC0000h
Secur32   loaded at 77FC0000h - 77FD1000h
cscui loaded at 779F0000h - 77A46000h
CSCDLL   loaded at 765A0000h - 765BD000h
browseui loaded at 75F20000h - 7601D000h
USERENV   loaded at 76620000h - 766D5000h
drprov   loaded at 75F00000h - 75F07000h
ntlanman loaded at 71B90000h - 71B9E000h
NETUI0   loaded at 71C50000h - 71C67000h
NETUI1   loaded at 71C10000h - 71C50000h
NETRAP   loaded at 71C00000h - 71C07000h
SAMLIB   loaded at 71B70000h - 71B83000h
davclnt   loaded at 75F10000h - 75F19000h
MSGINA   loaded at 75910000h - 75A09000h
WINSTA   loaded at 76300000h - 76310000h
ODBC32   loaded at 745D0000h - 7460D000h
odbcint   loaded at 0FF00000h - 0FF19000h
sti   loaded at 73B10000h - 73B24000h
CFGMGR32 loaded at 74A60000h - 74A67000h
LINKINFO loaded at 76930000h - 76938000h
ntshrui   loaded at 76940000h - 76966000h
ATL   loaded at 76AD0000h - 76AE1000h
GR99D3~1 loaded at 65E30000h - 65E67000h
msxml3   loaded at 74900000h - 74A0E000h
mlang loaded at 75DC0000h - 75E51000h
idle loaded at 60300000h - 60307000h
MSVCR71   loaded at 7C340000h - 7C396000h

Stack dump analysis:
Address: 5B0F278Ch, location: "uxtheme", loaded at 5B0F0000h - 5B128000h
Symbol: "GetThemeAppProperties" (+00000571h)
Address: 7C809E60h, location: "kernel32", loaded at 7C800000h - 7C906000h
Symbol: "IsBadReadPtr" (+0000005Fh)
Address: 7C809E01h, location: "kernel32", loaded at 7C800000h - 7C906000h
Symbol: "IsBadReadPtr" (+00000000h)
Address: 5B0F2C28h, location: "uxtheme", loaded at 5B0F0000h - 5B128000h
Symbol: "DrawThemeBackground" (+00000000h)
Address: 5B0F153Dh, location: "uxtheme", loaded at 5B0F0000h - 5B128000h
Address: 7C921538h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "wcsncpy" (+00000AA9h)
Address: 7C920732h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 77D184FCh, location: "USER32", loaded at 77D10000h - 77DA0000h
Address: 77D185A4h, location: "USER32", loaded at 77D10000h - 77DA0000h
Address: 013859F0h, location: "foo_discogs", loaded at 01360000h - 013DD000h
Symbol: "foobar2000_get_interface" (+00001160h)
Address: 77D188D1h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetWindowLongW" (+0000002Bh)
Address: 77D188DAh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetWindowLongW" (+00000034h)
Address: 013BA44Bh, location: "foo_discogs", loaded at 01360000h - 013DD000h
Address: 01385AC2h, location: "foo_discogs", loaded at 01360000h - 013DD000h
Symbol: "foobar2000_get_interface" (+00001232h)
Address: 01385A49h, location: "foo_discogs", loaded at 01360000h - 013DD000h
Symbol: "foobar2000_get_interface" (+000011B9h)
Address: 013859F0h, location: "foo_discogs", loaded at 01360000h - 013DD000h
Symbol: "foobar2000_get_interface" (+00001160h)
Address: 77D18734h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+0000006Dh)
Address: 013859F0h, location: "foo_discogs", loaded at 01360000h - 013DD000h
Symbol: "foobar2000_get_interface" (+00001160h)
Address: 013859F0h, location: "foo_discogs", loaded at 01360000h - 013DD000h
Symbol: "foobar2000_get_interface" (+00001160h)
Address: 77D2418Dh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "PrivateExtractIconExW" (+000002B2h)
Address: 013859F0h, location: "foo_discogs", loaded at 01360000h - 013DD000h
Symbol: "foobar2000_get_interface" (+00001160h)
Address: 77D40467h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D241B0h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "PrivateExtractIconExW" (+000002D5h)
Address: 77D23FD9h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "PrivateExtractIconExW" (+000000FEh)
Address: 013859F0h, location: "foo_discogs", loaded at 01360000h - 013DD000h
Symbol: "foobar2000_get_interface" (+00001160h)
Address: 77D241E2h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefDlgProcW" (+00000000h)
Address: 77D184FCh, location: "USER32", loaded at 77D10000h - 77DA0000h
Address: 77D185A4h, location: "USER32", loaded at 77D10000h - 77DA0000h
Address: 77D24204h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefDlgProcW" (+00000022h)
Address: 77D18734h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+0000006Dh)
Address: 77D241E2h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefDlgProcW" (+00000000h)
Address: 77D241E2h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefDlgProcW" (+00000000h)
Address: 77D18816h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+0000014Fh)
Address: 77D241E2h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefDlgProcW" (+00000000h)
Address: 77D1882Ah, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+00000163h)
Address: 77D40467h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D18830h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+00000169h)
Address: 77D1B89Bh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetParent" (+0000016Ch)
Address: 77D241E2h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefDlgProcW" (+00000000h)
Address: 77D1B903h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "SendMessageW" (+00000049h)
Address: 773C7344h, location: "COMCTL32", loaded at 773A0000h - 774A3000h
Symbol: "Ordinal384" (+0000B4A4h)
Address: 773C7426h, location: "COMCTL32", loaded at 773A0000h - 774A3000h
Symbol: "Ordinal384" (+0000B586h)
Address: 773C972Bh, location: "COMCTL32", loaded at 773A0000h - 774A3000h
Symbol: "Ordinal384" (+0000D88Bh)
Address: 773C8EA4h, location: "COMCTL32", loaded at 773A0000h - 774A3000h
Symbol: "Ordinal384" (+0000D004h)
Address: 77D40467h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D1EAB0h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "EnableMenuItem" (+00000081h)
Address: 77D1EAADh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "EnableMenuItem" (+0000007Eh)
Address: 7C91EAE3h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "KiUserCallbackDispatcher" (+00000013h)
Address: 63001550h, location: "SynTPFcs", loaded at 63000000h - 63014000h
Address: 77D318A2h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "UnhookWinEvent" (+00000025h)
Address: 77D18734h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+0000006Dh)
Address: 773C8EA4h, location: "COMCTL32", loaded at 773A0000h - 774A3000h
Symbol: "Ordinal384" (+0000D004h)
Address: 773C8EA4h, location: "COMCTL32", loaded at 773A0000h - 774A3000h
Symbol: "Ordinal384" (+0000D004h)
Address: 77D18816h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+0000014Fh)
Address: 773C8EA4h, location: "COMCTL32", loaded at 773A0000h - 774A3000h
Symbol: "Ordinal384" (+0000D004h)
Address: 77D40467h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D18830h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+00000169h)
Address: 77D189CDh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetWindowLongW" (+00000127h)
Address: 773C8EA4h, location: "COMCTL32", loaded at 773A0000h - 774A3000h
Symbol: "Ordinal384" (+0000D004h)
Address: 77D1EC03h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "CallNextHookEx" (+00000100h)
Address: 77D31B4Dh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "AppendMenuA" (+0000006Eh)
Address: 77D40467h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D189F0h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetWindowLongW" (+0000014Ah)
Address: 77D18A10h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DispatchMessageW" (+0000000Fh)
Address: 77D2E097h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "IsDialogMessageW" (+000000DBh)
Address: 0042FD96h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 77D1DAEAh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DestroyWindow" (+00000000h)
Address: 004BEB98h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0042FE08h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 015ECD12h, location: "libmmd", loaded at 01540000h - 017F1000h
Symbol: "_csqrtq_f90" (+000AA3D6h)
Address: 10002DD2h, location: "shared", loaded at 10000000h - 10029000h
Symbol: "uCallStackTracker::uCallStackTracker" (+00000032h)
Address: 004C0530h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00430967h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004C07D0h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004BC438h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004BC438h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C920732h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004C70E0h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C921538h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "wcsncpy" (+00000AA9h)
Address: 7C920732h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C91EE18h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "strchr" (+00000117h)
Address: 7C920738h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+00000164h)
Address: 7C920732h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C921596h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "wcsncpy" (+00000B07h)
Address: 7C9206EBh, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 004E4198h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004B49CCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C92056Dh, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 7C927BF5h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlReAllocateHeap" (+000001F8h)
Address: 004E3E68h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C91EE18h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "strchr" (+00000117h)
Address: 7C9206F0h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+0000011Ch)
Address: 7C9206EBh, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 00491E58h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E4218h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00447AE7h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0043D4DDh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004991DDh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 01000000h, location: "foo_autoplaylist", loaded at 00FE0000h - 01010000h
Address: 00497110h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004C0540h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 10002D87h, location: "shared", loaded at 10000000h - 10029000h
Symbol: "uPrintCrashInfo_SetDumpPath" (+000000A7h)
Address: 004C0540h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004AF4F4h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004C0540h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00430B6Eh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E0928h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004973CAh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004936FCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004936F6h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004B49E0h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004B33D0h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E4210h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00497110h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004AF8E8h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00496284h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00497110h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C816FD7h, location: "kernel32", loaded at 7C800000h - 7C906000h
Symbol: "RegisterWaitForInputIdle" (+00000049h)
Address: 7C839AA8h, location: "kernel32", loaded at 7C800000h - 7C906000h
Symbol: "ValidateLocale" (+000002B0h)
Address: 7C816FE0h, location: "kernel32", loaded at 7C800000h - 7C906000h
Symbol: "RegisterWaitForInputIdle" (+00000052h)
Address: 004962EDh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E0049h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004F0044h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 01C73AE3h, location: "foo_input_std", loaded at 01C10000h - 01D23000h
Address: 004B0063h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 01C73AE3h, location: "foo_input_std", loaded at 01C10000h - 01D23000h
Address: 00410072h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E0049h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004F0044h, location: "foobar2000", loaded at 00400000h - 004F3000h

Version info:
foobar2000 v0.9.4.3
UNICODE

Additional info:
Standard DSP array 1.0  (foo_dsp_std)
VLevel 20060324.0  (foo_dsp_vlevel)
Masstagger 1.6  (foo_masstag)
Converter 1.0.1  (foo_converter)
Columns UI 0.1.3 beta 1v7  (foo_ui_columns)
Default User Interface 0.9acc  (foo_ui_std)
Channel Usage Visualisation 1.0  (foo_vis_channelusage)
Pretty Popup 1.2.3  (foo_prettypop)
ReplayGain Scanner 2.0.2  (foo_rgscan)
Scheduler 3.52  (foo_scheduler)
Navigator 0.2  (foo_navigator)
mslive 0.3.7 (Intel SSE)  (foo_input_mslive)
Metadata Cache Statistics 1.2  (foo_metadbstats)
Quick Search Toolbar 2.8k  (foo_uie_quicksearch)
Run services 0.3.0  (foo_run)
Channel Mixer 0.9.6.2  (foo_channel_mixer)
Album list panel 0.2.1  (foo_uie_albumlist)
FooBar2000 Advanced Controls 0.5.9.0  (foo_AdvancedControls)
Randomized playlist entry 1.2.3  (foo_random)
Lyric Show Panels 0.3.1.1  (foo_uie_lyrics)
Autoplaylist Manager 1.0  (foo_autoplaylist)
File Integrity Verifier 1.0.1  (foo_verifier)
Audioscrobbler 1.3.6  (foo_audioscrobbler)
Database Search Toolbar Demo 1.0  (foo_dbsearch_api_demo)
Monkey's Audio decoder 2.1  (foo_input_monkey)
FLAC Decoder 1.1.0  (foo_input_std)
Panels UI 0.12.3 beta [May  7 2007 - 23:49:33]  (foo_ui_panels)
Components versions viewer 0.3  (foo_version)
cwbowron's title format hooks 1.1.0beta [Dec  1 2006 - 13:47:34]  (foo_cwb_hooks)
Database Search 1.4  (foo_dbsearch)
ABX Comparator 1.3.1  (foo_abx)
Cuesheet Creator 0.4.5  (foo_cuesheet_creator)
XM Radio Online Player 1.0.4  (foo_xm)
Playlist Loader Benchmark 0.3  (foo_plbench)
Album List 3.2.0  (foo_albumlist)
Shorten decoder 0.4.2a  (foo_input_shorten)
Feature Watcher 1.0.2  (foo_whatsnew)
WMP Visualizations 0.1.2 (Intel SSE)  (foo_uie_wmpvis)
foobar2000 core 0.9.4.3  (Core)
Discogs Tagger 1.0  (foo_discogs)
Gapless Crossfader 0.2.6.4 (Intel SSE)  (foo_dsp_crossfader)
Standard Input Array 1.0  (foo_input_std)
Last.fm Chart Player 0.2.3  (foo_scrobblecharts)
Track Positioner 1.0  (foo_trackpos)
CD Audio Decoder 2.1.1  (foo_cdda)
Playback Statistics 1.3.2  (foo_playcount)
Tabbed panel modified 0.2.5  (foo_uie_tabs)
Menu Addons 0.3.9.4 (Intel SSE)  (foo_menu_addons)
Acro WMA decoder 0.1.6.5 (Intel SSE)  (foo_input_awma)
Shell Link Resolver 1.2  (foo_lnk)
WMA Decoder 1.1  (foo_input_std)
Common services 0.1  (foo_common)
Run Command 1.0 beta 2  (foo_runcmd)
Special file info box 2.0.4  (foo_infobox)
iPod manager 0.4.1 TEST  (foo_dop)
sidplay2 1.13  (foo_sid)
Console panel 0.2.1  (foo_uie_console)
AC3 decoder 0.8  (foo_ac3)
foo_lyricsdb 0.0.7 beta 4  (foo_lyricsdb)
Non-Stop Output 0.1.1 (Intel SSE)  (foo_out_nonstop)
Playlist Tools 0.5.9  (foo_utils)
Playlist Manager 1.0.2  (foo_playlist_manager)
Album Art Panel 0.2.5.1  (foo_uie_albumart)
Egoh Spectrum analyser (uie) 1.1.2  (foo_uie_vis_egoh)
freedb Tagger 0.5.2a  (foo_freedb2)
History 0.2  (foo_history)
DTS decoder 0.1.7  (foo_input_dts)
[!--sizeo:1--][span style=\"font-size:8pt;line-height:100%\"][!--/sizeo--]Moderation: Added codebox.[/size]
Title: foo_discogs
Post by: bubbleguuum on 2007-05-22 23:22:32
Foobar crashes when I use the "Back Button" and it does so every time.


Very strange! If you launch foobar display the release dialog and hit "back" it always crashes ?
Title: foo_discogs
Post by: Chris Norman on 2007-05-26 17:38:22
Very strange! If you launch foobar display the release dialog and hit "back" it always crashes ?


Yes, unfortunately it does. And it crashes in a manner where I can still hear music playing in a short loop but fb does not respond to any input anymore.
Title: foo_discogs
Post by: arT2 on 2007-05-27 09:13:45

Very strange! If you launch foobar display the release dialog and hit "back" it always crashes ?


Yes, unfortunately it does. And it crashes in a manner where I can still hear music playing in a short loop but fb does not respond to any input anymore.


hmmm the back button works just good for me. no crash.

(winxp with latest updates, latest foobar)
Title: foo_discogs
Post by: kcay on 2007-05-27 20:41:17
http://www.discogs.com/release/95720 (http://www.discogs.com/release/95720) this causes a crash:

Code: [Select]
 Illegal operation:
Code: C0000005h, flags: 00000000h, address: 02663959h
Access violation, operation: read, address: FFFFFFFFh
Call path:

This is the first crash logged by this instance.
Code bytes (02663959h):
02663919h:  B6 1C 00 40 F1 AD 02 66 07 02 00 48 E0 80 7C B0
02663929h:  02 00 00 E8 F3 AD 02 A8 02 00 00 EC 38 66 02 A8
02663939h:  9A 83 7C DC 39 66 02 A8 9A 83 7C 78 E3 80 7C FF
02663949h:  FF FF FF DC E3 80 7C 00 00 15 00 38 E0 80 7C 40
02663959h:  07 02 00 00 00 00 00 00 00 00 00 F0 CA 38 00 17
02663969h:  AF 01 00 44 3A 5C 74 6F 6F 6C 73 5C 66 6F 6F 62
02663979h:  61 72 32 30 30 30 5C 66 6F 6F 62 61 72 32 30 30
02663989h:  30 2E 65 78 65 00 7C 00 00 15 00 00 00 00 00 F6
Stack (026638D8h):
026638B8h:  7E41E6C4 E70112CE 00000005 001CDFF0
026638C8h:  00000006 00100025 0012F570 FFFFFFFF
026638D8h:  00383432 02663958 00000001 02663A84
026638E8h:  02663980 00000000 003828E3 0266390C
026638F8h:  02663958 00001358 235216E0 00E369F8
02663908h:  00000000 7FFDC000 7FFDC000 7FFDC000
02663918h:  001CB630 02ADF140 00020766 7C80E048
02663928h:  000002B0 02ADF3E8 000002A8 026638EC
02663938h:  7C839AA8 026639DC 7C839AA8 7C80E378
02663948h:  FFFFFFFF 7C80E3DC 00150000 7C80E038
02663958h:  00020740 00000000 00000000 0038CAF0
02663968h:  0001AF17 745C3A44 736C6F6F 6F6F665C
02663978h:  32726162 5C303030 626F6F66 30327261
02663988h:  652E3030 7C006578 00150000 00000000
02663998h:  7C801BF6 02663B34 0038CAF0 00000000
026639A8h:  02A802A6 02ADF140 001A0018 7FFDCC00
026639B8h:  00000018 77DD2BE4 02663A8E 77DD16A4
026639C8h:  0000022F 02663A1C 7C919BD3 02663A8E
026639D8h:  000002A3 77DD0000 77DD2158 77DD2BE4
026639E8h:  00000000 00000001 02663A8C 00000000
Registers:
EAX: 00000001, EBX: 02663958, ECX: 0038C8FC, EDX: 02666172
ESI: 02663958, EDI: 02663958, EBP: 2352FE48, ESP: 026638D8
Any help?

[!--sizeo:1--][span style=\"font-size:8pt;line-height:100%\"][!--/sizeo--]Moderation: Wrapped the crashlog into a codebox.[/size]
Title: foo_discogs
Post by: bubbleguuum on 2007-05-27 21:00:21
http://www.discogs.com/release/95720 (http://www.discogs.com/release/95720) this causes a


I couldn't make it crash. Where you writing tags for the first time (what I tested) or updating (if so which tags) ?
Title: foo_discogs
Post by: kcay on 2007-05-29 01:26:52

http://www.discogs.com/release/95720 (http://www.discogs.com/release/95720) this causes a


I couldn't make it crash. Where you writing tags for the first time (what I tested) or updating (if so which tags) ?

Actually, hmm, I stripped the mp3s of tags, then made sure I reset foo_discogs default tagging options, and removed the 'auto match discogs tracks to local tracks' setting, and now it works!
It appears that by replying you somehow magically fixed the problem! 
Title: foo_discogs
Post by: kcay on 2007-05-29 23:11:16
Spoke too soon: found another crash-causer!
Trying to tag http://www.discogs.com/release/946231 (http://www.discogs.com/release/946231) results in

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 00033981h
Access violation, operation: read, address: FFFFFFFFh
Call path:
entry=>app_mainloop
This is the first crash logged by this instance.
Code bytes (00033981h):
00033941h:  F0 46 24 68 F6 1D 00 66 07 02 00 48 E0 80 7C B0
00033951h:  02 00 00 10 F9 1D 00 A8 02 00 00 14 39 03 00 A8
00033961h:  9A 83 7C 04 3A 03 00 A8 9A 83 7C 78 E3 80 7C FF
00033971h:  FF FF FF DC E3 80 7C 00 00 15 00 38 E0 80 7C 40
00033981h:  07 02 00 00 00 00 00 00 00 00 00 F0 CA 38 00 11
00033991h:  57 01 00 44 3A 5C 74 6F 6F 6C 73 5C 66 6F 6F 62
000339A1h:  61 72 32 30 30 30 5C 66 6F 6F 62 61 72 32 30 30
000339B1h:  30 2E 65 78 65 00 7C 00 00 15 00 00 00 00 00 F6
Stack (00033900h):
000338E0h:  00000000 0012F8A4 0012F87C 00000000
000338F0h:  92412B28 00000001 804DA3EE 92412B60
00033900h:  00383432 00033980 00000001 00033AAC
00033910h:  000339A8 00000000 003828E3 00033934
00033920h:  00033980 00001404 00E3F688 0E6FFFF8
00033930h:  00000000 7FFDF000 7FFDF000 7FFDF000
00033940h:  2446F008 001DF668 00020766 7C80E048
00033950h:  000002B0 001DF910 000002A8 00033914
00033960h:  7C839AA8 00033A04 7C839AA8 7C80E378
00033970h:  FFFFFFFF 7C80E3DC 00150000 7C80E038
00033980h:  00020740 00000000 00000000 0038CAF0
00033990h:  00015711 745C3A44 736C6F6F 6F6F665C
000339A0h:  32726162 5C303030 626F6F66 30327261
000339B0h:  652E3030 7C006578 00150000 00000000
000339C0h:  7C801BF6 00033B5C 0038CAF0 00000000
000339D0h:  02A802A6 001DF668 001A0018 7FFDFC00
000339E0h:  00000018 77DD2BE4 00033AB6 77DD16A4
000339F0h:  0000022F 00033A44 7C919BD3 00033AB6
00033A00h:  000002A3 77DD0000 77DD2158 77DD2BE4
00033A10h:  00000000 00000001 00033AB4 00000000
Registers:
EAX: 00000001, EBX: 00033980, ECX: 0038C8FC, EDX: 00036172
ESI: 00033980, EDI: 00033980, EBP: 0E710AA8, ESP: 00033900
(do you actually need the crash log to help fix foo_discogs bugs?)

[!--sizeo:1--][span style=\"font-size:8pt;line-height:100%\"][!--/sizeo--]Moderation: Wrapped the crashlog into a codebox.[/size]
Title: foo_discogs
Post by: shakey_snake on 2007-06-23 05:27:23
[edit]
nevermind... found my answers.

Still usin' and lovin' this component.
Title: foo_discogs
Post by: stampgevaar on 2007-06-25 13:20:57
http://www.discogs.com/release/336752 (http://www.discogs.com/release/336752)

html parse error :S
Title: foo_discogs
Post by: bubbleguuum on 2007-06-25 15:01:42
http://www.discogs.com/release/336752 (http://www.discogs.com/release/336752)

html parse error :S


Works here using 1.0 ! Try again? maybe discogs was down or sth
Title: foo_discogs
Post by: Will Ellis on 2007-06-26 22:39:32
Hi bubbleguuum,

Firstly, thanks for a wonderful plugin! It's made such a difference being able to tag from discogs vs. the rubbish that you get from freedb.

I've just had problems recently with html parse errors on the following two releases: 204297 and 228716.

I hope you'll be able to help with these.

Thanks,
Will
Title: foo_discogs
Post by: bubbleguuum on 2007-06-26 23:45:02
Hi bubbleguuum,

Firstly, thanks for a wonderful plugin! It's made such a difference being able to tag from discogs vs. the rubbish that you get from freedb.

I've just had problems recently with html parse errors on the following two releases: 204297 and 228716.

I hope you'll be able to help with these.

Thanks,
Will



good spot, it is fake artists "Various" and "No Artist" that make the artist parser barf. Will have to filter those.
Also cause of the parse error on 336752.

In the mean time, for these pages disable every tag that parse artist pages: that would be artist id, artist members etc. Oh and also artist art.
Title: foo_discogs
Post by: stampgevaar on 2007-06-27 12:09:15

http://www.discogs.com/release/336752 (http://www.discogs.com/release/336752)

html parse error :S


Works here using 1.0 ! Try again? maybe discogs was down or sth


Still getting the error, when I click write tags it first searches for the artists information and then gives a dialog box with html parse error.
Title: foo_discogs
Post by: BPinard on 2007-06-27 12:25:30
How do you use this component?

I'm somewhat new to foobar.

I put it in my components folder but I don't know how to access it from within foobar.
Title: foo_discogs
Post by: stampgevaar on 2007-06-27 12:52:33
How do you use this component?

I'm somewhat new to foobar.

I put it in my components folder but I don't know how to access it from within foobar.


select the songs you want to tag, right click and choose discogs and write tags and then just search for the release etc etc



oooh and bubblegum, if your planning on releasing a next version could you please seperate the update album/ artist art this because there's not always the need to also update the artist art.

And could you make it back possible to overwrite files when you just click update album /artist art (with a checkbox like it was in an older version). So I don't have to go to the configuration menu everytime. I am asking this because if you have a new release the first weeks there's always a very low resolution picture on discogs but after a month or so the picture is always updated to a higher quality so...
Title: foo_discogs
Post by: bubbleguuum on 2007-06-27 15:52:37
Still getting the error, when I click write tags it first searches for the artists information and then gives a dialog box with html parse error.


See the anwer I made to Will Ellis just above for a workaround


Quote
oooh and bubblegum, if your planning on releasing a next version could you please seperate the update album/ artist art this because there's not always the need to also update the artist art.

And could you make it back possible to overwrite files when you just click update album /artist art (with a checkbox like it was in an older version). So I don't have to go to the configuration menu everytime. I am asking this because if you have a new release the first weeks there's always a very low resolution picture on discogs but after a month or so the picture is always updated to a higher quality so...


No promise but I'll think about it as it make sense
Title: foo_discogs
Post by: Nemphael on 2007-06-28 10:38:17
Speaking of album art - could you include an option to embed it to file tags? Would be of great help, seeing as of how iTunes is programmed so users can't configure. =_=; And Foo_Dop is a great plug-in, but it seems to mess up my ipod at times.

But many thank for such a marvelous plug-in! =D
Title: foo_discogs
Post by: arT2 on 2007-07-06 19:00:43
my foobar crashes when i try to tag this release: http://www.discogs.com/release/891416 (http://www.discogs.com/release/891416)

this was my first crash with foo_discogs after using it for a long time. keep it up the good work
Title: foo_discogs
Post by: 4nt1 on 2007-07-23 03:25:44
hi, just noticed something - when I download my artist art images - they download fine to a folder I have created - but the files themselves are names exactly what they are called on the discogs page and not by the artist name.

How can I change this because I notice the options say no %TAGZ% supported for artist art... any suggestions...
Title: foo_discogs
Post by: bubbleguuum on 2007-07-23 10:34:59
hi, just noticed something - when I download my artist art images - they download fine to a folder I have created - but the files themselves are names exactly what they are called on the discogs page and not by the artist name.

How can I change this because I notice the options say no %TAGZ% supported for artist art... any suggestions...


For artist art I chose not to include tagz in the naming of the files because there was some annoying corner cases to cover. For example, what you do if two artists have the same name ? There's also the pain in the ass of special characters that are not valid in filenames.
That's why I chose to name files using Artist Id only, and that completely non ambiguous (and simple).
Now the code is available and if anyone want to hack on it, he's welcome!
Title: foo_discogs
Post by: Dave_Scream on 2007-07-23 14:17:37
Now the code is available and if anyone want to hack on it, he's welcome!


we need you 
Title: foo_discogs
Post by: locutus on 2007-08-09 22:00:20

Now the code is available and if anyone want to hack on it, he's welcome!


we need you 


Go on with your work, please.
I love this tool. Only one major problem, everytime i want to tag a song from a album it takes the first song from the album to write the tag! My fault or a bug?
Title: foo_discogs
Post by: bubbleguuum on 2007-08-10 17:48:00


Now the code is available and if anyone want to hack on it, he's welcome!


we need you 


Go on with your work, please.
I love this tool. Only one major problem, everytime i want to tag a song from a album it takes the first song from the album to write the tag! My fault or a bug?


I'm not sure I understand your problem, can you redescribe it precisely step by step ?

Since a few days discogs offer a web API (yay). I'll probably rewrite the plugin in Java, use the web API and support fetching of notes and roles (remixer, featuring, etc), along with some enhancements.
Title: foo_discogs
Post by: Dave_Scream on 2007-08-10 18:18:48
weeeehev!!!!!!

and about api  - i think it was all this time!

because when you click at "update release information"  some java scripts in page that opens  get all needed info from their server!!!
i tryed to learn how it works but it was time with null results)

well ... api = rulez... can u give the link?
------
i found it: http://www.discogs.com/forums/topic?topic_id=141878 (http://www.discogs.com/forums/topic?topic_id=141878)
very good)
probably this will give greater features. let's together to think at their possible use in combination with powerful functions of foobar.
Title: foo_discogs
Post by: locutus on 2007-08-11 09:56:36



Now the code is available and if anyone want to hack on it, he's welcome!


we need you 


Go on with your work, please.
I love this tool. Only one major problem, everytime i want to tag a song from a album it takes the first song from the album to write the tag! My fault or a bug?


I'm not sure I understand your problem, can you redescribe it precisely step by step ?

Since a few days discogs offer a web API (yay). I'll probably rewrite the plugin in Java, use the web API and support fetching of notes and roles (remixer, featuring, etc), along with some enhancements.


OK, i wiill try to make it easy;)
When i took a single song and search it in discogs, i get one or more albums to select. Next select a album and look for the correct song from the album.
Now when i use this entry to tag the file, he doesn´t use this one. Instead of this it uses always the first song of the selected album to tag the file.
I tested it with different files, always the same result. Hope know it is clear what i mean.
Title: foo_discogs
Post by: locutus on 2007-08-11 11:25:35




Now the code is available and if anyone want to hack on it, he's welcome!


we need you 


Go on with your work, please.
I love this tool. Only one major problem, everytime i want to tag a song from a album it takes the first song from the album to write the tag! My fault or a bug?


I'm not sure I understand your problem, can you redescribe it precisely step by step ?

Since a few days discogs offer a web API (yay). I'll probably rewrite the plugin in Java, use the web API and support fetching of notes and roles (remixer, featuring, etc), along with some enhancements.


OK, i wiill try to make it easy;)
When i took a single song and search it in discogs, i get one or more albums to select. Next select a album and look for the correct song from the album.
Now when i use this entry to tag the file, he doesn´t use this one. Instead of this it uses always the first song of the selected album to tag the file.
I tested it with different files, always the same result. Hope know it is clear what i mean.


Checked it again. If i use the "move up" feature, when i selected the right track out of a album and move it to the top of the album list, it works correctly.
Title: foo_discogs
Post by: Nemphael on 2007-08-15 13:33:53
Feature Request:

I just love this plug-in! But there is one small thing annoying me. The "Move Up"-feature works great with few-tracks albums, but when there's more than 20 tracks for a single album(For instance http://www.discogs.com/release/329644 (http://www.discogs.com/release/329644)), it's rea-hea-heally inconvenient. Is there any way to implant a "drag & drop"* or a "bring to selected file"** feature?

* = If possible, to drag a release track to its corresponding file and move it so that they match.

** = A button bringing the selected release track to the selected file.


EDIT:
I just noticed when trying to update album/artist art; after ending up with a parse error in the middle of a run, foo_discogs terminated rather than jumping past the release with the parse error.
(Small batch run on files both with/without Discogs information in tags; "Update only releases for which there is no art" unchecked.)
Title: foo_discogs
Post by: Dave_Scream on 2007-08-15 21:16:27
feature request:

use new discogs-API in foo_discogs...

it uses clear XML without spare HTML tags and(!!!!)
it natively with GZIP supporting!!!
sooo

it will be very fast!!! even on slow connections... (like mine)

---
and some feature... wich will use

<Artist1>
<Artist2>
<Artist3>

in XML ... and will convert it to MULTIVALUED artist TAG...
Title: foo_discogs
Post by: locutus on 2007-08-16 20:28:02





Now the code is available and if anyone want to hack on it, he's welcome!


we need you 


Go on with your work, please.
I love this tool. Only one major problem, everytime i want to tag a song from a album it takes the first song from the album to write the tag! My fault or a bug?


I'm not sure I understand your problem, can you redescribe it precisely step by step ?

Since a few days discogs offer a web API (yay). I'll probably rewrite the plugin in Java, use the web API and support fetching of notes and roles (remixer, featuring, etc), along with some enhancements.


OK, i wiill try to make it easy;)
When i took a single song and search it in discogs, i get one or more albums to select. Next select a album and look for the correct song from the album.
Now when i use this entry to tag the file, he doesn´t use this one. Instead of this it uses always the first song of the selected album to tag the file.
I tested it with different files, always the same result. Hope know it is clear what i mean.


Checked it again. If i use the "move up" feature, when i selected the right track out of a album and move it to the top of the album list, it works correctly.


No one else having this problem? I have just tested MP3Tag using discogs. Same problem!
Title: foo_discogs
Post by: Nemphael on 2007-08-16 21:49:53
If I don't misunderstand your problem, it seems to me you want foo_discogs to automatically select the right tracks on a release by itself. For now, this isn't available - you'll have to align the corresponding tracks manually.
Title: foo_discogs
Post by: locutus on 2007-08-16 22:28:16
If I don't misunderstand your problem, it seems to me you want foo_discogs to automatically select the right tracks on a release by itself. For now, this isn't available - you'll have to align the corresponding tracks manually.


You have missunderstand it. I pick the track manually.

For example: You have to pick track five out of a album of 10 songs. foo_discogs (also MP3Tag) use the first song to tag. Even when you have select the fifth song. This happens to me on every song. Only when i move up the fifth song to the first position and then use it to tag, the result is what i expect.
Title: foo_discogs
Post by: bubbleguuum on 2007-08-17 17:58:55

If I don't misunderstand your problem, it seems to me you want foo_discogs to automatically select the right tracks on a release by itself. For now, this isn't available - you'll have to align the corresponding tracks manually.


You have missunderstand it. I pick the track manually.

For example: You have to pick track five out of a album of 10 songs. foo_discogs (also MP3Tag) use the first song to tag. Even when you have select the fifth song. This happens to me on every song. Only when i move up the fifth song to the first position and then use it to tag, the result is what i expect.



I'm not sure I understand, but keep in mind that files are tagged with the corresponding aligned discogs track and you can change this order with "move up" "move down" buttons.

So if you want to tag a single track (is that your problem?), it'l be displayed alone in the right pane and you'll have to move the corresponding discogs track to the first position of the left pane.
Title: foo_discogs
Post by: fwqhgads on 2007-08-31 20:10:22
I can't get this to work at all. It installed fine, and I can get to where you select the release, and then go Okay, but it always just comes up with an html parse error for the release. :x

I tried searching the thread, but didn't see anyone else not able to get any releases at all.
Title: foo_discogs
Post by: bellavite on 2007-08-31 20:19:33
I can't get this to work at all. It installed fine, and I can get to where you select the release, and then go Okay, but it always just comes up with an html parse error for the release. :x

Here too 
I would guess they have changed the HTML Layout, since it was working about a week ago.
I hope the plugin's author will fix it soon!
Title: foo_discogs
Post by: wizel on 2007-08-31 21:14:10

I can't get this to work at all. It installed fine, and I can get to where you select the release, and then go Okay, but it always just comes up with an html parse error for the release. :x

Here too 
I would guess they have changed the HTML Layout, since it was working about a week ago.
I hope the plugin's author will fix it soon!


Yep, seems they have changed the code just a few hours (max 1 day) ago.
It give "discogs error: release id:xxxxx html parse error"
No matter what disk I select.
It have been working OK since today.
Title: foo_discogs
Post by: fwqhgads on 2007-09-01 00:14:14
Damnit. And of course, the day that I decide to give this thing a go.

Just my luck.
Title: foo_discogs
Post by: arT2 on 2007-09-01 00:57:10
Title: foo_discogs
Post by: incunabula on 2007-09-01 02:02:05
Paging bubblegummm  Any update on the development of an API-aware version of this component?
Title: foo_discogs
Post by: bubbleguuum on 2007-09-01 14:05:22
I'm going to release a fixed version of the plugin ASAP. I knew some day they would change the html layout, looks like it's today. Hopefully this should be trivial to fix.

I'll start working on a more future proof version using the new XML API. Now that discogs devs released the API, they'll have less reluctancy changing the html layout.
Title: foo_discogs
Post by: arT2 on 2007-09-01 14:31:47
Quote
I'm going to release a fixed version of the plugin ASAP. I knew some day they would change the html layout, looks like it's today. Hopefully this should be trivial to fix.

I'll start working on a more future proof version using the new XML API. Now that discogs devs released the API, they'll have less reluctancy changing the html layout.


ah thanks for the sugar in my coffee
Title: foo_discogs
Post by: bubbleguuum on 2007-09-01 15:33:33
Version 1.01 fixing parsing issues posted (see first post for link)

Tested with 200 random releases and found no issue, but if you find one let me know.

v 1.01
--------

- fix html parse errors due to small discogs html changes
- fix parse errors with tracklisting containing placeholder artist such as "No Artist" or "Various" (such as releases 204297 or 336752)
- fix a crash with this release: 891416 (don't remember the cause)
Title: foo_discogs
Post by: wizel on 2007-09-01 16:22:04
Works perfectly. Thanks
Title: foo_discogs
Post by: Will Ellis on 2007-09-01 18:41:36
Version 1.01 fixing parsing issues posted (see first post for link)

Tested with 200 random releases and found no issue, but if you find one let me know.

v 1.01
--------

- fix html parse errors due to small discogs html changes
- fix parse errors with tracklisting containing placeholder artist such as "No Artist" or "Various" (such as releases 204297 or 336752)
- fix a crash with this release: 891416 (don't remember the cause)


Thanks so much for this quick fix, it's much appreciated! In general things are back working, but the html parse error for 204297 is still there. Could it be another change to the layout and not the original issue?
Title: foo_discogs
Post by: wizel on 2007-09-01 19:00:09

Version 1.01 fixing parsing issues posted (see first post for link)

Tested with 200 random releases and found no issue, but if you find one let me know.

v 1.01
--------

- fix html parse errors due to small discogs html changes
- fix parse errors with tracklisting containing placeholder artist such as "No Artist" or "Various" (such as releases 204297 or 336752)
- fix a crash with this release: 891416 (don't remember the cause)


Thanks so much for this quick fix, it's much appreciated! In general things are back working, but the html parse error for 204297 is still there. Could it be another change to the layout and not the original issue?


Still working OK for me (after the last fix).
Title: foo_discogs
Post by: odyssey on 2007-09-01 19:03:03
I'm going to release a fixed version of the plugin ASAP. I knew some day they would change the html layout, looks like it's today. Hopefully this should be trivial to fix.

I'll start working on a more future proof version using the new XML API. Now that discogs devs released the API, they'll have less reluctancy changing the html layout.

Does this mean that fields like "Remixer" and "Producer" could be parsed in the future??
Title: foo_discogs
Post by: fwqhgads on 2007-09-01 20:29:48
Awesome. Everything's working great now! Thanks!
Title: foo_discogs
Post by: Stryng on 2007-09-01 21:13:19
I can't see albumart, is this normal?
Because it was really nice to download the albumart directly from discogs via this plugin.
Anyways, thanks a lot for the quick fix!
Title: foo_discogs
Post by: Decuman on 2007-09-02 01:39:16
Hey bubbleguuum!

Thanks very much for the prompt update!
It is one of the most useful fb2k plugins.

I'm still missing a couple of things though...

previously it was showing a release year when previewing discogs album list. Can we have this feature back by any chance?

+ would it be possible to add horizontal scrollbar to the album list to be able to see long album name endings (sometimes the album has the same name but different year or media that doesn't fit to the preview window)

++ and a very minor thing is to skip tracks marked as video... or do not add such tracks to the number of audio tracks... or just mark them differently when showing.

Thanks!
Title: foo_discogs
Post by: bubbleguuum on 2007-09-02 11:00:00
v 1.02
-------

- fixes html parse error with placeholder artists for good (ex: release 204297)
- fix missing year in release list
- add horizontal scrollbar in release list to see long release names.


@Stryng: you see album arbt by configuring foo_uie_albumart. If you mean you don't see the small art preview
in the tag dialog, just activate it in the preference (it's disabled by default)

@ odyssey: yes
Title: foo_discogs
Post by: Decuman on 2007-09-02 11:49:04
Great, Thanks!!!

IT WAS QUICK!!!




v 1.02
-------

- fixes html parse error with placeholder artists for good (ex: release 204297)
- fix missing year in release list
- add horizontal scrollbar in release list to see long release names.


@Stryng: you see album arbt by configuring foo_uie_albumart. If you mean you don't see the small art preview
in the tag dialog, just activate it in the preference (it's disabled by default)

@ odyssey: yes
Title: foo_discogs
Post by: Will Ellis on 2007-09-02 22:52:17
v 1.02
-------

- fixes html parse error with placeholder artists for good (ex: release 204297)
- fix missing year in release list
- add horizontal scrollbar in release list to see long release names.


@Stryng: you see album arbt by configuring foo_uie_albumart. If you mean you don't see the small art preview
in the tag dialog, just activate it in the preference (it's disabled by default)

@ odyssey: yes


bubbleguuum, you rock! All sorted now. Thanks so much for this, it's very much appreciated.
Title: foo_discogs
Post by: Bachi-Bouzouk on 2007-09-03 00:48:37
I didn't see if it was requested (there is no feature request page or anything similar) but accepting tags to store artist pictures would be terrific (cause having 10067_1 is not explicit  )

I would like to use something like
$replace($replace(%path%,%filename_ext%,),%directoryname%,) to store my albums

In fact something like you did for the album art would be OK.

BTW really great plugin !! I use it as often as I can !!
Title: foo_discogs
Post by: joen on 2007-09-03 08:44:28
Thanks for the quick update  very useful component, I use it all the time
Title: foo_discogs
Post by: Nemphael on 2007-09-03 09:38:23
I didn't see if it was requested (there is no feature request page or anything similar) but accepting tags to store artist pictures would be terrific (cause having 10067_1 is not explicit  )

I would like to use something like
$replace($replace(%path%,%filename_ext%,),%directoryname%,) to store my albums

In fact something like you did for the album art would be OK.




I second this suggestion. It's nice not to create duplicates, which, as far as I can remember, was your reason for not doing this in the first place. However, how about naming them like this?

Code: [Select]
#$num(%ID%,n)# %artist%


As well as keeping them at a non-ducplicate state, they can more easily be retrieved.



Another thing I would like to add/re-request, is a better navigating system. Releases with many tracks/screwed up sorting, are pains in the neck to sort.
Title: foo_discogs
Post by: stampgevaar on 2007-09-03 15:25:11
I was thinking, wouldn't it be cool if you had the option to automatically download covers/artist pics if no covers are present, just by playing the song? Or would this slow things down to much?

This would be convenient for the newer releases that don't immediately have a cover on discogs.

And an overwrite album art checkbox would be nice too because of the same reason. Sometimes people upload a very low resolution cover and after a few weeks a better quality cover comes available and it would be nice to just right  click - update albumart - use the overwrite albumart checkbox.

ooh and thanks for the updates bubblegum, great work !
Title: foo_discogs
Post by: bubbleguuum on 2007-09-03 20:15:41
I second this suggestion. It's nice not to create duplicates, which, as far as I can remember, was your reason for not doing this in the first place. However, how about naming them like this?

Code: [Select]
##$num(%ID%,n) %artist%


Not a bad idea to append %artist% to %artist_id%. It still makes filenames unique, while having artist art browsable in another app.

As for the idea to store artist art in each album directory, it defeats the purpose that artist art is common to several releases...


Quote
Another thing I would like to add/re-request, is a better navigating system. Releases with many tracks/screwed up sorting, are pains in the neck to sort.


Yup, I know, ideally some sort of string matching would be necessary to filter only relevant tracks of CD2 of a 3CD release for example. Now I'm a bit lazy to implement it...

I was thinking, wouldn't it be cool if you had the option to automatically download covers/artist pics if no covers are present, just by playing the song? Or would this slow things down to much?
This would be convenient for the newer releases that don't immediately have a cover on discogs.


It would be cool indeed

Quote
And an overwrite album art checkbox would be nice too because of the same reason. Sometimes people upload a very low resolution cover and after a few weeks a better quality cover comes available and it would be nice to just right  click - update albumart - use the overwrite albumart checkbox.


Can't you already do that by setting "overwrite artist art" in configuration panel ?
Title: foo_discogs
Post by: ledge on 2007-09-04 20:50:28
I absolutely love this plugin, just one hopefully minor thing. Could you possibly remove the length limit in the Style (and I assume Genre) field. I often override the provided Style and it won't let me enter "Hip Hop - Old School" as it is too long.

Again, thanks for this plugin it is one of my favourite things about foobar
Title: foo_discogs
Post by: arT2 on 2007-09-06 18:57:22
thank you bubbleguuum for fixing it
Title: foo_discogs
Post by: bubbleguuum on 2007-09-21 00:31:54
v 1.10 out !!  download (http://bubbleguuum.free.fr/foo_discogs/foo_discogs_1.10.zip)

Now use by default the discogs XML API which is faster and safer. You can still use the old HTML parsing method by changing the setting in the configuration/network tab.

With the XML API, I added the following tags (not available via the HTML method):

"Release notes"
"Release credits" : list of roles as a single string for the whole release
"Track credits"  : this is the list of all roles (Featuring, Remix etc) concatenated as a single string, per track
"Featuring track credit"
"Remix track credit"
"Vocals track credit"
"Artists URLs": list of URLs found on artist pages
"Artists real name"
"Artist profile":  biography of artist
"Released raw": released date in raw format: YYYY-MM-DD. Usefull to sort all collection in released order!

And the following infos are not fetchable using the XML api:

"rating"
"votes #"
"submitted by"
"members want #"
"members have #"

Small album art preview is not displayed even if you check the settings. This version will erset your settings and tag mappings.
The XML API parser is still in beta so please test and report problems
Also now you can enter genre/style of any length in the release dialog combo boxes.
Title: foo_discogs
Post by: FavioD on 2007-09-21 00:41:14
thanks, new version is working well so far
Title: foo_discogs
Post by: arT2 on 2007-09-21 12:37:11
bubbleguuum for president!!!
Title: foo_discogs
Post by: shakey_snake on 2007-09-21 14:40:02
Excellent work as always BG.
Title: foo_discogs
Post by: incunabula on 2007-09-21 15:59:43
As always you never fail to please!  I'm very much looking forward to testing out the new API support. 
Title: foo_discogs
Post by: Kirya on 2007-09-21 16:16:07
wow, so fast parsing  One of the most useful plugin for me, thanks bubbleguuum!
Title: foo_discogs
Post by: shakey_snake on 2007-09-21 17:18:26
using v1.10
Crash Report on release ID: 812575
Crashes using API, doesn't crash using html parsing.
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 00CB66E0h
Access violation, operation: read, address: 00000000h
Call path:
entry=>app_mainloop
This is the first crash logged by this instance.
Code bytes (00CB66E0h):
00CB66A0h:  52 05 00 8B 96 EC 02 00 00 69 FF F0 00 00 00 8D
00CB66B0h:  54 17 70 8B CE E8 66 F1 FF FF 5F B8 01 00 00 00
00CB66C0h:  5E C3 CC CC CC CC CC CC CC CC CC CC CC CC CC CC
00CB66D0h:  56 8B 74 24 08 8B C6 57 8D 78 01 EB 03 8D 49 00
00CB66E0h:  8A 10 83 C0 01 84 D2 75 F7 2B C7 50 56 E8 8E C8
00CB66F0h:  FF FF 5F 5E C2 04 00 CC CC CC CC CC CC CC CC CC
00CB6700h:  53 55 56 57 8B F9 8B 6F 18 83 FD 10 8D 47 04 72
00CB6710h:  04 8B 08 EB 02 8B C8 8B 57 14 8B 5C 24 14 8D 34
Stack (0012F3BCh):
0012F39Ch:  00E9D9C8 7C9C93C0 77F643DD 7C9C93C0
0012F3ACh:  00000004 00000000 00E9CED4 00000000
0012F3BCh:  0705A240 00D3389C 00CD7049 00000000
0012F3CCh:  8BE92621 00000000 0000000F 00000000
0012F3DCh:  0715A260 0705AF18 0705A240 0708F4B8
0012F3ECh:  070BB3C8 00DEE980 00D186AA 00000000
0012F3FCh:  00000000 00000000 070CC5D0 0704AB30
0012F40Ch:  0000011F 00000000 00000000 00000000
0012F41Ch:  7C90EE18 00000000 00000000 00000000
0012F42Ch:  00000038 00000000 00000000 00000000
0012F43Ch:  8BE92199 30373900 06F7C900 00000000
0012F44Ch:  071599D8 00000000 0000000F 0012F4B0
0012F45Ch:  00000000 00000000 00000000 00D0B60D
0012F46Ch:  0001AD41 00000007 0012F3D0 00D338B0
0012F47Ch:  00000000 00000000 00000000 FFFFFFFF
0012F48Ch:  00000000 00000000 00000000 00000000
0012F49Ch:  65746F6E 64650073 73747300 00000000
0012F4ACh:  00000005 0000000F 8BE9262D 00000000
0012F4BCh:  0012F56C 00D24A33 00000001 FFFFFFFE
0012F4CCh:  070BB3C8 00CD72A0 070BB3C8 8BE9212D
Registers:
EAX: 00000000, EBX: 00000000, ECX: 0705A3E4, EDX: 0012F4A1
ESI: 00000000, EDI: 00000001, EBP: 0012F4CC, ESP: 0012F3BC
Crash location: "foo_discogs", loaded at 00CB0000h - 00D4E000h

Loaded modules:
foobar2000                      loaded at 00400000h - 004F3000h
ntdll                            loaded at 7C900000h - 7C9B0000h
kernel32                        loaded at 7C800000h - 7C8F4000h
COMCTL32                        loaded at 773D0000h - 774CC000h
msvcrt                          loaded at 77C10000h - 77C68000h
ADVAPI32                        loaded at 77DD0000h - 77E6B000h
RPCRT4                          loaded at 77E70000h - 77F01000h
GDI32                            loaded at 77F10000h - 77F57000h
USER32                          loaded at 7E410000h - 7E497000h
SHLWAPI                          loaded at 77F60000h - 77FD6000h
SHELL32                          loaded at 7C9C0000h - 7D4D6000h
ole32                            loaded at 774E0000h - 7761D000h
shared                          loaded at 10000000h - 10029000h
comdlg32                        loaded at 763B0000h - 763F9000h
IMM32                            loaded at 76390000h - 763AD000h
uxtheme                          loaded at 5AD70000h - 5ADA8000h
MSCTF                            loaded at 74720000h - 7476B000h
msctfime                        loaded at 755C0000h - 755EE000h
foo_audioscrobbler              loaded at 00A70000h - 00AA7000h
WS2_32                          loaded at 71AB0000h - 71AC7000h
WS2HELP                          loaded at 71AA0000h - 71AA8000h
foo_browser                      loaded at 00AF0000h - 00B29000h
foo_cdda                        loaded at 00B50000h - 00B85000h
foo_converter                    loaded at 00BB0000h - 00C19000h
foo_cwb_hooks                    loaded at 00C40000h - 00C8D000h
foo_discogs                      loaded at 00CB0000h - 00D4E000h
gdiplus                          loaded at 4EC50000h - 4EDF3000h
WINMM                            loaded at 76B40000h - 76B6D000h
serwvdrv                        loaded at 5CD70000h - 5CD77000h
umdmxfrm                        loaded at 5B0A0000h - 5B0A7000h
foo_dsp_std                      loaded at 00DF0000h - 00E31000h
foo_freedb2                      loaded at 00E60000h - 00EA0000h
foo_input_std                    loaded at 00EC0000h - 00FD2000h
foo_lyricsdb                    loaded at 01000000h - 0102F000h
OLEAUT32                        loaded at 77120000h - 771AC000h
WININET                          loaded at 771B0000h - 7727F000h
Normaliz                        loaded at 01040000h - 01049000h
iertutil                        loaded at 6E850000h - 6E895000h
foo_masstag                      loaded at 01270000h - 012BF000h
foo_out_ks                      loaded at 012E0000h - 0130A000h
SETUPAPI                        loaded at 77920000h - 77A09000h
foo_playcount_mod                loaded at 01330000h - 01345000h
MSVCR80                          loaded at 78130000h - 781CB000h
foo_playlist_tree                loaded at 01370000h - 013E2000h
libmzsch360_000                  loaded at 10400000h - 105D0000h
WSOCK32                          loaded at 71AD0000h - 71AD9000h
libmzgc360_000                  loaded at 01410000h - 014B4000h
foo_rgscan                      loaded at 01500000h - 01548000h
foo_uie_powerpanels              loaded at 01570000h - 01593000h
foo_uie_queuemanager            loaded at 015C0000h - 015F9000h
mscoree                          loaded at 79000000h - 79045000h
msvcm80                          loaded at 7C4C0000h - 7C53D000h
mscorwks                        loaded at 79E70000h - 7A3D1000h
mscorlib.ni                      loaded at 790C0000h - 79BA8000h
mscorjit                        loaded at 79060000h - 790B3000h
rsaenh                          loaded at 0FFD0000h - 0FFF8000h
System.ni                        loaded at 7A440000h - 7ABFE000h
System.Drawing.ni                loaded at 7ADE0000h - 7AF74000h
foo_uie_quicksearch              loaded at 03D50000h - 03D96000h
foo_uie_vis_channel_spectrum    loaded at 03DB0000h - 03DD8000h
MSIMG32                          loaded at 76380000h - 76385000h
foo_uie_vis_egoh                loaded at 03E00000h - 03E1D000h
foo_ui_columns                  loaded at 03E30000h - 03EC7000h
foo_ui_panels                    loaded at 03EF0000h - 03FB6000h
foo_ui_std                      loaded at 03FE0000h - 04037000h
WFHook                          loaded at 04280000h - 0428C000h
mhook                            loaded at 042F0000h - 042F6000h
mswsock                          loaded at 71A50000h - 71A8F000h
DNSAPI                          loaded at 76F20000h - 76F47000h
iphlpapi                        loaded at 76D60000h - 76D79000h
System.Windows.Forms.ni          loaded at 7AFD0000h - 7BC56000h
hnetcfg                          loaded at 662B0000h - 66308000h
wshtcpip                        loaded at 71A90000h - 71A98000h
rasadhlp                        loaded at 76FC0000h - 76FC6000h
WINTRUST                        loaded at 76C30000h - 76C5E000h
CRYPT32                          loaded at 77A80000h - 77B14000h
MSASN1                          loaded at 77B20000h - 77B32000h
IMAGEHLP                        loaded at 76C90000h - 76CB8000h
ksuser                          loaded at 73EE0000h - 73EE4000h
netapi32                        loaded at 5B860000h - 5B8B4000h
appHelp                          loaded at 77B40000h - 77B62000h
CLBCATQ                          loaded at 76FD0000h - 7704F000h
COMRes                          loaded at 77050000h - 77115000h
VERSION                          loaded at 77C00000h - 77C08000h
ieframe                          loaded at 063B0000h - 069A1000h
PSAPI                            loaded at 76BF0000h - 76BFB000h
msi                              loaded at 069B0000h - 06C79000h
RadExe                          loaded at 06C80000h - 06CB3000h
MFC42                            loaded at 73DD0000h - 73ECE000h
urlmon                          loaded at 61410000h - 61534000h
Secur32                          loaded at 77FE0000h - 77FF1000h
winrnr                          loaded at 76FB0000h - 76FB8000h
WLDAP32                          loaded at 76F60000h - 76F8C000h
DBGHELP                          loaded at 59A60000h - 59B01000h

Stack dump analysis:
Address: 00D3389Ch, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Address: 00CD7049h, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Address: 00D186AAh, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 00D0B60Dh, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Address: 00D338B0h, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Address: 00D24A33h, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Address: 00CD72A0h, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Address: 00CB76A5h, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Address: 00D24D20h, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Address: 00CB42EAh, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Address: 7E41B8BAh, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "SendMessageW" (+00000000h)
Address: 1000A3E0h, location: "shared", loaded at 10000000h - 10029000h
Symbol: "uSetWindowText" (+00000000h)
Address: 1000A3E0h, location: "shared", loaded at 10000000h - 10029000h
Symbol: "uSetWindowText" (+00000000h)
Address: 00CB5C2Ah, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Address: 00D2E19Ch, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Address: 00D2E19Ch, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Address: 00D2E19Dh, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Address: 00D2E19Ch, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Address: 00CB9F6Eh, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Address: 00D24738h, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Address: 00CB6194h, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Address: 00D2E054h, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Address: 004698E6h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004698E6h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004698E6h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7E4184FCh, location: "USER32", loaded at 7E410000h - 7E497000h
Address: 7E4185A4h, location: "USER32", loaded at 7E410000h - 7E497000h
Address: 00CDBBD0h, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Symbol: "foobar2000_get_interface" (+000010D0h)
Address: 7E4188DAh, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "GetWindowLongW" (+00000034h)
Address: 00D2522Dh, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Address: 00CDBCA2h, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Symbol: "foobar2000_get_interface" (+000011A2h)
Address: 00CDBC29h, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Symbol: "foobar2000_get_interface" (+00001129h)
Address: 00CDBBD0h, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Symbol: "foobar2000_get_interface" (+000010D0h)
Address: 7E418734h, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "GetDC" (+0000006Dh)
Address: 00CDBBD0h, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Symbol: "foobar2000_get_interface" (+000010D0h)
Address: 00CDBBD0h, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Symbol: "foobar2000_get_interface" (+000010D0h)
Address: 7E423745h, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "PrivateExtractIconExW" (+000002B2h)
Address: 00CDBBD0h, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Symbol: "foobar2000_get_interface" (+000010D0h)
Address: 7E440457h, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 7E423768h, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "PrivateExtractIconExW" (+000002D5h)
Address: 7E423591h, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "PrivateExtractIconExW" (+000000FEh)
Address: 00CDBBD0h, location: "foo_discogs", loaded at 00CB0000h - 00D4E000h
Symbol: "foobar2000_get_interface" (+000010D0h)
Address: 7E42379Ah, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "DefDlgProcW" (+00000000h)
Address: 7E4184FCh, location: "USER32", loaded at 7E410000h - 7E497000h
Address: 7E4185A4h, location: "USER32", loaded at 7E410000h - 7E497000h
Address: 7E4237BCh, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "DefDlgProcW" (+00000022h)
Address: 7E418734h, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "GetDC" (+0000006Dh)
Address: 7E42379Ah, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "DefDlgProcW" (+00000000h)
Address: 7E42379Ah, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "DefDlgProcW" (+00000000h)
Address: 7E418816h, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "GetDC" (+0000014Fh)
Address: 7E42379Ah, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "DefDlgProcW" (+00000000h)
Address: 7E41882Ah, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "GetDC" (+00000163h)
Address: 7E440457h, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 7E418830h, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "GetDC" (+00000169h)
Address: 7E41B89Bh, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "GetParent" (+0000016Ch)
Address: 7E42379Ah, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "DefDlgProcW" (+00000000h)
Address: 7E41B903h, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "SendMessageW" (+00000049h)
Address: 773F7344h, location: "COMCTL32", loaded at 773D0000h - 774CC000h
Symbol: "Ordinal384" (+0000B4A4h)
Address: 773F7426h, location: "COMCTL32", loaded at 773D0000h - 774CC000h
Symbol: "Ordinal384" (+0000B586h)
Address: 773F972Bh, location: "COMCTL32", loaded at 773D0000h - 774CC000h
Symbol: "Ordinal384" (+0000D88Bh)
Address: 773F8EA4h, location: "COMCTL32", loaded at 773D0000h - 774CC000h
Symbol: "Ordinal384" (+0000D004h)
Address: 7E431698h, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "GetOpenClipboardWindow" (+00000047h)
Address: 042F101Bh, location: "mhook", loaded at 042F0000h - 042F6000h
Address: 7E431891h, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "UnhookWinEvent" (+00000025h)
Address: 74724636h, location: "MSCTF", loaded at 74720000h - 7476B000h
Symbol: "DllGetClassObject" (+000002ABh)
Address: 74730455h, location: "MSCTF", loaded at 74720000h - 7476B000h
Symbol: "TF_DllDetachInOther" (+00001625h)
Address: 7E41F896h, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "CallNextHookEx" (+0000003Bh)
Address: 7E418734h, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "GetDC" (+0000006Dh)
Address: 773F8EA4h, location: "COMCTL32", loaded at 773D0000h - 774CC000h
Symbol: "Ordinal384" (+0000D004h)
Address: 773F8EA4h, location: "COMCTL32", loaded at 773D0000h - 774CC000h
Symbol: "Ordinal384" (+0000D004h)
Address: 7E418816h, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "GetDC" (+0000014Fh)
Address: 773F8EA4h, location: "COMCTL32", loaded at 773D0000h - 774CC000h
Symbol: "Ordinal384" (+0000D004h)
Address: 7E440457h, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 7E418830h, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "GetDC" (+00000169h)
Address: 7E4189CDh, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "GetWindowLongW" (+00000127h)
Address: 773F8EA4h, location: "COMCTL32", loaded at 773D0000h - 774CC000h
Symbol: "Ordinal384" (+0000D004h)
Address: 7E41F95Bh, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "CallNextHookEx" (+00000100h)
Address: 7E431B3Ch, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "AppendMenuA" (+0000006Eh)
Address: 7E440457h, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 7E4189F0h, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "GetWindowLongW" (+0000014Ah)
Address: 7E418A10h, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "DispatchMessageW" (+0000000Fh)
Address: 7E42D99Dh, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "IsDialogMessageW" (+000000DBh)
Address: 0042FED2h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7E41DAEAh, location: "USER32", loaded at 7E410000h - 7E497000h
Symbol: "DestroyWindow" (+00000000h)
Address: 004BEB74h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0042FF44h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 10002DD2h, location: "shared", loaded at 10000000h - 10029000h
Symbol: "uCallStackTracker::uCallStackTracker" (+00000032h)
Address: 004C04F8h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0041DAEAh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00430AA3h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004C07B4h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004C7650h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004C7634h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C911538h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000AA9h)
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C911538h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000AA9h)
Address: 7C911596h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000B07h)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 004E41B8h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004B49CCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C91056Dh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 7C917BF5h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlReAllocateHeap" (+000001F8h)
Address: 0044005Ch, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0041005Ch, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00440020h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 1000C021h, location: "shared", loaded at 10000000h - 10029000h
Address: 7C9106F0h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000011Ch)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C9106F0h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000011Ch)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 00492BFDh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E4238h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00447B71h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0045CE23h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0049976Dh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 01000000h, location: "foo_lyricsdb", loaded at 01000000h - 0102F000h
Address: 00497440h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004C0508h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 10002D87h, location: "shared", loaded at 10000000h - 10029000h
Symbol: "uPrintCrashInfo_SetDumpPath" (+000000A7h)
Address: 004C0508h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004AF584h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004C0508h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00430CAAh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E09B0h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0049712Dh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00492502h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004924FCh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004B49E0h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004B3450h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E4230h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00497440h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004AF978h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00496804h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00E9CDA4h, location: "foo_freedb2", loaded at 00E60000h - 00EA0000h
Address: 00E9CDA4h, location: "foo_freedb2", loaded at 00E60000h - 00EA0000h
Address: 00497440h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C816FD7h, location: "kernel32", loaded at 7C800000h - 7C8F4000h
Symbol: "RegisterWaitForInputIdle" (+00000049h)
Address: 00E9CDA4h, location: "foo_freedb2", loaded at 00E60000h - 00EA0000h
Address: 7C839AA8h, location: "kernel32", loaded at 7C800000h - 7C8F4000h
Symbol: "ValidateLocale" (+000002B0h)
Address: 7C816FE0h, location: "kernel32", loaded at 7C800000h - 7C8F4000h
Symbol: "RegisterWaitForInputIdle" (+00000052h)
Address: 0049686Dh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E0049h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004F0044h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004B0063h, location: "foobar2000", loaded at 00400000h - 004F3000h

Version info:
foobar2000 v0.9.4.4
UNICODE

Additional info:
cwbowron's title format hooks 1.2.5 [Jun  8 2007 - 08:49:42]  (foo_cwb_hooks)
Columns UI 0.1.3 beta 1v7  (foo_ui_columns)
Default User Interface 0.9acc  (foo_ui_std)
freedb Tagger 0.5.2a  (foo_freedb2)
ReplayGain Scanner 2.0.2  (foo_rgscan)
Egoh Spectrum analyser (uie) 1.1.2  (foo_uie_vis_egoh)
Masstagger 1.6  (foo_masstag)
Standard Input Array 1.0  (foo_input_std)
Tagger Panel Window 1.0.5 [Jun 12 2007 - 15:14:00]  (foo_cwb_hooks)
foo_lyricsdb 0.0.7 beta 5  (foo_lyricsdb)
Music Browser 1.2.3b [Mar 23 2007 - 16:52:56]  (foo_browser)
Volume Panel 0.1  (foo_uie_powerpanels)
FLAC Decoder 1.1.0  (foo_input_std)
Discogs Tagger 1.10  (foo_discogs)
Audioscrobbler 1.3.5  (foo_audioscrobbler)
CD Audio Decoder 2.1.1  (foo_cdda)
Converter 1.0.1  (foo_converter)
Kernel Streaming Output 1.2.2  (foo_out_ks)
Seek Panel 0.1  (foo_uie_powerpanels)
Playlist Tree Panel 3.0.BETA_2 [Mar 23 2007 - 16:44:16]  (foo_playlist_tree)
Play Count Mod 1.0.2  (foo_playcount_mod)
foobar2000 core 0.9.4.4  (Core)
Channel Spectrum panel 0.07  (foo_uie_vis_channel_spectrum)
Quick Search Toolbar 2.8k  (foo_uie_quicksearch)
WMA Decoder 1.1  (foo_input_std)
Panels UI 0.14.9 beta [Jul 13 2007 - 14:05:55]  (foo_ui_panels)
Standard DSP array 1.0  (foo_dsp_std)
Queue manager panel 0.2.3  (foo_uie_queuemanager)
Title: foo_discogs
Post by: stampgevaar on 2007-09-21 17:40:07
What's the difference between html parsing and using api besides other tag fields?
Title: foo_discogs
Post by: bubbleguuum on 2007-09-21 17:45:14
@shakey: alright found it : the empty notes make it crash.

What's the difference between html parsing and using api besides other tag fields?


XML parser is faster especially for artist searches with large discographies. It's future proof while html could  (will) break today. And the XML parser is way cleaner than the messy HTML parser hard to understand and arcane to maintain. And retrieved XML  from discogs is zipped, optimizing bandwidth
Title: foo_discogs
Post by: Dave_Scream on 2007-09-22 07:42:16
WOHOHOOO !!! NICE SURPRICE!!! I did not expect so quickly! THANKS! the second chapter of foo_discogs has begun!
---
and Release Notes - will be very useful for me..  now ill try to tag some files with a new toy! ahhhh!!
---
cool. very fast. and now it auto detects cd numbers.. but i dont know what to do with DISCOGS_RATING and DISCOGS_VOTES .. maybe someday this info will be added to xml... i hope
---
and about this release: http://www.discogs.com/release/311765 (http://www.discogs.com/release/311765)
it uses non standart "vinyltrack" numbers...  so when i tag this release VINYLTRACK is empty

so i look here: http://www.discogs.com/release/311765?f=xm..._key=90c962fb19 (http://www.discogs.com/release/311765?f=xml&api_key=90c962fb19)
and see this:
<track><position>X</position><title>Cyclone</title><duration>5:41</duration></track>
<track><position>Y</position><title>Follow the Leader</title><duration>6:31</duration></track>

maybe... if tag "position" is not integer value then just save position tag as "vinyltrack"... or leave old scheme as it is... and save position to POSITION tag in foobar...
Title: foo_discogs
Post by: bubbleguuum on 2007-09-22 10:28:05
WOHOHOOO !!! NICE SURPRICE!!! I did not expect so quickly! THANKS! the second chapter of foo_discogs has begun!
---
and Release Notes - will be very useful for me..  now ill try to tag some files with a new toy! ahhhh!!
---
cool. very fast. and now it auto detects cd numbers.. but i dont know what to do with DISCOGS_RATING and DISCOGS_VOTES .. maybe someday this info will be added to xml... i hope
---
and about this release: http://www.discogs.com/release/311765 (http://www.discogs.com/release/311765)
it uses non standart "vinyltrack" numbers...  so when i tag this release VINYLTRACK is empty

so i look here: http://www.discogs.com/release/311765?f=xm..._key=90c962fb19 (http://www.discogs.com/release/311765?f=xml&api_key=90c962fb19)
and see this:
<track><position>X</position><title>Cyclone</title><duration>5:41</duration></track>
<track><position>Y</position><title>Follow the Leader</title><duration>6:31</duration></track>

maybe... if tag "position" is not integer value then just save position tag as "vinyltrack"... or leave old scheme as it is... and save position to POSITION tag in foobar...


I think there's some <position> that are not integer and not vinyl track either as the field can be entered freely in the release submit page, but I'll do a better check (using the Format to see if it's vinyl or not) to catch such special case.
Good idea to be able to tag the unmodified <position> tag, I'll add it !
Rating and vote count will be added at some point, that's what I was told.
Title: foo_discogs
Post by: 2Pacalypse on 2007-09-22 12:42:05
I get an error on release number 937961

"Discogs error: release id 937961: XML parse error"

Also foobar crashes when selecting this release 1011711
Title: foo_discogs
Post by: bubbleguuum on 2007-09-22 14:15:38
v 1.11 released - download (http://bubbleguuum.free.fr/foo_discogs/foo_discogs_1.11.zip)

fixes most of the reported bugs:

- fix crashes for some buggy releases with empty fields (notes etc, ex : 812575), should no more
crash with any empty field.
- better detection of VINYLTRACK, now based on format (ex : 812575)
- added %DISCOGS_TRACK_POSITION% : this is the unmodified position field in front of track names as they appear in the HTML pages.
- fix: no more crashes for some buggy release with tracks from several artist but no join fields (ex: 1011711)
- fix XML parse error for release with place holder artists (ex: 937961)
Title: foo_discogs
Post by: Kirya on 2007-09-22 17:32:34
The way to join two fileds in one will be nice  For example "Credits" & "Notes" to "Comment" multiline metatag

Also I use "V.A." instead of "Various Artists". bubbleguuum, can you make this editable?
Title: foo_discogs
Post by: 2Pacalypse on 2007-09-23 01:04:54
this is awesome bubbleguuum thanks! would it be possible to add to the discogs featured artists instead of track credits artists when they are displayed on discogs as:

Rap [featuring] "artist name"

Also i would find it useful if underneath the 2 boxes of tracks (one of discogs tracks & one of files) it would show the total number of tracks. for example sometimes i search for a release where i have some bonus tracks and i have to scroll down on both pages to see if the number of tracks match on the release. this would just save me from having to scroll.
Title: foo_discogs
Post by: shakey_snake on 2007-09-23 01:18:21
Thanks BG.
Is there any way that I can keep my field remappings between upgrades?
Title: foo_discogs
Post by: Decuman on 2007-09-23 03:03:29
Yeah... Second that.

Also it looks like the main album window doesn't show album art anymore (still downloads it).

Thanks

The way to join two fileds in one will be nice  For example "Credits" & "Notes" to "Comment" multiline metatag

Also I use "V.A." instead of "Various Artists". bubbleguuum, can you make this editable?
Title: foo_discogs
Post by: 2Pacalypse on 2007-09-23 03:10:35
how can i use the artist art downloaded to display in foobar? They are all named as numbers and i can't find a tag within my files which relates to any of these numbers?
Title: foo_discogs
Post by: tberman333 on 2007-09-23 04:06:11
I just started using this plugin and I love it... it is really going to help me to ensure all my tags are correct and better organize my music.

I just have one request... I like to tag my muti-disc shows with the track number that it is on the disc... so if the first disc has 10 tracks and the second disc has 11 tracks, the first disc tracknumbers will be 1-10 with totaltracks set to 10 and the second disc will be tracknumbers 1-11 with total tracks 11.

Currently they are numbered 1-21 with total tracks being 21.

I could see why people would want their collection tagged either way, but I was hoping you could make it an option to number each disc separately (without having to do the current manual workaround of checking the Multi-disc release box and running the write tags option twice - deleting the unwanted tracks each time).

I hope this request makes sense and is possible!

Thanks!

Todd
Title: foo_discogs
Post by: shakey_snake on 2007-09-23 04:46:35
how can i use the artist art downloaded to display in foobar? They are all named as numbers and i can't find a tag within my files which relates to any of these numbers?
%DISCOGS_ARTIST_ID%
You might check out my config (http://www.hydrogenaudio.org/forums/index.php?showtopic=55754) as an example.
Title: foo_discogs
Post by: bubbleguuum on 2007-09-23 08:58:04

how can i use the artist art downloaded to display in foobar? They are all named as numbers and i can't find a tag within my files which relates to any of these numbers?
%DISCOGS_ARTIST_ID%
You might check out my config (http://www.hydrogenaudio.org/forums/index.php?showtopic=55754) as an example.


Just found that artist id is not written using the XML parser. Problem is that it's not present in the XML...so I may have to use the artist name instead but with some more work to be sure it's unique and filesystem compliant.

I just started using this plugin and I love it... it is really going to help me to ensure all my tags are correct and better organize my music.

I just have one request... I like to tag my muti-disc shows with the track number that it is on the disc... so if the first disc has 10 tracks and the second disc has 11 tracks, the first disc tracknumbers will be 1-10 with totaltracks set to 10 and the second disc will be tracknumbers 1-11 with total tracks 11.

Currently they are numbered 1-21 with total tracks being 21.

I could see why people would want their collection tagged either way, but I was hoping you could make it an option to number each disc separately (without having to do the current manual workaround of checking the Multi-disc release box and running the write tags option twice - deleting the unwanted tracks each time).

I hope this request makes sense and is possible!

Thanks!

Todd


Maybe you missed out the "renumber" button in he multi-disc panel ? It will just renumber the tracks in the left pane from 1 to the number of tracks.

A fully automated system for multi-disc release is not easily (if even) possible, that's why it's semi automatic. Discogs miss the information "this track belongs to this CD". Plus multi-discs releases are a special case, not the common case
Title: foo_discogs
Post by: Dave_Scream on 2007-09-23 13:32:18
hi. some not serious bug or somethik like this... but this is dont need to release new version i think:

it is about VINYLTRACK again...
when taging CD releases foo_discogs anyway create VINYLTRACK tag and write to it tracks numbers...

for example it happens with this usual releases:
http://www.discogs.com/release/1015158 (http://www.discogs.com/release/1015158)
http://www.discogs.com/release/118605 (http://www.discogs.com/release/118605)

but i dont think that releases have any importance here...
Title: foo_discogs
Post by: 2Pacalypse on 2007-09-23 14:01:59
Just found that artist id is not written using the XML parser.


Though so, as i had the script looking for that field.

Just updated seems to be better, had one parse error tho:
foo_discogs: error: release 239279: XML parse error

Out of interest, say you ammended it to add the artist id is there a way to do batch updates for all my albums instead of doing 1 album at a time?
Title: foo_discogs
Post by: bubbleguuum on 2007-09-23 15:33:15

Just found that artist id is not written using the XML parser.


Though so, as i had the script looking for that field.

Just updated seems to be better, had one parse error tho:
foo_discogs: error: release 239279: XML parse error


Found it: the "+" in "C+C Music factory" was producing a wrong URL.

Quote
Out of interest, say you ammended it to add the artist id is there a way to do batch updates for all my albums instead of doing 1 album at a time?


That's what update album/artist art if for, you can select as many files as you want. I usually never write art at tag time but use unpdate instead in batch processing because it can be very very long especially for compilations. Btw looking at the code, update art should write %discogs_artist_id% (while fetching artist art at tag time does not), I've not rechecked it that it works though.


@ Dave_Scream: fixed!
Title: foo_discogs
Post by: bellavite on 2007-09-24 04:02:19
v 1.11 released


YAY! we love you
Title: foo_discogs
Post by: 2Pacalypse on 2007-09-25 00:06:04
for some reason the album art for this release wont download automatically: 1078022
Title: foo_discogs
Post by: stampgevaar on 2007-09-25 14:47:26
@ Dave_Scream: fixed!


Is the fixed version (without vinyltrack problem) already online? or does it still have to come?

Great update by the way I noticed that the tagging goes a lot quicker then before 
Title: foo_discogs
Post by: bubbleguuum on 2007-09-25 15:39:36


@ Dave_Scream: fixed!


Is the fixed version (without vinyltrack problem) already online? or does it still have to come?

Great update by the way I noticed that the tagging goes a lot quicker then before 


Will release a new version  tonight, with a fix for a bug in the tag mapping dialog when you set the tag name, it's modifing another tag. Say you change DISCOGS_FORMAT to FORMAT, it would write the format in the genre tag or something.
Title: foo_discogs
Post by: shakey_snake on 2007-09-28 21:29:36
Bug:
So, I'm having problems with how Discogs tags subsongs on CD releases.

Example:
http://www.discogs.com/release/717241 (http://www.discogs.com/release/717241)
There are only 9 tracks on this CD. However, foo_discogs wants to number them 1-14:
(http://img67.imageshack.us/img67/8393/discogssubsongerrornv2.th.png) (http://img67.imageshack.us/my.php?image=discogssubsongerrornv2.png)

So, it's not a huge deal, but it is an inaccuracy.
Title: foo_discogs
Post by: Kirya on 2007-09-29 12:10:17
bubbleguuum, could be implemented Featuring/Remix with the new xml API?
Title: foo_discogs
Post by: Dave_Scream on 2007-09-29 13:58:08
Киря, а эти не работают?:

Edit tag mappings/Featuring track credit
Edit tag mappings/Vocals track credit
Edit tag mappings/Remix track credit
Title: foo_discogs
Post by: Kirya on 2007-09-29 14:07:04
Oops.. but I mean write it into the %title% in brackets after actual track title
Title: foo_discogs
Post by: Dave_Scream on 2007-09-29 15:01:20
try somethink like this:

%title% [' ('[Remixed by %DISCOGS_CREDIT_REMIX%][ Vocals by %DISCOGS_CREDIT_VOCALS%][ feat. %DISCOGS_CREDIT_FEATURING%]')']

but there is a problem:
the thing that without API was good now (with api) is bad:

for example this release http://www.discogs.com/release/244132 (http://www.discogs.com/release/244132)
track 2-07  looks like

2-07 Abattoir (Razormaid Mix) (5:46)
Remix - Razormaid

so if u make previous scheme ull get "Abattoir (Razormaid Mix) (Remixed by Razormaid)" lol

maybe some strstr script will help in this situation... it will look like this %title% $if($strstr(%title%,%DISCOGS_CREDIT_REMIX%),,%DISCOGS_CREDIT_REMIX%)

so if %title% already have %DISCOGS_CREDIT_REMIX% it will not be shown...
---
UPD. ok it was not bad idea: so i started to test this string:

%title% ['('[$if($strstr(%title%,%DISCOGS_CREDIT_REMIX%),,Remixed by %DISCOGS_CREDIT_REMIX%)][$if($strstr(%title%,%DISCOGS_CREDIT_FEATURING%),,feat. %DISCOGS_CREDIT_FEATURING%)][$if($strstr(%title%,%DISCOGS_CREDIT_VOCALS%),,vocals by %DISCOGS_CREDIT_VOCALS%)]')']
---
oh. %DISCOGS_TRACK_CREDITS% do this work...
Title: foo_discogs
Post by: Kirya on 2007-09-29 15:22:24
Dave_Scream

I know, thanks  But I don't want only display feat/remix info, so I will use masstager to update %title% and then remove "temporary" fields. I think it's a good idea to embed this actions to the foo_discogs.

sorry for my english
Title: foo_discogs
Post by: mquander on 2007-09-30 20:56:03
Related to this release (http://www.discogs.com/release/1085782):  When there are two performers credited in one track, as in track 11's vocalist, it only retrieves one (TTC in this instance.)
Title: foo_discogs
Post by: Chris Norman on 2007-10-02 21:15:43
Hey, bubbleguuum thx for the great all new api support. I upgraded from 1.02 to 1.11 and I am really pleased by the speedy access. However I came across one possible bug:

I have artist art download enabled but I get an error message "I/O error (win32 #123)"

The files go to the path:

E:\Music\Special Interest\Artist pictures

when I add the path to

"E:\Music\Special Interest\Artist pictures"

I get the message "Object not found"

I tried to download for a couple of releases and it seems to work nowhere.

Any idea?

Cheers,

Chris
Title: foo_discogs
Post by: deucalion on 2007-10-02 23:38:09
 thank you for yet another very fine release!
Title: foo_discogs
Post by: ¶ýô× on 2007-10-06 14:51:32
Hej, thanks for this great tagger plugin!

I wondered if combining informations in the mapping is possible.
I mean, you can input any field name to map certain infos to, which is the best thing of all, but specifying the same field name multiple times eventually ends up with only either (perhaps the last one in the list) info getting added to the certain field.
For instance there is the "VINYLTRACK" for the nice vinyl number adding feature, but i'd like it to be added in front of (some might want it at the end in brackets etc) the title data in the same field, is doing that possible with the addition of some symbols or some way? If not yet, i'd be very grateful for such a feature, since it'd take me an other step closer to fully automatized tagging =)

Thanks for the great work with this handy component!
Cheers
Title: foo_discogs
Post by: Dave_Scream on 2007-10-06 17:16:04
I wondered if combining informations in the mapping is possible.
I mean, you can input any field name to map certain infos to, which is the best thing of all, but specifying the same field name multiple times eventually ends up with only either (perhaps the last one in the list) info getting added to the certain field.
For instance there is the "VINYLTRACK" for the nice vinyl number adding feature, but i'd like it to be added in front of (some might want it at the end in brackets etc) the title data in the same field, is doing that possible with the addition of some symbols or some way? If not yet, i'd be very grateful for such a feature, since it'd take me an other step closer to fully automatized tagging =)


Masstagger -> ADD -> format values from other fields ->
Destination field name -> VINYLTRACK
Formatting pattern -> '('%vinyltrack%')'

r u talking about this thing? if yes, i think this is not foo_discogs job...

maybe...... foo_discogs needs some "after tag job" automation-abilities... for example: after tagging - start for these tagged files some mass tagger scripts.. like: "write 'added date' stamp" and some other scripts...  or maybe after tag just press some hotkeys.. and these hotkeys will do some job...

for example, in my profile, hotkey R is assigned to mass tagger script wich add "date stamp" to %ADDED%...

but this is not hard for me to just click this hotkey everytime i tag my files =)
Title: foo_discogs
Post by: bubbleguuum on 2007-10-06 18:16:19
I'll release a new version that fixes the reported bugs soon

@DaveScream:  as you say it's the masstagger job to eventually retag/reformat stuff using discogs info afterwards. Running custom scripts is a single hotkey away...
I'm running foo_cwb_hook to set %ADDED% when the new files that enter the library instead of invoking the script manually.

@Chris Norman: you have this error because the artist art directory does not exist. Just create it and it should work. In next version the directory is created if it does not exists
Title: foo_discogs
Post by: shakey_snake on 2007-10-06 18:18:30
Thanks bubbleguuum!
Title: foo_discogs
Post by: Dave_Scream on 2007-10-06 20:05:08
I'm running foo_cwb_hook to set %ADDED% when the new files that enter the library instead of invoking the script manually.


hm i saw this feature, but i dont used it because i thinked that it will tag any files, wich i will drag in list... even dont fully downloaded releases  but after ur words i tested it and it really works only when i move files in path wich is in media library...

i have a question...

when i move/rename already downloaded releases from download folder to the right path, i do 2 steps.

first: i click W hotkey, to open mass file renamer, and load "by artist" or "by label" preset  and  make "move entire parent directory..." - for moving all NFO,SFV,and jpg files to new release path

second: and then im again press W hotkey, and select  "rename files"

so firstly i move entire folder to new path, and then i rename files in this new path.

and i want to ask how u make this job? can i do "move" and then "rename" with only one step??
Title: foo_discogs
Post by: ¶ýô× on 2007-10-06 20:24:06
Thanks a lot guys , it really works as i desired! feeling a bit noober than guilty, but your answers were a lot faster than i'd have found the one reading all the tagging threads.
This vinyltrack thingie is still a bit complicated tho, since the field collects the general tracknumber datas too, regardless it's first char is a letter, or just plain numbers which is not too vinylish (or is there a regexp to do this "copy value only with first character alphabet" trick?) .

Thanks again & Cheers!
Title: foo_discogs
Post by: bubbleguuum on 2007-10-06 21:47:12
This vinyltrack thingie is still a bit complicated tho, since the field collects the general tracknumber datas too, regardless it's first char is a letter, or just plain numbers which is not too vinylish (or is there a regexp to do this "copy value only with first character alphabet" trick?) .
Thanks again & Cheers!


There's a bug with last released version with VINYLTRACK where for some release it has a numeric value while it should have not. Correctex in next release: now VINYLTRACK has a value only if format is "Vinyl" or "Acetate"


Quote
i have a question...

when i move/rename already downloaded releases from download folder to the right path, i do 2 steps.

first: i click W hotkey, to open mass file renamer, and load "by artist" or "by label" preset  and  make "move entire parent directory..." - for moving all NFO,SFV,and jpg files to new release path

second: and then im again press W hotkey, and select  "rename files"

so firstly i move entire folder to new path, and then i rename files in this new path.

and i want to ask how u make this job? can i do "move" and then "rename" with only one step??


I use "rename or move files " in the "Do what" section of the mass file renamer.
The only problem is that it won't move non-audio files to the destination (such an option would be really useful to have). As in a release directory I only have album art, I always bacth fetch art when files are in their definitive location, not at tag time. So I  understand why you must do it in 2 pass in your case
Title: foo_discogs
Post by: bubbleguuum on 2007-10-06 21:58:26
Bug:
So, I'm having problems with how Discogs tags subsongs on CD releases.

Example:
http://www.discogs.com/release/717241 (http://www.discogs.com/release/717241)
There are only 9 tracks on this CD. However, foo_discogs wants to number them 1-14:
[a href="http://img67.imageshack.us/my.php?image=discogssubsongerrornv2.png" target="_blank"]
Title: foo_discogs
Post by: bubbleguuum on 2007-10-06 22:52:15
v1.12 (http://bubbleguuum.free.fr/foo_discogs/foo_discogs_1.12.zip) released!

+ fix: editing a tag mapping could attribute it to the wrong discogs info
+ fix: incomplete url escaping was producing XML parse error (release 239279)
+ fix: %DISCOGS_ARTIST_ID% is now fetched and written with the XML API
+ chg: retrieve art using XML API urls instead of old HTML method (faster)
+ fix: small art preview is now displayed when using the XML API
+ fix: artist art directory is created if it does not exist
+ chg: subtracks are now part of the discogs track listing if they have some length (that mean they are real tracks, instead of separators)
(ex: release 891540, subtracks are skipped)
+ fix: %DISCOGS_CREDIT_FEATURING%, %DISCOGS_CREDIT_VOCALS%, %DISCOGS_CREDIT_REMIX% now handle multiples credits (ex: release 1085782, track 11)
+ add: value written for %ALBUM_ARTIST% when release is a compilation is now configurable (default: "Various Artist")
Title: foo_discogs
Post by: shakey_snake on 2007-10-06 23:09:41
There's no way to know these subtracks are not real tracks and it's a rare case. Just delete the offending subtracks and hit the renumber button but I'm sure you already figured that
I realize it's rare, be could a solution be a "combined subtracks" button so that the subtrack names are not lost?
Title: foo_discogs
Post by: Bachi-Bouzouk on 2007-10-06 23:46:01
+ fix: artist art directory is created if it does not exist
Could you explain how it works ?
putting F:\mp3\artists\ do not create a specific folder for the artist.

OK, I understood..

and putting an invalide filepath (F:/mp3/artists ) makes fb2K crash with a pop up saying "invalid filepath"
Title: foo_discogs
Post by: Chris Norman on 2007-10-07 08:42:37
@Chris Norman: you have this error because the artist art directory does not exist. Just create it and it should work. In next version the directory is created if it does not exists


No that is not quite correct - Folder exists. I found a way to circumvent: I just copied everything into a folder that does not have spaces and it worked.

BTW the mass update  mode now works like a charm. No crashes anymore
Title: foo_discogs
Post by: Dave_Scream on 2007-10-07 09:07:33
it is about multivalued tags
bubbleguuum as i saw on screenshots, u use "playlist tree"... and i have a question:
for example "by artist" query in playlist_tree... what u doing in situation, when there are for example this names:

Umek
Umek vs. Chris Liebing
Ben Long & Umek

and when searching "Umek", "Ben Long & Umek" will be far away from Umek in list, cause "B" is far away from "U"
and i want to see all this releases in just "Umek" folder

so i've tryed to make %album artist% as multivalued tag... and  manually edit "Ben Long & Umek" with ";" between artists, for multivalued string...
and then in Query editor i use this:  <%album artist%>  but all this dont work as it must...

and then i have read the playlist tree info.. and in txt author says that <%tag%> is not working... but this job can be finished by some speial query language in playlist tree...

does anybody know how to make this work? and if yes, maybe foo_discogs can just write artist tag like this "Umek; Chris Liebing" instead of "Umek vs. Chris Liebing"...?
Title: foo_discogs
Post by: Kirya on 2007-10-07 09:59:04
Quote
+ add: value written for %ALBUM_ARTIST% when release is a compilation is now configurable (default: "Various Artist")

yeah!  thanks
Title: foo_discogs
Post by: bubbleguuum on 2007-10-07 10:34:08
it is about multivalued tags
bubbleguuum as i saw on screenshots, u use "playlist tree"... and i have a question:
for example "by artist" query in playlist_tree... what u doing in situation, when there are for example this names:

Umek
Umek vs. Chris Liebing
Ben Long & Umek

and when searching "Umek", "Ben Long & Umek" will be far away from Umek in list, cause "B" is far away from "U"
and i want to see all this releases in just "Umek" folder

so i've tryed to make %album artist% as multivalued tag... and  manually edit "Ben Long & Umek" with ";" between artists, for multivalued string...
and then in Query editor i use this:  <%album artist%>  but all this dont work as it must...

and then i have read the playlist tree info.. and in txt author says that <%tag%> is not working... but this job can be finished by some speial query language in playlist tree...

does anybody know how to make this work? and if yes, maybe foo_discogs can just write artist tag like this "Umek; Chris Liebing" instead of "Umek vs. Chris Liebing"...?


I'm using <%STYLE%> to have a release with multiple styles appear in each playlist tree style node. Ex if a release has style Techno and Acid it would be listed in both Techno and Acid categories in the tree. It works because %STYLE% is a multivalue tag
As you said for this to work for artists, %ARTIST% need to be a multi-value tag. I'll add the option in the next release.


There's no way to know these subtracks are not real tracks and it's a rare case. Just delete the offending subtracks and hit the renumber button but I'm sure you already figured that
I realize it's rare, be could a solution be a "combined subtracks" button so that the subtrack names are not lost?


Would be difficult to do an UI for that for such a rare case. You're better off manually editing the names afterwards to add the subtracks.


@Chris Norman: you have this error because the artist art directory does not exist. Just create it and it should work. In next version the directory is created if it does not exists


No that is not quite correct - Folder exists. I found a way to circumvent: I just copied everything into a folder that does not have spaces and it worked.



Strange because I had no problem using a directory with white spaces...(as long as it existed with the previous version)
Title: foo_discogs
Post by: Dave_Scream on 2007-10-07 10:54:29
I'm using <%STYLE%> to have a release with multiple styles appear in each playlist tree style node. Ex if a release has style Techno and Acid it would be listed in both Techno and Acid categories in the tree. It works because %STYLE% is a multivalue tag
As you said for this to work for artists, %ARTIST% need to be a multi-value tag. I'll add the option in the next release.


I understand where is the problem was! (ive talked about %album artist%, but not about %artist%)
and the solution is: %album artist% is not always has VALUE!!!
---
and all releases in playlist tree is not showed when using %<album artist>% BECAUSE  if %artist% == %album artist% - %album artist% is empty!!!  but for example Columns UI if %album artist% empty, uses just %artist

but! when using <%album artist%> scheme, %artist% and %album artist% is no more linked!!!! so... if i use this theme in playlist tree  it will show only the releases, with %album artist%...

so another offer: fill the %album artist% tag even if %artist% == %album artist%
---
I checked it right now, and for example here: http://www.discogs.com/release/211645 (http://www.discogs.com/release/211645)
when i tag, %album artist%  is empty
---
no, it is not working...some releases are out of list anyway. im waiting for answer here http://www.hydrogenaudio.org/forums/index....id=521309&# (http://www.hydrogenaudio.org/forums/index.php?showtopic=29435&st=1725&gopid=521309&#)
Title: foo_discogs
Post by: bubbleguuum on 2007-10-08 21:41:50

I'm using <%STYLE%> to have a release with multiple styles appear in each playlist tree style node. Ex if a release has style Techno and Acid it would be listed in both Techno and Acid categories in the tree. It works because %STYLE% is a multivalue tag
As you said for this to work for artists, %ARTIST% need to be a multi-value tag. I'll add the option in the next release.


I understand where is the problem was! (ive talked about %album artist%, but not about %artist%)
and the solution is: %album artist% is not always has VALUE!!!
---
and all releases in playlist tree is not showed when using %<album artist>% BECAUSE  if %artist% == %album artist% - %album artist% is empty!!!  but for example Columns UI if %album artist% empty, uses just %artist

but! when using <%album artist%> scheme, %artist% and %album artist% is no more linked!!!! so... if i use this theme in playlist tree  it will show only the releases, with %album artist%...

so another offer: fill the %album artist% tag even if %artist% == %album artist%
---
I checked it right now, and for example here: http://www.discogs.com/release/211645 (http://www.discogs.com/release/211645)
when i tag, %album artist%  is empty
---
no, it is not working...some releases are out of list anyway. im waiting for answer here http://www.hydrogenaudio.org/forums/index....id=521309&# (http://www.hydrogenaudio.org/forums/index.php?showtopic=29435&st=1725&gopid=521309&#)


Thinking about this issue even if  %ALBUM ARTIST% always contained a value (all artists, as a multi value tag) it still wouldn't work for compilation becuase in that's case %ALBUM ARTIST% value is "Various Artist".

I'm going to add another tag let's say %ARTIST_MULTI% that will be the same as %ARTIST% but without the join fields between artist. Example : if %ARTIST% is "Foo vs Bar", %ARTIST_MULTI% will contain "Foo; Bar" (as a multi value tag). Then you can just use <%ARTIST_MULTI%> and it should work. Does it cover all the cases ?
Title: foo_discogs
Post by: Dave_Scream on 2007-10-09 10:05:24
Thinking about this issue even if  %ALBUM ARTIST% always contained a value (all artists, as a multi value tag) it still wouldn't work for compilation becuase in that's case %ALBUM ARTIST% value is "Various Artist".

I'm going to add another tag let's say %ARTIST_MULTI% that will be the same as %ARTIST% but without the join fields between artist. Example : if %ARTIST% is "Foo vs Bar", %ARTIST_MULTI% will contain "Foo; Bar" (as a multi value tag). Then you can just use <%ARTIST_MULTI%> and it should work. Does it cover all the cases ?


well.. this scheme will be good for getting all track list of 1 %artist% and it will show all the tracks of artist... unmixed-from releases of this artist, and mixed from mixes and compilations of other artists, and shure this feature will not be spare. so %artist_multi% +1

but it is good to have a feature for getting only full releases of artist (not just separate tracks from releases with tracklist which contains this artist) ... and for this job %album artist% must be used instead of just %artist%.

and another reason, for example here: http://www.discogs.com/release/924278 (http://www.discogs.com/release/924278)
release name:
Justus Köhncke vs. Prins Thomas - Elan
tracklist:
A Justus Kohncke - Elan (Prins Thomas Versjon)
B1 Justus Kohncke - Advance (Prins Thomas Diskotek Miks)
B2 Justus Kohncke - Tilda

Prins Thomas here is only as %album artist% so here we need to use %album_artist_multivalued% instead of %artist_multivalued% because the last is not useable (it will contain only Justus Kohncke).

so it will be good to have not just %artist_multi% but and %album_artist_multi% too...

shure when %album_artist_multi% contains "Various Artist" it will be not useable in that case...  well it is not so dangerously if playlist_tree will have 1 additional node - "Various Artists"

is there some troubles in how to fill the %album_artist_multi%?
i look now for example here: http://www.discogs.com/release/924278?f=xm..._key=90c962fb19 (http://www.discogs.com/release/924278?f=xml&api_key=90c962fb19)
and see this:
<artists><artist><name>Justus Köhncke</name><join>vs.</join></artist><artist><name>Prins Thomas</name></artist></artists>

so %album_artist_multi% can be constructed from all <artist> in <artists> tag in release.
Title: foo_discogs
Post by: bubbleguuum on 2007-10-09 20:57:52

Thinking about this issue even if  %ALBUM ARTIST% always contained a value (all artists, as a multi value tag) it still wouldn't work for compilation becuase in that's case %ALBUM ARTIST% value is "Various Artist".

I'm going to add another tag let's say %ARTIST_MULTI% that will be the same as %ARTIST% but without the join fields between artist. Example : if %ARTIST% is "Foo vs Bar", %ARTIST_MULTI% will contain "Foo; Bar" (as a multi value tag). Then you can just use <%ARTIST_MULTI%> and it should work. Does it cover all the cases ?


well.. this scheme will be good for getting all track list of 1 %artist% and it will show all the tracks of artist... unmixed-from releases of this artist, and mixed from mixes and compilations of other artists, and shure this feature will not be spare. so %artist_multi% +1

but it is good to have a feature for getting only full releases of artist (not just separate tracks from releases with tracklist which contains this artist) ... and for this job %album artist% must be used instead of just %artist%.

and another reason, for example here: http://www.discogs.com/release/924278 (http://www.discogs.com/release/924278)
release name:
Justus Köhncke vs. Prins Thomas - Elan
tracklist:
A Justus Kohncke - Elan (Prins Thomas Versjon)
B1 Justus Kohncke - Advance (Prins Thomas Diskotek Miks)
B2 Justus Kohncke - Tilda

Prins Thomas here is only as %album artist% so here we need to use %album_artist_multivalued% instead of %artist_multivalued% because the last is not useable (it will contain only Justus Kohncke).

so it will be good to have not just %artist_multi% but and %album_artist_multi% too...

shure when %album_artist_multi% contains "Various Artist" it will be not useable in that case...  well it is not so dangerously if playlist_tree will have 1 additional node - "Various Artists"

is there some troubles in how to fill the %album_artist_multi%?
i look now for example here: http://www.discogs.com/release/924278?f=xm..._key=90c962fb19 (http://www.discogs.com/release/924278?f=xml&api_key=90c962fb19)
and see this:
<artists><artist><name>Justus Köhncke</name><join>vs.</join></artist><artist><name>Prins Thomas</name></artist></artists>

so %album_artist_multi% can be constructed from all <artist> in <artists> tag in release.


Good analysis so expect %album_artist_multi% and %artist_multi% in next release.

To respect the guidelines I'll leave %album artist% as it is (ie defined only if there's multiple artists):

"Notes: Field name is ALBUM ARTIST, with no underscore. Tag should exist if and only if an album is by multiple artists, and be contained in every track"
Title: foo_discogs
Post by: Chris Norman on 2007-10-10 22:48:16
Just some feedback. I get an XML Parse Error for release 850967.

The release is flagged as rejected. Probably this the reason why it doesn't work.
Title: foo_discogs
Post by: WellRedd on 2007-10-20 11:33:47
I'd just like to say a big thank you to bubbleguuum for this plugin.  I'm a new user to foobar, and reading about this plugin made me want to try out foobar.  I originally planned on using foobar with foo_discogs to tag my collection, and then move back to Winamp once it was done.  Needless to say, this plugin has made foobar an essential application, I'm a total convert.  Winamp will be uninstalled very soon, methinks.

At long last, my MP3's are all (or nearly all, Discogs isn't complete, closer every day and all that) tagged, correctly, with album art, catalog numbers and labels.

Ta muchly!
Title: foo_discogs
Post by: bubbleguuum on 2007-10-21 13:19:14
I'd just like to say a big thank you to bubbleguuum for this plugin.  I'm a new user to foobar, and reading about this plugin made me want to try out foobar.  I originally planned on using foobar with foo_discogs to tag my collection, and then move back to Winamp once it was done.  Needless to say, this plugin has made foobar an essential application, I'm a total convert.  Winamp will be uninstalled very soon, methinks.

At long last, my MP3's are all (or nearly all, Discogs isn't complete, closer every day and all that) tagged, correctly, with album art, catalog numbers and labels.

Ta muchly!


Thanks, glad you find the plugin useful and to see an ogger convert from winamp to foobar! And with the new foobar 0.9.5 it's an even greater time to make the switch !
Title: foo_discogs
Post by: Dave_Scream on 2007-10-21 14:08:03
And with the new foobar 0.9.5 it's an even greater time to make the switch !

wohoho! thank you for this news!  i downloaded it right now! and i can se here new File Operations!

so now we have ability to  Rename all mp3's to new path and move all .jpg and .nfo from old location to new location simply by 2 clicks =)
---
ahaha! by 1 click!
Title: foo_discogs
Post by: WellRedd on 2007-10-23 12:55:52
I haven't moved over to the newer version yet, still on 0.9.4.4., seeing as I'm a brand new user, I'm a little wary of upgrading immediately, although maybe this is just over cautious on my part.  Am I missing much functionality staying where I am for the time being?  Is it safe to do this without messing up my configuration and preferences?

I've actually got another quick question, about artist art.  Currently it's downloaded to a single folder in my music folder, but I've noticed that I've got a few thousand image files, which is going to be a bit of a pain to sort through.  Ideally, I'd like each artist image to be downloaded into the album folder, as the album art currently is.  This way, I'd have not only the covers but the artist images viewable in foo_uie_albumart.  It might also be nice to have the label art, when available, downloaded in the same way. 

I'm not sure if this is possible with the current version already, or if not, if it's a possible future feature/option.  Maybe it's possible to point foo_uie_albumart to that folder and pick the right images to display?

Any pointers/help would be most appreciated.

[edited for spelling]
Title: foo_discogs
Post by: bubbleguuum on 2007-10-23 19:32:26
I haven't moved over to the newer version yet, still on 0.9.4.4., seeing as I'm a brand new user, I'm a little wary of upgrading immediately, although maybe this is just over cautious on my part.  Am I missing much functionality staying where I am for the time being?  Is it safe to do this without messing up my configuration and preferences?


You can install 0.9.5 in a different directory if you want to play with it

Quote
I've actually got another quick question, about artist art.  Currently it's downloaded to a single folder in my music folder, but I've noticed that I've got a few thousand image files, which is going to be a bit of a pain to sort through.  Ideally, I'd like each artist image to be downloaded into the album folder, as the album art currently is.  This way, I'd have not only the covers but the artist images viewable in foo_uie_albumart.  It might also be nice to have the label art, when available, downloaded in the same way. 

I'm not sure if this is possible with the current version already, or if not, if it's a possible future feature/option.  Maybe it's possible to point foo_uie_albumart to that folder and pick the right images to display?


The idea is that artist art is downloaded in a single directory to avoid duplication of images. You can't download it in the release directory but if more people want it I may add the option.
Using the single artist art single directory, if you didn't figured it out already, you can add a source in foo_uie_albumart like this:

Code: [Select]
i:\artist_art\[%discogs_artist_id%]_?.jpg


replace i:\artist_art\ with the good directory.
You can even have two album art panel one for album art and one for artist art.

Label art is not fetchable, I may add it.
Title: foo_discogs
Post by: WellRedd on 2007-10-23 20:18:59
You can install 0.9.5 in a different directory if you want to play with it


Didn't think of that, I may well have a play around with that tomorrow.

The idea is that artist art is downloaded in a single directory to avoid duplication of images. You can't download it in the release directory but if more people want it I may add the option.
Using the single artist art single directory, if you didn't figured it out already, you can add a source in foo_uie_albumart like this:

Code: [Select]
i:\artist_art\[%discogs_artist_id%]_?.jpg


replace i:\artist_art\ with the good directory.
You can even have two album art panel one for album art and one for artist art.

Label art is not fetchable, I may add it.


It's a good idea, for those people who want to save HDD space.  Personally, a few MB here and there wouldn't bother me.  It'd be nice to have the option at least, but with your solution, it works in any case.

Having said that, I can't get it to work right now, I'm going to play around with it and get it working though.  Thanks for you help.
Title: foo_discogs
Post by: WellRedd on 2007-10-23 20:41:26
Hmm, I think I've found out why there is a problem.  In the Edit tag mappings dialogue, the Original Track Number (internal) tag is mapped to DISCOGS_ARTIST_ID tag, but I can't change that because the Map To: box is greyed out.  Write tag is ticked, not greyed out.  Therefore, each track has a different artist ID, namely, the same as the track number.  Also, the Artist ID is mapped to DISCOGS_ARTIST_ID too, where write tag is greyed out too (I assume that's correct seeing as I have Fetch Artist Art enabled, and the Custom Info box is ticked.  Did I maybe change sommething I shouldn't have when I first started using this plugin?  Or maybe this is the expected behaviour?

(Sorry to bother you with this, I don't want to be a pain in the neck!)

Also, the path to my artist art is F:\Music\!artist art\???.jpg, it wouldn't be the ! causing a problem would it?
Title: foo_discogs
Post by: bubbleguuum on 2007-10-23 20:55:15
Hmm, I think I've found out why there is a problem.  In the Edit tag mappings dialogue, the Original Track Number (internal) tag is mapped to DISCOGS_ARTIST_ID tag, but I can't change that because the Map To: box is greyed out.


Wow this is wrong and I wonder how it hapenned. Try clicking the "default mappings" button to see if "Original Track Number" is resetted to DISCOGS_ORIGINAL_TRACK_NUMBER
Title: foo_discogs
Post by: WellRedd on 2007-10-23 21:10:09
I did that, and now the Original Track Number is routed to DISCOGS_ORIGINAL_TRACK_NUMBER, but now it's not fetching the artist ID, even though artist ID is checked (greyed out).  Weird.
Title: foo_discogs
Post by: stellis11 on 2007-10-24 07:30:18
While using some previous version of foo_discogs (I know it wasn't 1.12), I noticed that some tags written by foo_discogs were disappearing. It seems completely random, and happened to maybe one track out of an album and never a whole album at a time.

This can cause problems with foo_dop. Please read/reply to this post if you have any info: http://www.hydrogenaudio.org/forums/index....showtopic=58454 (http://www.hydrogenaudio.org/forums/index.php?showtopic=58454)
Title: foo_discogs
Post by: Ydope on 2007-10-28 15:04:20
Hi,

where does foo_discogs store its configuration?
I'd like to copy it and use it on a different computer.

Thanks in advance.
Title: foo_discogs
Post by: stampgevaar on 2007-11-13 12:00:19
EDIT: seems like it was discogs itself that was causing the problem...

Oh and if it's possible please make the "label art fetching" possible, really sounds like a cool idea.

Thanks in advance
Title: foo_discogs
Post by: disturb on 2007-11-19 22:57:52
since i switched to 0.9.5 i can't get the album arts downloaded by foo_discogs to display.
i use the dfault settings, anyone could hint me at a soultion for this please ?

and props to bubblegum too
Title: foo_discogs
Post by: stampgevaar on 2007-11-21 11:10:12
When I choose view release,label,artist,etc page I get an error from windows. My extentions are not connected to firefox anymore. Could you tell me what extention you use for this command so I can re-connect them?

I hope you understand what I mean, it's difficult to make my self clear because my windows is dutch. If I literally translate the error, it says that I have to go to folder options because there is no program connected to these sort of files.

EDIT: never mind I figured it out sorry
Title: foo_discogs
Post by: mitchmalibu on 2007-12-09 19:42:24
I can't get the plugin to work as of late. Here is the error the plugin returns :

"discogs error: release id=******: XML API error"

It would be great if you could check what's wrong, I'm already missing my little tagging friend.
Title: foo_discogs
Post by: bubbleguuum on 2007-12-09 21:18:59
I can't get the plugin to work as of late. Here is the error the plugin returns :

"discogs error: release id=******: XML API error"

It would be great if you could check what's wrong, I'm already missing my little tagging friend.



No problem here, maybe discogs was down when you tried ? Also discogs requests are limited to 5000 per day and per IP.
Title: foo_discogs
Post by: Dave_Scream on 2007-12-09 21:26:48
what  key foo_discogs using? i dont input it nowhere....  one key for all users?  hm) cool   

if this error happens because of key limit  then it meants that foo_discogs  helps to us  to tag  more that 5000 releases per day
Title: foo_discogs
Post by: bubbleguuum on 2007-12-09 21:56:45
what  key foo_discogs using? i dont input it nowhere....  one key for all users?  hm) cool   

if this error happens because of key limit  then it meants that foo_discogs  helps to us  to tag  more that 5000 releases per day


per day and *per user*
Title: foo_discogs
Post by: mitchmalibu on 2007-12-10 15:28:15
Looks like my edit didn't work.

I managed to solve the problem : looks like it was on my end (firewall problem).
Title: foo_discogs
Post by: willz on 2007-12-19 16:52:07
Hi bubbleguuum can i start by saying this plugin is awesome ive been using discogs for ages to tag my collection manually and this does it all for me except one thing,  and i was wondering if it could be considered for furture versions?  When a release has multiple tracks that have been split artists and tracks PERFECT EXAMPLE (http://www.discogs.com/release/935576) could foo_discogs pick up on this and display it, so if you look at the first track on the link its in 3 parts A, B & C could this put in the tag as

Timberland / A-Skillz + Krafty Kuts / Fatback Band, The <<<---Artist

Cop That Shit / Gimme The Breaks / (Are You Ready) Do The Bus Stop <<<---Title


hope that all makes sense, once again great plugin please keep up the good work
Title: foo_discogs
Post by: bubbleguuum on 2007-12-19 18:55:53
Hi bubbleguuum can i start by saying this plugin is awesome ive been using discogs for ages to tag my collection manually and this does it all for me except one thing,  and i was wondering if it could be considered for furture versions?  When a release has multiple tracks that have been split artists and tracks PERFECT EXAMPLE (http://www.discogs.com/release/935576) could foo_discogs pick up on this and display it, so if you look at the first track on the link its in 3 parts A, B & C could this put in the tag as

Timberland / A-Skillz + Krafty Kuts / Fatback Band, The <<<---Artist

Cop That Shit / Gimme The Breaks / (Are You Ready) Do The Bus Stop <<<---Title


hope that all makes sense, once again great plugin please keep up the good work


The way discogs data is structured it's not possible to know that the first 3 tracks are a single track. Btw on the CD, are there really 3 physical tracks or did the discogs submitter split a single physical track into 3 because the CD cover listed it this way ?
Title: foo_discogs
Post by: willz on 2007-12-20 12:27:18

Hi bubbleguuum can i start by saying this plugin is awesome ive been using discogs for ages to tag my collection manually and this does it all for me except one thing,  and i was wondering if it could be considered for furture versions?  When a release has multiple tracks that have been split artists and tracks PERFECT EXAMPLE (http://www.discogs.com/release/935576) could foo_discogs pick up on this and display it, so if you look at the first track on the link its in 3 parts A, B & C could this put in the tag as

Timberland / A-Skillz + Krafty Kuts / Fatback Band, The <<<---Artist

Cop That Shit / Gimme The Breaks / (Are You Ready) Do The Bus Stop <<<---Title


hope that all makes sense, once again great plugin please keep up the good work


The way discogs data is structured it's not possible to know that the first 3 tracks are a single track. Btw on the CD, are there really 3 physical tracks or did the discogs submitter split a single physical track into 3 because the CD cover listed it this way ?


Its a single track on the cd, its just that its three songs mashed together

heres a pic of a mash up album with the same sort of structure

http://www.b00mb0x.org/wordpress/wp-conten...sleazy-back.jpg (http://www.b00mb0x.org/wordpress/wp-content/uploads/2006/12/mcsleazy-back.jpg)
Title: foo_discogs
Post by: wojtek on 2007-12-20 13:27:00
The idea is that artist art is downloaded in a single directory to avoid duplication of images. You can't download it in the release directory but if more people want it I may add the option.


I'd be very glad to see that option
Title: foo_discogs
Post by: orchid on 2007-12-21 10:38:53
Hey bubbleguuum

What would you think about adding a log window for tag updating? One that after scan, shows all new/changed info available and lets you choose which to update would be handy.

Also some credits wont get written if the credit type contains multiple values. Example release 928448 (http://www.discogs.com/release/928448) tracks 11 & 12 won't write vocals. If I remember correctly, on some releases these have worked though
Title: foo_discogs
Post by: tripanoid on 2007-12-23 18:55:28
Windows Vista Ultimate x64
foobar2000 v0.9.4.5
foo_discogs.dll v1.12

1. Enter configuration window
2. Set "Fetch Artist Art" checkbox
3. Click "Ok" button
4. An error occurs "Unhandled exception: I/O error (win32 #123)" and foobar terminates abnormally

Note: "Directory (no tags)" field is empty
Title: foo_discogs
Post by: Slotos on 2007-12-23 22:32:33
IIRC win32 #123 means "file not found"
Check existence of your fetch folder.
Title: foo_discogs
Post by: bubbleguuum on 2007-12-24 10:35:13
IIRC win32 #123 means "file not found"
Check existence of your fetch folder.


That's it, you must point to a valid existing directory. However, invalid input should not make foobar crash so good find tripanoid.
Title: foo_discogs
Post by: Slotos on 2007-12-24 15:20:43
Actually with foobar betas all plugins I've tried that use regexp or exact file search crash often with error #123. So I assume something have changed with error handling in those betas. Though it's only a layman guess.
Title: foo_discogs
Post by: geekmaster1 on 2007-12-27 03:11:04
What page of all 19 pages is the latest version on?
Title: foo_discogs
Post by: RavenSoft on 2007-12-27 05:22:44
What page of all 19 pages is the latest version on?


First post has the latest
Title: foo_discogs
Post by: Dave_Scream on 2007-12-27 11:26:03
i think that smart "featuring" grabbing algoryhm is really important thing for foo_discogs.


we all must help bubbleguum for develop some smart algorithm for  "Credits" grabbing...  it must be not hard to realize... and with simple logic... because i think bubleguum have very small amounts of free time...

all who wants to help look at source code of this link:
http://www.discogs.com/release/935576?f=xm..._key=90c962fb19 (http://www.discogs.com/release/935576?f=xml&api_key=90c962fb19)

and try to develop something.
---

ill try to offer some algorythm:
as example i will talk about this release:
http://www.discogs.com/release/935576?f=xm..._key=90c962fb19 (http://www.discogs.com/release/935576?f=xml&api_key=90c962fb19)

i can see here that all  "featurings" placed in separate tag "<extraartists>" so we got all values now simply (thanks to api):

<extraartists>
<artist>
<name>Benny Benassi</name>
<role>Remix</role>
</artist>
<artist>
<name>Pharrell Williams</name>
<role>Vocals [Featuring]</role>
</artist>
</extraartists>

the main problem here is tag <role> ... because this tag is not standartized.. and submitters can write here all what they want...
(shure, who use DISCOGS_TRACK_CREDITS with RAW credits info for showing - this people dont have problem in this questions...)

for all others:

...we can try to standartize <role> tag  by applying to it some  "key words"  and if <role>  have this keyword, then write <name> tag to linked DISCOGS_CREDITS_****  tag.

for example:

Quote
1.14A Oakenfold* - Sex N' Money
Remix - Benny Benassi
Vocals [Featuring] - Pharrell Williams


"key words" list:
1. Vocal (without "s" and the end)
2. Remix
4. Producer
3. Feat (without "uring" at the end  or "." at the end)

so we grab first <artist> in <extraartist> tag:
Remix - Benny Benassi

and analyze <role> tag by applying to it "key words list":
1. Vocal - no it hasnt any "vocal" text
2. Remix - yes it have Remix  SO:
2.1 Benny Benassi goes to multivalued %DISCOGS_CREDIT_REMIX%
break;

grab second <artist> in <extraartist> (priority have importance here):

Vocals [Featuring] - Pharrell Williams

1. Vocal - yes it have "vocal" text so
1.1 Pharrell Williams goes to %DISCOGS_CREDIT_VOCALS%
break; (shure it have "feat" text too but Vocals is more important than just "Featuring"... and we dont need somethink like this: "track (vocals by Pharrell Williams, Featuring: Pharrell Williams") 

so because of it we need  to break key list checking  after first  occurence...

and... if no occurence  was after key list checking -> tag <name> goes to default DISCOGS_CREDIT_FEATURING


so by looking at my version "key list"  there must be 4 standartized tags:

DISCOGS_CREDIT_VOCALS
DISCOGS_CREDIT_REMIX
DISCOGS_CREDIT_PRODUCER
DISCOGS_CREDIT_FEATURING

and shure raw:
DISCOGS_TRACK_CREDITS


i thing that this algorythm  is not hard to realize.. and have simple logic.
Title: foo_discogs
Post by: tberman333 on 2007-12-27 19:50:43
I think Dave Scream has a good idea... the problem with using key words is that band names can cause some of these words to be hit.  For example, take the band 'Little Feat'.  This band would always cause your "Feat" key to be triggered.  If you do an artist search for "Feat", "Vocal", "Remix" or "Producer", you will see that they all turn up results.
Title: foo_discogs
Post by: Dave_Scream on 2007-12-27 22:06:41
I think Dave Scream has a good idea... the problem with using key words is that band names can cause some of these words to be hit.  For example, take the band 'Little Feat'.  This band would always cause your "Feat" key to be triggered.  If you do an artist search for "Feat", "Vocal", "Remix" or "Producer", you will see that they all turn up results.


information from discogs looks like this:

<name>Benny Benassi</name>
<role>Remix</role>

so we dont need to analyze <name>  tag,  all we need - to analyze <role> tag ...

if i understand you...  then in your situation it will looks like this:

<name>Little Feat</name>
<role>Remix</role>

so after analyzing of <role> tag,  "Little Feat" will go to %DISCOGS_CREDIT_REMIX%

---
all depend how much free time bubbleguuum have for this things
Title: foo_discogs
Post by: bubbleguuum on 2007-12-28 11:48:06
Good analysis of the Credits problem Dave. I'll probably implement it when I work on the plugin again, and I'll add the possibility to store artist art in the release directory (instead of a unique directory)
Title: foo_discogs
Post by: odyssey on 2008-01-11 21:38:14
Good analysis of the Credits problem Dave. I'll probably implement it when I work on the plugin again, and I'll add the possibility to store artist art in the release directory (instead of a unique directory)

Any news on updates?
Title: foo_discogs
Post by: Cablespider on 2008-01-19 14:27:53
Long time lurker first time poster that just registered to say, Thank You! I just gave Winamp up because of this plugin. I love it!
Title: foo_discogs
Post by: \gro on 2008-01-23 06:45:56
Thanks! I've been in need for this
Title: foo_discogs
Post by: dannymichel on 2008-01-28 05:03:01
hey thanks so much for the great plugin.
is the latest version here (http://pelit.koillismaa.fi/plugins/show.php?id=169)?
Title: foo_discogs
Post by: bitbot on 2008-02-02 22:55:10
Hey, I'd just like to say that this plugin is really great and one of the reasons why I use foobar2k. Keep up the great work.

While I'm at it I'd like to make a suggestion as well... 

I really like the ability to grab artist pictures from discogs, however, I have a lot of single tracks from artists that I do not have complete albums from. Could you make it possible to download artist images without needing to have to find a specific album? I.e. do a search on an artist name (grabbed from the file tags) and just download the images? And now that I think about it, download other artist specific metadata as well?
Title: foo_discogs
Post by: bubbleguuum on 2008-02-03 09:39:24
hey thanks so much for the great plugin.
is the latest version here (http://pelit.koillismaa.fi/plugins/show.php?id=169)?



Latest version is 1.12, you can find it on the firstpost of this thread. I also updated the page you indicated.

Hey, I'd just like to say that this plugin is really great and one of the reasons why I use foobar2k. Keep up the great work.

While I'm at it I'd like to make a suggestion as well... 

I really like the ability to grab artist pictures from discogs, however, I have a lot of single tracks from artists that I do not have complete albums from. Could you make it possible to download artist images without needing to have to find a specific album? I.e. do a search on an artist name (grabbed from the file tags) and just download the images? And now that I think about it, download other artist specific metadata as well?


In theory that would be possible, but not entirely automatable when an artist has several occurrence on discogs:

Artist
Artist (2)
...
Artist (N)

So you'd have to manually choose. Anyway I'm not going to implement a special mode for this as at this point I'm not going to add significant feature, just maybe 1 or 2 small updates and of course fix it if something breaks (XML API). However I'll release the current source soon, if anyone want to make modifications.

You still can get Artist pictures/info for separate track but you have to go through an album and disable all the tags you don't want to be written.
Title: foo_discogs
Post by: a3aan on 2008-02-25 22:13:00
I'm trying to setup a Facets box with remix credits using the pattern

[%<discogs_credit_remix>%]

but it doesn't split multiple credits into separate items?

What am I doing wrong?

Cheers,
a3aan.
Title: foo_discogs
Post by: bubbleguuum on 2008-02-25 22:19:27
I'm trying to setup a Facets box with remix credits using the pattern

[%<discogs_credit_remix>%]

but it doesn't split multiple credits into separate items?

What am I doing wrong?

Cheers,
a3aan.



For some reason that escape me the credits tags are written as a single value tag with artists separated by commas, that's why the split do not work.
Title: foo_discogs
Post by: a3aan on 2008-02-25 22:24:22
For some reason that escape me the credits tags are written as a single value tag with artists separated by commas, that's why the split do not work.

Thanks for your prompt reply.

But even if I replace the comma with a semicolon by hand, it doesn't work. Any idea why that is?

a3aan.
Title: foo_discogs
Post by: bubbleguuum on 2008-02-25 22:40:25
But even if I replace the comma with a semicolon by hand, it doesn't work. Any idea why that is?


because that's still a single value tag with tokens separated by semicolons. I think it's possible with the masstagger to split the tag and write a real multi-value tag, but I'm not an expert with it
Title: foo_discogs
Post by: sketching on 2008-02-25 23:07:24
Have you added discogs_credit_remix to the multi-value fields section in Preferences?

Preferences > Advanced > Display > Properties Dialog > Multivalue Fields
Title: foo_discogs
Post by: a3aan on 2008-02-25 23:46:49
Have you added discogs_credit_remix to the multi-value fields section in Preferences?

Preferences > Advanced > Display > Properties Dialog > Multivalue Fields

That did it! Thanks.
Title: foo_discogs
Post by: alexinc on 2008-03-01 13:10:40
first of all i wanna say thx for this awesome tool, the reason i started using foobar... )

now here are some suggestions i wanna make, after intensive usage for more than a week now.
when being in the release screen it often happens, that a discogs release or the local filename of an mp3 is much longer than fitting right to the screen. so i always have to open the release-page on discogs to see which remix is the one i'm going to update. isn't there a way to just implement horizontal scrollbars to booth windows (discogs & files in release dialog-screen), so getting the right mix of a track can be done inside your plugin without the need of opening a browser?
and 2nd thing i found to be little bit annoying (hopefully its not my mistake), when removing a single track of the files-section in the middle of the list in release-screen, foo-discogs stops updating the next tracks from this list... or is it just my fault? then a seperator or space in (DISCOGS_TRACK_CREDITS) would be usefull, if credits contain more than one artist.
well, thx again for this awesome tool - waiting impatiently for the next version that hopefully supports downloading cover-art directly to the files.  cheers
Title: foo_discogs
Post by: bubbleguuum on 2008-03-01 17:26:22
first of all i wanna say thx for this awesome tool, the reason i started using foobar... )


Glad you lke this component!


Quote
now here are some suggestions i wanna make, after intensive usage for more than a week now.
when being in the release screen it often happens, that a discogs release or the local filename of an mp3 is much longer than fitting right to the screen. so i always have to open the release-page on discogs to see which remix is the one i'm going to update. isn't there a way to just implement horizontal scrollbars to booth windows (discogs & files in release dialog-screen), so getting the right mix of a track can be done inside your plugin without the need of opening a browser?


Fixed. It was just 2 lines to add.


Quote
and 2nd thing i found to be little bit annoying (hopefully its not my mistake), when removing a single track of the files-section in the middle of the list in release-screen, foo-discogs stops updating the next tracks from this list... or is it just my fault?

Couldn't reproduce it. Are you sure a discogs track is present in front of each following track ?

Quote
then a seperator or space in (DISCOGS_TRACK_CREDITS) would be usefull, if credits contain more than one artist.

They are now separated by ";"

Quote
well, thx again for this awesome tool - waiting impatiently for the next version that hopefully supports downloading cover-art directly to the files.  cheers

You'll have to use an external tool for that as I'm not gong to implement it. I'll release a version with the two fixes above tomorrow.
Title: foo_discogs
Post by: a3aan on 2008-03-02 11:50:22
I must start with a another 'Big Thanks' for you plug-ins bubbleguuum!

At Discogs your supposed to give release credits as apposed to track credits if all tracks have the same credit. See the remix credit at http://www.discogs.com/release/301963 (http://www.discogs.com/release/301963) for example.

The thing is that I would like have these release remix credit mapped to <DISCOGS_CREDIT_REMIX>. That would then allow a plugin like Facets to find those and populate those using for example [%<discogs_credit_remix>%].

Or is there some other way to achieve the same?

TIA.
a3aan.
Title: foo_discogs
Post by: alexinc on 2008-03-02 14:30:18
I must start with a another 'Big Thanks' for you plug-ins bubbleguuum!

At Discogs your supposed to give release credits as apposed to track credits if all tracks have the same credit. See the remix credit at http://www.discogs.com/release/301963 (http://www.discogs.com/release/301963) for example.

The thing is that I would like have these release remix credit mapped to <DISCOGS_CREDIT_REMIX>. That would then allow a plugin like Facets to find those and populate those using for example [%<discogs_credit_remix>%].

Or is there some other way to achieve the same?

TIA.
a3aan.


not sure if i can help you out with that, but what i'm using is the masstagger-plugin with following 'format value from other fields... '-command on composer-field: $if3(%discogs_track_credits%,%discogs_release_credits%)

what i'm getting with this, is the credits in composer-field, where you could use facets now...

@bubbleguuum

wow, what a fast answer and service!

Quote
and 2nd thing i found to be little bit annoying (hopefully its not my mistake), when removing a single track of the files-section in the middle of the list in release-screen, foo-discogs stops updating the next tracks from this list... or is it just my fault?


Couldn't reproduce it. Are you sure a discogs track is present in front of each following track ?


guess this was my mistake, as i didnt realize that when removing a track in file-list, i still have to match the discogs-list to the other files, as your plugin skips that discogs-entry for missing file. thats ok and now i know how to use!  thx again!
can u recommend a tool for fetching the cover-art directly to mp3, as it would be very helpful when it could read the discogs_release_id and download the associated cover automatically - the same way your 'update tags'-function is working...
Title: foo_discogs
Post by: anatat on 2008-03-05 19:26:05
thanks mate all working well so far
Title: foo_discogs
Post by: alexinc on 2008-03-11 22:30:36
still waiting for your new version...

found an annoying thing while tagging george acosta - mellodrama (http://www.discogs.com/release/635612). when using foo_discogs it always fetches the information of an beatles greatest hits album, even when changing DISCOGS_RELEASE_ID and DISCOGS_TRACK_POSITION manually...!?
Title: foo_discogs
Post by: _eclectic_ on 2008-03-12 15:55:01
After getting an error and then downloading the most recent release, I realized how much I use and like this component, and that I hadn't said thank you.  This is a very much appreciated component, truly a brilliant job.

Thank you.
Title: foo_discogs
Post by: bubbleguuum on 2008-03-12 19:09:00
@alexinc: I just tried with the release you mention and it works...Maybe a glitch when discogs went V4 yesterday ?

@eclectic: thanks!
Title: foo_discogs
Post by: alexinc on 2008-03-12 20:45:34
@alexinc: I just tried with the release you mention and it works...Maybe a glitch when discogs went V4 yesterday ?


wow, you're right - now its working! so update to v4 seemed to be the reason...
Title: foo_discogs
Post by: dancehool on 2008-03-14 13:21:41
first of all i would like to thank bubbleguuum for this awesome and very comfortable foobar plugin! i'm using it almost every day and in fact foo_discogs is the main reason for me using foobar!

there's only one thing i would love to have changed. usually i'm handling soundfiles like that:

1) tagging files via foo_discogs (without fetching album art!)
2) processing some self-written foobar scripts
3) moving files to wished folders (using the tags and foobar file operations)
4) fetching album_art and add to this folder (using foo_discogs "Update album/artist art" context menu)

i have created 4 keyboard shortcuts for these 4 steps to make it easier. my problem is the handling of album_art concerning step 1 and 4 as for step 1 i need to unset the option "Fetch" in register "Album/artist art" in the Configuration and before step 4 i need to reset it - otherwise it would not fetch the album art. so for me it would be awesome if
* either the setting/unsetting could also be done via a keyboard shortcut (means adding this to foobar actions)
* or the "Update album/artist art" is fetching album art even though "Fetch" in the configuration is unset - i mean, why should somebody choose "Update album/artist art" if he is not willing to fetch it!?

what do you think about this? i guess it's a typical use case for foo_discogs, no? or maybe there are other suggestions to handle my problem?

ah and another thing. as i'm having a lot of old rare tape rips as mp3 which are also listed in discogs using same track positions as for vinyls like A1, A2, B1, ... foo_discogs seems not to fetch this information. at least there's no <VINYLTRACK> tag created for tape releases!?
Title: foo_discogs
Post by: derzel on 2008-03-15 13:38:55
hi all!

just wanne say thx a lot 4 this great plugin! in combination with foobar a must for anyone collecting electronic music! keep up that great work.

---
greetinx
derzel

btw: did discogs change html pagestructure going v4?...i can't tag anything atm (discogs error: release id=xxx: html parse error)
Title: foo_discogs
Post by: dancehool on 2008-03-15 13:52:32
btw: did discogs change html pagestructure going v4?...i can't tag anything atm (discogs error: release id=xxx: html parse error)

hm. i have just tagged a release using foo_discogs and it works just fine here.
Title: foo_discogs
Post by: _phantom on 2008-03-15 15:47:46
I can't tag anything, too. Just like before, when they have updated the site.
Title: foo_discogs
Post by: Dhry on 2008-03-15 16:14:10
I can't tag anything, too. Just like before, when they have updated the site.




Confirmed. Gives "html parse error" when trying the HTML method, and the Web API method doesn't bring back an artist list at all.



Dhry
Title: foo_discogs
Post by: bubbleguuum on 2008-03-15 16:20:44
first of all i would like to thank bubbleguuum for this awesome and very comfortable foobar plugin! i'm using it almost every day and in fact foo_discogs is the main reason for me using foobar!

there's only one thing i would love to have changed. usually i'm handling soundfiles like that:

1) tagging files via foo_discogs (without fetching album art!)
2) processing some self-written foobar scripts
3) moving files to wished folders (using the tags and foobar file operations)
4) fetching album_art and add to this folder (using foo_discogs "Update album/artist art" context menu)

i have created 4 keyboard shortcuts for these 4 steps to make it easier. my problem is the handling of album_art concerning step 1 and 4 as for step 1 i need to unset the option "Fetch" in register "Album/artist art" in the Configuration and before step 4 i need to reset it - otherwise it would not fetch the album art. so for me it would be awesome if
* either the setting/unsetting could also be done via a keyboard shortcut (means adding this to foobar actions)
* or the "Update album/artist art" is fetching album art even though "Fetch" in the configuration is unset - i mean, why should somebody choose "Update album/artist art" if he is not willing to fetch it!?

what do you think about this? i guess it's a typical use case for foo_discogs, no? or maybe there are other suggestions to handle my problem?


I'll look into it as I have almost exactly the same workflow and the same pbm. Your second solution looks good.

Quote
ah and another thing. as i'm having a lot of old rare tape rips as mp3 which are also listed in discogs using same track positions as for vinyls like A1, A2, B1, ... foo_discogs seems not to fetch this information. at least there's no <VINYLTRACK> tag created for tape releases!?


On top of my head track identifiers are considerd as VINYLTRACK if Format is "Vinyl" "Acetate" and a few other formats, but obvisouly not tapes...


btw: did discogs change html pagestructure going v4?...i can't tag anything atm (discogs error: release id=xxx: html parse error)


Check in configuration/Network tab that you're using the XML Method. The old HTML method isn't supported clunky, and probably don't work anymore.

I can't tag anything, too. Just like before, when they have updated the site.




...and the Web API method doesn't bring back an artist list at all.



Dhry


I just tried here and it works as usual...
Title: foo_discogs
Post by: 4nt1 on 2008-03-16 12:12:30
hey bubbleguum I noticed recently that foo_discogs does not search for words with accents... an example is sebastian tellier if you search on the discogs site you get the proper spelling with the accent. I am on an American keyboard which has no immediate way of doing accents and consequently cannot find artists in foo_discogs so I need to go to the website and search with the same text and it displays the artist I am looking for.

is there something that can be done about the searching so that it can check for similar matches with accents... another example is trentemoeller...

I want them spelt correctly but I cant with my kb.. perhaps a check with accents option could be used?
Title: foo_discogs
Post by: _phantom on 2008-03-16 15:11:32
Looks like I had an outdated version. I've put the recent one into "Components" folder and it looks like the problem is solved.
Title: foo_discogs
Post by: bubbleguuum on 2008-03-16 21:20:46
Finally, a new release! 1.13 (download link in first post):

1.13

+ add: release dialog: horizontal scrollbars in  discogs track list and local file list
+ add: update album/artist art dialog now has settings that overrides those of the configuration tab to force retrieval of art.
This is convenient when art retrieval is always disabled at tag time, and later updated.
+ add:  add tag DISCOGS_ARTIST_MULTI (same as Artist, but as a multi-value tag to separate artists, useful with <%DISCOGS_ARTIST_MULTI%>) and
DISCOGS_ALBUM_ARTIST_MULTI (same as Album Artist, but as a multi-value tag to separate artists. Contrary to Album Artist it always has a value). See discussion (http://www.hydrogenaudio.org/forums/index.php?showtopic=50523&st=425#)
with Dave_Scream
+ chg: preferences: now artist art can be stored in the release directory (using tagz for the directory). filenames still use artist id.
+ chg: preferences: removed outdated HTML fetch method
+ chg: find release dialog: if a searched artist is an ANV, display all of it's ANVs and non-ANVs releases. Try it with trentemoeller!
+ chg: catch file io exceptions with a meaningful message in the console
+ chg: "overwrite existing files" is only possible for artist art, as it is problematic for artist art
+ fix: DISCOGS_TRACK_CREDITS: earch role is separated by ; instead of \n
+ fix: find release dialog: double-clicking on an artist name or a release to launch the related Discogs www page now always work
+ fix: all available artist art was always fetched even if "fetch all available art" was unchecked
Title: foo_discogs
Post by: dancehool on 2008-03-17 00:41:53
Finally, a new release! 1.13 (download link in first post):

1.13

+ add: update album/artist art dialog now has settings that overrides those of the configuration tab to force retrieval of art.
This is convenient when art retrieval is always disabled at tag time, and later updated.
+ chg: find release dialog: if a searched artist is an ANV, display all of it's ANVs and non-ANVs releases. Try it with trentemoeller!

yeah! thanks a lot!!! 

as for the tape thingy: i've just noticed that i am able to fetch DISCOGS_TRACK_POSITION - don't know why i've overlooked this before. anyway, all perfect now!
Title: foo_discogs
Post by: 4nt1 on 2008-03-17 01:13:07
wow now thats fast service
loving your work and the artist art feature

just to be greedy I would  like to request one last thing...
I find quite regularly that when I get my discog results for an album the tracks are out of order and require me to manually re-sort them

would it be possible to have a button that does this automatically once i realise they are not sorted correctly.. I had some large tracked albums with like 30 tracks which took a long time to reorder everything one by one with the move up and down button...

as always your hard work and skillz are greatly appreciated.
Title: foo_discogs
Post by: alexinc on 2008-03-17 18:35:08
just wanna say thx for the new release and testing it to the bones now!

cheers!
Title: foo_discogs
Post by: bubbleguuum on 2008-03-17 19:02:17
I find quite regularly that when I get my discog results for an album the tracks are out of order and require me to manually re-sort them


This can happen occasionally when two tracks have the same length. If that annoys you can disable auto-match in the Configuration/Tagging tab. That way, the tracks will always be in the order of the playlist
Title: foo_discogs
Post by: 4nt1 on 2008-03-18 12:01:24
ah perfect this will do nicely
Title: foo_discogs
Post by: ZERO R. on 2008-03-18 20:10:44
 But not so long all was fine.
PLZ hellp

foobar2000 0.9.5.1
foo_discogs.dll - 1.13 (this problem with all versions).
Title: foo_discogs
Post by: bubbleguuum on 2008-03-18 20:27:15
This error happens when I had a well formed XML response from discogs, but some XML tags  I expect are not there or have an unexpected value (for example if you hit the 5000 request per day per IP). Try to disable temporary your firewall to see if it helps.
Title: foo_discogs
Post by: ZERO R. on 2008-03-18 20:57:17
Try to disable temporary your firewall to see if it helps.

  OMG, now all work fine! Thank you for your plugin and for advice!

BTW, were now "Discogs_Rating" & "Discogs_Votes"?
Title: foo_discogs
Post by: dancehool on 2008-03-19 13:42:20
1.13

+ chg: find release dialog: if a searched artist is an ANV, display all of it's ANVs and non-ANVs releases. Try it with trentemoeller!


Hm. This seems not to work properly. I tried to search for "Teckno Bross" who's an ANV of "Techno Bros" and this is what the release dialog shows:

Title: foo_discogs
Post by: bubbleguuum on 2008-03-19 19:43:01
what went wrong?


Looks like you found a disccogs API bug: doing the API request in Firefox and all releases are there while in IE some of them are missing, exactly the same that are missing in foo_discogs.
I'll update the Agent string to be firefox in a future release.
Title: foo_discogs
Post by: dancehool on 2008-03-19 19:57:22

what went wrong?


Looks like you found a disccogs API bug: doing the API request in Firefox and all releases are there while in IE some of them are missing, exactly the same that are missing in foo_discogs.
I'll update the Agent string to be firefox in a future release.

Hmm. I think that's not the reason. I've just figured out that it depends on whether im logged in or not in discogs. When I'm logged in it's finding all releases, when I'm logged out only the non-ANV ones. Very strange. In any case it's a discogs problem, not foo_discogs.
Title: foo_discogs
Post by: Janny on 2008-03-22 17:53:38
I keep getting the "discogs error release id=xxx: html parse error" too. Just updated and no change whatsoever.
Any ideas?

(http://thumbnails5.imagebam.com/411/52d8864109315.gif) (http://www.imagebam.com/image/52d8864109315/) (http://thumbnails3.imagebam.com/411/a487304109317.gif) (http://www.imagebam.com/image/a487304109317/)


EDIT: It seems that it was partially my fault. I installed the new version but for some reason the file was saved as foo_discogs(2).dll keeping the older version running too. I removed it and now, with the latest version, everything is OK.
Title: foo_discogs
Post by: Dhry on 2008-03-23 16:34:27
Once again it's not working. Running v1.13 - trying a search brings back no results for any artist. I also note that in 1.13 you can no longer choose either "API" or "Parse HTML". Used to be able to in the previous version.



Dhry
Title: foo_discogs
Post by: bubbleguuum on 2008-03-23 18:07:28
Once again it's not working. Running v1.13 - trying a search brings back no results for any artist. I also note that in 1.13 you can no longer choose either "API" or "Parse HTML". Used to be able to in the previous version.



Dhry


works fine here! HTML method has been removed as it was super clunky  and probably did not work anymore.
Title: foo_discogs
Post by: 4nt1 on 2008-03-26 13:57:02
ok i have seen this a couple times but never cared enough to mention it

I have a cd that is 18 tracks long but according to discogs in the component it is 25 tracks long...

on the release page on the website it is also 18 tracks long with some 1a \ 1b type tracks throughouts the album...

here is an example of the release

http://www.discogs.com/release/750847 (http://www.discogs.com/release/750847)

see for your self. I do not know how to tag this correctly... perhaps discogs and recognise the a/b/c setup and add all into one track?

not sure what your thoughts are
Title: foo_discogs
Post by: Kirya on 2008-03-26 20:51:05
http://www.discogs.com/release/38741 (http://www.discogs.com/release/38741)

In tracks 6 & 10b I have a "<sub>2</sub>" in titles. I think the same problem will be with a <sup></sup>, maybe just replace this tags?
Title: foo_discogs
Post by: bubbleguuum on 2008-03-26 21:09:24
see for your self. I do not know how to tag this correctly... perhaps discogs and recognise the a/b/c setup and add all into one track?


I think this has been discussed before. It's a rare case with sub-tracks that does not physically exist on the CD... There's not much to do instead select one of tose subtrack for your track and then manually edit the title if you want after tagging.



@Kyria: it's a Disocgs API bug: they have left some html for those special characters instead of converting them to UTF-8.
Title: foo_discogs
Post by: Dhry on 2008-03-29 16:22:38

Once again it's not working. Running v1.13 - trying a search brings back no results for any artist. I also note that in 1.13 you can no longer choose either "API" or "Parse HTML". Used to be able to in the previous version.

Dhry

works fine here! HTML method has been removed as it was super clunky  and probably did not work anymore.

Okay, now I have a problem. It works on my f2k install at work, but does not work on my home machine. Whenever I select a group of tracks in an album to tag (regardless of the artist) I get nothing back from Discogs. I've tried checking the auto box, and the Exact Matches box. Tried resetting all Discogs plugin settings to default too. Had a look in my firewall and Foobar is definitely attempting to make a connection out to www.discogs.com, I just get buggerall back in the results window. Turned off firewall completely. Didn't help. Have gdiplus.dll in my foo main dir. I actually have several different copies of it scattered in various directories for some reason. Tried copying about three different versions into foo dir, restart, try again, nothing.

Apart from the [Default] button in the discogs config, is there any way that I can completely remove the discogs settings and then reinitialize or whatever, the plugin? I know that discogs.com works from my machine because I just installed and tried MP3Tag and it worked fine pulling references from discogs as expected. Pinged discogs and get back the proper IP address. Not jacked up in my hosts file, in other words. Heelp. 

Edit: Worked out that if you remove the plugin then restart foobar it asks to remove preferences. Did that. Installed v1.12 to test. Set it to "parse HTML" and finally, I see results. Of course I can't use it because the minute I try to retrieve a result I get an error, as seen previously. Remove v1.12, restart foo to remove settings, reinstall v1.13, restart foo, try to retrieve results, nada. Is there some component I need to update that controls the "web api" access functionality or whatever? It's driving me crazy because while I can use Freedb to tag, I want to grab album art thumbnails for PrettyPop too.

Dhry
Title: foo_discogs
Post by: bubbleguuum on 2008-03-29 20:11:10
@Dhry: I have no idea exactly what's wrong but it's probably something (a firewall, a proxy) filterin the result from discogs. You could try to create an API key on discogs (on your profile page) and try an API request in your browser to see if it replies some valid XML:

http://www.discogs.com/help/api (http://www.discogs.com/help/api)
Title: foo_discogs
Post by: Dhry on 2008-03-30 07:12:17
@Dhry: I have no idea exactly what's wrong but it's probably something (a firewall, a proxy) filterin the result from discogs.

Can't be. MP3Tag v2.40b works perfectly fine, and it uses Discogs to retrieve results.
One other thing I noticed. Most of my Discogs menu items are greyed out. For everything I select. Just the bottom two options are available. Are we now talking about a DLL problem? Could you tell me what DLL dependencies (apart from GDIPLUS) Discogs has? I tried reinstalling vcredist thinking that might be it, but still nothing.

(http://www.dhryland.com/greyed-out-menu.gif)

Dhry
Title: foo_discogs
Post by: bubbleguuum on 2008-03-30 09:23:07
mp3tag may still parse HTML pages, that's why it works.
It's not a dll pbm : if it was it wouldn't even launch.
All items are greyed except the last two and "write tags" if the files you selected haven't been tagged with the plugin yet.

I still think the XML  answer form discogs gets modified by something in the middle.
Title: foo_discogs
Post by: bitbot on 2008-04-01 18:13:01
bubbleguuum, thanks for this great component! Without it I would be lost...

A small suggestion:

Sometimes I don't know the exact version of an album that I have so I usually just get the tags from the one with the most album art available. Could you perhaps add some text that displays how many cover images there are for the selected release (perhaps next to the small cover art image)? As it is now I have no way of knowing this unless I apply the tags or go to the release page and check, this would speed up my tagging.

Thanks
Title: foo_discogs
Post by: alexinc on 2008-04-01 18:33:45
Quote
Quote

then a seperator or space in (DISCOGS_TRACK_CREDITS) would be usefull, if credits contain more than one artist.

They are now separated by ";"

just one minor thing i noticed since using 1.13. the seperator u included for discogs_track_credits and discogs_release_credits could be followed/completed by/with a space, like in the other fields?!  that would make it xyz; xyz and would help to better view the contents of this fields...

also i noticed that many brand-new releases are not shown, even they are already on the page of artist.
e.g. http://www.discogs.com/release/1279556 (http://www.discogs.com/release/1279556) dj trenix - let the world fall apart... i noticed that behavior on many releases, that didnt recieve any votes on discogs yet! could this be a possible reason???  cheers
Title: foo_discogs
Post by: bubbleguuum on 2008-04-01 19:05:45
also i noticed that many brand-new releases are not shown, even they are already on the page of artist.
e.g. http://www.discogs.com/release/1279556 (http://www.discogs.com/release/1279556) dj trenix - let the world fall apart... i noticed that behavior on many releases, that didnt recieve any votes on discogs yet! could this be a possible reason???  cheers


That's a known and annoying bug of the Discogs API: When you're not logged in discogs you don't see the releases in yellow. Obviously you can't log in using the XML API so you don't see these releases...


@bitbot: I won't implement it
Title: foo_discogs
Post by: bitbot on 2008-04-02 23:13:32
I have been having some problems getting the album art for some albums. One example is this album http://www.discogs.com/release/136452 (http://www.discogs.com/release/136452). foo_discogs will fail to download the two first images which will appear as 0 byte files.

Here's the console output:
Code: [Select]
foo_discogs: error: could not save url=http://www.discogs.com/image/R-6462-001.jpg, skipping...
foo_discogs: error: could not save url=http://www.discogs.com/image/R-136452-002.jpg, skipping...


Edit:
Here's another album that doesn't work: http://www.discogs.com/release/3234 (http://www.discogs.com/release/3234). This album only has 2 images, but foo_discogs created 6! The first three were 0 byte jpgs, the fourth was an image that did not appear on the page and the last two were the images on the page but in reverse order... 
Title: foo_discogs
Post by: Mercachifle on 2008-04-06 17:03:13
I don't know if this has been answered already, I tried searching without results. How can I set foo_dicogs to save artist art using artist name instead of artist id as filename?
Title: foo_discogs
Post by: labou on 2008-04-10 20:28:19
I doesn't work 4 me... it just says searching artist 4 about 5 seconds then it stops and doesn't come up with anything.
Title: foo_discogs
Post by: azznrivera on 2008-04-13 20:17:23
foo_discogs downloaded as an .exe, do I have to change it to a .dll and then put it into the component folder? thanks for any advice
Title: foo_discogs
Post by: Bioret on 2008-04-13 20:49:26
thank you, this plug in is the best!
Title: foo_discogs
Post by: Dave_Scream on 2008-04-25 22:24:52
ahaha! new version was in marth lol!... but i dont received any notice on my email... strange =)

now ill check new version. thanks for work and spended time
---
launch the related Discogs www page now always work -- very useful fix
Title: foo_discogs
Post by: perpelexor on 2008-04-26 20:40:21
please, explain me, how to fill in information into multi-disk releases, step-by-step
ad what about automatic fillig information? i have >1000 albums and have no time
Title: foo_discogs
Post by: mitchmalibu on 2008-05-01 19:03:34
I have to small questions/requests,

1) Would it be possible to merge divided tracks ? For example, this release http://www.discogs.com/release/331851 (http://www.discogs.com/release/331851) has the seventh track divided in two parts. It would be much easier to merge these 2 tracks so that you don't have to remove one of the two, renumber the whole album and then properly tag track 7.

2) Another nice thing would be the retrieval of the disc name like in this release http://www.discogs.com/release/1082005 (http://www.discogs.com/release/1082005) . The album has a definite album name ("Balance Issue N. 12") but each cd also has its own name (eg. "Orange Disc", ...). Adding this information in a discogs specific tag or custom one (%discname% for example) would allow more tagging flexibility.

I'm sorry if these questions were already asked and if you already took some of your time to answer them.
Title: foo_discogs
Post by: Dave_Scream on 2008-05-01 20:19:12
usual track seems like this:
Code: [Select]
<position>2.01</position>
<artists>
<artist>
<name>Onur Özer</name>
<anv>Onur Ozer</anv>
</artist>
</artists>
<title>Orion</title>
<duration>6:32</duration>
</track>


"CD name" looks like this:
Code: [Select]
<track>
<position />
<title>Red Disc</title>
<duration />
</track>


here is 1 way to identify %cdname%:
just find <track> with empty <position> & <duration> tags... if they are empty => it is %cdname%

but i think it is logically hard to realize algorythm that will add tag %cdname% to all tracks following %cdname% in xml...

------
about part 1. divided tracks... yeah  its hard to tag this tracks
in my mind i look only 1 algorythm:

in tracklisting, multiselect by hands divided tracks (for example select track 7a and track 7b, and then press some "megre key"..

so all selected tracks will be deleted, and in list will appear some new track that will contain megred %artist%,%title%,%credits% tags...

but it will hard to realize i think too...
---
Title: foo_discogs
Post by: dancehool on 2008-05-07 18:44:32
i have a question about handling of the album art. apparently foo_discogs is fetching *all* available album art from discogs for a release - the problem is that it also fetches the *disabled* album art. is there a way to only fetch the *active* album art?

here's an example:
http://www.discogs.com/release/53134 (http://www.discogs.com/release/53134)

if you watch the pictures via "Update Release Images" on the right (you need to be logged for doing this) you can see there are 3 active and 3 disabled images for this releases. foo_discogs fetches not only the active ones but also the 3 disabled ones.
Title: foo_discogs
Post by: Xezzy on 2008-05-23 17:48:07
Not sure if it was requested.
I would like to have "wipe out existing tags", pretty much like in freedb tagger.

Cheers.
Title: foo_discogs
Post by: cheatz on 2008-06-17 13:22:59
I try copying a url and the release id into the "Release id or url" box, and i always get this error:

"discogs error: release id=44443: XML API error"

Didn't work for 1.12 and still doesn't work when i upgraded to 1.13
Title: foo_discogs
Post by: cheatz on 2008-07-13 07:00:15
Will there be an update to fix the above issue ^ ^ ^?
Title: foo_discogs
Post by: bubbleguuum on 2008-07-13 10:43:12
Will there be an update to fix the above issue ^ ^ ^?


You mean your problem with release 44443 ? It works here...
Title: foo_discogs
Post by: Dave_Scream on 2008-07-13 10:50:37
bubbleguuum, bubbleguuum!  nice to meet you again   
Title: foo_discogs
Post by: tmuka on 2008-07-14 02:53:41
great plugin, exactly what i was looking for, thanks!
Title: foo_discogs
Post by: cheatz on 2008-07-16 05:26:29

Will there be an update to fix the above issue ^ ^ ^?


You mean your problem with release 44443 ? It works here...

No, i get the same error message with ANY release. Are there other software i might need to get discogs working? It worked on my old pc although it was an older version of discogs. But it doesn't work on this:

XP SP2
e4300+
2gb crucial ballistix
gigabyte ds3
Title: foo_discogs
Post by: bubbleguuum on 2008-07-16 19:11:10


Will there be an update to fix the above issue ^ ^ ^?


You mean your problem with release 44443 ? It works here...

No, i get the same error message with ANY release. Are there other software i might need to get discogs working? It worked on my old pc although it was an older version of discogs. But it doesn't work on this:

XP SP2
e4300+
2gb crucial ballistix
gigabyte ds3



I suspect you may have a firewall blocking traffic. Try to disable it temporarily to see if it works then
Title: foo_discogs
Post by: cheatz on 2008-07-19 12:15:37



Will there be an update to fix the above issue ^ ^ ^?


You mean your problem with release 44443 ? It works here...

No, i get the same error message with ANY release. Are there other software i might need to get discogs working? It worked on my old pc although it was an older version of discogs. But it doesn't work on this:

XP SP2
e4300+
2gb crucial ballistix
gigabyte ds3



I suspect you may have a firewall blocking traffic. Try to disable it temporarily to see if it works then

Oh man i completly overlooked that. That did the trick, thanks
Title: foo_discogs
Post by: aleppe on 2008-07-30 18:17:37
Would it be possible to add to this plugin the ability to search info by track title instead of by album?
Title: foo_discogs
Post by: incunabula on 2008-07-30 18:36:58
I've always thought that it would be nice to do something similar but for artists instead of tracks;  like the ability to pull all of the artist-specific data (bio, artist art, artist ID, ANV info, etc.) without any release-specific data and apply that metadata to all of the files in your media library belonging to that artist.  I think that would be helpful to normalize all releases by the same artist without having to do it one release at a time.
Title: foo_discogs
Post by: mob999 on 2008-09-08 00:26:47
hi,

anybody out there still using/maintaining this great plugin? seems that it is not working properly any more.

it appears that the tags are written correct and they show up in foobar, but when i check with another tagging software (for example tag and rename) or i use with my sandisk sansa, some or all tags are missing.

sometimes, it just writes ID3v1 tags and only parts of v2 (for example in release 1300930).
sometimes it writes parts of v2 but no v1 at all (1317255).
in other cases v1 is ok but tag & rename (i used for checking) shows chinese and other kind of characters in the artist field (1225795).

i think there are some more different symptoms i do not list them all.

i'm using foobar 0.9.5.5 and discogs tagger 1.13 on a win xp system with ntfs.

all in all a very weird behaviour. can somebody confirm this or has some advise? thanks in advance.


greets mob
Title: foo_discogs
Post by: Dave_Scream on 2008-09-08 06:00:54
seems that it is not working properly any more.


strange... as i imagine, foo_discogs use foobar's tag writing mechanism...
try re-check this:
Quote
Tags won't be written if the option "ID3v2 Writer Compatibility Mode" is enable in your fb2k conf
Title: foo_discogs
Post by: bubbleguuum on 2008-09-08 19:42:58
strange... as i imagine, foo_discogs use foobar's tag writing mechanism...
try re-check this:
Quote
Tags won't be written if the option "ID3v2 Writer Compatibility Mode" is enable in your fb2k conf



Exact, this must be enabled. It will write ID3V2.4 tags. If you want to convetr to V2.3 so it ios more  compatible with other software and digital players, use mp3tag to rewrite the 2.4 tags as 2.3.
Title: foo_discogs
Post by: ExUser on 2008-09-09 19:50:02
It appears as though this component is compiled with an old version of the SDK. The SDK version you're using could be causing some random crashes under Windows Vista. If you could update to the most recent SDK that would be greatly appreciated.
Title: foo_discogs
Post by: bubbleguuum on 2008-09-09 20:56:59
It appears as though this component is compiled with an old version of the SDK. The SDK version you're using could be causing some random crashes under Windows Vista. If you could update to the most recent SDK that would be greatly appreciated.


Yup the SDK I'm using is very old, it's in need of a recompile a probably a source release.
Title: foo_discogs
Post by: odyssey on 2008-09-14 15:16:00
When I fetch an album, why is the track order from discogs often messed up?? Did I miss some obvious config setting, or could it be sorted properly in a future release?

The "auto" setting is nice, but could the filter automatically be filled with %album%? That would indeed speed up the search process.

Also it would be nice if the filter works as seperate strings - Say I want to filter CD's and a particular album, this is not possible today (or I haven't figured it out yet).

Could you show a similarity percentage comparison of the discogs tracks and filenames (like php's similarity_text() )? Some releases have the same number of tracks, but may have a few tracks swapped and therefore not be the correct release, but just looking at the two lists, such small difference is hard to see.

As I mentioned in another thread, I think it needs a little more automation: Allow multiple release selection (it could group them internally) and make it traverse through all matching releases for each group. Any release that has matching tracknumbers has a high probability that it's the correct release. It could even compare the track name from discogs and %track% for similarity to further improve automatic detection. Results should be reviewed just like today. Of course it's not perfect, and it won't work everytime, but it would certainly speed up tagging multiple albums at once. Especially with such a large collection as mine 

But...! This has certainly evolved into something extremely useful from last time i checked it! Thumbs up bg
Title: foo_discogs
Post by: Slotos on 2008-09-14 16:05:00
When I fetch an album, why is the track order from discogs often messed up?? Did I miss some obvious config setting, or could it be sorted properly in a future release?

(http://img403.imageshack.us/img403/1249/83139134re5.jpg)
Title: foo_discogs
Post by: wojtek on 2008-09-16 18:16:27
I have problem, when I try to download artist art (haven't tried with album art thou...) and save it to path that doesn't exist previous to download. I've set directory for artist art as "E:\MP3\artwork\%artist%". It's empty, I try to download artist art for _some_artist_ and get error:
Code: [Select]
foo_discogs: error: problem creating file E:\MP3\artwork\_some_artist_\_some_artist_ID__1.jpg [Object not found], skipping...

If I create directory named _some_artist_ and try to download artist art everything goes smoothly, but manual creating directories for every artist is somewhat counter-automatic
Title: foo_discogs
Post by: ZYPHLiX on 2008-09-17 02:46:55
Thats a great plugin! Great ! Great ! Great !

But I have a small feature request:

is it possible to make the relase dates (which seems to be stored at discogs in different formats) change into one (best self formated) format.

Example: I need every release date (which is stored in the field <ORIGINAL RELEASE DATE>) in the format YYYY-MM-DD (e.g. 2008-05-02) but sometimes I get DD MMM YYYY (e.g. 02 May 2008). But Traktor needs YYYY-MM-DD.

THX

Btw: did I say that this is a great plugin ?
Title: foo_discogs
Post by: Dave_Scream on 2008-09-18 08:32:05
Example: I need every release date (which is stored in the field <ORIGINAL RELEASE DATE>) in the format YYYY-MM-DD (e.g. 2008-05-02) but sometimes I get DD MMM YYYY (e.g. 02 May 2008). But Traktor needs YYYY-MM-DD.

Hi, you can try to use masstagger for this job.

Menu -> Tagging -> Manage Scripts -> Clear -> Add -> Format Value From Other Fields
destination field:  ORIGINAL_RELEASE_DATE
formatting pattern: %date%[-$num(%discogs_release_month%,2)[-$num(%discogs_release_day%,2)]]

then u can save it and bind hotkey to this script... (Preferences -> General -> Keyboard Shortcuts)
Title: foo_discogs
Post by: dancehool on 2008-09-18 08:52:49
is it possible to make the relase dates (which seems to be stored at discogs in different formats) change into one (best self formated) format.

Example: I need every release date (which is stored in the field <ORIGINAL RELEASE DATE>) in the format YYYY-MM-DD (e.g. 2008-05-02) but sometimes I get DD MMM YYYY (e.g. 02 May 2008). But Traktor needs YYYY-MM-DD.

Hi, I did it like this:
1) Store the *raw discogs release date* to your %date% tag, not the extra month, year etc. entries! (to do this, you have to go to Discogs->Edit tag mappings... and choose the "Release raw" entry in the Discogs information quite at the end of the list and map it to "Date". If done you get the date already in format YYYY-MM-DD from now on.
2) You need some scripting afterwards though as Discogs sets the day and/or month to 00 if there's none given by the submitter which means you have to remove all "-00" from the string. You can easily do this with the masstagger -> format "DATE" using "[$replace(%date%,-00,)]"

HTH
Title: foo_discogs
Post by: Northpack on 2008-09-21 15:08:12
Most proably a stupid question but I didn't figured it out: how can I fetch the album art without doing any tagging? So just create an folder.jpg and nothing else?

Another question: Why does foo_discogs use only the artist name, not the album name to get the albums from discogs? Or did I miss some option?
Title: foo_discogs
Post by: ZYPHLiX on 2008-09-22 14:53:51
Hi! Thx 2 dancehool and Dave_Scream for their help!!! I took dancehools version

2) You need some scripting afterwards though as Discogs sets the day and/or month to 00 if there's none given by the submitter which means you have to remove all "-00" from the string. You can easily do this with the masstagger -> format "DATE" using "[$replace(%date%,-00,)]"


Why ? Is the 00 a problem for Traktor?

Anyway, a the moment it still doesnt work anyhow. Traktor can read the Artist Name and Title and so on created by the FOO_DISCOGS Plugin, but not the Tags like CATALOG # ... but im also in contact wih the NativeInstruments Support


Another question: is there still development for this plugin ? My feature-request would be to have a option to add the releases from tagged songs to your discogs-collection? Or does anyone have a workaround for this ,too?

Thx guys, have a wunderful monday!
Title: foo_discogs
Post by: dancehool on 2008-09-22 15:15:44

2) You need some scripting afterwards though as Discogs sets the day and/or month to 00 if there's none given by the submitter which means you have to remove all "-00" from the string. You can easily do this with the masstagger -> format "DATE" using "[$replace(%date%,-00,)]"


Why ? Is the 00 a problem for Traktor?

I don't use Traktor so I don't know if it's a problem. Of course you don't have to do the second step - but I found it more convenient to have, for example "2003-04" instead of "2003-04-00" or "2000" instead of "2000-00"/"2000-00-00" but if you don't have a problem with these "-00"s just let them in your data.
Title: foo_discogs
Post by: dancehool on 2008-09-23 18:44:48
Another question: is there still development for this plugin ? My feature-request would be to have a option to add the releases from tagged songs to your discogs-collection? Or does anyone have a workaround for this ,too?

As far as I know the Discogs API does not support such feature unfortunately and as foo_discogs is based on the API it's not possible at the moment...if I am wrong somebody should correct me!
Title: foo_discogs
Post by: front243 on 2008-09-24 06:05:50
How do you handle "Various Artist" albums with this plugin?

Right now I use my browser to search for the album title and simply paste the release number from their website into the plugin. It's just not a very elegant way to do it. Would be nice if we could search for album-titles as well.
Title: foo_discogs
Post by: dancehool on 2008-09-24 08:48:34
How do you handle "Various Artist" albums with this plugin?

Right now I use my browser to search for the album title and simply paste the release number from their website into the plugin. It's just not a very elegant way to do it. Would be nice if we could search for album-titles as well.

I'm searching for one of the artists on the album, then in the fetched list for the album title.

Anyway it would be a great feature if one could search also directly for the release title and maybe even cat#/label etc. If the record for example is a white label with no information on it (means main artist is "Unknown Artist", release title is "Untitled") and you only know the cat# it's not possible to find it with the plugin. For this one still has to look on the website and copy/paste the release number/release link.
Title: foo_discogs
Post by: ZYPHLiX on 2008-09-24 15:55:10
For this one still has to look on the website and copy/paste the release number/release link.

For this reason would be cool to have a "free"-search field like on he websie, and then all releases to your search appear ....

anyway, is it a bug that in releases with non-standard-characters ( here is an exaple where i discovered it : http://www.discogs.com/release/182444 (http://www.discogs.com/release/182444) ) the non-standard-things are returned as HTML code ? als also had the same problem with a release of <SIE>
Give it a try and see what i mean ...

THX, great plugin ... (and the question is still not aswered if the plugin is still developed. i think its interessting, because i dont want to ride a dead horse)
Title: foo_discogs
Post by: dancehool on 2008-09-24 16:19:40
anyway, is it a bug that in releases with non-standard-characters ( here is an exaple where i discovered it : http://www.discogs.com/release/182444 (http://www.discogs.com/release/182444) ) the non-standard-things are returned as HTML code ?

It's not a bug as foo_discogs just fetches what Discogs offers. In your case for example track 1 is actually stored (and submitted by original submitter of the release) with HTML tags: "1<sup class="exposant">er</sup> Tournée" (If you try to edit the release in Discogs you can see the actual HTML code in the tracklisting). This is interpreted by your browser so you see what you see (the upper "er"). Foobar does not interpret HTML (maybe there's a plugin for this - anyone?) so these tags stay as they are. To remove it you need a masstagger script.

Quote
(and the question is still not aswered if the plugin is still developed. i think its interessting, because i dont want to ride a dead horse)

I think it's still developed by bubbleguuum.
Title: foo_discogs
Post by: bubbleguuum on 2008-09-24 19:17:01
THX, great plugin ... (and the question is still not aswered if the plugin is still developed. i think its interessting, because i dont want to ride a dead horse)


I will not add any significant feature at this point (alternate search system, etc...) but will fix any problem if Discogs change/update their API. And a recompile against the new SDK is due soon + a code source release if anyone wants to make enhancements.
Title: foo_discogs
Post by: Dhry on 2008-09-25 14:52:21
This plugin simply does not work for me. Not at home (with or without firewall disabled), and not at work (completely different PC, no firewall, different internet access). Each time I try to do a search, it pauses for one or two seconds then comes back with absolutely nothing in the results list. I have tried removing the application rules for FOOBAR2000.EXE in my firewall then triggering the search to see if it's actually trying to connect at all. It is, but the connection goes nowhere. Tried removing the plugin (all config removed) then reinstalling and trying again. Nothing. I have seen this reported by other users in this thread.

Is there some sort of debug version that can be provided so we can understand what the problem is that the plugin is encountering during the connect phase? I really enjoyed this plugin back when it worked for me (something like six months ago now).

Edit: And when I punch in a valid Discogs release ID (such as 872895) into the appropriate field then click OK, I get discogs error: release id=872895: XML API error.



Cheers
Dhry
Title: foo_discogs
Post by: shakey_snake on 2008-09-25 17:51:34
872895 works for me with discogs 1.13.

Must be something on your end.
Title: foo_discogs
Post by: thehuh on 2008-09-27 12:34:10
Hi to everybody,

I've been using fb2k for some months now and tried the discogs plugin today for the first time but unfortunately without any success. Basically I encounter the same behaviour like posted above by Dhry. As soon as I try to fetch the discogs data from the server by clicking "write tags", nothing happens. There is no result shown in the windows.

installed fb2k version: 0.9.5.6 (default installation)
foo_discogs.dll: 1.13
windows xp (sp3, fully updated)

As far as I was able to narrow down the problem, it seems to be the connection between the client and server. Below I'll append the network-communication, sniffed by wireshark:

Request from client
Code: [Select]
GET /search?type=artists&q=Buena%20Vista%20Social%20Club&f=xml&api_key=df4f42ee8c HTTP/1.1
Host: www.discogs.com
Accept: */*


Answer from server
Code: [Select]
HTTP/1.0 400 Bad Request
Date: Sat, 27 Sep 2008 11:15:56 GMT
Server: Apache
Set-Cookie: sid=fa09e6236ebf4e5558a97aae5385f5c6; path=/; expires=Tue, 25-Sep-2018 11:15:56 GMT; domain=.discogs.com
Content-Type: text/xml
Connection: close

<resp requests="None" stat="fail"><error>Client does not accept gzip encoding.</error></resp>


Using the complete url: h**p://www.discogs.com/search?type=artists&q=Buena%20Vista%20Social%20Club&f=xml&api_key=df4f42ee8c the same error comes up in the browser window.

So for my understanding there seems to be some issues with the compression of the data(?) Hence the question: if it is correct, that this is the problem, is there any possibility to change the config client-side?

greetings
thehuh

edit: typo
Title: foo_discogs
Post by: Dhry on 2008-09-27 20:37:12
I've been using fb2k for some months now and tried the discogs plugin today for the first time but unfortunately without any success. Basically I encounter the same behaviour like posted above by Dhry. As soon as I try to fetch the discogs data from the server by clicking "write tags", nothing happens. There is no result shown in the windows.




Pfft. This is possibly the reason:

http://www.discogs.com/help/api (http://www.discogs.com/help/api)



Quote
API usage is limited to 5,000 requests per 24-hour period, per IP address.

Clients must send the "Accept-Encoding: gzip" header. The service will gzip most API responses so your application must be able to decode gzipped data.

Clients must supply an API Key (http://www.discogs.com/users/api_key) with each request.




I wonder whether it's because I/we are on major US providers and Discogs is simply denying API calls because there have been over 5,000? It says it's per IP address but I wonder whether it's instead actually by ISP?



I noticed that the df4f42ee8c API key is hardcoded into the foo_discogs.dll file. Any way of making this configurable so we can try it with different API keys and see whether that's the problem?



The other thing that the API page states is that the client must send the "Accept-Encoding: gzip" header. From what thehuh posts, the call out to Discogs does not contain this in the header and the resulting error from Discogs confirms this. Defect?



I cannot explain why it works for some people but not others. Thehuh, could you install MP3Tag (free from www.mp3tag.de (http://www.mp3tag.de)), activate Wireshark, and capture the callout to Discogs from that program pls? MP3Tag discogs calls work perfectly fine for me, so I'm assuming the API key or something about the external call is different enough to make the system work. With that info, I'd try hexediting the discogs dll with a new key..



Dhry
Title: foo_discogs
Post by: bubbleguuum on 2008-09-28 00:18:21
Request from client
Code: [Select]
GET /search?type=artists&q=Buena%20Vista%20Social%20Club&f=xml&api_key=df4f42ee8c HTTP/1.1
Host: www.discogs.com
Accept: */*



You should see "Accept-Encoding: deflate, gzip" in the request. If you don't, and the request in a www browser fails, it is probably a firewall or proxy getting in the way. It's not the per IP limit giving problems here.
If you are using a HTTP proxy you can set it in the plugin configuration (network tab). The plugin will not automatically use the system proxy if there is one (set in Control Panel / Internet Options).  Maybe mp3tag does.
Title: foo_discogs
Post by: thehuh on 2008-09-28 06:42:02
Hi,

Quote
I wonder whether it's because I/we are on major US providers and Discogs is simply denying API calls because there have been over 5,000? It says it's per IP address but I wonder whether it's instead actually by ISP?

Well, personally I don't think that discogs is filtering by ISP, because I installed mp3tag only a a minute later and it works.

Quote
If you are using a HTTP proxy you can set it in the plugin configuration (network tab). The plugin will not automatically use the system proxy if there is one (set in Control Panel / Internet Options). Maybe mp3tag does.

Nope, there is no HTTP proxy in use. Firewall or VirusScanner is deactivated on the pc.


Please find below the output using mp3tag:

Request to server
Code: [Select]
GET /artist/Buena+Vista+Social+Club HTTP/1.1
Host: www.discogs.com
User-Agent: Mozilla/5.0 (compatible)
Accept:*/*


Answer from server
Code: [Select]
HTTP/1.0 200 OK
Date: Sun, 28 Sep 2008 05:20:41 GMT
Server: Apache
Set-Cookie: sid=cd079b4f512b00034c8d1b62e933f65e; path=/; expires=Wed, 26-Sep-2018 05:20:41 GMT; domain=.discogs.com
Content-Type: text/html; charset=utf-8
Content-Length: 13926
Connection: close

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta name="verify-v1" content="kZg16KbGVgtSrBuoDcwAKBKYVvDb26lnudxP3FMOcoE=" />
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>Buena Vista Social Club</title>
<link rel="icon" href="/images/favicon.ico" />
<link rel="stylesheet" href="/css/main.css?v=001d" />
<!--[if IE 7]>
<link rel="stylesheet" href="/css/nav_ie7.css?v=001b">
<![endif]-->
<!--[if lte IE 6]>
<link rel="stylesheet" href="/css/nav_ie.css?v=001b">
<![endif]-->
<script type="text/javascript" src="http://yui.yahooapis.com/2.5.0/build/utilities/utilities.js"></script>
<script type="text/javascript" src="/js/global.js?v=001b"></script>
</head>
<body>

[...]


If needed I can put the complete conversation log online or pm/mail it. 


greetings
tehuh
Title: foo_discogs
Post by: bubbleguuum on 2008-09-28 10:46:10
mp3tag do not use the Discogs XML API, but HTML page scraping, that's why it works.
EDIT: there is probably a stupid firewall on your PC or some security software that analyse HTTP requests, that remove the "Accept-Encoding: deflate, gzip" line:
http://schroepl.net/projekte/mod_gzip/firewalls.htm (http://schroepl.net/projekte/mod_gzip/firewalls.htm)
Title: foo_discogs
Post by: thehuh on 2008-09-28 12:39:01
Hi,

you're right; the comparison to mp3tag doesn't seem to be really helpful in that case. I should have recognized it before posting... 

Quote
EDIT: there is probably a stupid firewall on your PC or some security software that analyse HTTP requests, that remove the "Accept-Encoding: deflate, gzip" line:
http://schroepl.net/projekte/mod_gzip/firewalls.htm (http://schroepl.net/projekte/mod_gzip/firewalls.htm)


Nope, firewall is deactivated; meaning application is not running, service is disabled, driver is unloaded. Same for the virusscanner. There is nothing in between from foobar on my pc until the isp-modem which might alternate the traffic. Data-stream was captured on on lan port of the modem.

On the api-page of discogs posted by Dhry (h**p://www.discogs.com/help/api) there is written
Quote
Restrictions:
    * Clients must send the "Accept-Encoding: gzip" header. The service will gzip most API responses so your application must be able to decode gzipped data.

Quiz question: is there any posibility to modify foo_discogs.dll to send this header because obviously it is lacking in Dhry's and of my installation? As far as I could see in the source code, there is no such code implemented? (but to be honest I'm no programmer so please excuse my assumption if I'm wrong  ).


greetings
thehuh


Supplement: Test on the linked website for checking the HTTP-request shows the following output (everything fine so far):
Code: [Select]
[ 35] GET /cgi-bin/http_trace.pl HTTP/1.1
[ 61] REFERER: http://schroepl.net/projekte/mod_gzip/firewalls.htm
[ 30] ACCEPT_ENCODING: gzip,deflate
[ 23] CONNECTION: keep-alive
[ 72] ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[ 48] ACCEPT_CHARSET: ISO-8859-15,utf-8;q=0.7,*;q=0.7
[103] USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
[ 32] ACCEPT_LANGUAGE: en,en-us;q=0.5
[ 16] KEEP_ALIVE: 300
[ 23] HOST: www.schroepl.net
Title: foo_discogs
Post by: HellMind on 2008-10-04 20:14:47
Isn't work for me no error (checked console)
I can fetch the artist art
But I see nothing in the preview or the album art panel, Also I see the on the web the album images

Also the panel works fine because I see old album arts ( I didn't get those with discogs neither)

Im using discogs 1.13 and foobar 0.956


THanks
Title: foo_discogs
Post by: FavioD on 2008-10-04 23:48:27
just wanted to say, everything is working 100% correct here on 9.5.6, album art and everything else
Title: foo_discogs
Post by: HellMind on 2008-10-05 18:03:42
just wanted to say, everything is working 100% correct here on 9.5.6, album art and everything else


how can I use it without having the tag of the album? just using the name of the song.
My files aren't in an album sub folder I don't store every song of an album
Title: foo_discogs
Post by: HellMind on 2008-10-08 12:20:36

just wanted to say, everything is working 100% correct here on 9.5.6, album art and everything else


how can I use it without having the tag of the album? just using the name of the song.
My files aren't in an album sub folder I don't store every song of an album


The problem is that when discogs download the album foobar doesn't show it

It is in the album folder but foobar don't care, how do foobar knows that is there? maybe the filename is wrong
Title: foo_discogs
Post by: wortels on 2008-10-13 08:22:27
I tagged a couple of albums with this component and I am getting some weird things. Even with single tag values it is prefixed with 'multiple values'. Something like

Code: [Select]
<<multiple values>>2004
<<multiple values>>Rock

and I have to fix it by hand.

EDIT:
I just realized this happens because when you right click an album in a filter in columns_ui and tag it some of the files aren't tagged and thus <<multiple values>> i.e. blank and the data

I have also gotten a couple of crashes with it

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 7553BDDDh
Access violation, operation: write, address: 3DBA9F3Ah
Call path not available.
Code bytes (7553BDDDh):
7553BD9Dh:  90 90 90 90 90 39 5D 08 0F 85 E9 E4 00 00 C3 90
7553BDADh:  90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
7553BDBDh:  90 90 90 8B 4C 24 04 B8 01 00 00 00 F0 0F C1 01
7553BDCDh:  40 C2 04 00 8D 49 00 8B 4C 24 04 B8 FF FF FF FF
7553BDDDh:  F0 0F C1 01 48 C2 04 00 8D 49 00 8B 4C 24 04 8B
7553BDEDh:  54 24 08 8B 01 F0 0F B1 11 75 FA C2 08 00 90 8B
7553BDFDh:  4C 24 04 8B 54 24 08 8B 44 24 0C F0 0F B1 11 C2
7553BE0Dh:  0C 00 90 8B 4C 24 04 8B 44 24 08 F0 0F C1 01 C2
Stack (04A0EF7Ch):
04A0EF5Ch:  00000000 00000000 00000000 00000000
04A0EF6Ch:  00000000 00000000 00000000 00000000
04A0EF7Ch:  013D4840 3DBA9F3A 01445CF9 028ED5C8
04A0EF8Ch:  013D3A3E 04A0F6C4 04A0F25C 013D5547
04A0EF9Ch:  04A0EFB4 013D3857 00DE7D48 00000000
04A0EFACh:  028ED5B8 04A0EFC3 04A0F6D0 013D5556
04A0EFBCh:  00DE7D48 028ED5B8 014863E7 04A0F6C4
04A0EFCCh:  04A0F25C 04A0EFE0 04A0F6C4 013D5547
04A0EFDCh:  04A0F6D0 04A0F00C 01485235 013D5547
04A0EFECh:  04A0F6C4 00000100 04A0F064 01484F21
04A0EFFCh:  26D76D4E 014BDA70 04A0F6C4 00000001
04A0F00Ch:  04A0F074 01485AE6 04A0F6C4 014BDA70
04A0F01Ch:  013D5547 00000000 00000100 26D772CE
04A0F02Ch:  014BDA5C 04A0F6C4 014BDA4C 04A0F600
04A0F03Ch:  00000000 00000000 00000000 00000000
04A0F04Ch:  04A0F038 04A0F68C 014858D3 013D5547
04A0F05Ch:  04A0F028 04A0EB90 04A0F188 014752A0
04A0F06Ch:  233B92FA 00000001 04A0F0A4 01485E6D
04A0F07Ch:  04A0F25C 04A0F6C4 00000001 014BDA70
04A0F08Ch:  00000000 00000100 04A0F6C4 04A0F230
Registers:
EAX: FFFFFFFF, EBX: 00DE7D48, ECX: 3DBA9F3A, EDX: 00C80048
ESI: 3DBA9F36, EDI: 00DE7D58, EBP: 04A0EF9C, ESP: 04A0EF7C
Crash location: "kernel32", loaded at 754F0000h - 755CB000h
Symbol: "InterlockedDecrement" (+00000009h)

Loaded modules:
foobar2000                      loaded at 013D0000h - 014FB000h
ntdll                            loaded at 76DC0000h - 76EE7000h
kernel32                        loaded at 754F0000h - 755CB000h
COMCTL32                        loaded at 74420000h - 745BE000h
msvcrt                          loaded at 764D0000h - 7657A000h
ADVAPI32                        loaded at 76400000h - 764C6000h
RPCRT4                          loaded at 76740000h - 76802000h
GDI32                            loaded at 76580000h - 765CB000h
USER32                          loaded at 769A0000h - 76A3D000h
SHLWAPI                          loaded at 76FC0000h - 77018000h
SHELL32                          loaded at 755D0000h - 760DF000h
ole32                            loaded at 76C70000h - 76DB4000h
shared                          loaded at 10000000h - 1002A000h
COMDLG32                        loaded at 76AC0000h - 76B33000h
IMM32                            loaded at 76FA0000h - 76FBE000h
MSCTF                            loaded at 76330000h - 763F8000h
LPK                              loaded at 76EF0000h - 76EF9000h
USP10                            loaded at 762B0000h - 7632D000h
uxtheme                          loaded at 74600000h - 7463F000h
GameHook                        loaded at 10D00000h - 10D0F000h
lgscroll                        loaded at 10100000h - 1010E000h
MSVCR80                          loaded at 71B00000h - 71B9B000h
NTMARTA                          loaded at 747E0000h - 74801000h
WLDAP32                          loaded at 76A40000h - 76A8A000h
WS2_32                          loaded at 76A90000h - 76ABD000h
NSI                              loaded at 760E0000h - 760E6000h
PSAPI                            loaded at 75420000h - 75427000h
SAMLIB                          loaded at 74F70000h - 74F81000h
foo_converter                    loaded at 00EA0000h - 00F07000h
foo_discogs                      loaded at 00FC0000h - 01054000h
gdiplus                          loaded at 73CD0000h - 73E7B000h
WINMM                            loaded at 73B60000h - 73B92000h
OLEAUT32                        loaded at 76F10000h - 76F9D000h
OLEACC                          loaded at 73B20000h - 73B59000h
foo_fileops                      loaded at 00320000h - 00366000h
foo_input_std                    loaded at 02300000h - 0242C000h
foo_playcount                    loaded at 00F10000h - 00F3A000h
foo_rgscan                      loaded at 010A0000h - 010FB000h
foo_uie_lyrics                  loaded at 01270000h - 012CC000h
WININET                          loaded at 765D0000h - 766AC000h
Normaliz                        loaded at 76F00000h - 76F03000h
urlmon                          loaded at 76B40000h - 76C6B000h
iertutil                        loaded at 760F0000h - 762A5000h
foo_uie_vis_channel_spectrum    loaded at 01340000h - 0137D000h
MSIMG32                          loaded at 747A0000h - 747A5000h
foo_ui_columns                  loaded at 02990000h - 02ABD000h
NLAapi                          loaded at 73EE0000h - 73EEF000h
IPHLPAPI                        loaded at 74D50000h - 74D69000h
dhcpcsvc                        loaded at 74D10000h - 74D45000h
DNSAPI                          loaded at 74F90000h - 74FBC000h
Secur32                          loaded at 75350000h - 75364000h
WINNSI                          loaded at 74D00000h - 74D07000h
dhcpcsvc6                        loaded at 74CD0000h - 74CF1000h
napinsp                          loaded at 717C0000h - 717CF000h
mswsock                          loaded at 74A40000h - 74A7B000h
wshtcpip                        loaded at 746E0000h - 746E5000h
pnrpnsp                          loaded at 716C0000h - 716D2000h
winrnr                          loaded at 71730000h - 71738000h
wshbth                          loaded at 71590000h - 7159C000h
SETUPAPI                        loaded at 76810000h - 7699A000h
rasadhlp                        loaded at 716B0000h - 716B6000h
PROPSYS                          loaded at 738F0000h - 739AB000h
apphelp                          loaded at 752F0000h - 7531C000h
CLBCatQ                          loaded at 766B0000h - 76734000h
ieframe                          loaded at 6FC60000h - 707D2000h
imagehlp                        loaded at 754C0000h - 754E9000h
dbghelp                          loaded at 6D5D0000h - 6D6AC000h

Stack dump analysis:
Address: 013D4840h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 01445CF9h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D3A3Eh, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D5547h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D3857h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D5556h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014863E7h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D5547h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 01485235h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D5547h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 01484F21h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014BDA70h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 01485AE6h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014BDA70h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D5547h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014BDA5Ch, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014858D3h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D5547h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014752A0h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 01485E6Dh, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014BDA70h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014BDA70h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014861C4h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014BDA70h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014863B0h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014BDA70h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 01484F11h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014BDA70h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014BDA70h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 76E19B99h, location: "ntdll", loaded at 76DC0000h - 76EE7000h
Symbol: "RtlRaiseStatus" (+000000B4h)
Address: 76E19BADh, location: "ntdll", loaded at 76DC0000h - 76EE7000h
Symbol: "RtlRaiseStatus" (+000000C8h)
Address: 76E19B6Bh, location: "ntdll", loaded at 76DC0000h - 76EE7000h
Symbol: "RtlRaiseStatus" (+00000086h)
Address: 0148DDF0h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 76DFD205h, location: "ntdll", loaded at 76DC0000h - 76EE7000h
Symbol: "RtlInitializeCriticalSectionAndSpinCount" (+0000028Fh)
Address: 0148DDF0h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014BAB44h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 76E199F7h, location: "ntdll", loaded at 76DC0000h - 76EE7000h
Symbol: "KiUserExceptionDispatcher" (+0000000Fh)
Address: 755342EBh, location: "kernel32", loaded at 754F0000h - 755CB000h
Symbol: "RaiseException" (+00000058h)
Address: 01462C59h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014BAB44h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 755342EBh, location: "kernel32", loaded at 754F0000h - 755CB000h
Symbol: "RaiseException" (+00000058h)
Address: 01462C59h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 755342EBh, location: "kernel32", loaded at 754F0000h - 755CB000h
Symbol: "RaiseException" (+00000058h)
Address: 0148A4C6h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D50DDh, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014BAB44h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 01477049h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D5349h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 0149DD80h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014A1F38h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014A0740h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 0148C3A7h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D5379h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014A0740h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D53B1h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014A0638h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D3875h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D54FAh, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 01495C18h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014A0740h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 02A5D828h, location: "foo_ui_columns", loaded at 02990000h - 02ABD000h
Symbol: "foobar2000_get_interface" (+0002BF48h)
Address: 0148DDF0h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D5A98h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 02416F48h, location: "foo_input_std", loaded at 02300000h - 0242C000h
Symbol: "foobar2000_get_interface" (+000AA918h)
Address: 029B9A88h, location: "foo_ui_columns", loaded at 02990000h - 02ABD000h
Address: 029B1B30h, location: "foo_ui_columns", loaded at 02990000h - 02ABD000h
Address: 76E19A78h, location: "ntdll", loaded at 76DC0000h - 76EE7000h
Symbol: "RtlUserThreadStart" (+00000000h)
Address: 02A7367Ch, location: "foo_ui_columns", loaded at 02990000h - 02ABD000h
Symbol: "foobar2000_get_interface" (+00041D9Ch)
Address: 02A61426h, location: "foo_ui_columns", loaded at 02990000h - 02ABD000h
Symbol: "foobar2000_get_interface" (+0002FB46h)
Address: 02A7367Ch, location: "foo_ui_columns", loaded at 02990000h - 02ABD000h
Symbol: "foobar2000_get_interface" (+00041D9Ch)
Address: 01000000h, location: "foo_discogs", loaded at 00FC0000h - 01054000h
Symbol: "curl_free" (+000025F0h)
Address: 029B8E42h, location: "foo_ui_columns", loaded at 02990000h - 02ABD000h
Address: 7551031Dh, location: "kernel32", loaded at 754F0000h - 755CB000h
Symbol: "SetThreadPriority" (+000000E7h)
Address: 02A6145Ah, location: "foo_ui_columns", loaded at 02990000h - 02ABD000h
Symbol: "foobar2000_get_interface" (+0002FB7Ah)
Address: 029B1B52h, location: "foo_ui_columns", loaded at 02990000h - 02ABD000h
Address: 75534911h, location: "kernel32", loaded at 754F0000h - 755CB000h
Symbol: "BaseThreadInitThunk" (+00000012h)
Address: 76DFE4B6h, location: "ntdll", loaded at 76DC0000h - 76EE7000h
Symbol: "RtlInitializeExceptionChain" (+00000063h)
Address: 760DC280h, location: "SHELL32", loaded at 755D0000h - 760DF000h
Symbol: "StrStrW" (+007CC570h)
Address: 7558F389h, location: "kernel32", loaded at 754F0000h - 755CB000h
Symbol: "UnhandledExceptionFilter" (+00000000h)
Address: 7558F389h, location: "kernel32", loaded at 754F0000h - 755CB000h
Symbol: "UnhandledExceptionFilter" (+00000000h)
Address: 76DC9834h, location: "ntdll", loaded at 76DC0000h - 76EE7000h
Symbol: "RtlUpdateTimer" (+00000605h)
Address: 76DFE489h, location: "ntdll", loaded at 76DC0000h - 76EE7000h
Symbol: "RtlInitializeExceptionChain" (+00000036h)
Address: 029B1B30h, location: "foo_ui_columns", loaded at 02990000h - 02ABD000h
Address: 029B1B30h, location: "foo_ui_columns", loaded at 02990000h - 02ABD000h

Version info:
foobar2000 v0.9.5.6
UNICODE
Windows 6.0


Additional info:
Columns UI 0.3.4.2  (foo_ui_columns)
Playback Statistics 2.1.5  (foo_playcount)
File Operations 2.1  (foo_fileops)
Channel Spectrum panel 0.17.2  (foo_uie_vis_channel_spectrum)
Discogs Tagger 1.13  (foo_discogs)
Converter 1.1.2  (foo_converter)
Standard Input Array 1.0  (foo_input_std)
foobar2000 core 0.9.5.6  (Core)
ReplayGain Scanner 2.0.8   (foo_rgscan)
Lyric Show Panel 0.3.3.3 [Sep 23 2008 - 14:15:11]  (foo_uie_lyrics)

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 7553BDDDh
Access violation, operation: write, address: 3DBA9F3Ah
Call path not available.
Code bytes (7553BDDDh):
7553BD9Dh:  90 90 90 90 90 39 5D 08 0F 85 E9 E4 00 00 C3 90
7553BDADh:  90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
7553BDBDh:  90 90 90 8B 4C 24 04 B8 01 00 00 00 F0 0F C1 01
7553BDCDh:  40 C2 04 00 8D 49 00 8B 4C 24 04 B8 FF FF FF FF
7553BDDDh:  F0 0F C1 01 48 C2 04 00 8D 49 00 8B 4C 24 04 8B
7553BDEDh:  54 24 08 8B 01 F0 0F B1 11 75 FA C2 08 00 90 8B
7553BDFDh:  4C 24 04 8B 54 24 08 8B 44 24 0C F0 0F B1 11 C2
7553BE0Dh:  0C 00 90 8B 4C 24 04 8B 44 24 08 F0 0F C1 01 C2
Stack (0321F014h):
0321EFF4h:  00000000 00000000 00000000 00000000
0321F004h:  00000000 00000000 00000000 00000000
0321F014h:  013D4840 3DBA9F3A 01445CF9 02952A40
0321F024h:  013D3A3E 0321F75C 0321F2F4 013D5547
0321F034h:  0321F04C 013D3857 00F47DA8 00000000
0321F044h:  02952A30 0321F05B 0321F768 013D5556
0321F054h:  00F47DA8 02952A30 014863E7 0321F75C
0321F064h:  0321F2F4 0321F078 0321F75C 013D5547
0321F074h:  0321F768 0321F0A4 01485235 013D5547
0321F084h:  0321F75C 00000100 0321F0FC 01484F21
0321F094h:  E4A4B782 014BDA70 0321F75C 00000001
0321F0A4h:  0321F10C 01485AE6 0321F75C 014BDA70
0321F0B4h:  013D5547 00000000 00000100 E4A4B602
0321F0C4h:  014BDA5C 0321F75C 014BDA4C 0321F698
0321F0D4h:  00000000 00000000 00000000 00000000
0321F0E4h:  0321F0D0 0321F724 014858D3 013D5547
0321F0F4h:  0321F0C0 0321EC28 0321F220 014752A0
0321F104h:  E6C9574E 00000001 0321F13C 01485E6D
0321F114h:  0321F2F4 0321F75C 00000001 014BDA70
0321F124h:  00000000 00000100 0321F75C 0321F2C8
Registers:
EAX: FFFFFFFF, EBX: 00F47DA8, ECX: 3DBA9F3A, EDX: 00BE0048
ESI: 3DBA9F36, EDI: 00F47DB8, EBP: 0321F034, ESP: 0321F014
Crash location: "kernel32", loaded at 754F0000h - 755CB000h
Symbol: "InterlockedDecrement" (+00000009h)

Loaded modules:
foobar2000                      loaded at 013D0000h - 014FB000h
ntdll                            loaded at 76DC0000h - 76EE7000h
kernel32                        loaded at 754F0000h - 755CB000h
COMCTL32                        loaded at 74420000h - 745BE000h
msvcrt                          loaded at 764D0000h - 7657A000h
ADVAPI32                        loaded at 76400000h - 764C6000h
RPCRT4                          loaded at 76740000h - 76802000h
GDI32                            loaded at 76580000h - 765CB000h
USER32                          loaded at 769A0000h - 76A3D000h
SHLWAPI                          loaded at 76FC0000h - 77018000h
SHELL32                          loaded at 755D0000h - 760DF000h
ole32                            loaded at 76C70000h - 76DB4000h
shared                          loaded at 10000000h - 1002A000h
COMDLG32                        loaded at 76AC0000h - 76B33000h
IMM32                            loaded at 76FA0000h - 76FBE000h
MSCTF                            loaded at 76330000h - 763F8000h
LPK                              loaded at 76EF0000h - 76EF9000h
USP10                            loaded at 762B0000h - 7632D000h
uxtheme                          loaded at 74600000h - 7463F000h
GameHook                        loaded at 10D00000h - 10D0F000h
lgscroll                        loaded at 10100000h - 1010E000h
MSVCR80                          loaded at 71B00000h - 71B9B000h
NTMARTA                          loaded at 747E0000h - 74801000h
WLDAP32                          loaded at 76A40000h - 76A8A000h
WS2_32                          loaded at 76A90000h - 76ABD000h
NSI                              loaded at 760E0000h - 760E6000h
PSAPI                            loaded at 75420000h - 75427000h
SAMLIB                          loaded at 74F70000h - 74F81000h
foo_converter                    loaded at 00E40000h - 00EA7000h
foo_discogs                      loaded at 01070000h - 01104000h
gdiplus                          loaded at 73CD0000h - 73E7B000h
WINMM                            loaded at 73B60000h - 73B92000h
OLEAUT32                        loaded at 76F10000h - 76F9D000h
OLEACC                          loaded at 73B20000h - 73B59000h
foo_fileops                      loaded at 00EB0000h - 00EF6000h
foo_input_std                    loaded at 023A0000h - 024CC000h
foo_playcount                    loaded at 00D50000h - 00D7A000h
foo_rgscan                      loaded at 01150000h - 011AB000h
foo_uie_lyrics                  loaded at 01230000h - 0128C000h
WININET                          loaded at 765D0000h - 766AC000h
Normaliz                        loaded at 76F00000h - 76F03000h
urlmon                          loaded at 76B40000h - 76C6B000h
iertutil                        loaded at 760F0000h - 762A5000h
foo_uie_vis_channel_spectrum    loaded at 01300000h - 0133D000h
MSIMG32                          loaded at 747A0000h - 747A5000h
foo_ui_columns                  loaded at 02A40000h - 02B6D000h
NLAapi                          loaded at 73EE0000h - 73EEF000h
IPHLPAPI                        loaded at 74D50000h - 74D69000h
dhcpcsvc                        loaded at 74D10000h - 74D45000h
DNSAPI                          loaded at 74F90000h - 74FBC000h
Secur32                          loaded at 75350000h - 75364000h
WINNSI                          loaded at 74D00000h - 74D07000h
dhcpcsvc6                        loaded at 74CD0000h - 74CF1000h
mswsock                          loaded at 74A40000h - 74A7B000h
napinsp                          loaded at 717C0000h - 717CF000h
wshtcpip                        loaded at 746E0000h - 746E5000h
pnrpnsp                          loaded at 716C0000h - 716D2000h
winrnr                          loaded at 71730000h - 71738000h
wshbth                          loaded at 71590000h - 7159C000h
SETUPAPI                        loaded at 76810000h - 7699A000h
rasadhlp                        loaded at 716B0000h - 716B6000h
imagehlp                        loaded at 754C0000h - 754E9000h
dbghelp                          loaded at 6D5D0000h - 6D6AC000h

Stack dump analysis:
Address: 013D4840h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 01445CF9h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D3A3Eh, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D5547h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D3857h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D5556h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014863E7h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D5547h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 01485235h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D5547h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 01484F21h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014BDA70h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 01485AE6h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014BDA70h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D5547h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014BDA5Ch, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014858D3h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D5547h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014752A0h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 01485E6Dh, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014BDA70h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014BDA70h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014861C4h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014BDA70h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014863B0h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014BDA70h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 01484F11h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014BDA70h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014BDA70h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 76E19B99h, location: "ntdll", loaded at 76DC0000h - 76EE7000h
Symbol: "RtlRaiseStatus" (+000000B4h)
Address: 76E19BADh, location: "ntdll", loaded at 76DC0000h - 76EE7000h
Symbol: "RtlRaiseStatus" (+000000C8h)
Address: 76E19B6Bh, location: "ntdll", loaded at 76DC0000h - 76EE7000h
Symbol: "RtlRaiseStatus" (+00000086h)
Address: 0148DDF0h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 76DFD205h, location: "ntdll", loaded at 76DC0000h - 76EE7000h
Symbol: "RtlInitializeCriticalSectionAndSpinCount" (+0000028Fh)
Address: 0148DDF0h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014BAB44h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 76E199F7h, location: "ntdll", loaded at 76DC0000h - 76EE7000h
Symbol: "KiUserExceptionDispatcher" (+0000000Fh)
Address: 755342EBh, location: "kernel32", loaded at 754F0000h - 755CB000h
Symbol: "RaiseException" (+00000058h)
Address: 01462C59h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014BAB44h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 755342EBh, location: "kernel32", loaded at 754F0000h - 755CB000h
Symbol: "RaiseException" (+00000058h)
Address: 01462C59h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 755342EBh, location: "kernel32", loaded at 754F0000h - 755CB000h
Symbol: "RaiseException" (+00000058h)
Address: 0148A4C6h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D50DDh, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014BAB44h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 01477049h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D5349h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 0149DD80h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014A1F38h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014A0740h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 0148C3A7h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D5379h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014A0740h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D53B1h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014A0638h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D3875h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D54FAh, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 01495C18h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 014A0740h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 02B0D828h, location: "foo_ui_columns", loaded at 02A40000h - 02B6D000h
Symbol: "foobar2000_get_interface" (+0002BF48h)
Address: 0148DDF0h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 013D5A98h, location: "foobar2000", loaded at 013D0000h - 014FB000h
Address: 024B735Ch, location: "foo_input_std", loaded at 023A0000h - 024CC000h
Symbol: "foobar2000_get_interface" (+000AAD2Ch)
Address: 02A69A88h, location: "foo_ui_columns", loaded at 02A40000h - 02B6D000h
Address: 02A61B30h, location: "foo_ui_columns", loaded at 02A40000h - 02B6D000h
Address: 76E19A78h, location: "ntdll", loaded at 76DC0000h - 76EE7000h
Symbol: "RtlUserThreadStart" (+00000000h)
Address: 02B2367Ch, location: "foo_ui_columns", loaded at 02A40000h - 02B6D000h
Symbol: "foobar2000_get_interface" (+00041D9Ch)
Address: 02B11426h, location: "foo_ui_columns", loaded at 02A40000h - 02B6D000h
Symbol: "foobar2000_get_interface" (+0002FB46h)
Address: 02B2367Ch, location: "foo_ui_columns", loaded at 02A40000h - 02B6D000h
Symbol: "foobar2000_get_interface" (+00041D9Ch)
Address: 02A68E42h, location: "foo_ui_columns", loaded at 02A40000h - 02B6D000h
Address: 7551031Dh, location: "kernel32", loaded at 754F0000h - 755CB000h
Symbol: "SetThreadPriority" (+000000E7h)
Address: 02B1145Ah, location: "foo_ui_columns", loaded at 02A40000h - 02B6D000h
Symbol: "foobar2000_get_interface" (+0002FB7Ah)
Address: 02A61B52h, location: "foo_ui_columns", loaded at 02A40000h - 02B6D000h
Address: 75534911h, location: "kernel32", loaded at 754F0000h - 755CB000h
Symbol: "BaseThreadInitThunk" (+00000012h)
Address: 76DFE4B6h, location: "ntdll", loaded at 76DC0000h - 76EE7000h
Symbol: "RtlInitializeExceptionChain" (+00000063h)
Address: 7558F389h, location: "kernel32", loaded at 754F0000h - 755CB000h
Symbol: "UnhandledExceptionFilter" (+00000000h)
Address: 7558F389h, location: "kernel32", loaded at 754F0000h - 755CB000h
Symbol: "UnhandledExceptionFilter" (+00000000h)
Address: 76DC9834h, location: "ntdll", loaded at 76DC0000h - 76EE7000h
Symbol: "RtlUpdateTimer" (+00000605h)
Address: 76DFE489h, location: "ntdll", loaded at 76DC0000h - 76EE7000h
Symbol: "RtlInitializeExceptionChain" (+00000036h)
Address: 02A61B30h, location: "foo_ui_columns", loaded at 02A40000h - 02B6D000h
Address: 02A61B30h, location: "foo_ui_columns", loaded at 02A40000h - 02B6D000h

Version info:
foobar2000 v0.9.5.6
UNICODE
Windows 6.0


Additional info:
Columns UI 0.3.4.2  (foo_ui_columns)
foobar2000 core 0.9.5.6  (Core)
Converter 1.1.2  (foo_converter)
File Operations 2.1  (foo_fileops)
Playback Statistics 2.1.5  (foo_playcount)
Lyric Show Panel 0.3.3.3 [Sep 23 2008 - 14:15:11]  (foo_uie_lyrics)
Discogs Tagger 1.13  (foo_discogs)
ReplayGain Scanner 2.0.8   (foo_rgscan)
Standard Input Array 1.0  (foo_input_std)
Channel Spectrum panel 0.17.2  (foo_uie_vis_channel_spectrum)
Title: foo_discogs
Post by: Psygnosis on 2008-10-13 12:41:28
Hi to all,
I have a little question about this fantastic plug-in:

It tag very well the mp3 but the album art is downloaded as an external file!
Is there any option to embed the album art in the mp3 file?
Or is there any plugin to embed the album art easely?

Id like to uninstall al audio program from my pc (like Itunes for the ipod, picard for tagger) and use foobar for everything

Thanks in advance
Title: foo_discogs
Post by: Dhry on 2008-10-13 15:59:37
Still bollocked here. Appears to search, appears to connect out, returns blank, XML API error if you enter a direct album code, firewall completely disabled, no firewall on router, no popup blocking, nothing that could be modifying the API callout. MP3tag works fine as mentioned. Author advised in a previous post on this thread that that's because it uses HTML scraping. Frankly, that method has always worked and apparently continues to work. I'd recommend contacting MP3tag's author to borrow his code for the scraping if it's too difficult or fiddly to write from scratch, and then just incorporate it as a separate option such as we had in this plugin a couple of versions ago. MP3tag uses that mode for a reason, I'm guessing.

And could we have a debug version of this plugin pls, so we can try and figure out exactly why the API mode works for some but not others? This is a great plugin and I agree with the previous post, none of us want to have to keep flipping in and out of f2k just to tag and grab album art.

Cheers and thanks in advance
Dhry
Title: foo_discogs
Post by: bubbleguuum on 2008-10-20 23:05:17
v 1.14  (download link on fist post)

- recompiled against the latest SDK so it can run using foobar 0.9.6 or above under Windows Vista
- removed foo_custominfo support as it is a deprecated component


It is highly recommended you use this version if running Vista no matter the version of foobar.
Title: foo_discogs
Post by: Sounds Blast on 2008-10-20 23:36:47
v 1.14  (download link on fist post)

- recompiled against the latest SDK so it can run using foobar 0.9.6 or above under Windows Vista
- removed foo_custominfo support as it is a deprecated component


It is highly recommended you use this version if running Vista no matter the version of foobar.

thanks bubbleguuum
Title: foo_discogs
Post by: unabatedshagie on 2008-10-25 23:38:14
Sorry if this has been asked before but I have a suggestion and a question.

Suggestion:
Would it be possible to have this have the option to move the files based on the tags?

The main reason I use this plugin is to tag files that are not already in my media library.

The way it works just now is, I open the files in foobar, tag the files, move the files to my music folder then rescan the media library.

What I would like is to open the files in foobar, tag them then have this move the files to where ever I want based to tags.

Would something like this be possible?

Question:
I like to (where possible) have my dates in the following format yyyy-mm-dd, I notice that the year, month and day are retrieved (where available), is there any way of easily joining them in this format using this plugin?
Title: foo_discogs
Post by: unabatedshagie on 2008-10-26 08:08:59
One other suggestion, would it be possible to when saving the artist picture to instead of using the discog artist id let the user call it whatever they want like with the cover art.

It's probably been asked before but just incase.
Title: foo_discogs
Post by: bubbleguuum on 2008-10-26 09:52:59
Sorry if this has been asked before but I have a suggestion and a question.

Suggestion:
Would it be possible to have this have the option to move the files based on the tags?

The main reason I use this plugin is to tag files that are not already in my media library.

The way it works just now is, I open the files in foobar, tag the files, move the files to my music folder then rescan the media library.

What I would like is to open the files in foobar, tag them then have this move the files to where ever I want based to tags.

Would something like this be possible?

Question:

It's already the purpose of the "File Operations" module found in the context menu. It can do all that and more

Quote
I like to (where possible) have my dates in the following format yyyy-mm-dd, I notice that the year, month and day are retrieved (where available), is there any way of easily joining them in this format using this plugin?


In Discogs tags mapping, bind discogs info "Released raw" to tag DATE and you have nothing to do. In general, if you need to write tags from other tags use scripts (Tagging->Manage Scripts)

Quote
One other suggestion, would it be possible to when saving the artist picture to instead of using the discog artist id let the user call it whatever they want like with the cover art.


I may allow custom naming scheme for artist art files, now that with 1.14 it is possible to store artist art in the release directory (instead of a single unique directory in previous versions). Forgot to say that in 1.14 the Artist Art directory found in preference now accept tagz syntax, so to store artist art in the release dir, just put "$replace(%path%,%filename_ext%,)".
Title: foo_discogs
Post by: unabatedshagie on 2008-10-26 10:24:19

Sorry if this has been asked before but I have a suggestion and a question.

Suggestion:
Would it be possible to have this have the option to move the files based on the tags?

The main reason I use this plugin is to tag files that are not already in my media library.

The way it works just now is, I open the files in foobar, tag the files, move the files to my music folder then rescan the media library.

What I would like is to open the files in foobar, tag them then have this move the files to where ever I want based to tags.

Would something like this be possible?

Question:

It's already the purpose of the "File Operations" module found in the context menu. It can do all that and more
I know that's the way I do it just now, just would have been easier if it was all in one. (I know, I'm lazy )

Quote
Quote

I like to (where possible) have my dates in the following format yyyy-mm-dd, I notice that the year, month and day are retrieved (where available), is there any way of easily joining them in this format using this plugin?


In Discogs tags mapping, bind discogs info "Released raw" to tag DATE and you have nothing to do. In general, if you need to write tags from other tags use scripts (Tagging->Manage Scripts)
Thanks, that's what I was looking for 

Quote
Quote

One other suggestion, would it be possible to when saving the artist picture to instead of using the discog artist id let the user call it whatever they want like with the cover art.


I may allow custom naming scheme for artist art files, now that with 1.14 it is possible to store artist art in the release directory (instead of a single unique directory in previous versions). Forgot to say that in 1.14 the Artist Art directory found in preference now accept tagz syntax, so to store artist art in the release dir, just put "$replace(%path%,%filename_ext%,)".
That's good to know, thanks.
Title: foo_discogs
Post by: unabatedshagie on 2008-10-26 10:34:51
Is there any way to get the artist pictures to go into a specific folder?

I want them to go into H:\..Artists\%artist%.jpg

I have that in the directory area of the config but surprisingly it doesn't work.
Title: foo_discogs
Post by: locutus on 2008-11-05 16:22:25
I have just start using discogs, because I´m tired to use another tool when i can do the things similar in foobar2000. Just one question:

I have my library sorted like this: /artist/album/albumsongs. I have lots of single songs with album like various/ Best of .../ and so on. Is there a way to tell the discogs plugin to create the needed folderstructure, if not present and delete empty folder?
Also to rename a folder if artist is ok, but not the albumname?
Title: foo_discogs
Post by: q-stankovic on 2008-11-05 17:47:45
@locutus

read the last 5 posts of this thread
Title: foo_discogs
Post by: b`rad on 2008-11-07 04:40:55
Well this is my first post, although I've been lurking on here a while.  This plugin is one of the reasons I switched to foobar!  I almost exclusively use discogs.com as it is most complete for my collection.  Anyway, it's working great for me but for some reason I can't get the album art to update.  I see that it downloads but won't update in the album art panel.  Any ideas?
Title: foo_discogs
Post by: b`rad on 2008-11-07 23:50:26
I think I figured it out.  I don't have anything set in the Columns_UI / Artwork tab (for front, back, disc).  Obviously I'm still a noob.  Back to studying the titleformat reference wiki.
Title: foo_discogs
Post by: a3aan on 2008-11-08 00:24:31
Finally, a new release! 1.13 (download link in first post):

1.13

[..]
+ add:  add tag DISCOGS_ARTIST_MULTI (same as Artist, but as a multi-value tag to separate artists, useful with <%DISCOGS_ARTIST_MULTI%>) and
DISCOGS_ALBUM_ARTIST_MULTI (same as Album Artist, but as a multi-value tag to separate artists.
[..]


I just noticed that these new fields do not follow the configuration setting for 'In artist names, move "The" at the beginning', which I think is desirable if it did.
Moreover, I would like all artists fields, including credits, to follow this setting. Also, It would be cool if the credits were written as multi  as well.

Cheers,
Adriaan.
Title: foo_discogs
Post by: deliiria on 2008-11-09 09:27:23
this is going to save me a ridiculous amount of time.

I love you.
Title: foo_discogs
Post by: ExUser on 2008-11-10 08:31:54
Any chance of seeing a source code release for the latest version?
Title: foo_discogs
Post by: XI8 1337 on 2008-11-10 22:07:52
(http://img384.imageshack.us/img384/5997/discogsjq5.th.png) (http://img384.imageshack.us/img384/5997/discogsjq5.png)

For some reason, it randomly decides to tag the wrong songs like in the pic, and I have to download the tags a few times before it gets it right (or re-order them).
Is this a bug or am I using it wrong?
Right-click the name of the album in the CUI filter > Discogs > Write Tags > Find album > Click OK > Write Tags.

Scratch that. The whole "match song length" thing really screws things up for me, so I disabled it.

(http://img529.imageshack.us/img529/7028/hatekz9.th.png) (http://img529.imageshack.us/img529/7028/hatekz9.png)

Guess that wasn't why...
Title: foo_discogs
Post by: skelly831 on 2008-11-10 23:01:34
XI8 1337, I saw the same thing with a lot of albums I've tagged recently, I did the same as you and disabled song length matching.
Title: foo_discogs
Post by: XI8 1337 on 2008-11-11 03:34:53
Well I found a way around it. I select every track that I want tagged, then right click on the 1st track > Discogs > blahblah.

For some reason right clicking on the 1st song in the album doesn't yield such problems for me.
Title: foo_discogs
Post by: Al-Man on 2008-11-14 04:38:50
Hi I wonder if anybody could help me out? I would love to use this plugin but every time I press ok on the find release dialogue box it says fetching release information and then comes up with a discogs error: release id=whatever: html parse error. I have tried turning off my firewall messed about with all my Firefox settings. Searched all the posts here but to no avail. I am using XP Home, Zone Alarm Pro and Avast. If any one could suggest a remedy I would really appreciate it. Thanks Al-Man 
Title: foo_discogs
Post by: bubbleguuum on 2008-11-15 16:23:33
Hi I wonder if anybody could help me out? I would love to use this plugin but every time I press ok on the find release dialogue box it says fetching release information and then comes up with a discogs error: release id=whatever: html parse error. I have tried turning off my firewall messed about with all my Firefox settings. Searched all the posts here but to no avail. I am using XP Home, Zone Alarm Pro and Avast. If any one could suggest a remedy I would really appreciate it. Thanks Al-Man 



I think you're using an outdated version of the component which parsed HTML pages. Try updating to 1.14 (download in the first post) and tell us if it works.

Any chance of seeing a source code release for the latest version?


Yup, expect a source release soon.
Title: foo_discogs
Post by: bubbleguuum on 2008-11-15 20:34:55
v 1.15:  minor fixes + source release (download link in first post):

- fix: "move the at begginning" setting was not honored in all credit tags + other artists field (members, anvs, aliases, groups) and numeric suffix found in artist names where not removed for those tags.
- add: new tags DISCOGS_RELEASE_CREDITS_MULTI and DISCOGS_TRACK_CREDITS_MULTI store release and track credits as a multi-value tag
- chg: by default "Label" is mapped to tag PUBLISHER and "Remix track credit" is mapped to REMIXED BY, so foobar writes those tags in the dedicated ID3 frame (see http://wiki.hydrogenaudio.org/index.php?ti...D3_Tag_Mapping) (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:ID3_Tag_Mapping))
- source code release

If there's a problem compiling the source let me know. All dependencies are included so it should be straightforward.
Title: foo_discogs
Post by: a3aan on 2008-11-16 08:39:54
- fix: "move the at begginning" setting was not honored in all credit tags + other artists field (members, anvs, aliases, groups) and numeric suffix found in artist names where not removed for those tags.


Great. Hopefully the same can be done for "replace anvs".

- add: new tags DISCOGS_RELEASE_CREDITS_MULTI and DISCOGS_TRACK_CREDITS_MULTI store release and track credits as a multi-value tag


Great. A muliti value version of DISCOGS_CREDIT_REMIX would be cool though. But I guess I can construct the same behaviour using this new tags, but that will be a bit complicated.

- chg: by default "Label" is mapped to tag PUBLISHER and "Remix track credit" is mapped to REMIXED BY


This doesn't happen here. "Label" is still written to DISCOGS_LABEL and DISCOGS_LABEL is also the only option in the mapping. Same for "Remix track credit".

Thanks for one of the bigggest reasons to use foobar.
Regards, Adriaan.
Title: foo_discogs
Post by: supervillain on 2008-11-17 20:05:35
with version 1.15, the album art no longer displays in the bottom right corner when writing tags.  any ideas?
Title: foo_discogs
Post by: Al-Man on 2008-11-18 04:45:30

Hi I wonder if anybody could help me out? I would love to use this plugin but every time I press ok on the find release dialogue box it says fetching release information and then comes up with a discogs error: release id=whatever: html parse error. I have tried turning off my firewall messed about with all my Firefox settings. Searched all the posts here but to no avail. I am using XP Home, Zone Alarm Pro and Avast. If any one could suggest a remedy I would really appreciate it. Thanks Al-Man 



I think you're using an outdated version of the component which parsed HTML pages. Try updating to 1.14 (download in the first post) and tell us if it works.

Any chance of seeing a source code release for the latest version?


Yup, expect a source release soon.



Thanks for getting back to me and for a great plugin bubbleguuum. I was using 1.14 but have just upgraded
to 1.15 and it now seems to work. Cheers!
Title: foo_discogs
Post by: frozenspeed on 2008-12-13 07:26:18
Will there ever be support for multiple album names within a set release such as:

http://www.discogs.com/release/527395 (http://www.discogs.com/release/527395) - Led Zeppelin The Complete Studio Recordings

or

http://www.discogs.com/release/1310864 (http://www.discogs.com/release/1310864) - Leæther Strip - Civil Disobedience

when they get tagged by foo_dicogs they all maintain their set album titles instead of their proper, album title names.

Thanks for making such an awesome plugin!
Title: foo_discogs
Post by: andrea.ippo on 2008-12-13 22:48:54
with version 1.15, the album art no longer displays in the bottom right corner when writing tags.  any ideas?

Have you the "display preview in release dialog" enabled, in the album/artist art configuration tab?
Title: foo_discogs
Post by: andrea.ippo on 2008-12-14 09:59:45
Can I embed album art in the file with this plugin?
Title: foo_discogs
Post by: dancehool on 2008-12-15 11:45:56
Will there ever be support for multiple album names within a set release such as:

http://www.discogs.com/release/527395 (http://www.discogs.com/release/527395) - Led Zeppelin The Complete Studio Recordings

or

http://www.discogs.com/release/1310864 (http://www.discogs.com/release/1310864) - Leæther Strip - Civil Disobedience

when they get tagged by foo_dicogs they all maintain their set album titles instead of their proper, album title names.


What do you mean? foo_discogs is tagging the files with the album title seen in discogs, that is "The Complete Studio Recordings" and "Civil Disobedience" - there are no "multiple album titles" possible in discogs at the moment.
Title: foo_discogs
Post by: djpault on 2008-12-15 21:13:33
I use discogs everyday, and I am happy I found this foobar plugin, but the cover art is not working for me. I am having problems getting the cover art to show. I see the preview picture in the Release window, but when I click to Write Tags, I get the error: "Unhandled exception in 'Updating album/artist art...' - Invalid Path". Then all the tags are written except the cover art. Would someone please mind pointing me in the right direction?
Title: foo_discogs
Post by: andrea.ippo on 2008-12-15 21:40:13
I use discogs everyday, and I am happy I found this foobar plugin, but the cover art is not working for me. I am having problems getting the cover art to show. I see the preview picture in the Release window, but when I click to Write Tags, I get the error: "Unhandled exception in 'Updating album/artist art...' - Invalid Path". Then all the tags are written except the cover art. Would someone please mind pointing me in the right direction?

AFAIK, it doesn't embed the album art in the file, but stores it as a jpeg image in the folder specified in the options. Check that the specified folder exists in your file system (it's in configuration -> album/artist art).
The default setting for the directory is $replace(%path%,%filename_ext%,)
Title: foo_discogs
Post by: cheatz on 2008-12-30 06:45:47
Something strange is happening with discogs as of late. I haven't changed anything in foobar for 6 months and now discogs is randomising track #'s to the mp3 list.

For instance on this release:

http://www.discogs.com/release/1395742 (http://www.discogs.com/release/1395742)

I highlight the 6 tracks on my hdd and right click>discogs>write tags. When i enter the link and click ok the standard screen shows the left discogs window and the right hdd mp3 list.

On the left side (discogs info) the track # is randomised like this:

3
4
1
2
5
6

While the mp3 hdd list is in correct order 1-6.

This has been happening with a lot of releases. What gives?
Title: foo_discogs
Post by: bubbleguuum on 2008-12-30 09:20:23
This has been happening with a lot of releases. What gives?


In the preference disable "Automatic match discogs tracks...". Sometimes it can wrongly match local and discogs tracks.
Title: foo_discogs
Post by: ExUser on 2009-01-04 03:02:14
Crash log:

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 0276289Ch
Access violation, operation: write, address: 3231006Ch
Call path not available.
Code bytes (0276289Ch):
0276285Ch:  78 28 76 02 70 28 76 02 68 28 76 02 8B 44 8E E4
0276286Ch:  89 44 8F E4 8B 44 8E E8 89 44 8F E8 8B 44 8E EC
0276287Ch:  89 44 8F EC 8B 44 8E F0 89 44 8F F0 8B 44 8E F4
0276288Ch:  89 44 8F F4 8B 44 8E F8 89 44 8F F8 8B 44 8E FC
0276289Ch:  89 44 8F FC 8D 04 8D 00 00 00 00 03 F0 03 F8 FF
027628ACh:  24 95 B4 28 76 02 8B FF C4 28 76 02 CC 28 76 02
027628BCh:  D8 28 76 02 EC 28 76 02 8B 45 08 5E 5F C9 C3 90
027628CCh:  8A 06 88 07 8B 45 08 5E 5F C9 C3 90 8A 06 88 07
Stack (107AFC28h):
107AFC08h:  00000000 00000000 00000000 00000000
107AFC18h:  00000000 00000000 00000000 00000000
107AFC28h:  00000004 00000000 107AFC4C 027612F3
107AFC38h:  3231006C 09DAAEBC 00000004 00000004
107AFC48h:  02ADF6E0 00000000 02712DDF 3231006C
107AFC58h:  1C87E67E 09DAAEBC 00000004 09DAAEB8
107AFC68h:  02ADF6E0 107AFD50 02ADF3D8 0271505D
107AFC78h:  09DAAEB8 00000000 FFFFFFFF 02ADF3D8
107AFC88h:  02715AA6 415B120D 09DF2528 02ADF6E0
107AFC98h:  0000000B 01A9D4F0 02AD0E9C 09DAAEB8
107AFCA8h:  02AD0E80 02ADF3D8 01A90000 00000000
107AFCB8h:  01A9D4E8 107AFCFC 1000B4D2 01A90000
107AFCC8h:  00000000 1000B4F1 413126E3 00000000
107AFCD8h:  107AFD34 01A9D4F0 0000000A 76C68871
107AFCE8h:  76C64AB8 00000000 02ADF770 107AFD28
107AFCF8h:  00000000 107AFD30 02717DB6 107AFD28
107AFD08h:  02ADF7C0 00000000 02ADF7C0 00000000
107AFD18h:  09DF2528 02ADF6E0 09DF2528 02ADF6E0
107AFD28h:  02ADF7C0 00000000 02ADF7D0 027170AA
107AFD38h:  09DF2528 415B1201 107AFD98 107AFDD0
Registers:
EAX: 35383238, EBX: 02ADF6E4, ECX: 00000001, EDX: 00000000
ESI: 09DAAEBC, EDI: 3231006C, EBP: 107AFC30, ESP: 107AFC28
Crash location: "foo_discogs", loaded at 02710000h - 027A3000h
Symbol: "curl_formget" (+0000251Ch)

Loaded modules:
foobar2000                      loaded at 00840000h - 0097D000h
ntdll                            loaded at 77340000h - 77467000h
kernel32                        loaded at 770D0000h - 771AB000h
COMCTL32                        loaded at 748A0000h - 74A3E000h
msvcrt                          loaded at 76780000h - 7682A000h
ADVAPI32                        loaded at 76D80000h - 76E46000h
RPCRT4                          loaded at 76AF0000h - 76BB2000h
GDI32                            loaded at 76830000h - 7687B000h
USER32                          loaded at 76C50000h - 76CED000h
SHLWAPI                          loaded at 774C0000h - 77518000h
SHELL32                          loaded at 75C70000h - 76780000h
ole32                            loaded at 769A0000h - 76AE4000h
shared                          loaded at 10000000h - 1002A000h
UxTheme                          loaded at 74860000h - 7489F000h
COMDLG32                        loaded at 76F20000h - 76F93000h
IMM32                            loaded at 77520000h - 7753E000h
MSCTF                            loaded at 76E50000h - 76F18000h
LPK                              loaded at 774B0000h - 774B9000h
USP10                            loaded at 75BC0000h - 75C3D000h
foo_rgscan                      loaded at 00200000h - 0025B000h
foo_input_alac                  loaded at 001D0000h - 001F0000h
foo_run                          loaded at 007C0000h - 007ED000h
foo_input_usf                    loaded at 01D10000h - 01DF0000h
foo_format                      loaded at 00800000h - 00819000h
foo_facets                      loaded at 01E50000h - 01F1B000h
OLEAUT32                        loaded at 76BC0000h - 76C4D000h
MSIMG32                          loaded at 75200000h - 75205000h
foo_ui_std                      loaded at 02170000h - 02245000h
gdiplus                          loaded at 74500000h - 746AB000h
foo_gep                          loaded at 02250000h - 022E6000h
foo_dumb                        loaded at 02350000h - 023D9000h
foo_freedb2                      loaded at 01A40000h - 01A82000h
foo_quicktag                    loaded at 01DF0000h - 01E24000h
foo_fileops                      loaded at 01F20000h - 01F66000h
foo_input_std                    loaded at 024C0000h - 025FF000h
foo_masstag                      loaded at 023E0000h - 02420000h
foo_texttools                    loaded at 73CE0000h - 73D14000h
foo_unpack                      loaded at 020B0000h - 020DD000h
foo_playcount                    loaded at 020F0000h - 0211A000h
foo_textdisplay                  loaded at 73FA0000h - 73FD7000h
foo_vorbisstream                loaded at 02800000h - 029A9000h
WS2_32                          loaded at 77470000h - 7749D000h
NSI                              loaded at 77540000h - 77546000h
WINMM                            loaded at 744C0000h - 744F2000h
OLEACC                          loaded at 74480000h - 744B9000h
WINSPOOL                        loaded at 73D60000h - 73DA2000h
foo_discogs                      loaded at 02710000h - 027A3000h
foo_input_monkey                loaded at 02610000h - 02659000h
foo_dsp_vlevel                  loaded at 73D30000h - 73D3A000h
MSVCR90                          loaded at 73740000h - 737E3000h
foo_utils                        loaded at 6C0E0000h - 6C124000h
foo_converter                    loaded at 02A00000h - 02A6C000h
foo_verifier                    loaded at 027B0000h - 027E0000h
foo_dsp_std                      loaded at 02A70000h - 02AB8000h
foo_abx                          loaded at 029B0000h - 029E1000h
foo_pqview                      loaded at 02AE0000h - 02B08000h
foo_albumlist                    loaded at 02B60000h - 02BCC000h
foo_cdda                        loaded at 02C40000h - 02C81000h
foo_audioscrobbler              loaded at 02B10000h - 02B40000h
foo_httpcontrol                  loaded at 02D00000h - 02D41000h
WSOCK32                          loaded at 72890000h - 72897000h
MPR                              loaded at 755D0000h - 755E4000h
CLBCatQ                          loaded at 76CF0000h - 76D74000h
mlang                            loaded at 6F9D0000h - 6FA00000h
sud                              loaded at 66B80000h - 66CAE000h
ADVPACK                          loaded at 6C210000h - 6C23E000h
VERSION                          loaded at 75250000h - 75258000h
SETUPAPI                        loaded at 771B0000h - 7733A000h
PROPSYS                          loaded at 74380000h - 7443B000h
DUser                            loaded at 74830000h - 74860000h
NLAapi                          loaded at 746C0000h - 746CF000h
IPHLPAPI                        loaded at 75430000h - 75449000h
dhcpcsvc                        loaded at 753F0000h - 75425000h
DNSAPI                          loaded at 75670000h - 7569C000h
Secur32                          loaded at 75A50000h - 75A64000h
WINNSI                          loaded at 753E0000h - 753E7000h
dhcpcsvc6                        loaded at 753B0000h - 753D1000h
napinsp                          loaded at 71100000h - 7110F000h
pnrpnsp                          loaded at 70ED0000h - 70EE2000h
mswsock                          loaded at 75180000h - 751BB000h
winrnr                          loaded at 710F0000h - 710F8000h
WLDAP32                          loaded at 77550000h - 7759A000h
PSAPI                            loaded at 75BB0000h - 75BB7000h
rasadhlp                        loaded at 71940000h - 71946000h
wship6                          loaded at 75240000h - 75245000h
wshtcpip                        loaded at 750C0000h - 750C5000h
rsaenh                          loaded at 750F0000h - 7512B000h
browseui                        loaded at 6FD20000h - 6FE66000h
tiptsf                          loaded at 73C60000h - 73CC0000h
USERENV                          loaded at 75A70000h - 75A8E000h
WindowsCodecs                    loaded at 70B80000h - 70C33000h
apphelp                          loaded at 759C0000h - 759EC000h
GrooveShellExtensions            loaded at 6F070000h - 6F28D000h
GrooveUtil                      loaded at 6FA00000h - 6FAF1000h
WININET                          loaded at 76880000h - 76950000h
Normaliz                        loaded at 774A0000h - 774A3000h
iertutil                        loaded at 76950000h - 76995000h
CRYPT32                          loaded at 754D0000h - 755C1000h
MSASN1                          loaded at 75630000h - 75642000h
MSVCR80                          loaded at 714D0000h - 7156B000h
GrooveNew                        loaded at 70860000h - 70867000h
ATL80                            loaded at 70520000h - 7053B000h
cscui                            loaded at 70320000h - 703B5000h
CSCDLL                          loaded at 70850000h - 70859000h
CSCAPI                          loaded at 70D20000h - 70D2B000h
sfShellTools                    loaded at 6F000000h - 6F067000h
dwmapi                          loaded at 70CE0000h - 70CEC000h
msshsq                          loaded at 6E780000h - 6E7BC000h
thumbcache                      loaded at 74100000h - 74116000h
actxprxy                        loaded at 6EFA0000h - 6EFF3000h
SHDOCVW                          loaded at 703C0000h - 704C7000h
ieframe                          loaded at 6DBB0000h - 6E17E000h
ntshrui                          loaded at 6EB70000h - 6EBBA000h
NETAPI32                        loaded at 75880000h - 758F5000h
slc                              loaded at 75490000h - 754CA000h
GrooveSystemServices            loaded at 6EEF0000h - 6EF27000h
urlmon                          loaded at 76FA0000h - 770C9000h
msxml3                          loaded at 72370000h - 72496000h
LINKINFO                        loaded at 70C60000h - 70C69000h
imagehlp                        loaded at 75C40000h - 75C69000h
dbghelp                          loaded at 73AD0000h - 73BAC000h

Stack dump analysis:
Address: 027612F3h, location: "foo_discogs", loaded at 02710000h - 027A3000h
Symbol: "curl_formget" (+00000F73h)
Address: 02712DDFh, location: "foo_discogs", loaded at 02710000h - 027A3000h
Address: 0271505Dh, location: "foo_discogs", loaded at 02710000h - 027A3000h
Address: 02715AA6h, location: "foo_discogs", loaded at 02710000h - 027A3000h
Address: 1000B4D2h, location: "shared", loaded at 10000000h - 1002A000h
Symbol: "uFormatSystemErrorMessage" (+00002399h)
Address: 1000B4F1h, location: "shared", loaded at 10000000h - 1002A000h
Symbol: "uFormatSystemErrorMessage" (+000023B8h)
Address: 76C68871h, location: "USER32", loaded at 76C50000h - 76CED000h
Symbol: "GetKeyState" (+000000AAh)
Address: 76C64AB8h, location: "USER32", loaded at 76C50000h - 76CED000h
Symbol: "GetShellWindow" (+00000114h)
Address: 02717DB6h, location: "foo_discogs", loaded at 02710000h - 027A3000h
Address: 027170AAh, location: "foo_discogs", loaded at 02710000h - 027A3000h
Address: 0277A72Eh, location: "foo_discogs", loaded at 02710000h - 027A3000h
Symbol: "curl_formget" (+0001A3AEh)
Address: 02715031h, location: "foo_discogs", loaded at 02710000h - 027A3000h
Address: 0271524Eh, location: "foo_discogs", loaded at 02710000h - 027A3000h
Address: 0277B6C8h, location: "foo_discogs", loaded at 02710000h - 027A3000h
Symbol: "curl_formget" (+0001B348h)
Address: 027167CFh, location: "foo_discogs", loaded at 02710000h - 027A3000h
Address: 02785194h, location: "foo_discogs", loaded at 02710000h - 027A3000h
Symbol: "curl_formget" (+00024E14h)
Address: 0277BA08h, location: "foo_discogs", loaded at 02710000h - 027A3000h
Symbol: "curl_formget" (+0001B688h)
Address: 77114911h, location: "kernel32", loaded at 770D0000h - 771AB000h
Symbol: "BaseThreadInitThunk" (+00000012h)
Address: 7737E4B6h, location: "ntdll", loaded at 77340000h - 77467000h
Symbol: "RtlInitializeExceptionChain" (+00000063h)
Address: 7716F389h, location: "kernel32", loaded at 770D0000h - 771AB000h
Symbol: "UnhandledExceptionFilter" (+00000000h)
Address: 7716F389h, location: "kernel32", loaded at 770D0000h - 771AB000h
Symbol: "UnhandledExceptionFilter" (+00000000h)
Address: 77349834h, location: "ntdll", loaded at 77340000h - 77467000h
Symbol: "RtlUpdateTimer" (+00000605h)
Address: 7737E489h, location: "ntdll", loaded at 77340000h - 77467000h
Symbol: "RtlInitializeExceptionChain" (+00000036h)
Address: 02716750h, location: "foo_discogs", loaded at 02710000h - 027A3000h
Address: 02716750h, location: "foo_discogs", loaded at 02710000h - 027A3000h

Version info:
foobar2000 v0.9.6.1
UNICODE
Windows 6.0


Additional info:
RAR reader 1.1  (foo_unpack)
Standard Input Array 1.0  (foo_input_std)
DUMB module decoder 0.9.8.3  (foo_dumb)
Converter 1.2  (foo_converter)
ABX Comparator 1.3.3  (foo_abx)
CD Audio Decoder 2.1.4  (foo_cdda)
foobar2000 core 0.9.6.1  (Core)
Playback Statistics 2.1.6  (foo_playcount)
Audioscrobbler 1.3.13.6  (foo_audioscrobbler)
Run services 0.3.3  (foo_run)
HTTP Control 0.81  (foo_httpcontrol)
Text Tools 1.0.1  (foo_texttools)
Album List 4.3  (foo_albumlist)
ReplayGain Scanner 2.0.8  (foo_rgscan)
freedb Tagger 0.6.1  (foo_freedb2)
File Operations 2.1.1  (foo_fileops)
Monkey's Audio decoder 2.1.1  (foo_input_monkey)
Masstagger 1.7  (foo_masstag)
edcast Vorbis Streamer 0.9.7  (foo_vorbisstream)
Text Display Element 1.0 beta 2  (foo_textdisplay)
Standard DSP Array 1.0  (foo_dsp_std)
File Integrity Verifier 1.0.1  (foo_verifier)
Playlist Tools 0.6.2 beta 6  (foo_utils)
VLevel 200809.0  (foo_dsp_vlevel)
Game Emu Player 1.4  (foo_gep)
Default User Interface 0.9.5  (foo_ui_std)
Quick Tagger 1.0.1  (foo_quicktag)
64th Note 1.5.0.305  (foo_input_usf)
Discogs Tagger 1.14  (foo_discogs)
ZIP/GZIP reader 1.0  (foo_unpack)
ALAC Decoder 1.0.1  (foo_input_alac)
Title: foo_discogs
Post by: frozenspeed on 2009-01-05 19:33:02

Will there ever be support for multiple album names within a set release such as:

http://www.discogs.com/release/527395 (http://www.discogs.com/release/527395) - Led Zeppelin The Complete Studio Recordings

or

http://www.discogs.com/release/1310864 (http://www.discogs.com/release/1310864) - Leæther Strip - Civil Disobedience

when they get tagged by foo_dicogs they all maintain their set album titles instead of their proper, album title names.


What do you mean? foo_discogs is tagging the files with the album title seen in discogs, that is "The Complete Studio Recordings" and "Civil Disobedience" - there are no "multiple album titles" possible in discogs at the moment.


There are individual album title for each of the examples I listed. For instance, the Led Zeppelin Complete recordings has 10 different album titles, one for each disc however foo_discogs tags them all as the parent title which is "Complete Recordings..." instead of their individual album titles which are part of the discogs release data you can see clearly when you view the release page in bold above each disc in the tracklisting.
Title: foo_discogs
Post by: dancehool on 2009-01-05 20:06:04


Will there ever be support for multiple album names within a set release such as:

http://www.discogs.com/release/527395 (http://www.discogs.com/release/527395) - Led Zeppelin The Complete Studio Recordings

or

http://www.discogs.com/release/1310864 (http://www.discogs.com/release/1310864) - Leæther Strip - Civil Disobedience

when they get tagged by foo_dicogs they all maintain their set album titles instead of their proper, album title names.


What do you mean? foo_discogs is tagging the files with the album title seen in discogs, that is "The Complete Studio Recordings" and "Civil Disobedience" - there are no "multiple album titles" possible in discogs at the moment.


There are individual album title for each of the examples I listed. For instance, the Led Zeppelin Complete recordings has 10 different album titles, one for each disc however foo_discogs tags them all as the parent title which is "Complete Recordings..." instead of their individual album titles which are part of the discogs release data you can see clearly when you view the release page in bold above each disc in the tracklisting.


In discogs there's only *one* album title per release possible. These "individual album titles" which you mean are either only mentioned in the release notes (e.g. http://www.discogs.com/release/527395 (http://www.discogs.com/release/527395) ) or are so called "index tracks" (e.g. http://www.discogs.com/release/1310864 (http://www.discogs.com/release/1310864) ).

As for the release notes you can fetch them with foo_discogs but as for the index tracks I'm not sure if this is possible. However, you have to edit and map them on your own with some scripting if you want them to be added to the album title tag.
Title: foo_discogs
Post by: drbeachboy on 2009-01-05 20:35:24
@ frozenspeed
The 10 different album titles that you refer in your example, I think would be considered as the tag "Discname". You may have to tag them manually.
Title: foo_discogs
Post by: frozenspeed on 2009-01-05 23:48:00
@ frozenspeed
The 10 different album titles that you refer in your example, I think would be considered as the tag "Discname". You may have to tag them manually.


Ah cool, thanks for the reasoning- I may just grab the source & add an option for such. Is this something anyone else would be interested in?
Title: foo_discogs
Post by: a3aan on 2009-01-06 00:41:10

@ frozenspeed
The 10 different album titles that you refer in your example, I think would be considered as the tag "Discname". You may have to tag them manually.

Ah cool, thanks for the reasoning- I may just grab the source & add an option for such. Is this something anyone else would be interested in?

Yep, but not tight to discs only: http://www.discogs.com/release/302163 (http://www.discogs.com/release/302163).

Cheers,
Adriaan.
Title: foo_discogs
Post by: Crème on 2009-01-09 22:51:19
Props for your plugin, I use it a lot.

I do have a question, not sure if this has been asked before but here it is:

Is there any planned support for multi name entries on a single track? Like for this release:

http://www.discogs.com/release/1194255 (http://www.discogs.com/release/1194255)

Track 10 is split in 2 entries, so the plugin makes of track 10b track #11 instead of what I would prefer, merging the track names to one entry like "A Modern Myth / Praying For A Riot" and therefor preserving the correct numbering. This option would be really nice to have. Another option would be to have two files named track 10 perhaps?

Also an ignore on DVD tracks could be handy also. I saw that you added a configuration screen in this release (or one of the few past ones heh). Seems like there is room for more checkboxes?

Thanks for making this plugin!
Title: foo_discogs
Post by: Zanerlan on 2009-01-09 23:39:32
added the plugg-in to my components, clicked on 'write tags' but i dont get any results. whats wrong?
Title: foo_discogs
Post by: kepa1 on 2009-01-13 11:12:07
Hello,

And thank you for developing foo_discogs.
In my case, I do get relevant information from discogs but they are only written in the specific discogs column and not in the general tags. So files eventualy remain unnamed.
Hope this is clear enough to be understood and solved.

Alain
Title: foo_discogs
Post by: panda.meloman on 2009-01-13 12:19:38
we have a search by artist and filter by album, but why we still have no search by album and filter by artist? it would be great option for compilations.
Title: foo_discogs
Post by: aphasia on 2009-01-16 11:47:33
Crash when invoking this plugin from a button in ColumnsUI:

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 03F21791h
Access violation, operation: read, address: 000000F4h
Call path not available.
Code bytes (03F21791h):
03F21751h:  04 83 C6 10 89 7F 08 8B 56 04 8B 42 04 50 8B CE
03F21761h:  E8 FA 17 00 00 8B 46 04 89 40 04 8B 46 04 C7 46
03F21771h:  08 00 00 00 00 89 00 8B 76 04 5F 89 76 08 5E 5B
03F21781h:  8B E5 5D C2 04 00 CC CC CC CC CC CC CC CC CC 51
03F21791h:  8B 86 F4 00 00 00 53 33 DB 3B C3 57 74 20 8B 4C
03F217A1h:  24 08 8B 96 F8 00 00 00 51 52 E8 E0 23 00 00 8B
03F217B1h:  86 F4 00 00 00 50 E8 0C 00 05 00 83 C4 0C 89 9E
03F217C1h:  F4 00 00 00 89 9E F8 00 00 00 89 9E FC 00 00 00
Stack (0C03FEA8h):
0C03FE88h:  860110FC 0012F730 77F17E48 77F54020
0C03FE98h:  00000000 77F18488 00000001 0012F784
0C03FEA8h:  00040002 03F2ABA5 00040002 00000000
0C03FEB8h:  0A390E70 0A390E50 00000000 03F31D5E
0C03FEC8h:  0A390E70 0C03FEF0 0A390E70 00000000
0C03FED8h:  0A390E70 00040002 0A390B78 0A390E70
0C03FEE8h:  0C03FF44 03F2FF77 010C0177 00000184
0C03FEF8h:  03F2FF8D 0A390E70 0A390E50 0A390B78
0C03FF08h:  00000000 0A390B78 00000000 00020001
0C03FF18h:  0A390E70 0A390B78 0C03FF30 7E4273EB
0C03FF28h:  00020003 00000443 0A390E60 03F30287
0C03FF38h:  00020003 6AB9F302 000000F1 0A390E60
0C03FF48h:  03F3028E 6AB9F35E 00000000 0C03FFEC
0C03FF58h:  0A390B78 00000000 0A390B78 03FCE900
0C03FF68h:  00000000 00000000 00000000 00000000
0C03FF78h:  0000000F 0C03FFAC 03F8CA18 FFFFFFFF
0C03FF88h:  03F3180F 6AB9F39E 00000000 00000000
0C03FF98h:  03F98584 03FC6E60 00000024 00000024
0C03FFA8h:  00000013 0C03FFDC 03F8E2F8 00000000
0C03FFB8h:  7C80B713 0A390B78 00000000 00000000
Registers:
EAX: 00000000, EBX: 00000000, ECX: 00040002, EDX: 00040002
ESI: 00000000, EDI: 00040002, EBP: 0A390E70, ESP: 0C03FEA8
Crash location: "foo_discogs", loaded at 03F20000h - 03FB7000h

Loaded modules:
foobar2000                      loaded at 00400000h - 0053D000h
ntdll                            loaded at 7C900000h - 7C9AF000h
kernel32                        loaded at 7C800000h - 7C8F6000h
COMCTL32                        loaded at 773D0000h - 774D3000h
msvcrt                          loaded at 77C10000h - 77C68000h
ADVAPI32                        loaded at 77DD0000h - 77E6B000h
RPCRT4                          loaded at 77E70000h - 77F02000h
Secur32                          loaded at 77FE0000h - 77FF1000h
GDI32                            loaded at 77F10000h - 77F59000h
USER32                          loaded at 7E410000h - 7E4A1000h
SHLWAPI                          loaded at 77F60000h - 77FD6000h
SHELL32                          loaded at 7C9C0000h - 7D1D7000h
ole32                            loaded at 774E0000h - 7761D000h
shared                          loaded at 10000000h - 1002A000h
UxTheme                          loaded at 5AD70000h - 5ADA8000h
COMDLG32                        loaded at 763B0000h - 763F9000h
foo_albumlist                    loaded at 00A70000h - 00ADC000h
foo_lnk                          loaded at 00AE0000h - 00AF9000h
foo_texttools                    loaded at 00B10000h - 00B44000h
foo_tradersfriend                loaded at 00B70000h - 00BAA000h
foo_osd                          loaded at 00BD0000h - 00C04000h
gdiplus                          loaded at 4EC50000h - 4EDF6000h
foo_fileops                      loaded at 00C40000h - 00C86000h
foo_uie_quicksearch              loaded at 00CB0000h - 00CF6000h
foo_bitcompare                  loaded at 00D20000h - 00D47000h
foo_dop                          loaded at 00D70000h - 00E4A000h
SETUPAPI                        loaded at 77920000h - 77A13000h
WS2_32                          loaded at 71AB0000h - 71AC7000h
WS2HELP                          loaded at 71AA0000h - 71AA8000h
QUARTZ                          loaded at 74810000h - 7497D000h
OLEAUT32                        loaded at 77120000h - 771AB000h
WINMM                            loaded at 76B40000h - 76B6D000h
foo_input_std                    loaded at 00F00000h - 0103F000h
foo_vis_shpeck                  loaded at 01060000h - 0109E000h
MSIMG32                          loaded at 76380000h - 76385000h
foo_out_asio                    loaded at 010C0000h - 010EE000h
foo_random                      loaded at 01110000h - 0114D000h
foo_uie_console                  loaded at 01170000h - 0118C000h
foo_uie_albumlist                loaded at 011B0000h - 011ED000h
foo_abx                          loaded at 01210000h - 01241000h
foo_uie_playlists_dropdown      loaded at 01270000h - 012AC000h
foo_uie_queuemanager            loaded at 012D0000h - 01309000h
mscoree                          loaded at 79000000h - 79046000h
MSVCR80                          loaded at 78130000h - 781CB000h
msvcm80                          loaded at 7C4C0000h - 7C53D000h
mscorwks                        loaded at 79E70000h - 7A400000h
mscorlib.ni                      loaded at 790C0000h - 79BB7000h
mscorjit                        loaded at 79060000h - 790BB000h
rsaenh                          loaded at 68000000h - 68036000h
System.ni                        loaded at 7A440000h - 7ABC5000h
System.Drawing.ni                loaded at 7ADE0000h - 7AF68000h
foo_uie_panel_splitter          loaded at 03A90000h - 03AD4000h
foo_lyricsgrabber                loaded at 03AF0000h - 03B41000h
foo_out_ks                      loaded at 03B70000h - 03B9A000h
foo_benchmark                    loaded at 03BC0000h - 03BE8000h
foo_pqview                      loaded at 03C10000h - 03C3D000h
foo_rgscan                      loaded at 03C60000h - 03CBB000h
foo_quicktag                    loaded at 03CE0000h - 03D14000h
foo_autoplaylist                loaded at 03D40000h - 03D70000h
foo_runcmd                      loaded at 03D90000h - 03DBF000h
foo_playlist_manager            loaded at 03DE0000h - 03E24000h
foo_convolve                    loaded at 03E50000h - 03EA1000h
foo_dbsearch_api_demo            loaded at 03ED0000h - 03EF1000h
foo_discogs                      loaded at 03F20000h - 03FB7000h
foo_uie_lyrics_panel            loaded at 03FD0000h - 04039000h
foo_cdda                        loaded at 04060000h - 040A1000h
foo_jesus                        loaded at 040D0000h - 040EC000h
foo_uie_lyrics                  loaded at 04100000h - 0415D000h
WININET                          loaded at 771B0000h - 7725A000h
CRYPT32                          loaded at 77A80000h - 77B15000h
MSASN1                          loaded at 77B20000h - 77B32000h
foo_input_monkey                loaded at 04180000h - 041CA000h
foo_uie_albumart                loaded at 04230000h - 0426D000h
foo_input_tak                    loaded at 04270000h - 042B3000h
tak_deco_lib                    loaded at 042C0000h - 042DF000h
foo_popupplus                    loaded at 04400000h - 04489000h
RICHED20                        loaded at 74E30000h - 74E9D000h
foo_rg_trn                      loaded at 044B0000h - 044CB000h
foo_masstag                      loaded at 044F0000h - 04533000h
foo_run                          loaded at 04560000h - 0458E000h
foo_whatsnew                    loaded at 045B0000h - 045E1000h
foo_comserver2                  loaded at 04610000h - 04666000h
foo_unpack                      loaded at 04690000h - 046BD000h
foo_playcount                    loaded at 046E0000h - 0470A000h
foo_uie_tagger_mod              loaded at 04730000h - 0476F000h
foo_dbsearch                    loaded at 04790000h - 04800000h
foo_dsp_std                      loaded at 04820000h - 04868000h
foo_verifier                    loaded at 04890000h - 048C0000h
foo_ui_std                      loaded at 048E0000h - 049B5000h
foo_uie_typefind                loaded at 049E0000h - 04A10000h
foo_input_shorten                loaded at 04A30000h - 04A5D000h
foo_burninate                    loaded at 04A80000h - 04AB7000h
VERSION                          loaded at 77C00000h - 77C08000h
foo_lyricsdb                    loaded at 04AE0000h - 04B0F000h
foo_ui_columns                  loaded at 04B30000h - 04C6B000h
foo_freedb2                      loaded at 04C90000h - 04CD2000h
foo_converter                    loaded at 04D00000h - 04D6C000h
foo_utils                        loaded at 04D90000h - 04DD4000h
CLBCATQ                          loaded at 76FD0000h - 7704F000h
COMRes                          loaded at 77050000h - 77115000h
xpsp2res                        loaded at 07B90000h - 07E55000h
SXS                              loaded at 7E720000h - 7E7D0000h
msi                              loaded at 7D1E0000h - 7D49C000h
dciman32                        loaded at 73BC0000h - 73BC6000h
WINTRUST                        loaded at 76C30000h - 76C5E000h
IMAGEHLP                        loaded at 76C90000h - 76CB8000h
DSOUND                          loaded at 73F10000h - 73F6C000h
wdmaud                          loaded at 72D20000h - 72D29000h
msacm32                          loaded at 72D10000h - 72D18000h
MSACM32                          loaded at 77BE0000h - 77BF5000h
midimap                          loaded at 77BD0000h - 77BD7000h
KsUser                          loaded at 73EE0000h - 73EE4000h
browseui                        loaded at 75F80000h - 7607D000h
netapi32                        loaded at 5B860000h - 5B8B5000h
SHDOCVW                          loaded at 7E290000h - 7E401000h
CRYPTUI                          loaded at 754D0000h - 75550000h
WLDAP32                          loaded at 76F60000h - 76F8C000h
appHelp                          loaded at 77B40000h - 77B62000h
cscui                            loaded at 77A20000h - 77A74000h
CSCDLL                          loaded at 76600000h - 7661D000h
ntshrui                          loaded at 76990000h - 769B5000h
ATL                              loaded at 76B20000h - 76B31000h
USERENV                          loaded at 769C0000h - 76A74000h
mswsock                          loaded at 71A50000h - 71A8F000h
hnetcfg                          loaded at 662B0000h - 66308000h
DNSAPI                          loaded at 76F20000h - 76F47000h
winrnr                          loaded at 76FB0000h - 76FB8000h
wshtcpip                        loaded at 71A90000h - 71A98000h
rasadhlp                        loaded at 76FC0000h - 76FC6000h
urlmon                          loaded at 7E1E0000h - 7E282000h
DBGHELP                          loaded at 59A60000h - 59B01000h

Stack dump analysis:
Address: 03F2ABA5h, location: "foo_discogs", loaded at 03F20000h - 03FB7000h
Address: 03F31D5Eh, location: "foo_discogs", loaded at 03F20000h - 03FB7000h
Address: 03F2FF77h, location: "foo_discogs", loaded at 03F20000h - 03FB7000h
Address: 010C0177h, location: "foo_out_asio", loaded at 010C0000h - 010EE000h
Address: 03F2FF8Dh, location: "foo_discogs", loaded at 03F20000h - 03FB7000h
Address: 7E4273EBh, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "SendDlgItemMessageW" (+0000001Fh)
Address: 03F30287h, location: "foo_discogs", loaded at 03F20000h - 03FB7000h
Address: 03F3028Eh, location: "foo_discogs", loaded at 03F20000h - 03FB7000h
Address: 03F8CA18h, location: "foo_discogs", loaded at 03F20000h - 03FB7000h
Address: 03F3180Fh, location: "foo_discogs", loaded at 03F20000h - 03FB7000h
Address: 03F98584h, location: "foo_discogs", loaded at 03F20000h - 03FB7000h
Address: 03F8E2F8h, location: "foo_discogs", loaded at 03F20000h - 03FB7000h
Address: 7C80B713h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "GetModuleFileNameA" (+000001B4h)
Address: 7C839AC0h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "ValidateLocale" (+000002B0h)
Address: 7C80B720h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "GetModuleFileNameA" (+000001C1h)
Address: 03F31790h, location: "foo_discogs", loaded at 03F20000h - 03FB7000h

Version info:
foobar2000 v0.9.6.1
UNICODE
Windows 5.1


Additional info:
Quick Search Toolbar 2.8l  (foo_uie_quicksearch)
Standard DSP Array 1.0  (foo_dsp_std)
Playlist Tools 0.6.2 beta 6  (foo_utils)
Audio CD Writer 2.0.1  (foo_burninate)
Run Command 1.0 beta 2  (foo_runcmd)
File Operations 2.1.1  (foo_fileops)
Typefind 0.2 beta 2  (foo_uie_typefind)
Live Show Tagger 0.6.1  (foo_tradersfriend)
COM Automation server 0.7 alpha 6  (foo_comserver2)
Randomized Playlist Entry 1.2.3  (foo_random)
Lyrics panel 0.35  (foo_uie_lyrics_panel)
Album List 4.3  (foo_albumlist)
Panel Stack Splitter 0.3.1(alpha)  (foo_uie_panel_splitter)
Database Search 1.4  (foo_dbsearch)
foobar2000 core 0.9.6.1  (Core)
Album Art Panel 0.2.7.1  (foo_uie_albumart)
Playlist Manager 1.0.2  (foo_playlist_manager)
Masstagger 1.7.1  (foo_masstag)
Default User Interface 0.9.5  (foo_ui_std)
Standard Input Array 1.0  (foo_input_std)
CD Audio Decoder 2.1.4  (foo_cdda)
RAR reader 1.1  (foo_unpack)
File Integrity Verifier 1.0.1  (foo_verifier)
Convolver 0.3  (foo_convolve)
Tagger Mod Panel Window 1.1.0.0 [Dec 16 2008 - 23:58:11]  (foo_uie_tagger_mod)
ReplayGain override 0.1.1  (foo_rg_trn)
foo_lyricsdb 0.0.7 beta 5  (foo_lyricsdb)
Converter 1.2  (foo_converter)
ZIP/GZIP reader 1.0  (foo_unpack)
Database Search Toolbar Demo 1.0  (foo_dbsearch_api_demo)
Run services 0.3.4  (foo_run)
Playback Statistics 2.1.6  (foo_playcount)
Monkey's Audio decoder 2.1.2  (foo_input_monkey)
freedb Tagger 0.6.1  (foo_freedb2)
Playback Queue Viewer 0.2  (foo_pqview)
Decoding Speed Test 1.0  (foo_benchmark)
PopUp Plus 20080424  (foo_popupplus)
Autosave 0.0.2  (foo_jesus)
Kernel Streaming Output 1.2.2  (foo_out_ks)
TAK Decoder 0.4.2  (foo_input_tak)
Feature Watcher 1.0.4  (foo_whatsnew)
Console panel 0.3  (foo_uie_console)
Lyrics Grabber 0.2.6 Beta  (foo_lyricsgrabber)
Playlists Dropdown 0.7 beta 1  (foo_uie_playlists_dropdown)
ReplayGain Scanner 2.0.8  (foo_rgscan)
ABX Comparator 1.3.3  (foo_abx)
Shorten decoder 0.4.2.1  (foo_input_shorten)
Album list panel 0.3.3  (foo_uie_albumlist)
Shpeck - Winamp vis plugins wrapper 0.3.0  (foo_vis_shpeck)
Text Tools 1.0  (foo_texttools)
Lyric Show Panel 0.3.3.8 [Dec 11 2008 - 13:46:54]  (foo_uie_lyrics)
Binary Comparator 1.1  (foo_bitcompare)
Columns UI 0.3.6.3  (foo_ui_columns)
Discogs Tagger 1.15  (foo_discogs)
Queue manager panel 0.2.3  (foo_uie_queuemanager)
On-Screen Display GDI+ 1.52  (foo_osd)
ASIO support 1.2.4  (foo_out_asio)
Autoplaylist Manager 1.0  (foo_autoplaylist)
Shell Link Resolver 1.2  (foo_lnk)
iPod manager 0.6.3.4  (foo_dop)
Quick Tagger 1.0.1  (foo_quicktag)

Title: foo_discogs
Post by: Zanerlan on 2009-01-16 22:15:41
Worked fine couple of times, but the other times i cant get any results, is there any reason why i cant get any results?

I tried anything. deleted, reinstalled with new config, disabled the firewall completely.
tried to add release id directly, then got the xml error.
the thing is that it worked fine last week and now its dead.

please help me fix it.
Title: foo_discogs
Post by: Zanerlan on 2009-01-17 18:31:16
(http://img513.imageshack.us/img513/5311/foojr9.jpg)

I keep getting this massage when i add id. when i search i get nothing.
didnt understand how to open 'foo_discogs.sln' from the SDK folder. could this be the problem?
Title: foo_discogs
Post by: deucalion on 2009-01-19 21:04:50
@Zanerlan
Same problem here - XML API error.

Steps to reproduce:
1. open foobar2000 v0.9.6 with foo_discogs 1.15 (with columns_ui enabled) on vista sp1
2. select an album to tag
3. directly enter the id (e.g. in my case 3098056)
4. et voilà - XML API error...

Any changes on the Discogs API side of things recently that could cause such behavior?
Or maybe I miss a library that wasn't statically linked to foo_discogs.dll that I need? (I didn't compile anything myself, I only downloaded the version you provided...    )

Thanks for any suggestions! 

)

edit: added how I got the error.
Title: foo_discogs
Post by: bubbleguuum on 2009-01-19 21:38:02
works as usual here...

@deucalion: release 3098056 do not exist, we're at 1500000 or something.

More probably parse error are due to firewall getting in the way...some of them will eventually remove Accept-Content with gzip in HTTP headers.
Title: foo_discogs
Post by: deucalion on 2009-01-20 10:56:43
@bubbleguuum
Thanks for the quick reply!

A firewall getting in the way is rather inprobable in my case (I only do routing, no firewalls involved here... same at the ISP side), but when I tried searching for the release it worked out fine.

Oh... and I just noticed: I mistakenly copied the Catalog# and not the discogs id... I suppose that'd explain why it couldn't find anything. Sorry, my mistake.

Would it be possible to implement a little error handling that hints at what's wrong - e.g. invalid id?
(Although I admit I'm clueless as to how detailed the error message the discogs API returns is. But it'd be greatly appreciated if you included such a feature, if it's possible... thx! ^^ )

works as usual here...

@deucalion: release 3098056 do not exist, we're at 1500000 or something.

More probably parse error are due to firewall getting in the way...some of them will eventually remove Accept-Content with gzip in HTTP headers.
Title: foo_discogs
Post by: Zanerlan on 2009-01-22 12:25:43
still doesnt work for me, i disabled the firewall completely.

i'm using a router, do i need to open ports or so?
Title: foo_discogs
Post by: bubi jackson on 2009-01-22 14:12:18
I think the discogs server is down: http://www.discogs.com (http://www.discogs.com)
Title: foo_discogs
Post by: ExUser on 2009-01-22 15:15:30
I think the discogs server is down: http://www.discogs.com (http://www.discogs.com)
(http://websrc.us/img/o_rly.jpg)

Works for me.
Title: foo_discogs
Post by: bubi jackson on 2009-01-22 15:33:56
I think you can read the clock, can't you?
Title: foo_discogs
Post by: Zanerlan on 2009-01-22 18:25:02
I've tried anything allready, in 3 different computers that logged on in one router, i dont know if thats the router config or something else, its pissing me off that i cant use this great fiture.

2 weeks ago it worked fine for one day, than i wasnt home for a week and when i came back i found it that it aint work.
please help me figure out a way to use it, i would be very thankfull.
Title: foo_discogs
Post by: orchid on 2009-01-24 12:47:01
Possible bug with v1.15, ANV processing does not work for me anymore (yes I've checked it in options).
Title: foo_discogs
Post by: Kimball on 2009-01-29 12:50:15
A couple of things that would make this already extremly useful plugin even better (for me anyway):
* Some characters seems to make some bands impossible to search for, e.g. the ! in Testbild!.
* Sometimes there's a video included in the release, wouldn't it be possible to have some sort of option to ignore this? Or at least mark it as a video in the release window.
* An option to search for album, and not just artist. For VA-albums mostly.
* I still got alot of releases where the tracknumbers are in the wrong order. I guess it's something weird with the discogs-page, but any sort of button that sorts the tracks by number would be nice (don't forget vinyl!).
Title: foo_discogs
Post by: smkk on 2009-01-29 12:58:51
I still got alot of releases where the tracknumbers are in the wrong order. I guess it's something weird with the discogs-page, but any sort of button that sorts the tracks by number would be nice (don't forget vinyl!).


Yes please, i've been using this plug-in for a while and tagged a few hundreds of albums with it but this is the one thing i just can't figure out. And it gets very frustrating when you have a 4cd box set where -all- the tracks appear in a random oder even though they are not.
Beside that great plug-in. =)
Title: foo_discogs
Post by: orchid on 2009-01-30 20:03:08
The random order is probably caused by foo_discogs matching tracks based on length. You can disable it in options.
Title: foo_discogs
Post by: Mesh on 2009-02-02 17:17:43
Can you add a feature to merge tracks?
Some releases have one track which is splitted in to different parts like in this one

http://www.discogs.com/release/702461 (http://www.discogs.com/release/702461)
3          Starship Trooper (9:23)
(i)         Life Seeker
(ii)         Disillusion
(iii)         Würm

which will be used in you plugin for four different tracks.
Title: foo_discogs
Post by: Ben! on 2009-02-02 21:20:12
How can I set the artist art to save at *artist's name*.jpg instead of...whatever's being used now?
Title: foo_discogs
Post by: bubbleguuum on 2009-02-02 22:39:38
Can you add a feature to merge tracks?


No


How can I set the artist art to save at *artist's name*.jpg instead of...whatever's being used now?


You can't
Title: foo_discogs
Post by: Ben! on 2009-02-02 23:09:02
Thanks for the prompt and succinct reply
Title: foo_discogs
Post by: ExUser on 2009-02-02 23:44:20
I think you can read the clock, can't you?
Yeah, I just like that owl.
Title: foo_discogs
Post by: blackburn6600 on 2009-02-03 22:45:19
this plugin is so AWESOME, thanks a ton for putting it up! 
Title: foo_discogs
Post by: Kimball on 2009-02-05 04:02:20
The random order is probably caused by foo_discogs matching tracks based on length. You can disable it in options.


Not obvious I guess but still feel a bit stupid for missing that one, thanks!
Title: foo_discogs
Post by: deedsy on 2009-03-08 14:46:37
hey for some reason my foobar isnt using the artwork after discogs downloads it i see it in the folder and when it trys to upload it to foobar it tells me theres been an error and to look in the console so i do it i get this message for example

Location not parsable: "C:\Documents and Settings\HP_Administrator\My Documents\My Videos\Torrent Downloads\Green Day - Warning (2000)\album_art.jpg", reason: Unsupported file format

what settings do i have wrong? im using discogs 1.15 and foobar .9.6.3
Title: foo_discogs
Post by: novembre on 2009-03-08 15:05:55
The message in the console is only a message from the media library autowatch feature that simply tells you that foobar2000 can't add it to the media library because it's an image and not an audio file. Try to look for other messages in the console and post here.
Title: foo_discogs
Post by: deedsy on 2009-03-08 16:19:29
Location not parsable: "C:\Documents and Settings\HP_Administrator\My Documents\My Videos\Torrent Downloads\Rise Against\this one\album_art.jpg", reason: Unsupported file format
foo_discogs: error: problem creating file 263017_1.jpg [Object not found], skipping...
foo_discogs: error: problem creating file 263017_1.jpg [Object not found], skipping...
foo_discogs: error: problem creating file 263017_1.jpg [Object not found], skipping...
foo_discogs: error: problem creating file 263017_1.jpg [Object not found], skipping...
foo_discogs: error: problem creating file 263017_1.jpg [Object not found], skipping...
foo_discogs: error: problem creating file 263017_1.jpg [Object not found], skipping...
foo_discogs: error: problem creating file 263017_1.jpg [Object not found], skipping...
foo_discogs: error: problem creating file 263017_1.jpg [Object not found], skipping...
foo_discogs: error: problem creating file 263017_1.jpg [Object not found], skipping...
foo_discogs: error: problem creating file 263017_1.jpg [Object not found], skipping...
foo_discogs: error: problem creating file 263017_1.jpg [Object not found], skipping...
foo_discogs: error: problem creating file 263017_1.jpg [Object not found], skipping...
foo_discogs: error: problem creating file 263017_1.jpg [Object not found], skipping...

any of that make any since?
Title: foo_discogs
Post by: novembre on 2009-03-08 16:55:29
You have to set artist art directory in discogs configuration
Title: foo_discogs
Post by: deedsy on 2009-03-09 18:53:49
alright because i have no idea what im doing ill have to ask a stupid question how do i set up the directory the album art and artist art are located in the same folder as the music tracks are. for example

C:\Documents and Settings\HP_Administrator\My Documents\My Videos\Torrent Downloads\Green Day - Warning (2000)\album_art

how would i set the directory up to find that im still getting the same console error messages.

Thanks in advance Josh
Title: foo_discogs
Post by: novembre on 2009-03-09 20:54:25
Right click on a item -> Discogs -> Configuration...
Select "Album/artist art" tab and insert $directory_path(%path%) in Artist Art directory to tell Discogs to save artist art in the same directory of the tracks.
Title: foo_discogs
Post by: deedsy on 2009-03-09 21:23:47
alright thanks for the help but what is happening now is im not getting an error message but its also not giving me the artworki see the picture saved in the folder but no artwork on foobar and the only thing in the console is

Location not parsable: "C:\Documents and Settings\HP_Administrator\My Documents\My Videos\Torrent Downloads\Green Day - Warning (2000)\album_art.jpg", reason: Unsupported file format

which i know you said means that it isnt an audio file. Any ideas?

Thanks

I am using a skin if that would cause any problems. This skin--

http://www.hydrogenaudio.org/forums/index....=69046&st=0 (http://www.hydrogenaudio.org/forums/index.php?showtopic=69046&st=0)
Title: foo_discogs
Post by: novembre on 2009-03-10 17:34:07
Give a look to DarkOne user guide, chapter 2
Title: foo_discogs
Post by: trebordean on 2009-03-19 12:05:28
Can you apply only specific tags, like Style or Genre, which maybe missing from your files, but not overwite your existing tag info.?
Title: foo_discogs
Post by: novembre on 2009-03-19 12:51:52
You can set discogs to write, for example, %discogs_genre%, then use "Format from other fields" in Properties for genre tag with a script like $if2(%genre%,%discogs_genre%).
Title: foo_discogs
Post by: sti3 on 2009-03-28 18:41:49
It's taken me a bit of time to figure out how to use this (15 minutes) but once I did, I love it!  Thank you so much!

Take that, crappily-tagged vinyl rips!
Title: foo_discogs
Post by: ExUser on 2009-03-28 18:49:03
The biggest problem I have with foo_discogs right now is the disc and track numbering. Here (http://www.discogs.com/Simian-Mobile-Disco-Attack-Decay-Sustain-Release/release/998565) we see that Discogs itself knows all the disc and track numbers, but these numbers are not reflected in foo_discogs' tagging. Instead it pretends that this is just 1 16-track release. There's the "Multi-disc release" option, but that doesn't seem to do what I would expect here. I would like foo_discogs to simply use the same information that's obviously in the Discogs database to tag the files with.
Title: foo_discogs
Post by: bubbleguuum on 2009-03-28 19:13:55
The biggest problem I have with foo_discogs right now is the disc and track numbering. Here (http://www.discogs.com/Simian-Mobile-Disco-Attack-Decay-Sustain-Release/release/998565) we see that Discogs itself knows all the disc and track numbers, but these numbers are not reflected in foo_discogs' tagging. Instead it pretends that this is just 1 16-track release. There's the "Multi-disc release" option, but that doesn't seem to do what I would expect here. I would like foo_discogs to simply use the same information that's obviously in the Discogs database to tag the files with.


Track numbers are not normalized in the discogs db. Here they are 1.1, 1.2 etc. In other releases they could be CD.1, ...  etc. When I tag such a release I just use the multi-disc release and it's renumber track functionality (after removing tracks not in the current disc being tagged), so each track has the correct track number. I don't see what you expect more except maybe more automation that is not possible and even if it was it would not cover all corner cases.
You could also map "Unmodified track position" to tag TRACKNUMBER but I guess this is not what you want either. In that case you could tag all 16 tracks at once and have track numbers as specified in the release page.
Title: foo_discogs
Post by: ExUser on 2009-03-28 19:48:16
Ah! That makes more sense to me. Thank you for the detailed explanation.
Title: foo_discogs
Post by: bubbleguuum on 2009-04-04 19:39:47
v 1.16 (fist post to download)

No new functionality, but stability fixes (Thanks Peter). Now it uses the http proxy setting of foobar2000.
All operations involving communication with discogs are now abortable instantly.
Title: foo_discogs
Post by: q-stankovic on 2009-04-04 19:46:38
Hello bubbleguuum!

A very small but pedantic request: Could you change in one of the next versions the name of context menu items to new case sentence style?
Title: foo_discogs
Post by: bubbleguuum on 2009-04-04 20:16:46
Hello bubbleguuum!

A very small but pedantic request: Could you change in one of the next versions the name of context menu items to new case sentence style?



Done. redownload 1.16
Title: foo_discogs
Post by: bubbleguuum on 2009-04-04 21:40:45
Removed 1.16 because of a nasty connection problem with it. Download link reverts to 1.15.
Title: foo_discogs
Post by: bubbleguuum on 2009-04-06 20:11:57
Here's 1.17 that should be less crash-prone than 1.15. This version is a beta and 1.15 is still available (first post).


1.17 (beta)
---------------

- stability fixes (thanks Peter).
- I/O operations abortable instantly
- Filter in Find Release dialog is populated with %ALBUM%
Title: foo_discogs
Post by: mxmten on 2009-04-07 07:40:20
bubbleguuum
Thanks for the new version!

But i cannot find network settings (in 1.15: context menu->discogs->configuration->network tab). I have entered my proxy server hostname on the networking preferences page (file->prefs->networking), but it seems that foo_discogs doesn't consider it. Fix it please.
Title: foo_discogs
Post by: bubbleguuum on 2009-04-07 20:30:45
bubbleguuum
Thanks for the new version!

But i cannot find network settings (in 1.15: context menu->discogs->configuration->network tab). I have entered my proxy server hostname on the networking preferences page (file->prefs->networking), but it seems that foo_discogs doesn't consider it. Fix it please.


foobar setting for proxy is not used yet.  Setting the system proxy settings in "Control Panel / Internet Options" should work
Title: foo_discogs
Post by: Decuman on 2009-04-09 13:59:57
Hi bubbleguuum!

Thanks for updating the plugin. It is much easier now to locate a right album among multiple artists with same name.

Can you please also check this particular release which crashes my foobar: http://www.discogs.com/release/1513652 (http://www.discogs.com/release/1513652)


Thanks,
D
Title: foo_discogs
Post by: bubbleguuum on 2009-04-09 19:00:51
Hi bubbleguuum!

Thanks for updating the plugin. It is much easier now to locate a right album among multiple artists with same name.

Can you please also check this particular release which crashes my foobar: http://www.discogs.com/release/1513652 (http://www.discogs.com/release/1513652)


Thanks,
D


Fixed in upcoming version.
Title: foo_discogs
Post by: Decuman on 2009-04-09 21:29:56
Great... Thanks a lot!

Fixed in upcoming version.

Title: foo_discogs
Post by: lokioki on 2009-04-13 16:21:37
When I type Motörhead in Artist it goes in Egyptian Gay Lovers, The and then again, when typed incorrectly Motorhead, it goes in the right place.
Title: foo_discogs
Post by: novembre on 2009-04-13 23:13:23
When I type Motörhead in Artist it goes in Egyptian Gay Lovers, The and then again, when typed incorrectly Motorhead, it goes in the right place.

Confirmed. Maybe it's some Unicode issue.
Title: foo_discogs
Post by: bubbleguuum on 2009-04-14 20:44:42
1.18

- fix: rare crash on some artist names (such as artist named "()" in http://www.discogs.com/release/1513652 (http://www.discogs.com/release/1513652)
- fix: handle correctly ascii characters > 127 in search
- use foobar's http proxy if used with foobar2000 >= v0.9.6.5 beta 1, otherwise uses IE proxy settings (OS configuration)
Title: foo_discogs
Post by: Andu on 2009-04-14 20:50:26
Thx for the new release. The OP still says that the current version is 1.17 (beta). Have you updated the dll or do we still have to wait?
Title: foo_discogs
Post by: bubbleguuum on 2009-04-14 20:55:09
Thx for the new release. The OP still says that the current version is 1.17 (beta). Have you updated the dll or do we still have to wait?


the link points to 1.18. Updating the OP now
Title: foo_discogs
Post by: novembre on 2009-04-14 21:26:07
Thanks for the quick fix!
Title: foo_discogs
Post by: bubbleguuum on 2009-04-23 22:03:50
v 1.19

- fix crash  if closing the find release dialog while a discogs request is not completed
Title: foo_discogs
Post by: nekx on 2009-04-24 08:50:06
Thanks for this great plug-in!

Unfortunately it is lacking one particular feature that prevents me from using it. When I tag vinyl releases I like to format it so a release like this:
A1
A2
B1
B2

Becomes:
%discnumber%=A, %tracknumber%=1, %totaldiscs=B%, %totaltracks=2%
%discnumber%=A, %tracknumber%=2, %totaldiscs=B%, %totaltracks=2%
%discnumber%=B, %tracknumber%=1, %totaldiscs=B%, %totaltracks=2%
%discnumber%=B, %tracknumber%=2, %totaldiscs=B%, %totaltracks=2%

Essentially I want to split the vinyl track number (A1, A2, A3 ... B1, B2, B3 ...) into 2 values and use the side (A, B, C ...) for %discnumber% and the track number (1, 2, 3 ...) for %tracknumber%.
Furthermore %totaldiscs% should always be the highest occurring side letter (B in the above example) and %totaltracks% should be the total track numbers from each individual side.

More simply put I'd like to treat a vinyl as you would normally treat a multi-disc release but using multiple sides instead of multiple discs.


Thanks in advance!


[EDIT]
On a release with multiple artists like: http://www.discogs.com/Acquaviva-_-Navas-_...release/1003139 (http://www.discogs.com/Acquaviva%2d%5f%2dNavas%2d%5f%2dAmo-Bungee-Ethanol/release/1003139)
The %artist% field is formatted like "Acquaviva _ Navas _ Amo" instead of "Acquaviva; Navas; Amo" when special characters like "_" and "/" are used on discogs to seperate their names.
Ideally the artist names should be split in the tags with semicolons no matter what seperator is used on discogs.
[/EDIT]
[EDIT2]
Same goes for the "&" character like in this release: http://www.discogs.com/Gui-Boratto-Martin-...release/1246770 (http://www.discogs.com/Gui-Boratto-Martin-Eyerer-The-Island/release/1246770)
[/EDIT2]
Title: foo_discogs
Post by: a3aan on 2009-04-26 11:51:14
Every now and then when I want to tag some files I observe some issues with the data from discogs.com. I cancel the tagging and go over to discogs.com to fix those issues. But when I then want to tag my files, the discogs plugin uses cached information. I need to restart foobar in order to fetch the updated release data. I would appreciate an enforceable refetch of data.

Cheers,
Adriaan.
Title: foo_discogs
Post by: bubbleguuum on 2009-04-26 13:02:56
On a release with multiple artists like: http://www.discogs.com/Acquaviva-_-Navas-_...release/1003139 (http://www.discogs.com/Acquaviva%2d%5f%2dNavas%2d%5f%2dAmo-Bungee-Ethanol/release/1003139)
The %artist% field is formatted like "Acquaviva _ Navas _ Amo" instead of "Acquaviva; Navas; Amo" when special characters like "_" and "/" are used on discogs to seperate their names.
Ideally the artist names should be split in the tags with semicolons no matter what seperator is used on discogs.
Same goes for the "&" character like in this release: http://www.discogs.com/Gui-Boratto-Martin-...release/1246770 (http://www.discogs.com/Gui-Boratto-Martin-Eyerer-The-Island/release/1246770)


This is normal as "Artist" always keep the join artist field (be it &,  /,  -, or whatever) as set in the release. You may want to use "Artist multi" in the Tag mapping configuration. That will write all the atists as a multi-value tag.
Then with the masstagger you can convert it to a single value tag  with whatever separator you like.
Title: foo_discogs
Post by: bubbleguuum on 2009-04-26 13:03:47
Every now and then when I want to tag some files I observe some issues with the data from discogs.com. I cancel the tagging and go over to discogs.com to fix those issues. But when I then want to tag my files, the discogs plugin uses cached information. I need to restart foobar in order to fetch the updated release data. I would appreciate an enforceable refetch of data.

Cheers,
Adriaan.



I'll add a "clear cache" button somewhere.
Title: foo_discogs
Post by: bionx on 2009-04-30 14:34:57
great plugin,especially tagging with label and catalog is really awesome
Title: foo_discogs
Post by: sti3 on 2009-05-04 23:47:08
Can't connect to discogs.

Temporary glitch or are we blocked?
Title: foo_discogs
Post by: bubbleguuum on 2009-05-04 23:59:06
Can't connect to discogs.

Temporary glitch or are we blocked?


works fine here...
Title: foo_discogs
Post by: Polarix on 2009-05-11 22:06:16
I'll add a "clear cache" button somewhere.


YES please!

ps: Your plugin is a little bit too awesome. It makes it very hard to move to OS X.
Title: foo_discogs
Post by: alexinc on 2009-05-12 09:56:14
ps: Your plugin is a little bit too awesome. It makes it very hard to move to OS X.


+1, its by far the best thing i've used on my pc for the last years... in combination with a useful costumized foobar unbeatable!
Title: foo_discogs
Post by: Polarix on 2009-05-13 21:01:51
I just thought of another request: perhaps if there is to be a "refresh" button on the release dialog, there could be a "fit to tracklengths" button as well...

I generally don't want to use the tracklength fitting option, but it might be VERY handy in specific instances. Thanks again!

PS: is this project at all open-source?
Title: foo_discogs
Post by: altblue on 2009-05-15 00:03:42
Quote from: bubbleguuum link=msg=0 date=
- Filter in Find Release dialog is populated with %ALBUM%

Sweet, this saves a lot of TAB keystrokes ;-)

This feature leads to another suggestion: "Artist" in "Find Release" dialog is populated with $swapprefix(%ARTIST%).
Search for "The Beatles" vs "Beatles, The" to see what I mean :-)

Thanks
Title: foo_discogs
Post by: PlazzTT on 2009-05-15 11:55:09
Quote from: bubbleguuum link=msg=0 date=
- Filter in Find Release dialog is populated with %ALBUM%

Sweet, this saves a lot of TAB keystrokes ;-)

This feature leads to another suggestion: "Artist" in "Find Release" dialog is populated with $swapprefix(%ARTIST%).
Search for "The Beatles" vs "Beatles, The" to see what I mean :-)

Thanks



Would be nice alright! I love the new Find Release filter populating
Title: foo_discogs
Post by: you torrent on 2009-05-16 23:49:15
hi, i use foobar2k 0.9.6.6 / foo_discogs 1.19 (also I tried the foobar2k 0.9.6.5 / foo_discogs 1.15) and get an error -
Code: [Select]
discogs error: release id=[i]#123 (as example)#[/i]: problem connecting to discogs.com

gdiplus.dll in a foobar plugins dir. os - winxp, firewall - outpost 4, but network settings is ok. what can I make with this error?

ps i have translated my message from russian into english on a site translate.ru
Title: foo_discogs
Post by: Lemaniac on 2009-05-17 13:30:09
Same problem there. I installed foo_discogs 1.19 yesterday and I've been able only once to retrieve information from discogs (search button). But not further, and when I type a release id manually (a real one, from online discogs site) and click "next", I receive:

discogs error: release id=535335: problem connecting to discogs.com (this release id is "Pink Floyd - Wish You Were Here", but it's the same with others...

Is someone aware of general problems (firewall, dependancies,...) related to db retriving? I ask that because I got a similar problem with foo_freedb2 and my ripper (EAC) when trying to retrieve info from FREEDB. I had to install a workaroud.

see: http://eacfreedbfixer.codeplex.com/ (http://eacfreedbfixer.codeplex.com/)
and this thread: http://www.digital-inn.de/exact-audio-copy...connect-19.html (http://www.digital-inn.de/exact-audio-copy-english/12704-freedb-cant-connect-19.html)

But foo_musicbrainz work fine (but not enough infos for me...)

Help would be appreciated

... and thanks for all these beautifull toys which take us so much time to work with 

This is my first post, so I hope it's "compliant" with this site's pratices. Tell me if there's something wrong.

Precision: I'm running fb2k v0.9.6.5
Title: foo_discogs
Post by: bubbleguuum on 2009-05-17 14:55:16
discogs error: release id=535335: problem connecting to discogs.com (this release id is "Pink Floyd - Wish You Were Here", but it's the same with others...


No problem here..check if you have a proxy configured in foobar's Configuraton/Network. If that's the case, try without the proxy.
There are also nasty paranoid firewalls that do evil things when they see http headers with gzip encoding.
Title: foo_discogs
Post by: Lemaniac on 2009-05-17 20:44:41
discogs error: release id=535335: problem connecting to discogs.com (this release id is "Pink Floyd - Wish You Were Here", but it's the same with others...


No problem here..check if you have a proxy configured in foobar's Configuraton/Network. If that's the case, try without the proxy.
There are also nasty paranoid firewalls that do evil things when they see http headers with gzip encoding.


No proxy in fb2k, stopped my firewall (both on my WLAN router and McAfee Security Center on my PC), but still the same. I know there are sometimes tricky issues, but it's difficult to fix when you don't have any clue to help... No log, no relevant message. And I must admit I'm not a network specialist. Thank you anyway. Not so serious... I can still listen to music and that's the reason we're here, no?
Title: foo_discogs
Post by: you torrent on 2009-05-18 13:08:56
I wish to notice that under windows 2003 all work
Title: foo_discogs
Post by: Zanerlan on 2009-05-19 19:54:15
discogs doesn't respond to my computer, even in MP3tag, it worked a week ago but now i get no results.
its not firewall, already checked it.

someone have a clue why?
when i tried to enter a album manualy i get this:
discogs error: release id=401560: XML parse error
Title: foo_discogs
Post by: Lemaniac on 2009-05-28 22:24:15
Same problem there. I installed foo_discogs 1.19 yesterday and I've been able only once to retrieve information from discogs (search button). But not further, and when I type a release id manually (a real one, from online discogs site) and click "next", I receive:

discogs error: release id=535335: problem connecting to discogs.com (this release id is "Pink Floyd - Wish You Were Here", but it's the same with others...


I've fixed this issue (at least for me). I share my solution here for those who use "Windows Live  Parental Control" (not sure it's the right name, mine is in french). Yes, that's it! I use it to filter my kids activities on the internet and it also filters mine! Even if you check all the boxes in the filter (on the parental control page), which theorically means "authorize all", it seems to block something in the discogs flow and you get nothing when you click search and get an error message when trying to go "next" with a release id. To make it work, simply deactivate the Parental Control filter (right-click on the icon). As a parent, you normally don't need it, right? 

And, btw, same problem happened in EAC when retrieving tags from FREEDB. Same problem and... same solution.

Bah, in fact, perhaps I'm the only stupid to have this one...

Have a nice week-end
Title: foo_discogs
Post by: nekx on 2009-06-01 23:00:25
This is normal as "Artist" always keep the join artist field (be it &,  /,  -, or whatever) as set in the release. You may want to use "Artist multi" in the Tag mapping configuration. That will write all the atists as a multi-value tag.
Then with the masstagger you can convert it to a single value tag  with whatever separator you like.


Oh, thanks!

Would it be possible to have the option to populate the %discnumber% and %totaldiscs% even though multi-disc release is unchecked? I always populate these fields even for 1 disc releases and as it is now I have to check that box of every time.

It would also be neat to have a field like "Vinyl tracknumber" and "Vinyl side" which is just the splitted value of "Vinyl track number" just like we have "Artist multi" to split the "Artist"s fields value.
Title: foo_discogs
Post by: combox on 2009-06-02 12:50:23
discogs doesn't respond to my computer, even in MP3tag, it worked a week ago but now i get no results.
its not firewall, already checked it.

someone have a clue why?
when i tried to enter a album manualy i get this:
discogs error: release id=401560: XML parse error


I have the same problem. Whats happenning guys? Nothing is searching! I use foo_discogs.dll 1.13 version and foobar2000 v.0.9.4.1. Before this moment everything worked fine and excellent.
The new one 1.19 version of foo_discogs cant add, The foobar warnings that this dll couldnt be added becourse of wrong version.-"new version of foobar".
But I dont need new version of foo_discogs.dll, 1.13 works fine for me.. at least worked fine before this moment.
NOTHING IS SEARCHING!!!
HELP!!!!!!!!!!!!!1
Title: foo_discogs
Post by: Polarix on 2009-06-02 21:56:14
Another request:

Some way to deal with Index Tracks... Ideally, they'd be treated as any other field, but perhaps with a "filter", so we could get rid of "-" and such.

Thanks
Title: foo_discogs
Post by: frnk on 2009-06-10 00:43:10
Something that I think would be great is the possibility to save tag mappings to a tag mapping profile, in order to have different tag mappings for different situations.

For example, I'd like to have one tag mapping profile for completely tagging a release, but also one for just adding the genres and styles. Right now whenever I switch I have to completely adjust the tag mappings.

Maybe there is a handy way to do domething like that though, and have I just not noticed.
Title: foo_discogs
Post by: WellRedd on 2009-06-10 12:31:38
ps: Your plugin is a little bit too awesome. It makes it very hard to move to OS X.


I'm currently using fb2k 0.9.5 inside Crossover on OS X.  Works like a charm, with a small few issues I can live with.  I'm using foo_discogs with absolutely NO issues.  Updating tags over WiFi to the HDD attached to my Airport Extreme router is a bit slower than it would be if it was attached directly via USB, but it works.  I've pretty much ditched Windows now.

[edit]
Oh and one of the best things is that the "View Release Page" works so well, it's almost like I'm working totally in OS X, it feels integrated.  Very impressed bubbleguuum
Title: foo_discogs
Post by: SpaceAgeHero on 2009-06-10 22:20:36
Is there a chance that we can get a preview feature? Something like when you move files with foobar, in order to see what is going to be changed.
That would be perfect!
Title: foo_discogs
Post by: icepick method on 2009-06-12 21:48:22
Is there any way to specify the artist art prefix? Specifically to make it easier to set that location for Album Art and Graphical Browser panels. Right now foo_discogs just saves it as the discogs artist id, and i don't know how to tell the different art panels to look for that.
Title: foo_discogs
Post by: frnk on 2009-06-20 12:27:03
Am I mistaken, or does foo_discogs still fill the Album artist field every time, instead of just when necessary?
Title: foo_discogs
Post by: dobo on 2009-06-20 20:20:49
My album art is saving as folder.jpg which is fine but is it possible to have your artist art filename saved as %artist% e.g. Jimi Hendrix.jpg instead of e.g. 123456.jpg that i usually get?

Title: foo_discogs
Post by: lokioki on 2009-06-24 22:08:54
I have same problem :/
Title: foo_discogs
Post by: Grinderman on 2009-06-24 22:43:41
I've been having the same problem, but it all seems to be working again now (touches wood)... 
Title: foo_discogs
Post by: Will Ellis on 2009-07-04 17:25:18
Is there any way of manually emptying the cache at the moment? I have the same problem as a previous poster, that the discogs data from before my corrections is still being given when I load up the release.

Thanks,
Will
Title: foo_discogs
Post by: lokioki on 2009-07-04 19:53:26
Try removing your foo_discogs from components folder, use foobar on and then turn it off and then throw component back in. Worked for me sometime ago.
Title: foo_discogs
Post by: Xezzy on 2009-07-16 01:22:11
Well, I can't get it work. It must be something to do with new discogs.
Title: foo_discogs
Post by: fatejd on 2009-07-16 02:35:40
The plugin was working great for me this afternoon (around 2pm PDT), but did not work around 5pm PDT and hasn't worked since.  I get an error similar to "Could not connect to server" but the discogs site is up.
Title: foo_discogs
Post by: kubula on 2009-07-16 09:14:55
Hi, do you think it would be possible to update XML parser also in old 1.13 version for us who still sticks with FBK 9.4.2 ?
That would be fantastic, because this plugin is essential for me and i don't want to skip to 9.6 now....
Title: foo_discogs
Post by: bubbleguuum on 2009-07-16 09:39:36
The Discogs server is returning a HTTP internal error on any API request, so we need to wait for them to fix it.
Title: foo_discogs
Post by: kubula on 2009-07-16 10:21:49
The Discogs server is returning a HTTP internal error on any API request, so we need to wait for them to fix it.


IMHO it is not Discogs "error", but they changed XML structure, so we will need new foo_discogs update. Let's wait for the author comment...
Title: foo_discogs
Post by: shakey_snake on 2009-07-16 14:09:49
 Um...


...look again at who you're quoting.
Title: foo_discogs
Post by: kubula on 2009-07-17 09:03:49
oww.... Damn :-)
excusese to bubbleguuum
Title: foo_discogs
Post by: omarak2229 on 2009-07-25 20:08:22
There's one problem I have with this awesome plug-in, and I'm not sure if its intentional, a bug or just foobar itself. Whenever I fetch information for a release, it SOMETIMES doesn't show the edit. Like, the progress bar will show that's it's doing something, and when I check the folder I saved it in it clearly shows that the tags have been edited. Eh, I feel like I'm not really explaining myself properly. Here are some pictures:

(http://i10.photobucket.com/albums/a150/arabian1/discogs.jpg)

It seems to do this whenever it feels like it. EVENTUALLY, when I update it, it'll work and the new ID will show up just fine. Another weird tidbit, when I play the song, the fetched ID shows up but when I stop it or play a different song, it goes back to its before-fetched state.

(http://i10.photobucket.com/albums/a150/arabian1/discogs2.jpg)

It's not too bad of a bug or whatever, it's just really annoying.
Title: foo_discogs
Post by: cjard on 2009-08-13 21:48:31
Can we have:

A resizable window

A more logical layout of discogs data and tracks data - one scrollbar for both lists, make it obvious what the Renumber Tracks combo boxes are for (changing them seems to have no effect - or maybe they have an invisible effect; not good UI design!  ) or maybe you should have a grid arrangement, where the columns are: Disc#, Of, Track#, Discogs Artist&Track, Local Artist&Track: MoveUp/MoveDown can be used to reorder either of these last 2, but number columns are fixed.. Your combo boxes could be used in conjunction with a selection highlight and it would then be obvious they were doing something..
Grids are better than independently scrolling lists because they more clearly display an association between data elements on the same row

Support for mashup albums: example http://www.discogs.com/Cut-Up-Boys-The-Mas...release/1649809 (http://www.discogs.com/Cut-Up-Boys-The-Mash-Up-Mix-Old-Skool/release/1649809) - these discs do not have (in total) 97 tracks. The 1.01A and 1.01B are the same on-disc track mashed together. Plugin will need to parse the A B C D etc and offer artist names of:
1.01 - Last Rhythm / Club Junkies Feat. Kid House  - Last Rhythm / Two Can Play That Game (Acappella)

Maybe make the format of these to be selectable? I mean, I can see how it makes sense to have them ina  DISCOGS_ARTIST_MULTI tag, but if I just want it formatted in some way in a plain old ARTIST tag, choosing the format would be good!

Thanks for a great plugin!
Title: foo_discogs
Post by: aNTropocentrio on 2009-08-14 22:55:18
My album art is saving as folder.jpg which is fine but is it possible to have your artist art filename saved as %artist% e.g. Jimi Hendrix.jpg instead of e.g. 123456.jpg that i usually get?

Same problem.
Title: foo_discogs
Post by: jexxer on 2009-08-15 12:46:02
Hello.

I'd like to make a feature request. I's nothing complicated.

I would like to see the Discogs release field "Format: " written to my files.
I have plenty of folders with releases that have the same album title and only differ by the type of media they were released on.
Often I have the album and the single. Both share the same album title.

Using the foobar2k "File Operations" plug-in such releases will be thrown into the same album folder. If I could read the Discogs format field I would be able to check if the album is a single, 12" or vinyl and append this to the album folder name.

Hope you can add this.
Title: foo_discogs
Post by: cjard on 2009-08-19 20:13:07
Oh, and, I thought it was a foobar no-no that a plugin opens a modal window when performing a long operation. When discogs is writing tags it blocks the UI.. freedb tagger doesnt block the UI when writing tags

Title: foo_discogs
Post by: bubbleguuum on 2009-08-19 20:42:52
Can we have:

A resizable window

A more logical layout of discogs data and tracks data - one scrollbar for both lists, make it obvious what the Renumber Tracks combo boxes are for (changing them seems to have no effect - or maybe they have an invisible effect; not good UI design!  ) or maybe you should have a grid arrangement, where the columns are: Disc#, Of, Track#, Discogs Artist&Track, Local Artist&Track: MoveUp/MoveDown can be used to reorder either of these last 2, but number columns are fixed.. Your combo boxes could be used in conjunction with a selection highlight and it would then be obvious they were doing something..
Grids are better than independently scrolling lists because they more clearly display an association between data elements on the same row


UI could be better yes, but I hate win32 UI work so I won't be updating this.  add to the fact I don't work actively on it anymore as it is "good enough" for me.
Renumbering is used for multi-disc releases, to renumber tracks of disc 2, 3, ...

Quote
Support for mashup albums: example http://www.discogs.com/Cut-Up-Boys-The-Mas...release/1649809 (http://www.discogs.com/Cut-Up-Boys-The-Mash-Up-Mix-Old-Skool/release/1649809) - these discs do not have (in total) 97 tracks. The 1.01A and 1.01B are the same on-disc track mashed together. Plugin will need to parse the A B C D etc and offer artist names of:
1.01 - Last Rhythm / Club Junkies Feat. Kid House  - Last Rhythm / Two Can Play That Game (Acappella)


Requested many times but not possible as track numbers is a free field in discogs db. Users when submitting to discogs can number track foo1, foo2, bar3 if they want so.

Quote
Maybe make the format of these to be selectable? I mean, I can see how it makes sense to have them ina  DISCOGS_ARTIST_MULTI tag, but if I just want it formatted in some way in a plain old ARTIST tag, choosing the format would be good!


Use a custom tagging script if you want to rewrite some tags from others. (don't remember if it is installed by default)


My album art is saving as folder.jpg which is fine but is it possible to have your artist art filename saved as %artist% e.g. Jimi Hendrix.jpg instead of e.g. 123456.jpg that i usually get?

Same problem.


this was supposed to be used with an album art panel that would know how to load %DISCOGS_ARTIST_ID%.jpg. Maybe one day...


Hello.


I would like to see the Discogs release field "Format: " written to my files.
I have plenty of folders with releases that have the same album title and only differ by the type of media they were released on.
Often I have the album and the single. Both share the same album title.


Already possible: enable "write"  for "Format" in the "Edit tag mappings" dialog. It is disabled by default. Then you can use %DISCOGS_FORMAT%


Oh, and, I thought it was a foobar no-no that a plugin opens a modal window when performing a long operation. When discogs is writing tags it blocks the UI.. freedb tagger doesnt block the UI when writing tags


Possible that it may not use the async API, code is old, I don't remember.
Title: foo_discogs
Post by: cjard on 2009-08-20 08:56:16
I would like to see the Discogs release field "Format: " written to my files.

jexxer, it already does this. Right click an MP3
Choose DISCOGS menu
Choose EDIT TAG MAPPINGS

In the list on the left we see Format
On the right we see this is written to a tag of DISCOGS_FORMAT but the WRITE TAG box is NOT TICKED by default


Change it to another tag or alter your foobar file operations to use the DISCOGS_FORMAT tag. DOn't forget to tick it to be written
Title: foo_discogs
Post by: cjard on 2009-08-20 09:10:10
UI could be better yes, but I hate win32 UI work so I won't be updating this.  add to the fact I don't work actively on it anymore as it is "good enough" for me.


If I created one, would you consider putting/adding it in (user selectable which UI)? I've got a few other ideas for features

Quote
Renumbering is used for multi-disc releases, to renumber tracks of disc 2, 3, ...

I finally worked it out.. jolly confusing because it initially appears to do nothing but I get how it works now, after deleting and moving a few tracks on the discogs side then pressing the button again


Quote
Requested many times but not possible as track numbers is a free field in discogs db. Users when submitting to discogs can number track foo1, foo2, bar3 if they want so.

Might be something the UI can do, maybe select N number of tracks at once in the discogs list and press a Mashup button and it will mash those tracks. Repeat for all tracks on a disc.
Or have a few patterns for the track numbers selectable by the user..

Either way, I'd have a crack at it as a feature of the UI something like Renumber Tracks:)



Thanks for the feedback!
Title: foo_discogs
Post by: bubbleguuum on 2009-08-22 10:33:35
A new version with small tweaks

1.20
-----

- find release dialog: populate search artist text field with eventual leading "The" at the end => "Beatles, The"
- find release dialog: added button to clear the filter (quick way to display all releases)
- find release dialog: added button to clear the release cache. Useful when submitting/updating discogs data and tagging at the same time
- find release dialog: fix: not possible anymore to instantiate this dialog several times using accelerator keys, leading to crashes.
Title: foo_discogs
Post by: jexxer on 2009-08-23 01:50:04
I would like to see the Discogs release field "Format: " written to my files.

jexxer, it already does this. Right click an MP3
Choose DISCOGS menu
Choose EDIT TAG MAPPINGS

In the list on the left we see Format
On the right we see this is written to a tag of DISCOGS_FORMAT but the WRITE TAG box is NOT TICKED by default


Change it to another tag or alter your foobar file operations to use the DISCOGS_FORMAT tag. DOn't forget to tick it to be written

Great, thank you for your time to give a precise description.
Title: foo_discogs
Post by: alexinc on 2009-08-23 15:53:12
serious problem here!

have been using foo_discogs very satisfying for the last years now, but since 2 weeks i'm having serious trouble with it. first problem is, its not fetching all album- or artist-images - getting the "discogs error: release id=xyz: problem connecting to discogs.com"-error. and i just found out, that it doesnt fetch any information from discogs at all now. window of "write tag" opens up, but stays empty - no matter if i use "auto" or not and on which files... even manually filling the artist-field doesnt effect anything - list stays empty! status-windows pops up very short, but nothing else happens.
before doing a clean windows 7-installation everything worked fine. i already opened all ports and protocolls for foobar.exe in windows firewall. i disabled windows firewall-service and i removed foo_discogs.dll and its settings - without success... fetching complete release infos i didnt use for the last days, but after installing foo_discogs 1.20, hoping that it could solve my problems, it still doesnt work. now the question is, is it related to the same conflict (windows 7), that it doesnt fetch infos nor art or is it a new problem with version 1.20 (that it doesnt fetch infos)!?
i dont use any 3rd-party firewall, antivir, e.g. . same network as before (when it was working) only new windows 7 installation and now version 1.20.

PLZ any help appreciated!!! (i dont use parent-control-software, as it was mentioned earlier on connecting to discogs-problem - at least i dont know of it yet  ) any other thing i could/should disable in windows??? thx i.a.
Title: foo_discogs
Post by: alexinc on 2009-08-24 16:54:08
after updating from 0.9.6.9 Beta 1 to 0.9.6.9 Final everything works as its supposed again!? just to let you know! very strange...
Title: foo_discogs
Post by: bubbleguuum on 2009-08-24 19:11:38
after updating from 0.9.6.9 Beta 1 to 0.9.6.9 Final everything works as its supposed again!? just to let you know! very strange...


Discogs server has many intermittent problems that cause requests to fail. Moreover there was no change between the beta and the final.
Title: foo_discogs
Post by: alexinc on 2009-08-25 12:59:26
after updating from 0.9.6.9 Beta 1 to 0.9.6.9 Final everything works as its supposed again!? just to let you know! very strange...


Discogs server has many intermittent problems that cause requests to fail. Moreover there was no change between the beta and the final.



thats why i was so confused... couldnt imagine that there was something essential changed in foobar. but how can i figure out if problems are discogs-related next time?
Title: foo_discogs
Post by: Xezzy on 2009-08-25 14:46:27
It's relatively common so almost every time :]
Title: foo_discogs
Post by: 2E7AH on 2009-09-01 20:36:54
I was tagging i.e.:
Artist: Toumani Diabate
Album: The Mande Variations

While I got the artist (who has two name variations on Discogs: Toumani Diabate and Toumani Diabaté) I didn't get the album because it is accented like this:
Album: The Mandé Variations

On the other hand foo_musicbrainz returned correctly:
Artist: Toumani Diabaté
Album: The Mandé Variations
although I didn't have them accented in tags like I wrote above

So, I would like to suggest matching to be done without respect to accented chars: $ascii(artist) and $ascii(album) - of course C++ variant of this title-formatting
Title: foo_discogs
Post by: Polarix on 2009-10-20 18:48:06
UI could be better yes, but I hate win32 UI work so I won't be updating this.  add to the fact I don't work actively on it anymore as it is "good enough" for me.

Agh!!!!?!?!!

Is there any way you can release the source code so that development can continue? It would be tragic to have to rewrite the entire plugin from scratch just to get through the last mile. Especially now that discogs is getting so big and popular.
Title: foo_discogs
Post by: orchid on 2009-10-20 18:55:50
It's been released already.

http://bubbleguuum.free.fr/foo_discogs/foo...gs_1.15_src.zip (http://bubbleguuum.free.fr/foo_discogs/foo_discogs_1.15_src.zip)

edit. Nevermind, old version
Title: foo_discogs
Post by: bubbleguuum on 2009-10-20 19:35:33
UI could be better yes, but I hate win32 UI work so I won't be updating this.  add to the fact I don't work actively on it anymore as it is "good enough" for me.

Agh!!!!?!?!!

Is there any way you can release the source code so that development can continue? It would be tragic to have to rewrite the entire plugin from scratch just to get through the last mile. Especially now that discogs is getting so big and popular.



Here's foo_discogs 1.20 source:

http://bubbleguuum.free.fr/foo_discogs/foo...gs_1.20_src.zip (http://bubbleguuum.free.fr/foo_discogs/foo_discogs_1.20_src.zip)

Code is old, not too easy to work with, and I wouldn't write it like this today.

EDIT: reuploaded with missing .sln
EDIT2: to compile it requires a SDK header not yet in the official SDK, so if someone wants to modify it, let me know.
Title: foo_discogs
Post by: swolf on 2009-10-24 04:22:44
Very nice.

Would be good to have an option to start numbering at 1 again for multiple CD releases.
Title: foo_discogs
Post by: bubbleguuum on 2009-10-24 10:36:12
Very nice.

Would be good to have an option to start numbering at 1 again for multiple CD releases.



There's a manual renumber button that will do just that in the Multi-Disc section of the release dialog.
The idea is that you remove tracks not in the disc you're tagging, and use that button to renumber tracks.
Title: foo_discogs
Post by: SpaceAgeHero on 2009-10-26 20:08:58
Hey bubbleguuum! First off I want to thank you so much for this awesome plugin.

I have a question or kind of a feature request for users who have a Discogs account.

Do you think it would be possible to add something like an automatic synchronisation of a foobar music library with the Discogs Collection?
I would like it something like this:
Whenever you add an album to your foobar library and choose to tag it with Discogs data, the plugin would automatically put it to your Discogs collection online as well. That way Discogs users can always stay informed when recent changes have been made to stuff in collection. Or perhaps it could be even done that your plugin notificates whenever changes have been made and offers to update metadata as well.
Certainly I understand this can only be accomplished if the Discogs API is able to do that.

I think that would be quite useful! Any thoughts?
Title: foo_discogs
Post by: Rabbit212 on 2009-11-03 16:38:41
SpaceAgeHero did you mean to automatic synchronisating several releases (folders) at once? Because I also have a question and it might be a bit similar to your.

I would like to know if is possible to use foo_discogs for checking, renaming, comparing (and whatever else you can do with this plugin) of more than 1 release (folder). How much more, I presume it doesn't matter, if it does, could I ask for limit number? In the plugin there is a search bar to find the specific artists but this is the same is if the search would be done directly on the site. So is it possible that foobar automatically searches (and uses this plugin to check /compare, rename, tag,...) for folders (releases) that have been just dragged & dropped to foobar - more than one at the same time?
I guess this is not possible.
And if I am correct; is it possible to use this plugin to, at least search, for more than one (again, could be 2, could be 1000) release, that have been previounsly dragged and dropped, at exsactly the same time? Therefore the checking / comparing, renaming, retaging and so on would be done manually inside the plugin.
Title: foo_discogs
Post by: Jezulkim on 2009-11-03 18:15:28
Hello,

The plugin crashes when I try to grab the tags from this page: http://www.discogs.com/Shpongle-Ineffable-...release/1986939 (http://www.discogs.com/Shpongle-Ineffable-Mysteries-From-Shpongleland/release/1986939). This is the first time this plugin ever crashed for me.

I'm using the latest version of foobar2000 (0.9.6.9) and the latest version of this plugin.
Title: foo_discogs
Post by: bubbleguuum on 2009-11-03 21:31:51
Hello,

The plugin crashes when I try to grab the tags from this page: http://www.discogs.com/Shpongle-Ineffable-...release/1986939 (http://www.discogs.com/Shpongle-Ineffable-Mysteries-From-Shpongleland/release/1986939). This is the first time this plugin ever crashed for me.

I'm using the latest version of foobar2000 (0.9.6.9) and the latest version of this plugin.



Nice one, you've found the FAIL release, with lots of missing info (discogs.com bug):

http://www.discogs.com/release/1986939?f=x..._key=df4f42ee8c (http://www.discogs.com/release/1986939?f=xml&api_key=df4f42ee8c)

Even more fail in the sense it made the plugin crash, which was trivial to fix.
Title: foo_discogs
Post by: bubbleguuum on 2009-11-03 21:46:59
v 1.21

- fix: don't crash on buggy releases with no label defined (aka FAIL releases).

Title: foo_discogs
Post by: Jezulkim on 2009-11-04 14:34:20
Thanks for the fix, no crash this time!
Title: foo_discogs
Post by: Rabbit212 on 2009-11-05 23:36:49
bubbleguuum if you could take a ''look'' at my post above.... Thank you
Title: foo_discogs
Post by: bubbleguuum on 2009-11-05 23:49:45
Whenever you add an album to your foobar library and choose to tag it with Discogs data, the plugin would automatically put it to your Discogs collection online as well. That way Discogs users can always stay informed when recent changes have been made to stuff in collection. Or perhaps it could be even done that your plugin notificates whenever changes Certainly I understand this can only be accomplished if the Discogs API is able to do that.


AFAIK the API do not allow to access the Discogs collection, and even if it was, I'm not working actively on the plugin except for fixing existing stuff that might break.


bubbleguuum if you could take a ''look'' at my post above.... Thank you


What you ask is not possible, a 1 click solution that perfectly tags / rename / whatever all your files without user intervention does not exist.
You must tag 1 release at time which can usually be done quick. You can then use the foobar2000 mass file renamer to reorganize filenames / directories as you want.
Title: foo_discogs
Post by: Fast_Lane on 2009-11-06 10:56:57
uuuu.. fb2k 9.6.9 + foo_discogs 1.2.1 = nonstop problem connecting to discogs.com 
With foo_discogs 1.15 - no problem.
Title: foo_discogs
Post by: Rabbit212 on 2009-11-06 11:33:57
What you ask is not possible, a 1 click solution that perfectly tags / rename / whatever all your files without user intervention does not exist. You must tag 1 release at time which can usually be done quick. You can then use the foobar2000 mass file renamer to reorganize filenames / directories as you want.


Ok, I presumed correctly then.

Two reasons can be In case if release cannot be found on discogs database. First reason is that the release isn't in their database, second is that the specific track isn't released. Because of the second reason, using and hoping for something like foo_junodownload would be nonsense. The first sign that the track is unreleased is if the google keywords, after doing a search, don't show the results with a links from known big online music database, along discogs, such as triplevision, beatport, web-records, deejay and so on. I also have had the situation when the tracks were released but i had to gather the information on some forums and to check (i know i cannot be 100% sure about the exactness of the release information from unoffical forum found through google) their exactness, I was comparing the catid to the labels, on, lets say, discogs if it look similar. Do you have any suggestion what to do, inside the foobar, in case if something (release / track) is not in discogs? Its probably not much to do but to search on google in the internet browser.

Sometimes can also happen that files contain CatIDs. For example:

A1 - Dj Something - Whatever name here(KD001)

or

01-Djsomething-whatevernamehereKD001-new release

Can be directly from the plugin done that the CatIDs gets automatically deleted from file names, including their symbols if they are there, such as '' ( '', '' ) '', '' [ '', '' ] '' etc. I ask this because I would only like to have the CatID on one location: in the beginning of the folder's name inside '' [ '' and '' ] '' with one space after '' ] '' and before first next letter.


As others did, I would also like to congratulate for perfect work done.
Title: foo_discogs
Post by: Rabbit212 on 2009-11-06 22:35:41
Hmm I think my second question shouldn't be even asked. Its logical, when the plugin's user renames tracks as they are in discogs' database, the title of the track will be changed and therefore catid in the file name will be removed. But could use the question related to the first one which im still interested for (same post) anyway - whats up with those catids (in file names) from the releases or (unreleased) tracks that are not in discogs database?
Title: foo_discogs
Post by: bubbleguuum on 2009-11-06 22:51:59
Hmm I think my second question shouldn't be even asked. Its logical, when the plugin's user renames tracks as they are in discogs' database, the title of the track will be changed and therefore catid in the file name will be removed. But could use the question related to the first one which im still interested for (same post) anyway - whats up with those catids (in file names) from the releases or (unreleased) tracks that are not in discogs database?


If they are not in the discogs db you have 2 solution:

- You manually tag them using the Properties dialog

- You submit the new release to the discogs db using their online form, then use the plugin to fetch the new data and tag. If a release is unreleased
you can probably just save a Draft and enter its url in the plugin for tagging.

For renaming you use the File Operations functionality provided by foo_fileops.dll. I don't think it is installed by default, you may need to rerun the foobar installed to have it.
If it is installed when you select track you'll have a "File Operations" submenu in the contextual menu. You can then use a custom tagz expression to rename your files.
For example I use:

Code: [Select]
$meta(discogs_label,0)/'['$meta(discogs_catalog,0)']' - %album artist% - %album%[ '('disc %discnumber%')'][ - %date%]/%track% - %artist% - %title%


which provide paths like this:

a.r.t.less\[A.R.T.LESS 2201] - Don Williams - Detroit Black EP - 2006\01 - Don Williams - Orderly Kaos.mp3
Title: foo_discogs
Post by: Rabbit212 on 2009-11-07 20:13:08
- You manually tag them using the Properties dialog

Yes but I don't think we understood each other in case of manipulating with release that isn't in discogs database. For example I got the one link here: http://www.drogart.org/forum/index.php?showtopic=939212 (http://www.drogart.org/forum/index.php?showtopic=939212)

If exsactly this release is in discogs database or not doesn't matter because Im just trying to show the best way to say what did I mean. The release meets all criterias to be saved in my, and I belive your too, music collection (name of the label, catid, title, artist, name of the tracks). What I had in my mind is this; with the plugin you probably cannot gather the information from any site (any forum such as this is on the link) because the plugin is written for discogs and I presume, it cannot, ''discover'' where on the page is something that should be used (previounsly mentoined criterias). Therefore we cannot use the plugin for just any site/forum because its just for discogs. Just wanted to make sure that I understand correctly?

About automatically titleing the folders. I would like to use very similar syntax than your except without '' - '' and without year. It would be great if the ''EP'' at the end of fodler name would be removed but I won't complain too much. So it will look like this:

[CatID] Artist Name - Name Of The Release

For me is also important that charachters like ''ü'' are all changed to ''u'' or whatever else (''u'' was taken from the example). That means I need to use ''ascii'' so my code is this:

Code: [Select]
C:\Folder\'['%catid%']' $ascii(%albumartist%) - $ascii(%album%)\%tracknumber% $ascii(%artist%) - $ascii(%title%)

Where ''Folder'' is the path to the folder where correctly named (by syntax) folders should be located on hard drive.

Can I still paste the code on the same location which you mentoined?
Title: foo_discogs
Post by: Rabbit212 on 2009-11-09 00:49:22
Here are also another two perfect examples of releases that aren't in discogs database:

first: click here (http://dancemusichub.com/?redirectTo=http%3A//dancemusichub.com/catalog/label/view-track/261184/Human-Infected---Psycotik-Mix)
second: click here (http://w-ki.com/tech-house/mirco-violi-festivo-ep-incl-nima-gorji-remix-weso005.html)

In the first one, criterias aren't met because the catid is missing. I was trying to use google for the catid - couldn't find it BUT the folder already contained it. Now, how can we trust that the catid which is already given in the folder is correct? What have I done? I have done this; I used the google to search for label name on trusted web site (for this specific example, junodownload) and made sure that the catid's letters (without numbers) look the same or similar than the catid in the name of the folder. Of course in this situation (gathering information of nondiscogs release from two different web sites) we need to manually enter the cat id. Since I haven't been able to find the catid on google and in case if also folder didn't have it - the release would be deleted immediately (at least from my music collection). The second link is fine - it meets all the criterias so the release can be saved to the music collection.

I just gave two more examples but my question in previouns post (first one out of two that i asked) remains the same.

Thank you.
Title: foo_discogs
Post by: VyRuZ on 2009-11-11 08:24:45
bubbleguuum, thank you a lot for this plugin!

It's sad reading through the last page of this thread, wanting to thank you for your work, and seeing you somewhat abandoning it. (I say somewhat because I see you're committed to fixing bugs, which in and of itself is great, as the plugin has successfully retagged my whole collection!)

Plugin works fast & great and I'm once again happy with my foobar!
Title: foo_discogs
Post by: VyRuZ on 2009-11-12 10:09:32
OK, I figure I could put this out there, too...

For releases like this (http://www.discogs.com/DJ-rupture-Matt-Shadetek-Solar-Life-Raft/release/1991732), where there's 2 tracks credited for just one physical track, can foo_discogs be made to combine them? Just a '/' between the two would be great!

I've been retagging a lot of parts of my collection, and I've stumbled upon this case a few times. My solution was to remove one of the two...
Title: foo_discogs
Post by: vogliadicane on 2009-11-12 10:13:57
OK, I figure I could put this out there, too...

For releases like this (http://www.discogs.com/DJ-rupture-Matt-Shadetek-Solar-Life-Raft/release/1991732), where there's 2 tracks credited for just one physical track, can foo_discogs be made to combine them? Just a '/' between the two would be great!

I've been retagging a lot of parts of my collection, and I've stumbled upon this case a few times. My solution was to remove one of the two...


I also do it like this (combine the tags for both tracks in one manually). It´s a rare case so I think it´s ok. I´m afraid it´s too much for this component to develop some kind of "artificial intelligence"
Title: foo_discogs
Post by: SpaceAgeHero on 2009-11-15 18:23:53
Hey again bubbleguuum!

I actually use your plugin to write Remixer information to my tags.
I recently noticed that very often on discogs there are releases which have remixer information but also other roles simultaneously.
Like: "Remix, Producer [Additional] - Alex Breuer , DJane Barb-Wire Sue".
Same for vocals.
As soon there are multiple roles at once, this information is not written anymore.

Is there any way this can be enabled?
Title: foo_discogs
Post by: bubbleguuum on 2009-11-20 19:36:17
v 1.22

- fixed configuration dialog embedding and context menu compatibility with foobar2000 1.0.0+.
- Discogs context menu now appears under Tagging


get it on foobar2000 component site as there is a problem withthe link on my www server right now:

http://www.foobar2000.org/components/view/foo_discogs (http://www.foobar2000.org/components/view/foo_discogs)
Title: foo_discogs
Post by: wojtek on 2009-11-20 19:44:13
Quote
- fixed configuration dialog embedding and context menu compatibility with foobar2000 1.0.0+.


Dumb question... but shouldn't Discogs be placed under "Tagging"? If foo2k forces new, structured menu... it would be nice if it were at least a bit logical...
Title: foo_discogs
Post by: bubbleguuum on 2009-11-20 20:10:11
Quote
- fixed configuration dialog embedding and context menu compatibility with foobar2000 1.0.0+.


Dumb question... but shouldn't Discogs be placed under "Tagging"? If foo2k forces new, structured menu... it would be nice if it were at least a bit logical...



Now appears under Tagging, redownload the component (didn't changed version number)
Title: foo_discogs
Post by: wojtek on 2009-11-20 20:21:08
Quote
Now appears under Tagging, redownload the component (didn't changed version number)


Thanks a million!

(btw. another tiny favour to ask -- would it be possible to distribute your plugin as archive, 7z for example?)
Title: foo_discogs
Post by: Rabbit212 on 2009-11-22 00:05:20
I think I found one bug and besides it I also have one question:

Question: I have seen some post in the same topic about two different labels and therefore to different catids for the same release. The plugin will write them both (both label names and both catids). Is there a change to ask which label would I like to use - catid would be added according to user's choice of label? If not; does foobar at least shows somewhere inside the software the folder that has been named with two different label names or is the only chance to see it when we ''manually'' look at the folder names outside of foobar? Example: http://www.discogs.com/%C3%82me-Rej-EP/release/528435 (http://www.discogs.com/%C3%82me-Rej-EP/release/528435)

Possibility of a bug: Sometimes, before the plugin is used,  are position numbers (such as A1 or 01) wrong but names of the track are correct comparing to how the track sounds. After using plugin, the names and positions are the same as on discogs but, in this situation, the name of the tracks comparing to how the tracks sound will be wrong. For example:

Wrong datas: 02 - Track EX, 03 - Track TR. 01 - Track VM, 04 - Track CP. The name of the tracks (as how they are produced) are correct but positions are wrong.
Correct datas (after using the plugin): 01 - Track TR, 02 - Track EX, 03 - Track VM, 04 - Track CP. Now everything ''looks'' correctly but track ''Track VM'', now actually becomes the track with the name ''Track TR''.  Could be this a bug or not?
Title: foo_discogs
Post by: gabsoftware on 2009-11-27 16:48:40
Hello,

The Discogs component is very useful and powerful, however I found some few bugs about the artist art and album art, recently :
- The artist art and album art are no longer written (found ?)
- The "View artist art page" and "View album art page" menu options lead to erroneous page. For example it leads to http://www.discogs.com/viewimages?what=A&obid=795 (http://www.discogs.com/viewimages?what=A&obid=795) for De-Phazz artist art.

I guess that these two bugs are related to bad urls and that Discogs have been updated with some new url scheme. It shouldn't be difficult to fix the component.

Best regards,

Gabriel H.
Title: foo_discogs
Post by: bubbleguuum on 2009-11-27 19:19:30
Hello,
I guess that these two bugs are related to bad urls and that Discogs have been updated with some new url scheme. It shouldn't be difficult to fix the component.



Looks like you're right, discogs changed the URL scheme. Will fix in next version.
Title: foo_discogs
Post by: gabsoftware on 2009-11-29 03:41:57
Thank you, waiting for the new version with impatience 

Moderation: Removed useless full quote of the preceding post.
Title: foo_discogs
Post by: Polarix on 2009-11-29 04:12:37
bubbleguuum, are there any features that you're currently hoping/planning to implement, now that the project seems a bit more active again?
Title: foo_discogs
Post by: gabsoftware on 2009-12-03 03:16:25
Hello,

I'm trying to compile foo_discogs 1.21 to adapt it to my needs, but I have a missing header file as you mentioned before, it's http_client.h who is attended to be in the SDK folder.
Could you upload this file somewhere ?

Thank you.

Regards
Title: foo_discogs
Post by: Yirkha on 2009-12-03 12:18:37
New API, will be included in the 1.0 SDK.
Title: foo_discogs
Post by: SpaceAgeHero on 2009-12-06 20:25:15
As soon there are multiple roles at once, this information is not written anymore.


Hey bubbleguuum,

any word on this yet?
Title: foo_discogs
Post by: dreadroach on 2009-12-23 18:52:41
I'm keep getting crash caused by discogs under foo v1 beta 5 when using latest version of this component. I'm unable to see console but first the window pop out and says "Visual C++ Runtime error R6025"and after that pops out and says "foobar has stopped working..etc" Here's the details of the crash..

Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:   foobar2000.exe
  Application Version:   1.0.0.0
  Application Timestamp:   4b2bd341
  Fault Module Name:   foo_discogs.dll
  Fault Module Version:   0.0.0.0
  Fault Module Timestamp:   4b06f642
  Exception Code:   40000015
  Exception Offset:   0003c977
  OS Version:   6.1.7600.2.0.0.256.48
  Locale ID:   1050
  Additional Information 1:   3b9a
  Additional Information 2:   3b9ae90c5136cc833c756d21b81b4c1b
  Additional Information 3:   0747
  Additional Information 4:   074722d141fe9cb4760285756930e995

Never had any problems with it 'till today..
Title: foo_discogs
Post by: SpaceAgeHero on 2009-12-28 17:18:01
It's me again with another question. Perhaps someone can help me.

Many artists are listed under multiple artist name variations on discogs but also seem to always have one primary name.
Now my question is:

Is there a way store both, the artist name variation as it is listed on the release but also the primary artist name (only if it varies from the listed name)?
I hope you can understand what I am trying to ask.

I will give you an example:
On my CD cover an artist is listed like that: "2XLC". For this certain release the artist is also listed as "2XLC" on discogs but with a * like this: "2XLC*". This indicates that the artist is usually known under another name. For this certain artist it is "Talla 2XLC".

This is how I want to store the values:

%artist% = "Talla 2XLC"
(primary artist name)

%artist_variation% = "2XLC"
(as listed on release, only stored if varies from %artist%)

Please also consider that I do not want to store ALL artist name variations all the time. I know this is possible.

Thank you.
Title: foo_discogs
Post by: bubbleguuum on 2009-12-28 18:22:33
Is there a way store both, the artist name variation as it is listed on the release but also the primary artist name (only if it varies from the listed name)?
I hope you can understand what I am trying to ask.


It is not possible without modifying the plugin.
As artist name you can either store the primary artist name or the variation (ANV) but not both.
Of course you can store all ANVs but this is not what you want.
Title: foo_discogs
Post by: SpaceAgeHero on 2009-12-29 00:20:22
It is not possible without modifying the plugin.


Would you consider implementing it as feature / would it be hard to implement ?
Personally I'd find it very useful.
Title: foo_discogs
Post by: blargblarg on 2010-01-08 10:07:03
This plugin needs big modifications....

Biggest problem is that it has 0 customization which is quite against the spirit of fb2k. What this plugin should do is parse a list of data, and then have a list of tags it writes based on that data even supporting operations on the data first. Then you could create your own tags naming them whatever you wanted and store any data into any tag you liked.
Title: foo_discogs
Post by: bubbleguuum on 2010-01-08 11:31:35
...


Discogs->Edit tag mappings.
Title: foo_discogs
Post by: blargblarg on 2010-01-08 23:19:34
Oooh, my mistake. I see this plugin works really nice now. Thanks a lot! Will give me something to do to tag my entire collection..... hah.


But maybe you could make it a little more user friendly?

(http://img33.imageshack.us/img33/6613/70477323.jpg)

Any of these would greatly save my eye sight!
- Option to guess track order by name rather than size (need not be too complex)
- Option to sort the list so it's much easier to see if any number is out of place

I noticed there's a lot of wrong guesses from the track length. Stuff this like should be simple to guess from file name, but a couple tracks with lengths within 10s:
(http://img189.imageshack.us/img189/341/76137662.jpg)
Title: foo_discogs
Post by: a3aan on 2010-01-08 23:29:06
I noticed there's a lot of wrong guesses from the track length.


Do not select this feature then. It works just fine most of the time without. That is, if your filenames start with the track number.

Adriaan.
Title: foo_discogs
Post by: Joffi on 2010-01-10 04:38:34
I'm keep getting crash caused by discogs under foo v1 beta 5 when using latest version of this component. I'm unable to see console but first the window pop out and says "Visual C++ Runtime error R6025"and after that pops out and says "foobar has stopped working..etc" Here's the details of the crash..*snip*

I have been getting this too, but I suspect it is foobar2000, not the plugin, and only under 64bit OSs (I've had it in Vista and Win7). I suspect foobar2000 itself because in the past, I have removed the discogs component and the error then triggers to another component. No troubleshooter issues detected, btw. It continues in the latest foobar v1.0 release.

Playing normally, not even interacting, at seemingly random times, critical error sound and this (more errors if ignored):
(http://img121.imageshack.us/img121/9499/foocrashmulti.jpg)

pressing ok, this is received:
(http://img248.imageshack.us/img248/7349/foo2capture.png)
the rest of that output follows:
Code: [Select]
Problem signature:
  Problem Event Name:    APPCRASH
  Application Name:    foobar2000.exe
  Application Version:    1.0.0.0
  Application Timestamp:    4b486cb3
  Fault Module Name:    foo_discogs.dll
  Fault Module Version:    0.0.0.0
  Fault Module Timestamp:    4b06f642
  Exception Code:    40000015
  Exception Offset:    0003c977
  OS Version:    6.1.7600.2.0.0.256.1
  Locale ID:    1033
  Additional Information 1:    a399
  Additional Information 2:    a3995047d98d11ce9e011f04930db211
  Additional Information 3:    95c5
  Additional Information 4:    95c5e5524800cd0d812cc881b6ce3a5b

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt


and finally, pressing either close the program button give the  the R6025 error others have mentioned at various places on the forums:
(http://img707.imageshack.us/img707/4495/foo3capture.png)

If the error boxes are ignored, foobar2000 continues to work fine in every way and will close normally without error, saving configuration. The previous error boxes disappear as if they didn't exist.

foobar version: 1.0.0.0
Windows version: Win7 64bit Ultimate with all current updates Important or higher installed.
Title: foo_discogs
Post by: dreadroach on 2010-01-10 10:23:46
I think it's not foobar crash or foo_discogs crash. Removing the foo_uie_lyrics2 solved the issue for me. But when it crashes it says that foo_discogs did it, i don't know why.
Using Win7 x64, too.
Title: foo_discogs
Post by: bubbleguuum on 2010-01-10 13:11:04
I think it's not foobar crash or foo_discogs crash. Removing the foo_uie_lyrics2 solved the issue for me. But when it crashes it says that foo_discogs did it, i don't know why.
Using Win7 x64, too.



The cause of these mysterious crashes have been found (thanks Yirkha). The component was blaming itself for crashes of other components, randomly.
Will be fixed in updated version soon.
Title: foo_discogs
Post by: bubbleguuum on 2010-01-10 16:11:28
New version (first post to download)

1.23
-----

- compiled with 1.0 SDK final, requires fb2k 1.0+
- fix: randomly, plugin could blame itself for other plugins crashes
- fix: "View album art page" and "View artist art page" were not working due to URL change
- chg: by default "Match discogs track to local track on track length" is disabled as it sometimes get order wrong.
- new: added tag "Artist Name Variation". This tag is written only if there's only one artist for the release or the track, and if that name is an ANV (artist name variation). It is not enabled to be written by default.
- fix: track credits tags "featuring", "remix", "vocals" were not written if more than one credit
Title: foo_discogs
Post by: frozenspeed on 2010-01-10 17:57:18
Yay! Awesome update, thanks!

he- is there any way via the discogs API to add an option for "Add to My Collection"? That way instead of having to open up all the release pages and do it I could just click a button... just a thought
Title: foo_discogs
Post by: SpaceAgeHero on 2010-01-10 18:53:32
- new: added tag "Artist Name Variation". This tag is written only if there's only one artist for the release or the track, and if that name is an ANV (artist name variation). It is not enabled to be written by default.
- fix: track credits tags "featuring", "remix", "vocals" were not written if more than one credit


I love you for this.
I Just tested it and works as expected. =)

Just one thing: "This tag is written only if there's only one artist for the release or the track". Is there any reason for this?
Why would it not just store the unaltered string even if there are multiple artists?

Anyways I do not want to be ungrateful! Thank you very much! And as promised I would like to donate you some bucks!
Please let me know where to donate (Paypal).
Title: foo_discogs
Post by: Crème on 2010-01-15 20:22:21
Not sure if this has been brought up before,.. but:

When I write tags I get the option to only write 1 value for example for the genre (instead of having 2 entries for the genre tag..). Now when I update it with the update tags function there is however no option to leave this as it is (1 value..). So all genres are added again in their own genre tag. Could you add the feature to not write duplicate values when updating?
Title: foo_discogs
Post by: plinni on 2010-01-15 23:50:01
Do I have to change anything in my config 'cause the links to artist and label look like this: Zero%207; Atlantic%20Recording%20Corporation
Has it something to do with unicode and stuff?
Title: foo_discogs
Post by: Slotos on 2010-01-16 04:42:50
That's URL encoded string (http://www.blooberry.com/indexdot/html/topics/urlencoding.htm). We are talking about URLs after all.
Title: foo_discogs
Post by: joelzhao on 2010-01-16 06:36:06
I have experinced several crashes when enable "display preview in release dialog", what's wrong with it?
Title: foo_discogs
Post by: rottenzombie on 2010-02-06 18:04:22
lately when trying to grab covers with foobar 1.0 and your newest plugin I get this error:

foo_discogs: error: could not save url=http://www.discogs.com/image/R-1408126-1217874084.jpeg, skipping...
Location not parsable: "Z:\Musik\(Post-)Rock, Punk, Shoegaze\Mogwai - Mr. Beast\cover.jpg", reason: Unsupported file format
Image loading failure: bad allocation

I already had this in the older version too...it was working though and then it just stopped, I don't know why. any idea?
Title: foo_discogs
Post by: chmv on 2010-02-12 07:53:58
Thank you for your work!
Please add possibility to write images to a _new_ folder. For example, if I set:
$directory_path(%path%)\discogs
in configuration dialog, I receve an error.
Thank you.
Title: foo_discogs
Post by: chmv on 2010-02-12 09:15:03
What about writing to a .cue? Is it possible?
Title: foo_discogs
Post by: arabeh on 2010-02-12 19:25:43
it would be great:
1) to have commas instead of semicolon when multiple genres are presented in genre field or to have it optional (some players doesn't recognize them and show only first genre)
2) to be able to put several fields of discogs data into one tag field and vice versa one discogs field in several tag fields =)
for example i want to put "release credits" and "release notes" into "comment" field.
ANYWAY THANK YOU FOR YOUR PLUGIN BUBBLEGUUUM!!!
Title: foo_discogs
Post by: djfonplaz on 2010-02-14 16:22:19
hello. i just try to use this awesome plugins for foobar (foo_discogs.dll).

i would like to know if it's possible to rename file using the vinyl track indexes as number track.

example :

01 - Artist - Title ===> A1 - Artist - Title

is it possible? cheers
Title: foo_discogs
Post by: SpaceAgeHero on 2010-02-14 20:40:44
I'm sure you could do this using foo_fileops, included in the original foobar2000 installer.
It's an optional component as far as I remember, so you have to tick it upon installation.
Title: foo_discogs
Post by: Joffi on 2010-02-14 21:22:34
Right click menu (click on a track) > Tagging > Discogs > Edit Tag Mappings > in left side list, scroll to the Vinyl Track Number and click it > in right side, change the Map To: dropdown list to the typed in tag of your choice (in this case you want to type TRACKNUMBER) and also make sure the Write Tag checkbox is checked.

I don't know if writes in order listed. If it does, you do not need to untick the Write Tag box on the Track # entry as it will first write the normal tracknumber and then, if it exists, write the vinyl tracknumber over top. But like I said, I don't if that is the behaviour or not, so you may need to uncheck Track # or remap it to another field.
Title: foo_discogs
Post by: rottenzombie on 2010-02-15 15:36:27
so is no one able to help me?
I read everything on the subject...I think the bad allocation error is because discogs can't grab the file so it makes a 0 byte big cover.jpg. so why doesn't it grab the covers anymore? additional info: I'm on win xp...
Title: foo_discogs
Post by: arabeh on 2010-02-16 08:58:25
so is no one able to help me?
I read everything on the subject...I think the bad allocation error is because discogs can't grab the file so it makes a 0 byte big cover.jpg. so why doesn't it grab the covers anymore? additional info: I'm on win xp...

may be,  It's because you have unicode characters in the folder name. try to grab covers for smth placed into the root directory. if that will work then it probably unicode characters made foo_discogs unable to parse the location path.

have bad english
Title: foo_discogs
Post by: djfonplaz on 2010-02-16 16:48:19
Right click menu (click on a track) > Tagging > Discogs > Edit Tag Mappings > in left side list, scroll to the Vinyl Track Number and click it > in right side, change the Map To: dropdown list to the typed in tag of your choice (in this case you want to type TRACKNUMBER) and also make sure the Write Tag checkbox is checked.

I don't know if writes in order listed. If it does, you do not need to untick the Write Tag box on the Track # entry as it will first write the normal tracknumber and then, if it exists, write the vinyl tracknumber over top. But like I said, I don't if that is the behaviour or not, so you may need to uncheck Track # or remap it to another field.

nice one. it works perfect now! this tools is very awesome. tnx for the tip. cheers and good work
Title: foo_discogs
Post by: flebber on 2010-02-16 22:36:54
I really the discogs feature was hoping it register itself as an information lookup service so it can be used in the converting/ripping process in 1.0+.

As in this screenshot.
(http://farm3.static.flickr.com/2738/4361819277_9828c09f58.jpg)
Title: foo_discogs
Post by: rottenzombie on 2010-02-22 15:51:17
so is no one able to help me?
I read everything on the subject...I think the bad allocation error is because discogs can't grab the file so it makes a 0 byte big cover.jpg. so why doesn't it grab the covers anymore? additional info: I'm on win xp...

may be,  It's because you have unicode characters in the folder name. try to grab covers for smth placed into the root directory. if that will work then it probably unicode characters made foo_discogs unable to parse the location path.

have bad english


even tried another hdd, it doesn't work. so that's not the reason. but thanks for at least trying to help me.
Title: foo_discogs
Post by: carmenm on 2010-03-12 15:02:11
Hi,

Using foo_discogs every single day i must thank you a lot for your amazing job!

Now there s only one thing bugging me right now. If you have less tracks on tyour drive that what appears on discogs(happens for example where bonus videos are reported on discogs) then the totaltrack number written is the one from discogs and not yours. I think it should be yours! dont you?

As i think about it, on the contrary when you have more tracks than the discogs release, shared info is not written on tracks not referenced in discogs. I really would like to have an option for that as i have to do it myself everytime.

THanks a lot
Title: foo_discogs
Post by: bubbleguuum on 2010-03-12 23:23:03
Now there s only one thing bugging me right now. If you have less tracks on tyour drive that what appears on discogs(happens for example where bonus videos are reported on discogs) then the totaltrack number written is the one from discogs and not yours. I think it should be yours! dont you?


In the special case you're describing (bonus videos messing the track count), yes. Now for the more common case were you'd have not all the tracks of the release, I think most people would expect the real release track count to be written...

As i think about it, on the contrary when you have more tracks than the discogs release, shared info is not written on tracks not referenced in discogs. I really would like to have an option

In which case you'd have more tracks than the discogs release ?  Only case I can think of is if you have some variant of a release that would have more tracks, and not present in the discogs db yet.
Title: foo_discogs
Post by: carmenm on 2010-03-16 15:08:43
Now there s only one thing bugging me right now. If you have less tracks on tyour drive that what appears on discogs(happens for example where bonus videos are reported on discogs) then the totaltrack number written is the one from discogs and not yours. I think it should be yours! dont you?


In the special case you're describing (bonus videos messing the track count), yes. Now for the more common case were you'd have not all the tracks of the release, I think most people would expect the real release track count to be written...

As i think about it, on the contrary when you have more tracks than the discogs release, shared info is not written on tracks not referenced in discogs. I really would like to have an option

In which case you'd have more tracks than the discogs release ?  Only case I can think of is if you have some variant of a release that would have more tracks, and not present in the discogs db yet.


Yes for both, i am talking about special case. SO i think having an option may be even in the release dialog would be a good thing. At least it would be very useful, and not only for me i hope!
Title: foo_discogs
Post by: rottenzombie on 2010-03-19 23:28:05
@bubbleguuum
do you have idea for my image saving problem e.g.:
"foo_discogs: error: could not save url=http://www.discogs.com/image/R-341175-1098916145.jpg, skipping..."

would be cool if you could help me...it only creates 0byte jpegs. It used to work but then it stopped to and I really tried everything.
Title: foo_discogs
Post by: alexinc on 2010-03-20 11:05:11
@bubbleguuum
do you have idea for my image saving problem e.g.:
"foo_discogs: error: could not save url=http://www.discogs.com/image/R-341175-1098916145.jpg, skipping..."

would be cool if you could help me...it only creates 0byte jpegs. It used to work but then it stopped to and I really tried everything.


could be possible that you requested too many images at one time, so discogs stops your requests... change your ip-adress and continue where discogs stopped working.
Title: foo_discogs
Post by: bubbleguuum on 2010-03-20 20:45:59
@bubbleguuum
do you have idea for my image saving problem e.g.:
"foo_discogs: error: could not save url=http://www.discogs.com/image/R-341175-1098916145.jpg, skipping..."

would be cool if you could help me...it only creates 0byte jpegs. It used to work but then it stopped to and I really tried everything.



Check in the Artist/album art configuration tab, that the directory evaluate to a valid directory. The default is $directory_path(%path%) to write files
in the same directory than the release.
Title: foo_discogs
Post by: harumscarum on 2010-03-22 13:26:54
please add option to update playlist on albumart download
i mean that as soon as i downloaded albumart for playing items i dont see it in playlist untill add it again from albumlist
Title: foo_discogs
Post by: Joe30 on 2010-03-24 13:44:56
I tried, but I couldn't find a way to mass tag many filess at once (for just Genre + Style from Discogs), without having the component pop up a window choice. Is there a way to do that ? And in case no 100% OK result is found, just skip it. ?
Title: foo_discogs
Post by: junkfist on 2010-03-27 02:37:07
just posting to say thanks for this. i, too, have used this plugin nearly every day for years.

harumscarum: i am almost positive that is a foobar issue, nothing that has to do with the plugin.
Title: foo_discogs
Post by: alexinc on 2010-03-27 08:50:40
hi guys, just a little question,

is there any way i can avoid that disocgs-plugin will alter files, when just updating album/artist art into a predefined folder? as i wanna sync my collection with external hdd for backup, but when updating arts, all files get modified dates and syncing would start on whole database again...
Title: foo_discogs
Post by: arabeh on 2010-03-29 20:10:42
Still thankful for your plugin bubbleguuum!
I can't figure out how actually tag values are separated in their field 
let take one album for example: foobars' properties dialog shows genre field as "IDM; Ambient". Same field in mp3tag looks like "IDM\\Ambient". In tag&rename, winamp, explorer - just "IDM". As you can see there are some representation differences among different programs. I've decided to separate that values by simple comma.
Have tried everything i could imagine to do that. I've used "replace value" command with foobars' Masstagger scripts and with mp3tags' actions (something like ";" -->",") - doesn't work.
The only way i see is to set that genre field manually - its not actually so hard, but having a huge music collection it turns to a big routine.
So any help would be greatly appreciated!
Title: foo_discogs
Post by: Xezzy on 2010-03-29 23:43:33
Pardon me if it was asked before, but is it planned to make tag mapping configurations and general settings avaible in foobar2000 preferences? It would be nice for such a useful and popular component to get along with foobar a little bit better
Title: foo_discogs
Post by: ManekiNeko on 2010-04-01 12:36:23
hi guys, just a little question,

is there any way i can avoid that disocgs-plugin will alter files, when just updating album/artist art into a predefined folder? as i wanna sync my collection with external hdd for backup, but when updating arts, all files get modified dates and syncing would start on whole database again...


I have the exact same need. I would like to pull down the artist image but NOT change my flac tags which are already perfect. Anyone?
Title: foo_discogs
Post by: Joffi on 2010-04-01 18:22:39
hmm, try this:

In the right click menu, under Tagging > Discogs, click Edit Tag Mappings, go through each and clear the check mark for Write tag.

now as long as the Configuration in the same menu area is set correctly for art downloads, it /should/ work. I'm only guessing, though.

*edit* you'll need to clear the check marks on the first tab (Tagging) of the Configuration settings also.
Title: foo_discogs
Post by: rottenzombie on 2010-04-02 14:41:05
I tried what you said bubbleguuum, it already was set up like that. I clicked on default settings too. but it didn't help. I really can't find a reason why it doesn't work. I tried other hdd's, I tried giving the dll more/other rights. maybe I should just re-install foobar but  I don't want to do that yet...
Title: foo_discogs
Post by: alexinc on 2010-04-02 17:30:56
hmm, try this:

In the right click menu, under Tagging > Discogs, click Edit Tag Mappings, go through each and clear the check mark for Write tag.

now as long as the Configuration in the same menu area is set correctly for art downloads, it /should/ work. I'm only guessing, though.

*edit* you'll need to clear the check marks on the first tab (Tagging) of the Configuration settings also.


sorry, but deactivating all "update tags on refresh" didnt work for me, the files still gets altered and disabling all the other features isnt quite a solution, as i have to activate them again for using the plugin in its usual way...
Title: foo_discogs
Post by: Bryter on 2010-04-04 21:21:10
The resolution of album art downloaded is reallyyyy low. Is there any possibility to change that?
Title: foo_discogs
Post by: carmenm on 2010-04-05 13:36:19
The resolution of album art downloaded is reallyyyy low. Is there any possibility to change that?

For me the quality is amazingly good!
Title: foo_discogs
Post by: ledge on 2010-04-06 03:58:38
The resolution of album art downloaded is reallyyyy low. Is there any possibility to change that?


Considering it gets the artwork from discogs and discogs has a maximum of 600x600 for uploaded artwork no it isn't going to be possible to change that.
Title: foo_discogs
Post by: arabeh on 2010-04-06 15:41:00
hi guys, just a little question,

is there any way i can avoid that disocgs-plugin will alter files, when just updating album/artist art into a predefined folder? as i wanna sync my collection with external hdd for backup, but when updating arts, all files get modified dates and syncing would start on whole database again...


I have the exact same need. I would like to pull down the artist image but NOT change my flac tags which are already perfect. Anyone?

you can delete all art in your backup driver, then change the sync method to smth like "copy files without replacing any"...
Title: foo_discogs
Post by: drt on 2010-04-06 15:43:18
Hello folks.
I have a problem with foo_discogs.
I want to retrieve track numbers as A1,A2,A3,B1,but discogs module get only 1,2,3,4 etc.
Can anyone explain this?
THnx
Title: foo_discogs
Post by: alexinc on 2010-04-07 14:15:29
hi guys, just a little question,

is there any way i can avoid that disocgs-plugin will alter files, when just updating album/artist art into a predefined folder? as i wanna sync my collection with external hdd for backup, but when updating arts, all files get modified dates and syncing would start on whole database again...


I have the exact same need. I would like to pull down the artist image but NOT change my flac tags which are already perfect. Anyone?

you can delete all art in your backup driver, then change the sync method to smth like "copy files without replacing any"...


if you update artist/album art your MP3-FILES will get altered too, thats the problem! you would always have to backup your complete collection again and again... and thats not pretty useful, when having just added some new tracks to your collection, which should be store on backup-drive.
Title: foo_discogs
Post by: chayes on 2010-04-07 22:05:02

Hi


Is there a way to add an extra filter definition to the Find Release page? Or could an extra filter box be added , say for Format?

I have a lot of files which I want to tag using foo-discogs , and it seems like a fantastic tool. The problem I have is that when I enter Artist and Title in the filter I'm getting all of the possible formats back from Discogs. This means I have to sort through a very long list every time , when really I just want the CD releases to be reported.

Could a second filter box be added so I can define an additional filter , or is this already possible?

Grateful for any help.
Title: foo_discogs
Post by: arabeh on 2010-04-08 09:50:26
oh
Title: foo_discogs
Post by: SamaelRanger on 2010-05-10 19:36:13
It will be very helpful to filter out in the result dialog DVD and Video tracks when you have only cd audio tracks.

Examples:
Mix DVD + CD release http://www.discogs.com/release/1140199 (http://www.discogs.com/release/1140199).
Video track release http://www.discogs.com/Anathema-Resonance-2/release/1334818 (http://www.discogs.com/Anathema-Resonance-2/release/1334818).
Title: foo_discogs
Post by: cYmoZz on 2010-05-10 20:09:58
Sorry, if this has been discussed before:

Is it possible to make discogs download the album arts  automatically when a song is played?

Or is there any other component that can do that?
Title: foo_discogs
Post by: RancidJellyfish on 2010-06-02 13:19:13
Hi, great plugin, really love it.

I have a bit of a problem with fetching the album art though. When i go through the write tags process, in the release dialogue the album art is not displayed and upon writing the tags, the downloaded file is corrupted and will not display in any image viewer. It is the same file size as one that i download manually.

Clicking on "View Release Page" takes me to the correct release, no problem, however, clicking on "View Album Art Page" results in "Page not found" on discogs.

foo_discogs "View Album Art Page" url - http://www.discogs.com/viewimages?what=R&obid=368123 (http://www.discogs.com/viewimages?what=R&obid=368123)
Actual Album Art Page url - http://www.discogs.com/viewimages?release=368123 (http://www.discogs.com/viewimages?release=368123)

Any ideas? I'm very much a newbie at this.


In the configuration panel "Fetch" and "Display preview in release dialogue" are ticked and the directory is set to the default "$directory_path(%path%)".

I'm running a completely fresh install of foobar, on a Win 7 x64 system, and using a static IP address, tried with Chrome and Firefox.


Any help would be greatly appreciated.


Regards
RancidJellyfish
Title: foo_discogs
Post by: frogworth on 2010-06-02 14:22:39
foo_discogs "View Album Art Page" url - http://www.discogs.com/viewimages?what=R&obid=368123 (http://www.discogs.com/viewimages?what=R&obid=368123)
Actual Album Art Page url - http://www.discogs.com/viewimages?release=368123 (http://www.discogs.com/viewimages?release=368123)


Sounds like you don't have the latest version. See the first post - version 1.23 fixes the album art URL (among other things), which had changed.
Title: foo_discogs
Post by: RancidJellyfish on 2010-06-02 14:52:31
Hi Frogworth, thanks for your quick reply.


I could have sworn i had the most recent version, but obviously not. That has solved the problem with the album art page, however the files it downloads are still corrupted.

Looking at the console, it is giving the following error: "GdiPlus error (GetHBITMAP)".

I've seen on the front page that "GdiPlus.dll" is a dependency.

I'm already using Win 7, but doing a quick search for the file and copying it into the foobar folder has had no effect. I have tried every GdiPlus.dll on my computer, as there were several at different file sizes, but none of them has had any effect.


Any other advice?


Regards
RancidJellyfish
Title: foo_discogs
Post by: nathanisnathan on 2010-06-02 17:07:41
I am having a similar issue to RancidJellyFish above.

The album art appears to be being downloaded from discogs correctly as the file sizes match those on the website, however, the files are corrupted and are not recognised as image files (jpegs in this case) by either foobar or anything else.

The foobar console is reporting :-

GdiPlus error (GetHBITMAP)
Location not parsable: "I:\Music\Genesis\Genesis - Complete Box Set 1970-1975\Foxtrot\cover.jpg", reason: Unsupported file format

My GdiPlus.dll is up to date; I am using Win XP + SP3 and i have the latest version of Foobar2000 and foo_discogs

Thanks for any help.
Title: foo_discogs
Post by: johnmcbain on 2010-06-02 23:50:00
I am having a similar issue to RancidJellyFish above.

The album art appears to be being downloaded from discogs correctly as the file sizes match those on the website, however, the files are corrupted and are not recognised as image files (jpegs in this case) by either foobar or anything else.

The foobar console is reporting :-

GdiPlus error (GetHBITMAP)
Location not parsable: "I:\Music\Genesis\Genesis - Complete Box Set 1970-1975\Foxtrot\cover.jpg", reason: Unsupported file format

My GdiPlus.dll is up to date; I am using Win XP + SP3 and i have the latest version of Foobar2000 and foo_discogs

Thanks for any help.



I think I may have found something out about this problem, but I'm not sure what it means


If you take the blank jpg files that it saves and rename them to .zip files, you will find an extensionless file inside. If you extract this, and rename it to jpg again, it works.

I have no idea what that means, I guess somehow the file handling is screwing up, but they are downloading.

I hope that helps someone. I joined this forum cause this seems like a great plugin and I want to see it succeed

Also, don't ask why I thought to try this in the first place, lol.
Title: foo_discogs
Post by: vraxoin on 2010-06-02 23:57:26
Same problem here.  Running Win7 x64, latest FB2K, latest foo_discogs.dll.  I use the feature nearly every day and it's only stopped working in the last day or so, I'd say.  I'm figuring that it's probably a server-side issue that's triggered this as nothing else has changed on my end, but who knows.  All I get is 1+ files that are all corrupt and I never see a preview thumbnail regardless of selected title.  I've checked the Discogs site and the art is certainly there and intact.  Anyway, just wanted to throw my name into the hat for the issue.  thx
Title: foo_discogs
Post by: vraxoin on 2010-06-03 02:26:42
Quote
I think I may have found something out about this problem, but I'm not sure what it means


If you take the blank jpg files that it saves and rename them to .zip files, you will find an extensionless file inside. If you extract this, and rename it to jpg again, it works.

I have no idea what that means, I guess somehow the file handling is screwing up, but they are downloading.

I hope that helps someone. I joined this forum cause this seems like a great plugin and I want to see it succeed

Also, don't ask why I thought to try this in the first place, lol.



Confirmed.  Strangely I was unable to just click to open the zip file and received a message that it was invalid.  Using the 'Open Archive' function in  7zip it opens without a fuss and, sure enough, the 'cover' file is contained within and renaming to 'cover.jpg' results in a fully functional image.  I'm not exactly sure why JPGs are ending up zipped, but it makes little sense and is certainly new.
Title: foo_discogs
Post by: hidw on 2010-06-03 18:24:25
Hi there

I am having exactly the same problems as the guys above and am desperate for a solution
I also use the plugin everyday and have sorted over 20,000 songs with it! I am lost without it!
Title: foo_discogs
Post by: bubbleguuum on 2010-06-03 18:40:03
I'll look at the issue. Probably due to a change on the discogs site side
Title: foo_discogs
Post by: 2E7AH on 2010-06-03 18:49:02
like said above it seems that fetched image is gziped and should be decrypted like all discogs responses which are gzip encrypted AFAIK
Title: foo_discogs
Post by: mdshw5 on 2010-06-03 22:28:08
Hi, great plugin, really love it.

I have a bit of a problem with fetching the album art though. When i go through the write tags process, in the release dialogue the album art is not displayed and upon writing the tags, the downloaded file is corrupted and will not display in any image viewer. It is the same file size as one that i download manually.

Clicking on "View Release Page" takes me to the correct release, no problem, however, clicking on "View Album Art Page" results in "Page not found" on discogs.

foo_discogs "View Album Art Page" url - http://www.discogs.com/viewimages?what=R&obid=368123 (http://www.discogs.com/viewimages?what=R&obid=368123)
Actual Album Art Page url - http://www.discogs.com/viewimages?release=368123 (http://www.discogs.com/viewimages?release=368123)

Any ideas? I'm very much a newbie at this.


In the configuration panel "Fetch" and "Display preview in release dialogue" are ticked and the directory is set to the default "$directory_path(%path%)".

I'm running a completely fresh install of foobar, on a Win 7 x64 system, and using a static IP address, tried with Chrome and Firefox.


Any help would be greatly appreciated.


Regards
RancidJellyfish


I'm having the same problem - running version 0.23
Title: foo_discogs
Post by: Will Ellis on 2010-06-06 10:26:11
Same problem here. Easy workaround (hopefully in the short term) is to open the files in The Gimp and save them again. This seems to unzip them and renders them useful again.

Would be great if this could get fixed somehow though, as it's a little bit of a faff!

Thanks,
Will
Title: foo_discogs
Post by: Pcpaul on 2010-06-06 15:45:44
The same is here too 
Title: foo_discogs
Post by: harumscarum on 2010-06-06 16:58:46
is AlbumArt issue not fixed yet?
Title: foo_discogs
Post by: mesquite on toast on 2010-06-06 21:21:24
The problem is that the image files are returned as compressed HTTP responses, which return gzipped (.gz) compressed archives by Discogs, and should be uncompressed prior to writing to disk.  That is why you get an archive with a file inside; the archive is gzip format and the file inside is the image that it grabbed!

See this RFC for more information on the compressed HTTP response (gzip compression): http://tools.ietf.org/html/rfc1952 (http://tools.ietf.org/html/rfc1952)
Title: foo_discogs
Post by: vraxoin on 2010-06-06 22:23:17
The problem is that the image files are returned as compressed HTTP responses, which return gzipped (.gz) compressed archives by Discogs, and should be uncompressed prior to writing to disk.  That is why you get an archive with a file inside; the archive is gzip format and the file inside is the image that it grabbed!

See this RFC for more information on the compressed HTTP response (gzip compression): http://tools.ietf.org/html/rfc1952 (http://tools.ietf.org/html/rfc1952)


I wonder why they changed this.  It was working fine before.  I could understand possibly if their reply contained all the requested image files in one archive, but it doesn't.  Seems a bit of a pointless change.
Title: foo_discogs
Post by: RancidJellyfish on 2010-06-07 19:07:33
I'll look at the issue. Probably due to a change on the discogs site side


Many thanks, i'm looking forward to using it.
Title: foo_discogs
Post by: mesquite on toast on 2010-06-08 07:50:03
I wonder why they changed this.  It was working fine before.  I could understand possibly if their reply contained all the requested image files in one archive, but it doesn't.  Seems a bit of a pointless change.

On the Discogs API page (http://www.discogs.com/help/api), it states, Clients must send the "Accept-Encoding: gzip" header. The service will gzip most API responses so your application must be able to decode gzipped data. I don't know if/when this was changed/implemented.

It's pretty much an internet standard at this point; all the major browsers handle it transparently. It's a tradeoff, some slight processing time for a decrease in bandwidth used.
Title: foo_discogs
Post by: geoslake on 2010-06-08 13:17:57
Hi

I have problems with cue+mp3 files. I'd like this component to be able to create cue files from discogs as well, and also to update the cuesheets I already have, but it doens't work (it treats the mp3 as a single song).
Is there a work arround ?

Thanks
Title: foo_discogs
Post by: Pcpaul on 2010-06-08 15:25:06
Hi

I have problems with cue+mp3 files. I'd like this component to be able to create cue files from discogs as well, and also to update the cuesheets I already have, but it doens't work (it treats the mp3 as a single song).
Is there a work arround ?

Thanks

As far as cue-sheet updating is concerned it does it without any problems. Just simply load your cue-sheet in foobar then highlight all tracks right-click choose tagging then discogs and then write tags that's it
Title: foo_discogs
Post by: AltyUK on 2010-06-10 17:25:56
Hi, I'm new to using foobar.  I was wandering if this mod will include album art any time soon?  (other than that it's a great mod!), otherwise is there any other mod that will allow me to collect album art?

Cheers, Will
Title: foo_discogs
Post by: vraxoin on 2010-06-10 18:17:47
Hi, I'm new to using foobar.  I was wandering if this mod will include album art any time soon?  (other than that it's a great mod!), otherwise is there any other mod that will allow me to collect album art?

Cheers, Will


Well, up until a few days ago the album art feature was working just fine.  I haven't found anything that I use or like as much.  I've tried using MusicBrainz Picard to fill in until this is fixed, but it seems to pull very little album art for the titles I'm tagging, which makes it mostly useless to me, but YMMV.  Hopefully foo_discogs will be back to its normal, awesome self soon.
Title: foo_discogs
Post by: B.A.L. on 2010-06-11 00:05:57
Hi all. I'm also new to foobar2000 (I'm using it especially for the Discogs plugin), but I'm running into some problems. See, the thing is, in my whole MP3 vinyl collection, the ARTIST tag is filled with the LABEL info. This so I can browse my collection in iPod easily, by just selecting genre, then a label, and going to the release that I want (how is the rest of the world doing this?). So what I want to do, is that foo_discogs knows that the artist tag actually is the label tag, so that finding the correct release, and downloading the album art (when thats functioning again) will be a piece of cake. I think this shouldn't be too hard, but I can't find it in the configuration anywhere. I think it should be doable if I can just edit the .dll, but I don't know wich app (i'm on OSX btw) I can use to read/edit it. Can anyone give me some hints on how I can effectively use foo_discogs?
Title: foo_discogs
Post by: RancidJellyfish on 2010-06-11 06:50:53
Hi all. I'm also new to foobar2000 (I'm using it especially for the Discogs plugin), but I'm running into some problems. See, the thing is, in my whole MP3 vinyl collection, the ARTIST tag is filled with the LABEL info. This so I can browse my collection in iPod easily, by just selecting genre, then a label, and going to the release that I want (how is the rest of the world doing this?). So what I want to do, is that foo_discogs knows that the artist tag actually is the label tag, so that finding the correct release, and downloading the album art (when thats functioning again) will be a piece of cake. I think this shouldn't be too hard, but I can't find it in the configuration anywhere. I think it should be doable if I can just edit the .dll, but I don't know wich app (i'm on OSX btw) I can use to read/edit it. Can anyone give me some hints on how I can effectively use foo_discogs?


Not sure, just type the Artist in on the Find Release dialogue.
Title: foo_discogs
Post by: garrapeta on 2010-06-11 17:40:01
Hi.
Forget about editing the .dll, it's a binary file and only robots could do that (outsourced and badly payed coders also).

You could do this:

Right click over song file -> tagging -> discogs -> Edit tag Mappings
In that dialog select "Label".
Change the "Map to:" value from "PUBLISHER" to "ARTIST".

That way, everytime you fill the tag data usinf foo_discogs it will write the name of the label to the artist tag.
If you don't want to lose the real value of the artist, you could
Change the "Map to:" value from "ARTIST" to a custom tag, such as "REAL_ARTIST" o "ARTIST_BACKUP" or whatever.


If you want Foobar to show you the right values in the colums, you could:

Right click over the headers of the colums in discogs
Colums -> More...
And in that dialog you could change the columns mappings to suite the trick you have done.

I don't know how you "right click" on Mac, but you will know for sure.

... the real question here is:
¿Why does'nt modern MP3 players and mobile phones let you browse by "label"??
¿Why don't they let you at least browse by folder?
grrrrrrrr
Title: foo_discogs
Post by: AltyUK on 2010-06-11 19:55:15
Hi, I'm new to using foobar.  I was wandering if this mod will include album art any time soon?  (other than that it's a great mod!), otherwise is there any other mod that will allow me to collect album art?

Cheers, Will


Well, up until a few days ago the album art feature was working just fine.  I haven't found anything that I use or like as much.  I've tried using MusicBrainz Picard to fill in until this is fixed, but it seems to pull very little album art for the titles I'm tagging, which makes it mostly useless to me, but YMMV.  Hopefully foo_discogs will be back to its normal, awesome self soon.



hi, thanks this is good to know that it's a recent problem and that it would, I assume, be getting a fix soon.  I'll just hold on then.
Title: foo_discogs
Post by: B.A.L. on 2010-06-11 19:57:46
Manually typing Artist in the Find Release dialogue would do the trick, but doing that for my whole release would be a hell of a job...thx for the hint tough!

And mapping the inputs and getting the columns right is no biggie, but I want foobar to search by label instead of artist so selecting the releases will be a lot easier...is there any option for that?

And yes, I hate it that iTunes/iPod have no functionality for a Label tag. I've gotten used to not being able to browse by folder, actually once you get over the fact that it always sucks to change the way you work, it's actually quite nice to just deal with the id3 tags and not having to deal with which track is where in what folder anymore. But I'm really missing a way to browse by label, since now I have to basically abuse id3 tags to meet my needs...not what I want.

Ideally, foo_discogs will search for the label that is in the artist tag, show all releases by that label, then I would select the corresponding release, and then foo_discogs would combine the catalog_id and the release title to form a combined album tag, which is also the way it is tagged now. I think there is no way to do that with the current foo_discogs, but I could try and program it myself, doesn't seem like a big change..hell, I'm gonna download the source code and see if I can get somewhere, I'll keep you guys posted.
Title: foo_discogs
Post by: RancidJellyfish on 2010-06-11 20:11:16
Manually typing Artist in the Find Release dialogue would do the trick, but doing that for my whole release would be a hell of a job...thx for the hint tough!

And mapping the inputs and getting the columns right is no biggie, but I want foobar to search by label instead of artist so selecting the releases will be a lot easier...is there any option for that?

And yes, I hate it that iTunes/iPod have no functionality for a Label tag. I've gotten used to not being able to browse by folder, actually once you get over the fact that it always sucks to change the way you work, it's actually quite nice to just deal with the id3 tags and not having to deal with which track is where in what folder anymore. But I'm really missing a way to browse by label, since now I have to basically abuse id3 tags to meet my needs...not what I want.

Ideally, foo_discogs will search for the label that is in the artist tag, show all releases by that label, then I would select the corresponding release, and then foo_discogs would combine the catalog_id and the release title to form a combined album tag, which is also the way it is tagged now. I think there is no way to do that with the current foo_discogs, but I could try and program it myself, doesn't seem like a big change..hell, I'm gonna download the source code and see if I can get somewhere, I'll keep you guys posted.


Sounds cool, while you're at it, mind taking a look at the album art code?
Title: foo_discogs
Post by: Vittorio on 2010-06-12 09:56:45
Hi, I have the same problem with Album Art, it says "unsupported file or damaged...blah blah..."

Win XP Pro SP3 and I found the GDI file in those directories:
Code: [Select]
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.0.0_x-ww_8d353f13\GdiPlus.dll
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.2180_x-ww_522f9f82\GdiPlus.dll
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.3264_x-ww_81327f48\GdiPlus.dll
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.5512_x-ww_dfb54e0c\GdiPlus.dll
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.6001.22319_x-ww_f0b4c2df\GdiPlus.dll

Should I copy the DLL too foobar directory or is that OK?

Besides, is there any fix in progress?
Title: foo_discogs
Post by: B.A.L. on 2010-06-12 19:24:22
Alright, thinking I could just edit the source to fit my needs was a stupid idea. I'm kinda in over my head here. Think I might need to figure out a different way around this...ah well!
Title: foo_discogs
Post by: vraxoin on 2010-06-14 23:39:16
Any news regarding the album art handling fix?
Title: foo_discogs
Post by: 2E7AH on 2010-06-15 09:16:30
here is some sami-automation for foo_run in the meantime:

da.bat
Code: [Select]
if exist %1\7z.exe cd %2 && for %%v in (%3*) do (%1\7z.exe e "%%v"
if exist "%%~nv" del "%%v" && ren "%%~nv" "%%~nv.jpg")

usage if not obvious: place it in foobar folder (or call it from elsewhere) in foo_run service, like this:
[font= "Courier New"]cmd /c "da.bat "C:\Program Files\7-Zip" "$directory_path(%path%)" cover"[/font]

first argument is 7z.exe folder, second is album art directory, and third is album art file prefix

(http://imagebin.ca/img/9eL3S0E.png)

i.e. if file prefix was %album%, then foo_run service should look like:
[font= "Courier New"]cmd /c "da.bat "C:\Program Files\7-Zip" "$directory_path(%path%)" "%album%""[/font]

[edit] changed order of agruments
Title: foo_discogs
Post by: vraxoin on 2010-06-15 15:39:24
Ah, nice, thank you!
Title: foo_discogs
Post by: arabeh on 2010-06-15 19:33:44
here is some sami-automation for foo_run in the meantime:

doesn't work for me 
i've made C:\da.bat file and calling it with foo_run as you suggested [cmd /c "da.bat "C:\Program Files\7-Zip" "$directory_path(%path%)" cover"], the black window opens and closes, but no changes . i have the latest 7zip installed. may be it's windows 7 related problem... 
Title: foo_discogs
Post by: 2E7AH on 2010-06-15 20:24:06
it clearly says: place it in foobar folder (or call it from elsewhere)

in your example it should be:
[font= "Courier New"]cmd /c "C:\da.bat "C:\Program Files\7-Zip" "$directory_path(%path%)" cover"[/font]

if you want window to stay open run it with cmd /k

and if user is not familiar with batch scripts better skip this script
Title: foo_discogs
Post by: arabeh on 2010-06-15 22:24:30
it clearly says: place it in foobar folder (or call it from elsewhere)

in your example it should be:
[font= "Courier New"]cmd /c "C:\da.bat "C:\Program Files\7-Zip" "$directory_path(%path%)" cover"[/font]

if you want window to stay open run it with cmd /k

and if user is not familiar with batch scripts better skip this script

still doesn't work, and yes batch scripts strange for me.
i've managed to do this by creating 3 buttons, with foo_run scripts assigned:
1)"C:\Program Files\winrar\WinRAR.exe" x "$replace(%_path%,%_filename_ext%,)cover*.jpg" "$replace(%_path%,%_filename_ext%,)"
2)cmd /c del "$replace(%_path%,%_filename_ext%,)cover*.jpg"
3)cmd /c ren "$replace(%_path%,%_filename_ext%,)cover*" cover*.jpg

not quite optimal though..
Title: foo_discogs
Post by: frozenspeed on 2010-06-26 14:35:31
Where's the source for 1.23? All I see is the source for 1.22
Title: foo_discogs
Post by: AltyUK on 2010-07-02 16:23:04
Shame no one is here to get this working, I can't imagine it being too hard a fix.
Title: foo_discogs
Post by: bubbleguuum on 2010-07-02 21:03:23
Shame no one is here to get this working, I can't imagine it being too hard a fix.



Indeed, finally a fix, sorry for the long wait (first post to download):

1.24
-----

- fix: unzip album/artist art on retrieval
- compiled against newer SDK on VS2010
Title: foo_discogs
Post by: vraxoin on 2010-07-02 21:10:19
*HUG*
Title: foo_discogs
Post by: Parsi on 2010-07-02 23:09:34
thank you, the images downloader thing made me stop tagging
now I can continue
Title: foo_discogs
Post by: Cablespider on 2010-07-03 00:52:05
Thanks bubbleguuum!
Title: foo_discogs
Post by: nothingface0 on 2010-07-03 12:10:05
Thank you SO much!
Title: foo_discogs
Post by: _oao on 2010-07-04 14:03:40
everything looks to be working now.
thanks for the update! 
Title: foo_discogs
Post by: SpaceAgeHero on 2010-07-04 14:39:31
%format% is not written as multi-value tag for me. Can anyone confirm this?
Not really a big deal but still wanted to report this.
Title: foo_discogs
Post by: AltyUK on 2010-07-07 18:30:25
Awesome, works great!  Thanks
Title: foo_discogs
Post by: silkcut on 2010-07-13 19:43:36
Hi.  First off, love the plugin!  I am having some problems with the album artwork.  I have it set to download all artwork.  Usually, the main image / front cover is named folder.jpg and everything is fine.  On some releases it chooses to name the *last* image on Discogs, folder.jpg and the main image folder_2.jpg.  For example, I tagged this release, http://www.discogs.com/viewimages?release=1721 (http://www.discogs.com/viewimages?release=1721), and the bottom image was called folder.jpg instead of the top image.  Can anyone help?  Thanks!
Title: foo_discogs
Post by: arth on 2010-07-19 19:27:36
I have a problem getting started with foo_discogs

The situation is this:
foobar2000 v 1.0.3
discogs v 1.24
Windows 7 Ultimate, 64-bit
Default browser: Firefox 3.6

I can right-click an album and select the tagging menu and discogs submenu, and choose "Write ...".
That brings up a new window, and I can either check the auto box, or manually change the artist name and submit.
That brings up a new window saying it's fetching from discogs
42 seconds later, this window disappears.  And nothing else changes.  Nothing gets filled in.  No errors.  Nothing in foobar2000's console.
The same happens no matter what artist I try to search for -- the window pops up, and 42 seconds later, disappears.

Thinking it might have been a transient network error, I tried again on three subsequent days.  No change.
Searching the same artists on discogs web site returns plenty of info.

Is there a way to turn on debugging or logging, to see what happens?
Title: foo_discogs
Post by: bubbleguuum on 2010-07-19 20:59:10
Hi.  First off, love the plugin!  I am having some problems with the album artwork.  I have it set to download all artwork.  Usually, the main image / front cover is named folder.jpg and everything is fine.  On some releases it chooses to name the *last* image on Discogs, folder.jpg and the main image folder_2.jpg.  For example, I tagged this release, http://www.discogs.com/viewimages?release=1721 (http://www.discogs.com/viewimages?release=1721), and the bottom image was called folder.jpg instead of the top image.  Can anyone help?  Thanks!


There you have it (first post to download or use autoupdate if using fb 1.1 beta):

1.25
-----

- download primary image for album and artist art before secondary ones



I have a problem getting started with foo_discogs

I can right-click an album and select the tagging menu and discogs submenu, and choose "Write ...".
That brings up a new window, and I can either check the auto box, or manually change the artist name and submit.
That brings up a new window saying it's fetching from discogs
42 seconds later, this window disappears.  And nothing else changes.  Nothing gets filled in.  No errors.  Nothing in foobar2000's console.
The same happens no matter what artist I try to search for -- the window pops up, and 42 seconds later, disappears.


If you have a firewall (especially ZoneAlarm) or a security suite, try to disable it temporily. It may block http requests asking for gzipped content.

What is the latest text displayed in the window before it disappear ?
Title: foo_discogs
Post by: silkcut on 2010-07-21 18:45:33
There you have it (first post to download or use autoupdate if using fb 1.1 beta):

1.25
-----

- download primary image for album and artist art before secondary ones


Many thanks bubbleguuum! 
Title: foo_discogs
Post by: kabuki on 2010-07-21 23:01:39
hi bubbleguuum

as i would say in my country : "Who doesn't try would get nothing" (= "nothing ventured, nothing gained")
and when an image can be more expressive than an approximate english

(http://img7.imageshack.us/img7/8108/discogs.jpg)

do you think that "Presets" could have some interest?
I can be more specific if you need.

Anyway, thanks you for your work, your activity and reactivity (keeping alive this component after all those years)
Cheers

Title: foo_discogs
Post by: 2E7AH on 2010-07-25 10:09:38
I noticed yesterday that this release: http://www.discogs.com/Lisa-Gerrard-Marcel...release/2363084 (http://www.discogs.com/Lisa-Gerrard-Marcello-De-Francisci-Departum/release/2363084) isn't listed in foo_discogs, thou exists on discogs web page, and today also this release: http://www.discogs.com/Steve-Roach-Sigh-Of...release/2361691 (http://www.discogs.com/Steve-Roach-Sigh-Of-Ages/release/2361691)

I guess problem is on their side, as I checked XML response and really in both releases they are not existent in the response, but seems fine in browser like any regular release. Released this month, but I don't think that server needs days so that they can appear through web service. So why could this be? Or maybe I should ask in their forums?
Title: foo_discogs
Post by: frogworth on 2010-07-25 15:47:43
I guess problem is on their side, as I checked XML response and really in both releases they are not existent in the response, but seems fine in browser like any regular release. Released this month, but I don't think that server needs days so that they can appear through web service. So why could this be? Or maybe I should ask in their forums?


Releases don't get shown via the API until they have votes. You'll see that those ones are too new to have received votes yet.
You can, however, still get the data out of the API if you put the Discogs release ID in directly (bottom right hand field in the Discogs tagger window).
Title: foo_discogs
Post by: 2E7AH on 2010-07-25 16:01:37
OK, thanks for the info

May I suggest something that I'm sure developer would not like, but would make happy even more users, and that's users with new releases: If release has current release year and does not exist in XML response but some data exists about the author (as initially checked), one more try with HTTP parsing?

I hope it doesn't sound too demanding thou I wouldn't bet on this however fine it may seem. But I know karma will bring it back

[edit] HTTP is not very clear, I meant not XML but put regex or simple find in optional HTML response 
/ it's not that awful how it may sound /
Title: foo_discogs
Post by: g725s on 2010-07-28 04:19:28
When you use this program where is it writing the tagging info?  I have gotten album art and see the files in my albums folder with the .flac files.  But when you tag is it writting info to my exsisting .flac track files?

It also looks like it rewrote the folder name of the folder where I had the tracks.  Since I am ripping my CDs as .flac tracks with EAC and saving a Noncompliant CUE will this affect the CUE ability to work as it did?

I just want the art work, I don't want this program to rewrite what I have written as the names of the album.  I got arttwork for The Beatles Anthology 3, but had it named Anthology 3 disc 1 and it just delted the disc 1 text.
Title: foo_discogs
Post by: g725s on 2010-07-28 06:17:45
I've use this on four albums now and each time I seem to get art but am always getting this error.

Error:
There were some errors.
Look in foobar's console for details.


I see in the console that it looks like files did not come through but I do get album art.

Also changes album name from that which I named it when I ripped it.
Title: foo_discogs
Post by: bubbleguuum on 2010-07-29 12:24:01
I just want the art work, I don't want this program to rewrite what I have written as the names of the album.  I got arttwork for The Beatles Anthology 3, but had it named Anthology 3 disc 1 and it just delted the disc 1 text.


In the configure tag mappings dialog, uncheck "write tag" for every tag in the list
Title: foo_discogs
Post by: kabuki on 2010-07-29 13:05:52
In the configure tag mappings dialog, uncheck "write tag" for every tag in the list
for "every tag" and one by one. And if the next time you want more than only the covers, you'll have to check "every tag", one by one.
it is one of the reasons i've suggested this (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50523&view=findpost&p=715024)

The main purpose of presets would be to save and recall which tag are checked or not.
e.g:
Preset 1: Default Mapping
Preset 2: All uncheck (for covers)
Preset 3: (User's definition, e.g:) classic tags, without discogs
Preset 4: (User's definition, e.g:) only track credits, album comment... etc...
etc...

bad idea? too complicated to implement? nonsense? usefull?
Title: foo_discogs
Post by: bubbleguuum on 2010-07-29 14:45:32
bad idea? too complicated to implement? nonsense? usefull?


It would be very useful indeed although I'm not going to implement it myself
Title: foo_discogs
Post by: kabuki on 2010-07-29 14:54:02
I'm not going to implement it myself
If I had skill for anything more than Titleformat abuse for skinning, I would had tried to make it. Ok, anyway, thanks for answer and maintaining this component up.
Title: foo_discogs
Post by: joerenegade on 2010-07-29 23:07:55
Would there be any way to use index tracks for tagging? For example, see http://www.discogs.com/Symphony-X-The-Odyssey/release/531742 (http://www.discogs.com/Symphony-X-The-Odyssey/release/531742).

This would also help tagging files that are mixes of individual tracks (ie. continuous mixes). In addition, if a track is part of an index track, it would helpful for future reference (ie. file moving operations) to have an identifier describing it.

A simple way that I thought of would be as follows:

Using the discogs release above, we have the following tracklisting (i'm going to self-reference tracks with the first number. the second number is the track number in discogs itself):

1 - 1: Inferno (Unleash The Fire)   
2 - 2: Wicked
3 - 3: Incantations Of The Apprentice
4 - 4: Accolade II    
5 - 5: King Of Terrors   
6 - 6: The Turning   
7 - 7: Awakenings
8 - The Odyssey
9 -      8a: -Part I: Odysseus' Theme / Overture       
10 -    8b: -Part II: Journey To Ithaca
11 -    8c: -Part III: The Eye       
12 -    8d: -Part IV: Circe (Daughter And Son)       
13 -    8e: -Part V: Sirens       
14 -    8f: -Part VI: Scylla And Charybdis       
15 -    8g: -Part VII: The Fate Of The Suitors / Champion Of Ithaca

Track #8 is the index track and tracks 9-15 are the subtracks. My idea would be that a file can be assigned to an index track or any of its subtracks.

If a file is assigned to a subtrack, a field called DISCOGS_IDX_TITLE should be set. In this example, tracks 9-10 should have the field DISCOGS_IDX_TITLE set to "The Odyssey" and maybe even a field of the track # itself.

This can be extremely helpful when tagging multi-disc releases (ie. the cd name, if any, is always given as an index track).




Thanks again!

Title: foo_discogs
Post by: g725s on 2010-07-30 21:43:41
I just want the art work, I don't want this program to rewrite what I have written as the names of the album.  I got arttwork for The Beatles Anthology 3, but had it named Anthology 3 disc 1 and it just delted the disc 1 text.


In the configure tag mappings dialog, uncheck "write tag" for every tag in the list



Did it rewrite to my original .flac tracks or files that I made with EAC?  Or is this "tag" something that just the program keeps it's own file for?  I notice that it did change the name of the album in Foobar2000 but in the folder where I store my music it is still the same as before.
Title: foo_discogs
Post by: bubbleguuum on 2010-07-30 22:33:51
Would there be any way to use index tracks for tagging? For example, see http:
...
This can be extremely helpful when tagging multi-disc releases (ie. the cd name, if any, is always given as an index track). (http://"http://www.discogs.com/Symphony-X-The-Odyssey/release/531742")


Your proposal makes sense and I may implement it, but I want to know first if other people are interested in this way of handling index tracks.


Did it rewrite to my original .flac tracks or files that I made with EAC?  Or is this "tag" something that just the program keeps it's own file for?  I notice that it did change the name of the album in Foobar2000 but in the folder where I store my music it is still the same as before.


Tagging files alter  the files but if you uncheck all tag writes as I suggested your file won't be changed.
Title: foo_discogs
Post by: g725s on 2010-07-31 09:26:22
Did it rewrite to my original .flac tracks or files that I made with EAC?  Or is this "tag" something that just the program keeps it's own file for?  I notice that it did change the name of the album in Foobar2000 but in the folder where I store my music it is still the same as before.


Tagging files alter  the files but if you uncheck all tag writes as I suggested your file won't be changed.


OK I did uncheck all the tagging options by right clicking All Music > Tagging > Discogs > Edit Tag Mappings...

Now the Albums that were tagged by Discogs, is there an easy way to reverse the tagging that Discogs did?

Or maybe this is a question I should ask in the General Foobar2000 forum...
Title: foo_discogs
Post by: Eli on 2010-08-02 03:23:44
bubbleguuum,
How does the plugin search discogs? I am not sure if this question is clear enough, but most meta-data services have ways to identify a CD. Discogs doesn't, so how do you search discogs?
Title: foo_discogs
Post by: mrand01 on 2010-08-06 01:26:16
http://www.discogs.com/Buckethead-Brain-Me...release/2377071 (http://www.discogs.com/Buckethead-Brain-Melissa-Best-Regards/release/2377071)

Having issues with this release, it's not showing any track titles.  Is there something weird with the way this was entered into Discogs?
Title: foo_discogs
Post by: SpaceAgeHero on 2010-08-06 05:19:54
Having issues with this release, it's not showing any track titles.  Is there something weird with the way this was entered into Discogs?


What exactly do you mean? All the tracks are listed as "Untitled" on discogs because there is obviously no title information for this release.
Title: foo_discogs
Post by: bubbleguuum on 2010-08-06 10:01:43
bubbleguuum,
How does the plugin search discogs? I am not sure if this question is clear enough, but most meta-data services have ways to identify a CD. Discogs doesn't, so how do you search discogs?


The plugin searches by artist, then list the releases of that artist. Note that this is not the only way to search on discogs: you can search album names if you want
But there no way to lookup an entry by a CD indentifier.

http://www.discogs.com/Buckethead-Brain-Me...release/2377071 (http://www.discogs.com/Buckethead-Brain-Melissa-Best-Regards/release/2377071)

Having issues with this release, it's not showing any track titles.  Is there something weird with the way this was entered into Discogs?


The returned XML for this release contains no tracklisting, so this is a discogs bug.
Title: foo_discogs
Post by: mrand01 on 2010-08-07 06:01:01
Having issues with this release, it's not showing any track titles.  Is there something weird with the way this was entered into Discogs?


What exactly do you mean? All the tracks are listed as "Untitled" on discogs because there is obviously no title information for this release.


No, I mean when I run that release ID through the plugin, no tracks are recognized in the data from discogs.  Not just titles, but the information itself...
Title: foo_discogs
Post by: mrguy on 2010-08-11 06:42:04
I got foo_discogs so I could get album art,
When I use foo_discogs to get art, it downloads the art, but in the "album art viewer" tab, the message Unsupported format or corrupted file is always displayed... 

Help?
Title: foo_discogs
Post by: bubbleguuum on 2010-08-11 10:26:09
I got foo_discogs so I could get album art,
When I use foo_discogs to get art, it downloads the art, but in the "album art viewer" tab, the message Unsupported format or corrupted file is always displayed...


Upgrade to foo_discogs 1.25 which corrects a bug of previous versions that were retrieving corrupted album art. Unfortunately that won't fix the existing corrupted files. You may want to try this script that scan and fixes the corrupted files:

http://www.hydrogenaudio.org/forums/index....;hl=foo_discogs (http://www.hydrogenaudio.org/forums/index.php?showtopic=82267&hl=foo_discogs)
Title: foo_discogs
Post by: mrguy on 2010-08-11 10:50:12
Upgrade to foo_discogs 1.25 which corrects a bug of previous versions that were retrieving corrupted album art. Unfortunately that won't fix the existing corrupted files. You may want to try this script that scan and fixes the corrupted files:

http://www.hydrogenaudio.org/forums/index....;hl=foo_discogs (http://www.hydrogenaudio.org/forums/index.php?showtopic=82267&hl=foo_discogs)

I only really started using foobar 2 days ago...so I guess the link I used for foo_discogs was outdated.

I don't need to bother using that scrip to fix the corrupted art as I only tried it with 3 things
Title: foo_discogs
Post by: joerenegade on 2010-08-16 06:47:32
Hey again. I'm currently tagging my entire music collection with foo_discogs and I have another suggestion or two that should be easy to implement.

1) Allow the option of seeing the discogs track position in the release dialog. Right now, it only shows this for vinyl releases. It would make tagging multi-disc releases a lot easier if this were the case.

2) Allow the option to save the track length specified in the discogs database (if any) as a tag and/or show the track length in the release dialog of both the discogs entries and the files. I often have to compare track lengths to determine which track belongs to which release (if the track has been released under different releases).

While I'm at it, it might eventually be a good idea to have an option where the user can specify a titleformat string for the entries in the release dialogue. just a suggestion.

I appreciate your work on this awesome plugin. It's finally allowing me to actually organize my music.

On a side note, if you can use a hand or two, I have programmed before in C++ although not extensively. (I used to do web developement mainly in perl and PHP but occasionally I would write a c++ binary for speed improvements).

Thanks again,
Joe
Title: foo_discogs
Post by: EagleScout1998 on 2010-08-23 23:10:27
Is anyone else having problems with foo_discogs not retrieving information?
Title: foo_discogs
Post by: RancidJellyfish on 2010-08-23 23:11:28
Yup
Title: foo_discogs
Post by: vraxoin on 2010-08-24 05:10:28
Same here.  Waiting to see who's side the problem is on.  I had some trouble searching on the Discogs site, so maybe it's just a temp problem.  *fingers crossed*
Title: foo_discogs
Post by: shakey_snake on 2010-08-24 05:39:13
Well, I couldn't get it to find a release I was tagging, but adding the release ID number manually got it to gather the information.
Title: foo_discogs
Post by: vraxoin on 2010-08-24 07:40:58
Well, I couldn't get it to find a release I was tagging, but adding the release ID number manually got it to gather the information.


That's what I ended up doing.  Tried fb2k 1.0.3 and 1.1 just for kicks.  I don't know why this seems to happen when I have the greatest amount of tagging to do.    Ah well...
Title: foo_discogs
Post by: EagleScout1998 on 2010-08-24 08:05:09
Well, I couldn't get it to find a release I was tagging, but adding the release ID number manually got it to gather the information.


That's what I ended up doing also (thanks for the tip). It's annoying having to manually search for the release ID number.
Title: foo_discogs
Post by: Chris Norman on 2010-08-24 17:57:56
Not working here either
Title: foo_discogs
Post by: Chris Norman on 2010-08-24 18:38:06
Would there be any way to use index tracks for tagging? For example, see ...
...
This can be extremely helpful when tagging multi-disc releases (ie. the cd name, if any, is always given as an index track).

Your proposal makes sense and I may implement it, but I want to know first if other people are interested in this way of handling index tracks.

I don't know if i got the idea but I found Index tags always difficult to handle while using foo_discogs.

My workaround is to manually delete the "surplus" tracks in the release preview screen and only to leave the first one. Afterwards I renamed this track accordingly.

Example:

(Confusing) example: Kyuss (http://www.discogs.com/release/376999)

I prefer to have the track titles like:

[01] I: Gardenia / Asteroid / Supa Scoopa and Mighty Scoop (17:46)
[02] II: 100° / Space Cadet / Demon Cleaner (14:51)
[03] III: Odyssey / Conan Troutman / N.O. / Whitewater (18:19)
[04] Lick Doo (0:58)

At discogs it looks like that:

   I (17:46)
1a         Gardenia       
1b         Asteroid       
1c         Supa Scoopa And Mighty Scoop       
     II (14:51)
2a         100 Degrees       
2b         Space Cadet       
2c         Demon Cleaner       
     III (18:19)
3a         Odyssey       
3b         Conan Troutman       
3c         N.O.       
3d         Whitewater       
     - (0:58)
4         Lick Doo

It would be a fine feature if discogs could "collapse" the index tracks acordingly, but I don't know how this could be achieved.
Title: foo_discogs
Post by: vraxoin on 2010-08-24 18:51:22
Would there be any way to use index tracks for tagging? For example, see ...
...
This can be extremely helpful when tagging multi-disc releases (ie. the cd name, if any, is always given as an index track).

Your proposal makes sense and I may implement it, but I want to know first if other people are interested in this way of handling index tracks.

I don't know if i got the idea but I found Index tags always difficult to handle while using foo_discogs.

My workaround is to manually delete the "surplus" tracks in the release preview screen and only to leave the first one. Afterwards I renamed this track accordingly.

Example:

(Confusing) example: Kyuss (http://www.discogs.com/release/376999)

I prefer to have the track titles like:

[01] I: Gardenia / Asteroid / Supa Scoopa and Mighty Scoop (17:46)
[02] II: 100° / Space Cadet / Demon Cleaner (14:51)
[03] III: Odyssey / Conan Troutman / N.O. / Whitewater (18:19)
[04] Lick Doo (0:58)

At discogs it looks like that:

   I (17:46)
1a         Gardenia       
1b         Asteroid       
1c         Supa Scoopa And Mighty Scoop       
     II (14:51)
2a         100 Degrees       
2b         Space Cadet       
2c         Demon Cleaner       
     III (18:19)
3a         Odyssey       
3b         Conan Troutman       
3c         N.O.       
3d         Whitewater       
     - (0:58)
4         Lick Doo

It would be a fine feature if discogs could "collapse" the index tracks acordingly, but I don't know how this could be achieved.


Yeah, I agree.  If it's possible, this would be a cool feature.

Also, plugin still isn't pulling data.  I'm going to assume that Discogs has changed something once again.
Title: foo_discogs
Post by: bubbleguuum on 2010-08-24 19:11:19
discogs.com is overloaded today and thus the plugin timeout sometimes at getting data.
So be patient until they get up to speed again.
Title: foo_discogs
Post by: vraxoin on 2010-08-24 19:30:23
discogs.com is overloaded today and thus the plugin timeout sometimes at getting data.
So be patient until they get up to speed again.


Thanks.  Can't live without my beloved foo_discogs. 
Title: foo_discogs
Post by: Sandrine on 2010-08-24 19:50:25
IMHO that doesn't depend on Discogs but on the way the tracks are implemented on the disc. If they have track markers, Discogs will show them as separate tracks and if it's a single track, only distinguished by subtitles on the sleeve, Discogs will have a single track in their db accordingly.

I prefer to have the track titles like:

[01] I: Gardenia / Asteroid / Supa Scoopa and Mighty Scoop (17:46)
[02] II: 100° / Space Cadet / Demon Cleaner (14:51)
[03] III: Odyssey / Conan Troutman / N.O. / Whitewater (18:19)
[04] Lick Doo (0:58)

At discogs it looks like that:

   I (17:46)
1a         Gardenia       
1b         Asteroid       
1c         Supa Scoopa And Mighty Scoop

Title: foo_discogs
Post by: vraxoin on 2010-08-24 22:38:02
IMHO that doesn't depend on Discogs but on the way the tracks are implemented on the disc. If they have track markers, Discogs will show them as separate tracks and if it's a single track, only distinguished by subtitles on the sleeve, Discogs will have a single track in their db accordingly.


Unfortunately, that's not the case.  For example, there's Lustmord's "The Place Where The Black Stars Hang (http://www.discogs.com/Lustmord-The-Place-Where-The-Black-Stars-Hang/release/2085068)".  I have that exact release and it's one single track.  For some reason, they even mention this in the notes, but yet it exists as if it was indexed.  There are 3 other versions of the album, but they all have discrete tracks.  That's only one example, but I've encountered many more.  The fortunate part is that it's an extremely small fraction of the total tracks that I tag.
Title: foo_discogs
Post by: EagleScout1998 on 2010-08-24 22:51:56
Seems to be working now. . . .
Title: foo_discogs
Post by: vraxoin on 2010-08-24 22:57:10
Confirmed.  Seems to be fine. 
Title: foo_discogs
Post by: lokioki on 2010-08-26 16:16:51
http://www.discogs.com/artist/Rosetta+%282%29 (http://www.discogs.com/artist/Rosetta+%282%29) < When trying to find this artist it finds everything else, but not this.

Also when trying to find "Trap Them" it finds someone called Chris Maggio.

Why does this problem still exist ? (finding wrong artists even when the artist(s) I am trying to find are in the discogs' db.) It has been there for ages, the bug I mean.
Title: foo_discogs
Post by: bubbleguuum on 2010-08-26 18:48:36
http://www.discogs.com/artist/Rosetta+%282%29 (http://www.discogs.com/artist/Rosetta+%282%29) < When trying to find this artist it finds everything else, but not this.

Also when trying to find "Trap Them" it finds someone called Chris Maggio.

Why does this problem still exist ? (finding wrong artists even when the artist(s) I am trying to find are in the discogs' db.) It has been there for ages, the bug I mean.



Because there's a new bug from discogs: they don't return exact matches. See http://www.discogs.com/help/forums/topic/216722 (http://www.discogs.com/help/forums/topic/216722)
Hopefully this will be fixed


Title: foo_discogs
Post by: lokioki on 2010-08-27 11:18:31
Oh shit... ;_;
Title: foo_discogs
Post by: lokioki on 2010-08-28 06:55:32
Another bug: I was searching tags for Swedish Shining's V - Halmstad album. It found the artist and album, when I clicked the album V - Halmstad and started checking if everything was right the artist had been changed to "Toolbox".
Title: foo_discogs
Post by: bubbleguuum on 2010-08-28 10:09:15
Another bug: I was searching tags for Swedish Shining's V - Halmstad album. It found the artist and album, when I clicked the album V - Halmstad and started checking if everything was right the artist had been changed to "Toolbox".


if you used http://www.discogs.com/Shining-V-Halmstad/release/1021907 (http://www.discogs.com/Shining-V-Halmstad/release/1021907) as the release this is normal. Notice the separate track artists, they take over the main artist (which becomes album artist).

the CD release do not have these separate track artists: http://www.discogs.com/Shining-V-Halmstad/master/57285 (http://www.discogs.com/Shining-V-Halmstad/master/57285)
Title: foo_discogs
Post by: Rabbit212 on 2010-09-01 11:36:50
Hi, I also have one question if I may please for answer:

Does exsist any list of letters (charachters / symbols / anything else that does't belong to english alphabet) from where I could see with which new letter (charachter,...) does the plugin changes old, so called ''not accepted by windows OS'', letter?
Here is example of list, to show what I mean with random chosen 5 entries:


Old Letter        ..........              New Letter

    :                ..........                                      ;

    /                ...........                      -

    *                ...........                    x

    ?                ...........          blank (no space given)

    č        .............                  c

Not sure if I wrote the third and fourth one correctly. There are houndreds of different letters / symbols that must be changed if OS (Windows) want to read them. I noticed that plugin don't change them all and what happened to me was that subfolder (folder depth is irrelevant in this case) wasn't readable and therefore I got wrong size, wrong number of folders and wrong files because one (or more) of the files inside that folder contained some symbol similar to " ' " and Windows wasn't able to read it.
So is there any way to get this list with everything (just a few of only most of all wouldn't help) what cannot (and will be replaced) or shouldn't end up in foldername and/or filename? If not; how could I discover this?
Title: foo_discogs
Post by: frogworth on 2010-09-01 14:07:16
Hi, I also have one question if I may please for answer:

Does exsist any list of letters (charachters / symbols / anything else that does't belong to english alphabet) from where I could see with which new letter (charachter,...) does the plugin changes old, so called ''not accepted by windows OS'', letter?


This is independent of foo_discogs. It's a foobar thing, and is in the FAQ here (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:File_operations#Usage_Tips). (See right at the bottom).
Unfortunately it's been changed once or twice. It's something that's annoyed me - I'd rather it was a) the same for all "forbidden" characters, and/or b) customizable by me, but oh well, it's one of those "foobar" things
Title: foo_discogs
Post by: frogworth on 2010-09-01 14:08:39
PS I'm not sure about non-English letters like č. Some are kept, some are transliterated to the nearest roman letter.
Title: foo_discogs
Post by: Rabbit212 on 2010-09-02 21:56:14
and is in the FAQ here (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:File_operations#Usage_Tips). (See right at the bottom).


Thank you for reply but I have seen this already and it isn't useful in my question that I had. I was asking about complete list of ''replacements''. Those kind of charachters can be houndreds and not just 9 as on this FAQ says. Also the data there is wrong because '':'' is replaced with '';'' and not with ''-''.
Many letters / charachters / symbols are missing such as:

?
^
°
?

`
´
¨
?

ž
š

and a lot more.

Is there a way to get a full list of replacements? If not, how could I discover it? Perhaps some other ''3rd party'' software for Windows does this but this doesn't mean foobar does the same.
Title: foo_discogs
Post by: arabeh on 2010-09-03 00:07:29
Would there be any way to use index tracks for tagging? For example, see http:
...
This can be extremely helpful when tagging multi-disc releases (ie. the cd name, if any, is always given as an index track). (http://"http://www.discogs.com/Symphony-X-The-Odyssey/release/531742")


Your proposal makes sense and I may implement it, but I want to know first if other people are interested in this way of handling index tracks.

I would love you forever for that 
Title: foo_discogs
Post by: Rabbit212 on 2010-09-18 09:02:23
I would still like to please for the answer on my question...
Title: foo_discogs
Post by: drumliner on 2010-09-23 22:06:16
Is there a way to combine the parsed info into a single tag? For example I like to have the copyright information stored like this: "Label Name - Catalogue #", which goes in the comment field of an id3 v1 tag and in the copyright field of an id3 v2 if the id3 v1 can't hold all the information. I think the best way would be to assign variable names to various parsed parts and then let the user combine those variables (+fixed text elements) as he pleases into various id3 fields. Something along the lines of:
parsed album artist = %1
parsed track artist = %a
parsed track title = %2
parsed album title = %3
parsed label = %4
parsed catalogue number = %5
parsed track number = %t
etc
Then you'd simply populate the various id3 fields with a default scheme and let the user edit it:
artist field: %1
track field: %2
...
comment: %4 - %5

I think this mapping system would be much more flexible and thus useful than the current one, where, as far as I can see, one simply decides whether to write a value or not and in what field to write it in. As an added bonus this same system could be used to rename files & folders, making it easy to construct even complex file/folder naming formats with all the variables and fixed text elements (ie [%5] %1 - %3\%t - %a - %2).
Title: foo_discogs
Post by: q-stankovic on 2010-09-26 14:09:04
If you write tags and tries to repeat "Write tags ..." then the artist doesn't appear anymore in the search field.
Title: foo_discogs
Post by: arabeh on 2010-09-26 16:53:00
Is there a way to combine the parsed info into a single tag? For example I like to have the copyright information stored like this: "Label Name - Catalogue #", which goes in the comment field of an id3 v1 tag and in the copyright field of an id3 v2 if the id3 v1 can't hold all the information. I think the best way would be to assign variable names to various parsed parts and then let the user combine those variables (+fixed text elements) as he pleases into various id3 fields. Something along the lines of:
parsed album artist = %1
parsed track artist = %a
parsed track title = %2
parsed album title = %3
parsed label = %4
parsed catalogue number = %5
parsed track number = %t
etc
Then you'd simply populate the various id3 fields with a default scheme and let the user edit it:
artist field: %1
track field: %2
...
comment: %4 - %5

I think this mapping system would be much more flexible and thus useful than the current one, where, as far as I can see, one simply decides whether to write a value or not and in what field to write it in. As an added bonus this same system could be used to rename files & folders, making it easy to construct even complex file/folder naming formats with all the variables and fixed text elements (ie [%5] %1 - %3\%t - %a - %2).


you can do this with masstagger.
for example for combining "release notes" and "release credits" i use a four actions script:
1) format value from other fields > dest. field name - comment; formatting pattern:
Code: [Select]
$if($or(%DISCOGS_RELEASE_NOTES%,%DISCOGS_RELEASE_CREDITS%),$if($and(%DISCOGS_RELEASE_NOTES%,%DISCOGS_RELEASE_CREDITS%),Release notes:$crlf()%DISCOGS_RELEASE_NOTES%$crlf()Release credits:$crlf()%DISCOGS_RELEASE_CREDITS%,$if(%DISCOGS_RELEASE_NOTES%,Release notes:$crlf()%DISCOGS_RELEASE_NOTES%,Release credits:$crlf()%DISCOGS_RELEASE_CREDITS%)),%comment%)
2) format value from other fields > dest. field name - comment > formatting pattern:
Code: [Select]
$if(%COMMENT%,$replace(%COMMENT%,;,$crlf()))
3) remove field > DISCOGS_RELEASE_CREDITS
4) remove field > DISCOGS_RELEASE_NOTES

..and, of course, make a button for that
Title: foo_discogs
Post by: bubbleguuum on 2010-09-26 22:01:46
If you write tags and tries to repeat "Write tags ..." then the artist doesn't appear anymore in the search field.



This is the intended bahaviour: it fills the release id field instead and you just have to do "Next" to tag again.
Title: foo_discogs
Post by: q-stankovic on 2010-09-27 20:47:31
This is the intended bahaviour: it fills the release id field instead and you just have to do "Next" to tag again.


Do you know how many times i typed in the name of the artist?   
Thanks!

Edit:
But i still have to do that to reach another set - an album has sometimes several releases (CD, LP, different labels from different countries, ...). Could you make it optional?

Edit2:
Never mind! I just have to remove the disc id.
Title: foo_discogs
Post by: harumscarum on 2010-10-20 12:02:14
please help me to let foo_discogs to download artist art to separate folder for example f:/images/artists/ALBUM ARTIST and create folder from %album artist% automatically on art download
i guest it all could be coded in Configuration - ArtistArt directory
Title: foo_discogs
Post by: Chris Norman on 2010-10-20 20:20:42
Quote
please help me to let foo_discogs to download artist art to separate folder for example f:/images/artists/ALBUM ARTIST and create folder from %album artist% automatically on art download
i guest it all could be coded in Configuration - ArtistArt directory


That would be difficult as there are different artists with the same name (eg. Kiss (1), Kiss (2), ...).

You could use Biography View for the same purpose. It downloads pictures from last.fm and can be configured to write all files with %artist% as filename.
Title: foo_discogs
Post by: harumscarum on 2010-10-22 14:04:36
there is something weird when i Write Tags:
first time everything is ok - there is atris name in Arists field
but if i need to Write Tags one more time - Artists field is empty (so i need to type manually)
it happends only after Write Tags action by Discogs plugin

is it possible to fiix?
thanks
Title: foo_discogs
Post by: harumscarum on 2010-10-25 21:33:50
since today Discogs doesnt show me Releases list
could anyone confirm that?
Title: foo_discogs
Post by: Joffi on 2010-10-25 21:44:16
since about an hour or two ago, confirmed. I used it quite a bit earlier today and it was fine. now, not so much.
Title: foo_discogs
Post by: harumscarum on 2010-10-25 21:58:00
but in only works if provide URL directly in "release id or url" window
Title: foo_discogs
Post by: frozenspeed on 2010-10-25 22:04:21
Confirmed, not getting any release results after the artist search
Title: foo_discogs
Post by: harumscarum on 2010-10-25 23:35:23
look at www.discogs.com - changed design again
Title: foo_discogs
Post by: komhst on 2010-10-26 00:00:51
Confirmed, not getting any release results after the artist search


I don't get any release results too. 
Title: foo_discogs
Post by: comox on 2010-10-26 12:26:58
It's the same here. I'm in good hope, this will get fixed soon.

The discogs plugin is excellent to put your music collection in multiple orders just with a few clicks.  Especially friends of electronic music get access to an enormous catalogue of artists and releases.
Title: foo_discogs
Post by: mdshw5 on 2010-10-26 18:33:36
I have the same problem today.  It's really disappointing that the "API" is dependent on the layout of the main site, since it seems like the implementation of the new artist pages broke the plugin.
Title: foo_discogs
Post by: maur1ce on 2010-10-26 18:35:40
same here, Ive registered as a new user on hydrogenaudio today
just to show my support to the WONDERFUL Discogs plugin, yeah
Title: foo_discogs
Post by: bubbleguuum on 2010-10-26 19:10:34
There's a bug from discogs: the response on artists queries is invalid.
I've notified the site so it should be solved soon.
Title: foo_discogs
Post by: komhst on 2010-10-26 19:26:21
There's a bug from discogs: the response on artists queries is invalid.
I've notified the site so it should be solved soon.


Let's hope it will be solved soon as the discogs plugin is the best one for finding correct information about artists tracks and release year.
Title: foo_discogs
Post by: frogworth on 2010-10-27 08:58:28
Y'all know the workaround though, right?
Open up the Discogs dialog, search for your artist. You get the artists list anyway.
Double click on your artist, which opens up the artist page on Discogs.com. Select the release you want (not the master release), copy the Discogs ID (the number at the end of the URL), and paste it into the "Release id or url" field of the dialog (I guess that implies you can copy and paste the whole URL).
Then you're all good to go. Hit Next, check details, tag your files.
Title: foo_discogs
Post by: mdshw5 on 2010-10-27 16:58:18
Y'all know the workaround though, right?
Open up the Discogs dialog, search for your artist. You get the artists list anyway.
Double click on your artist, which opens up the artist page on Discogs.com. Select the release you want (not the master release), copy the Discogs ID (the number at the end of the URL), and paste it into the "Release id or url" field of the dialog (I guess that implies you can copy and paste the whole URL).
Then you're all good to go. Hit Next, check details, tag your files.



Thanks!  That works great.  Hopefully this is a simple fix that won't take the developer long.
Title: foo_discogs
Post by: alexinc on 2010-10-27 17:06:23
its not the only thing that got messed up, as fetching artist art isnt possible anymore (artists dont get id in url anymore, only plain name)...
Title: foo_discogs
Post by: komhst on 2010-10-27 21:10:22
Y'all know the workaround though, right?
Open up the Discogs dialog, search for your artist. You get the artists list anyway.
Double click on your artist, which opens up the artist page on Discogs.com. Select the release you want (not the master release), copy the Discogs ID (the number at the end of the URL), and paste it into the "Release id or url" field of the dialog (I guess that implies you can copy and paste the whole URL).
Then you're all good to go. Hit Next, check details, tag your files.


This is a useful hint but it's only a temporary solution. I hope the plugin will be fixed soon.
Title: foo_discogs
Post by: komhst on 2010-10-28 00:05:48
Now it's working perfectly again as before!
Title: foo_discogs
Post by: HiPsY on 2010-10-28 03:25:48
Hello everybody,
i have a quastion:


it is possible that foobar will automatically replace discogs symbols é on e, è on e, à on a, ç on c, ü on u, ö on o, ä on a etc ?
Title: foo_discogs
Post by: SlowPulse on 2010-11-21 16:47:42
Would it be possible to add support for barcode field?
Title: foo_discogs
Post by: dalgard on 2010-12-09 14:41:57
Hi. This plugin is the greatest thing since heated food, however, I have a small problem. I name the downloaded cover art with "%album artist% - %album%" because some of my folders have multiple releases in them - but it seems that the Discogs plugin has a different conversion scheme for forbidden characters than foobar itself. All forbidden characters are converted to _ (underscore) which makes it impossible for the foobar cover view to find the image.

From the File Operations documentation:

    * Beginning in 0.9.6.4, symbols which are invalid in folder and file names such as / \ |: get replaced by a -, * gets replaced by x, " gets replaced with '', and ? < > get replaced by an _.
    * You may want to consider using $ascii() or $ansi() to sanitize the names when applying file operations.

Until this is corrected, I will continue using $replace(%album artist% - %album%,/,-,\,-,|,-,:,-,*,x,",'''',?,_,<,_,>,_).
Title: foo_discogs
Post by: dalgard on 2010-12-09 17:02:31
Also, foobar crashes when the Discogs component tries saving a cover with a path longer than 255 characters. This is a bug that should be corrected, but actually, Windows allows path up to 260 characters as the "c:\" and the ending null character is not included.

I would suggest that the Discogs component cuts off everything after 259 characters (from before the ".jpg") and that foobar cover display learns to do the same when looking for cover files. (By the way, how to suggest this to the respective developers?)
Title: foo_discogs
Post by: dalgard on 2010-12-09 18:15:24
May I also suggest that Discogs write album info to those of selected files that are outside the match-list in the component window. Sometimes one wants to add some extra track (maybe a web-only track) to a release that doesn't show up on the track-list from Discogs. So it doesn't match up with a particular track on the list to the left and doesn't get tagged at all.

I would like such a track to get all other info besides title and discogs_original_track_number (and vinyl track) (and artist for compilations). In my opinion it should have the real next tracknumber and have totaltracks the same as the original release to mark the track as extra.
Title: foo_discogs
Post by: skrull on 2010-12-27 13:50:14
I would like to see track time along with search results.

(sorry my poor english)
Title: foo_discogs
Post by: frogworth on 2011-01-07 05:25:51
Dear bubbleguuum, are you aware of crashes from foo_discogs?
My foobar has been occasionally (but often enough that I notice) just crashing for no reason, while doing nothing.
I did the online check thing, and the only component I have that came up is version 1.25 of this component, which has had multiple reports of crashing.

Just letting you know. I certainly haven't had any cases of crashes while actually using the component. I'm on foobar v1.1.1, not one of the betas.
Title: foo_discogs
Post by: bubbleguuum on 2011-01-07 23:18:37
Dear bubbleguuum, are you aware of crashes from foo_discogs?
My foobar has been occasionally (but often enough that I notice) just crashing for no reason, while doing nothing.
I did the online check thing, and the only component I have that came up is version 1.25 of this component, which has had multiple reports of crashing.

Just letting you know. I certainly haven't had any cases of crashes while actually using the component. I'm on foobar v1.1.1, not one of the betas.


There's only 1 crash that I know of in 1.25: when accessing a discogs release that has been deleted (on discogs.com). I'll probably release 1.26 this week-end
to just fix that bug.

The component do nothing while not active so your crashes are probably elsewhere.
Title: foo_discogs
Post by: SuperFreak on 2011-01-08 11:01:54
Probably a nice thing. BUT! Can you please put the available *.dll file among with a ReadMe.txt into a RAR?! I'd like to try it, but I don't know how to use the foo_discogs.dll with Foobar, and I haven't got days to read all the pages here...
Title: foo_discogs
Post by: frogworth on 2011-01-10 11:04:32
Probably a nice thing. BUT! Can you please put the available *.dll file among with a ReadMe.txt into a RAR?! I'd like to try it, but I don't know how to use the foo_discogs.dll with Foobar, and I haven't got days to read all the pages here...


Read the first post.
Title: foo_discogs
Post by: maur1ce on 2011-01-20 03:33:58
hey once again I gotta problem while querying the Discogs artists DB, anyone else ?
--
(http://img.ffffound.com/static-data/assets/6/b12bf80e1efb292e6377269bf7e87dafa3179551_m.jpg)
Title: foo_discogs
Post by: lordfrikk on 2011-02-05 19:51:40
I was wondering about this for the longest time - would it be possible to enable drag & drop in the Release dialog? In case of multi disc releases it can take a lot of time to click those nasty up and down buttons

FAKE EDIT: Or some kind of filename/tag matching? The disorder is usually caused by the absence of track numbers in front of the file names.
Title: foo_discogs
Post by: frogworth on 2011-02-06 05:45:55
+1 on lordfrikk's request above.
Title: foo_discogs
Post by: nothingface0 on 2011-02-11 20:15:10
Having trouble too, all of a sudden. I think it was working two days ago....
Title: foo_discogs
Post by: Sandrine on 2011-02-11 21:04:49
Having trouble too, all of a sudden. I think it was working two days ago....


discogs seems to be down or had a script change. It was still working this morning, though.
Title: foo_discogs
Post by: bubbleguuum on 2011-02-11 21:07:24
Only search is broken at the moment (it happened before). You can still paste release id or release URLs
Title: foo_discogs
Post by: komhst on 2011-02-11 21:41:49
I also have problems with searching from discogs. Do you know how it can be fixed?
Title: foo_discogs
Post by: komhst on 2011-02-12 08:08:54
O.K. The search problem is solved. I don't know how, but today it works fine!   
Title: foo_discogs
Post by: Rabbit212 on 2011-02-17 08:34:16
Hello

bubbleguuum,

Could this plugin work also with master link URL? I am trying it but when I use master link, I get completely wrong release in the left foo_discogs window. Which code should I add so it could work also with master link URL? So for example this one:

http://www.discogs.com/Above-Beyond-Alone-...ht/master/18627 (http://www.discogs.com/Above-Beyond-Alone-Tonight/master/18627)

instead of:

http://www.discogs.com/Above-Beyond-Alone-.../release/636426 (http://www.discogs.com/Above-Beyond-Alone-Tonight/release/636426)

Somehow I must find the way to use master URLs but it doesn't seem to work.
Title: foo_discogs
Post by: dalgard on 2011-02-17 12:46:37
Somehow I must find the way to use master URLs but it doesn't seem to work.

You can't take out data from the master page, as those pages are only summaries of releases. For instance, it wouldn't make sence importing a date from the master page - it doesn't exist. Sometimes it is hard picking which release to use, but there's no way around it

It would be great to be able to pick a release as the original release (e.g. the very first release of 'Abbey Road') and then a media release which could be the cd version, for instance, from which the rip was taken. This is something that would need to be implemented all across the media player and tag info fields, and it's probably not going to happen any time soon (probably not before all media info is being accessed real time from a huge database with song fingerprinting )
Title: foo_discogs
Post by: Rabbit212 on 2011-02-18 00:56:32
You can't take out data from the master page, as those pages are only summaries of releases. For instance, it wouldn't make sence importing a date from the master page - it doesn't exist. Sometimes it is hard picking which release to use, but there's no way around it

Thank you for reply. But when I come to master URL link, I have to, somehow, get to the release page but I don't know how. The good thing is that very often (not sure if always) if I search the classical release link with label name (publisher id3v2 tag) and catid (discogs_catalog id3v2 tag), I come directly to the release link (and not master link). But if the searching keyword consist without either label name or catid then I come to to master link. Even if I constructed the whole searching keyword (searching keyword = group of words that I search) with words from EACH (!!!) filenames' id3v2 tag (of course when it comes to searching datas filled in tags then only 5 tags are relevant: artist name, track title, album title, publisher and discogs_catalog) as well as words located in filenames but NOT in id3v2 tags (relevant ones), I still come to master link just because I don't use in the search keyword label name and catid. Now, honestly, how many times will be in the id3v2 tags those two datas filled in? For sure NOT extremly rarely.
I have tried to do some research on google how to come from master link to release link but I cannot find any relevant source. The problem is that I know nothing about computering vision subscience of computering science. So the other software cannot locate wherever on the screen anchor text of correct link in master page is located. Also I highly doubt that any php / autoit script could locate what exactly to click on master page.
The secondary 3rd party software is just picking up every single link and automatically tagging it through foo_discogs. Of course the respect is made for exact order of links that must be equal to the folders that are dragged and dropped into foobar. The primary 3rd party software has in its temporary (temporary because folders are done per one session, no need primary) database the data to which folder each link in the list belongs to. But still exact order of links is coded based on alphabetically order of foldernames by microsoft windows. The symbols always come first (the symbol ''['' before ''('' in the list of foldernames), then brackets (''(''), then numbers and after that letters based on english alphabet. I currently don't remember where foldernames in the list of folders, are located that begin with empty space but I think this isn't even possible since windows automatically removes the empty space if it is at the beginning of foldername.
So the secondary 3rd party software also drags and drops the folders into foobar so, comparing to list of links, the order is the same. But definitely here is very important subject (already implemented):
- the third 3rd party software has to create the .txt files with foldernames (one per line) that are NOT (!) finished yet - no point of tagging this, it would crash the process. This is already done and works perfectly.
Secondary software has to then eliminate from dragging and dropping all those files that have their names in .txt files, as well as already tagged folders and tracks (located in other single folder) that are not even released - no point of tagging them because no label exist. If I would like to automatically get information if any of those tracks has been released AND added to the database then I use different method - searching just those tracks (again, main priority have the relevant id3v2 tags and after that come additional names in filenames) - if links appear that means the track got released. But here I cannot switch the method back again because of several reasons:

- the track is not yet located in the folder, it is simply located in the folder with other tracks that haven't been (or still aren't) released
- i would have to create the folder, put the track that got released inside
- God knows what would be the first letter / symbol / number of this foldername so I cannot know wherever the folder would end in the list of foldernames. The idea could be that I simply run the subprocess of dragging and dropping into foobar after this happens but I don't like this idea at all.
- main reason: there is absolutelly no guarantee that this track would be the only track on new release. From this can be taken some subreasons also but they are already well known

So therefore its more safe if I do that manually instead of switching the method. Also I could cover the additional issue of the topic on master link occuring about which Im asking.
There are many details that must be covered, bigger and smaller. Some very obvious bigger ones are that from master link (and also from release link) I need to avoid format ''mixed'' - this format has no meaning in whichever method of search you do. Different syntaxes of catid, in both master link and release link can occur, but thats not the problem and shouldn't be relevant for master links. I simply cover the different situations of catid syntaxes, some examples:

abc100 = abc100
abc100 = abc0100
abc.100 = abc100
abc-100 = abc100

Dalgard I think you know what I meant with those syntaxes but of course zeros shouldn't be just removed otherwise abc100 would equal to abc1 and this is definitely not true. Also symbols cannot always be just ignored, for example abc100.05 is not the same as abc100.5 and so on.
Another issue that might appear in master link (but also in release link) are ''Not On Label'' words in label name and/or ''none'' word in catid. Logically everyone wants to avoid those situations if some other result, that matches searching keyword exsist.
Those are just few details and most of they can be covered - some are already. There are many many other features (potential issues) that should be taken care of. But now im stepping already a bit away from my main question.
Dalgard all the causes that could provide wrong link can be fixed yes but in case if case if I don't search together with label name AND catid, the master link will be provided if several releases exsist. Sad truth is that very rarely are those two sections of id3v2 tags filled.

I already know that possible solution to my question is that the link should NOT be provided (of course foldername should be instead otherwise everything would be damaged) in case IF the amount of files don't match with amount of entries (''tracklist'') on the page in release link. So far the secondary software is recording to which folder belongs which link so thats no problem. But the main issue is somewhere else - several different releases in the master link can have exactly the same amount of entries, even if constructing the searching keyword with both id3v2 tags (without publisher, discogs_catalog) AND words from filenames (but not in tags).

This issue is unsolvable, I have been doing some researches for a long time and I don't know how this could be fixed. The secondary software would still pick up the master link in collection of links made by primary software and therefore I would have crashed the whole collection 

Issue like this doesn't occur for other databases such as junodownload.

If you or anyone else could help me how to fix this please, I would appreciate a lot.
Title: foo_discogs
Post by: dalgard on 2011-02-18 12:47:02
@ Rabbit202:

I'm sorry to have to tell you this, my friend, but you are raving. If you can't describe your problem in a few lines and if I can't understand the meaning of each sentence by itself, there's a good chance you are confusing yourself an awful lot too! You are talking about a lot of things - all mixed together - yet I know neither what you are trying to achieve nor why.

The only sane way of tagging your music is by hand - one release at a time, using the Discogs plugin in foobar. Discography isn't an exact science so trying to automate this process further will bring nothing but trouble. Tagging your music involves making informed decisions at several stages, so you really need to just relax and take your time

I hope you become happy with the way you organize your collection - good luck
Title: foo_discogs
Post by: dalgard on 2011-02-18 12:50:46
By the way, you get to the release page by clicking one of the links under the tracklist on the master page. (A lot of links here, for example: http://www.discogs.com/Beatles-Abbey-Road/master/24047) (http://www.discogs.com/Beatles-Abbey-Road/master/24047))
Title: foo_discogs
Post by: Rabbit212 on 2011-02-19 12:50:58
Dalgard I mentoined much less than 1% of subjects that are important when it comes to building music collection. So Im definitely not talking about a lot of things as you said. I had and still have only one question. Im not trying to automate discogs only if you meant that but also other similar databases such as decks.de and triplevision etc. How those databases are connected within programming codes is another science which doesn't have much to do with my question.
You said that I should click one of the links under the tracklist of master page but could you please tell me how I do this? I don't know anything about computering vision, also php scripts cannot locate the exact link based on id3v2 tags and filenames and also (if in the filenames appear the track titles such as: untitled, loop, loops, unnamed, unknown, track x where ''x'' is numerical number) foldernames. By the way, sorry for misunderstanding. Thank you for your reply and care. I have covered a lot of many different steps (big and microscopically small) towards music collecting but this question still remains and don't know the idea through which it could be solved 
Title: foo_discogs
Post by: dalgard on 2011-02-19 14:26:33
Again, I hate to break this to you but...

1. You're definitely in the wrong forum.

2. You definitely don't know enough about programming (yet!) to be able to do what you want. Maybe you could learn, but your talk about "computering vision" seems extremely confused.

3. As I said before, you should take your mouse, go to the Discogs page and click the link. You should not try to automate this, because - as I know you have already experienced - only you can decide which particular release you want to use for your files.
Title: foo_discogs
Post by: taketoo on 2011-03-05 17:25:41
I am using discogs to get info for my CDs that I have not ripped yet, I am storing the album art in one directory with discogs config prefix %album%, is there any way to get foobar to look at that folder everytime I play a CD for the art?
Title: foo_discogs
Post by: taketoo on 2011-03-06 16:10:59
I can't seem to get album art for CDs to show up at all now, even after reinstalling & removing all folders/data, any ideas?
Title: foo_discogs
Post by: taketoo on 2011-03-16 19:52:32
I am using discogs to get info for my CDs that I have not ripped yet, I am storing the album art in one directory with discogs config prefix %album%, is there any way to get foobar to look at that folder everytime I play a CD for the art?

Worked out the answer, just added C:\albumart\%album%.jpg in Preferences>Display>Album Art, all artwork now shows up for CDs  . So nice to not have a music player using up 15% of my CPU (cough...WMP) !
Title: foo_discogs
Post by: vkostas on 2011-03-19 10:11:50
[quote name='bubbleguuum' date='Jan 8 2011, 00:18' post='738383']

Credit list: Original artist name instead of Alternative artist name.
=============================================

Hi bubbleguuum,
Discogs gives the option to maintain original artist name and alternative artist name in the credit list (E.g. Pat Benatar and P. Benatar).
Currently foobar2000 discogs plugin gives priority on alternative artist and there is not any option to force original artist name be returned even alternative artist name has been entered in the credit list .
E.g. http://www.discogs.com/Pat-Benatar-Greates.../release/903582 (http://www.discogs.com/Pat-Benatar-Greatest-Hits/release/903582)
Pat Benatar instead of P. Benatar
Neil Giraldo instead of N. Giraldo
etc.

If I had the latest plugin source code I could change this option and rebuild. I have found so far only plugin 1.22 version source code.
Any idea?
Title: foo_discogs
Post by: frozenspeed on 2011-04-09 18:04:25
any chance for adding sortable columns in the search dialog filter results box and a column for the catalog #?

Right now it goes:
"album", "label", "media format", "release type", "year"

but there are several years where there is the same of everything (except for catalog numbers). This would make things SOOO much easier to search when you have an album with 50 or 75 versions you're trying to sort through (such as any U2 or Michael Jackson album).

Thanks so much!!
Title: foo_discogs
Post by: SoundOfMuzak on 2011-04-16 01:02:09
I'd like to use this dll to get the album art of the album but rarely it works fine for the album art, it's "normal"??
Title: foo_discogs
Post by: mitchmalibu on 2011-04-16 16:07:59
Hi,

I was wondering if it would be possible to support "multi-tracks" tracks. Here's an example of what I mean by that :

http://www.discogs.com/release/2825058 (http://www.discogs.com/release/2825058)

several tracks are composed of 2 or more tracks which throws off the plugin. I have to manually delete the tracks and add the info by hand for it to still be coherent.

Otherwise, still loving this plugin, saved me a huge amount of time.

Thanks
Title: foo_discogs
Post by: dalgard on 2011-04-16 16:16:41
I have had the same issue a couple of times. I can live with doing it by hand - I just love this component so much  However, maybe you could come with a suggestion as to how this could be implemented? How should the info be written to the file?
Title: foo_discogs
Post by: mitchmalibu on 2011-04-17 11:50:15
For a "multi tracks" track, you could consider adding the data for each field separated with either :

- ";" if this is a field that support multiple values.
- " / " if it doesn't.

That way, you keep the all the info of these tracks. It seems to me that it's just a simple concatenation job with a bit of fiddling in the advanced options for the multiple values support fields, but I'm not the one coding the plugin.

This situation happens quite often when you want to tag electro mixes, and I'm sure I'm not the one who would benefit from the support of these tracks.
Title: foo_discogs
Post by: Sandrine on 2011-04-17 12:48:22
For a "multi tracks" track, you could consider adding the data for each field separated with either :

- ";" if this is a field that support multiple values.
- " / " if it doesn't.

Is there an overview somewhere which fields DO support multiple values?
Title: foo_discogs
Post by: mitchmalibu on 2011-04-17 13:29:08
Yes, look at :

tools > advanced > display > Properties dialog

there you'll be able to edit which fields are multi values, multi lines and so on.
Title: foo_discogs
Post by: SoundOfMuzak on 2011-04-17 14:31:50
Yes, look at :

tools > advanced > display > Properties dialog

there you'll be able to edit which fields are multi values, multi lines and so on.


and for dowload the album covers??
Title: foo_discogs
Post by: mitchmalibu on 2011-04-17 17:12:27
What about the download of album covers ?
Title: foo_discogs
Post by: SoundOfMuzak on 2011-04-17 20:00:04
What about the download of album covers ?


Any time i try to tag something i don't find never the cover on the discogs db, why?? 
One year ago i remember that my discogs was more capable to find albumart. :/
Title: foo_discogs
Post by: Joffi on 2011-04-17 20:12:32
check your discogs configuration options (I've had it get reset on me before): right click menu, tagging, discogs, configuration, album/artist art tab
Title: foo_discogs
Post by: SoundOfMuzak on 2011-04-17 20:19:31
check your discogs configuration options (I've had it get reset on me before): right click menu, tagging, discogs, configuration, album/artist art tab


Oh gosh!! I'm a stupid!!! How i can forgot this option?!?!? 
Thanks!!!!
Title: foo_discogs
Post by: frogworth on 2011-05-05 06:56:50
Anybody else not getting a response at the moment? I'm stuck on "Connecting to discogs". The site itself is working.
Title: foo_discogs
Post by: lerik2001 on 2011-05-05 09:13:50
Anybody else not getting a response at the moment? I'm stuck on "Connecting to discogs". The site itself is working.

i get this error message
Code: [Select]
discogs error: release id=186355: problem connecting to discogs.com
Title: foo_discogs
Post by: harumscarum on 2011-05-05 09:19:02
not working today
Title: foo_discogs
Post by: Quarck on 2011-05-05 12:17:00
Today not working! Please fix it! I can't live without this plugin
Title: foo_discogs
Post by: e11 on 2011-05-05 12:18:21
Today not working! Please fix it! I can't live without this plugin



me also please fix it, thankyou
Title: foo_discogs
Post by: ExUser on 2011-05-06 08:37:11
Not working here either. 

Be patient, this has happened before, and the dev is usually responsive.
Title: foo_discogs
Post by: bubbleguuum on 2011-05-06 10:17:55
foo_discogs 1.26 available: http://www.foobar2000.org/components/view/foo_discogs (http://www.foobar2000.org/components/view/foo_discogs)

- fix discogs.com rejecting clients not using a custom User-Agent
- fix crash when accessing deleted releases
Title: foo_discogs
Post by: a3aan on 2011-05-06 10:28:56
bubbleguuum is king!
Title: foo_discogs
Post by: frogworth on 2011-05-06 14:12:46
bubbleguuum is king!


QFT  Thanx bubleguuum!
Title: foo_discogs
Post by: e11 on 2011-05-06 17:50:45
bubbleguuum drinks awsomeness for breakfast
Title: foo_discogs
Post by: SoundOfMuzak on 2011-05-06 18:52:49
yeah!!
Title: foo_discogs
Post by: comox on 2011-05-06 21:10:56
Super, bubbleguuumm! The discogs plugin is absolutely basic for me.
Title: foo_discogs
Post by: ExUser on 2011-05-06 21:33:22
bubbleguuum is king!
bubbleguuum drinks awsomeness for breakfast
yeah!!
Super, bubbleguuumm! The discogs plugin is absolutely basic for me.

Just wanted to reiterate what everyone else is saying. foo_discogs is a cornerstone of my own foobar2000 experience, and the speed at which breakage is dealt with never fails to surprise me (especially considering the state of disrepair of foo_vorbisstream  )

With that, let's return to our regularly scheduled discussion of the component instead of celebration of the fix, shall we?
Title: foo_discogs
Post by: mitchmalibu on 2011-05-07 01:45:52
I'd really like to have your input on what I posted earlier bubblegum (Post #976 & #978). Even a "not interested" would suffice

Thanks for the update.
Title: foo_discogs
Post by: bubbleguuum on 2011-05-07 10:25:55
I'd really like to have your input on what I posted earlier bubblegum (Post #976 & #978). Even a "not interested" would suffice

Thanks for the update.


Not interested because this is a corner case not that easy to handle (and I'm not making significant change to the plugin at this point). In particular the way subtracks are identified for a track is *not* standardized in the returned data. In your example the submitter used 1.1...1.2...  but he could have used anything else.
So if it was to be done, the UI would have to provide a way  to manually indicate which subtracks form a single track.
Title: foo_discogs
Post by: mitchmalibu on 2011-05-08 02:13:10
Fair enough, it's not really a deal breaker anyway but it does happen quite often in electro releases.
Title: foo_discogs
Post by: frogworth on 2011-05-08 12:14:17
Fair enough, it's not really a deal breaker anyway but it does happen quite often in electro releases.


Certainly not a deal breaker for me, but just adding a "+1" too. It happens "enough" in releases ranging from prog rock (Pink Floyd even) through industrial (Einstürzende Neubauten) to postrock and electronica. It's certainly totally non-standardised though, it's a problem for Discogs I think.
Title: foo_discogs
Post by: steffyno on 2011-05-09 10:02:22
When file already has albumart attached and I write tags using Discogs->Write Tags... so the albumart is removed. Can you please fix this?
Happens only in MP3 files with preffered scheme APE + ID3v1, and not with FLAC files.
Thanks a lot.
Title: foo_discogs
Post by: tobik on 2011-05-11 09:57:50
Since a few days I can't connect to discogs.com database and I'm getting a message like "discogs error: release id=xxxxxx problem connecting to discogs.com". My foo is 0.9.6.9. and foo_discogs 1.22. Anybody know what is going on?
Title: foo_discogs
Post by: robin75 on 2011-05-11 11:13:40
Since a few days I can't connect to discogs.com database and I'm getting a message like "discogs error: release id=xxxxxx problem connecting to discogs.com". My foo is 0.9.6.9. and foo_discogs 1.22. Anybody know what is going on?


the same here...
Title: foo_discogs
Post by: dalgard on 2011-05-11 11:25:40
There has been an update, look at the last page.
Title: foo_discogs
Post by: tobik on 2011-05-11 12:31:09
There has been an update, look at the last page.


Yup, I saw it, update is for 1.0+ foobar not for previous version.
Title: foo_discogs
Post by: marc2003 on 2011-05-11 12:43:31
download the latest foobar. problem solved.

http://www.foobar2000.org/download (http://www.foobar2000.org/download)



Title: foo_discogs
Post by: krayon on 2011-05-21 18:27:53
Great plugin.  I use it loads, helps with tagging a lot.

One bug I have noticed sometimes, although could potentially be discogs problem.  Albums will sometimes appear in a completely screwed order, despite all the track names being correct.  Obv the move / down helps workaround this.
Title: foo_discogs
Post by: a3aan on 2011-05-21 19:12:27
Untick 'Automatically match....' at the Tagging pane of the Configuration tool.

Albums will sometimes appear in a completely screwed order, despite all the track names being correct.

Title: foo_discogs
Post by: SpaceAgeHero on 2011-05-22 11:51:06
Hey there bubbleguuum,

I've been using your component for quite some time now. It is brilliant! :-)

I have another request though:

I'd like to store the actual primary main artist names (non ANV) WITH the Discogs numeric suffix.
This is currently disabled by default and cannot be changed within the component, I believe.
I'd like to do this to accurately distinguish between artists with the same name.
Could you enable this as optional setting please?

Simultaneously it would be awesome to automatically store the listed artist names without
the numeric suffix as Artist Name Variation.


I have one issue as well, but I'm not sure if this only affects me.
I'm storing the discogs release format as %format%, but it is not
saved as multi-value field even though the description says so.

Thanks for your support!
Title: foo_discogs
Post by: frogworth on 2011-05-23 04:14:38
I'd like to store the actual primary main artist names (non ANV) WITH the Discogs numeric suffix.
This is currently disabled by default and cannot be changed within the component, I believe.
I'd like to do this to accurately distinguish between artists with the same name.
Could you enable this as optional setting please?

Simultaneously it would be awesome to automatically store the listed artist names without
the numeric suffix as Artist Name Variation.


Not sure if it'd do what you want, but the numeric suffix is stored in the <DISCOGS_ARTIST_LINK> tag.
So you could keep the artist as it should be - just the artist name - but sort and do whatever other operations you want via <DISCOGS_ARTIST_LINK>.
Title: foo_discogs
Post by: thorazine on 2011-05-27 15:07:19
Since a few days I can't connect to discogs.com database and I'm getting a message like "discogs error: release id=xxxxxx problem connecting to discogs.com". My foo is 0.9.6.9. and foo_discogs 1.22. Anybody know what is going on?


I also have this same problem every now and then, not always. Even though I'm fully updated (foobar 1.1.7b6 and discogs 1.26). Once it starts to happen I cant find a way to solve it...
If I search for an artist the discogs tagger window just loses and regains focus in a split second and nothing happen.
If I put a release id straight I geet the same message as above "discogs error: release id=1528086: problem connecting to discogs.com"
Strange enough this does not happen if I put a local http debugging (Fiddler) proxy between foobar and the internet.
Title: foo_discogs
Post by: thorazine on 2011-05-31 09:56:39
Just reporting that at least from my machine it looks like discogs is apparently blocking User-Agent: foobar2000/1.1.7_beta_6.
Title: foo_discogs
Post by: alexinc on 2011-05-31 21:41:50
i'm kind of lost right now, can anyone plz help me in finding the right script for adding the artist art into the parent folder of the album? my structure looks like \artist\album\files.mp3 and i'd like to copy the artist art into the artist folder... $directory(%path%,2) doesn't work, as it cannot create the file then (?!?).

thx i.a.
Title: foo_discogs
Post by: nov10th on 2011-06-03 02:41:13
not working today
Title: foo_discogs
Post by: ygafff on 2011-06-03 06:36:16
first, i'd like to say many thanks to the author of this very-very usefull plugin. how can we live without it?)

and second - it stop working. version 1.26. it doesn't search for artist, while adding new releases. when trying to search by discogs_id i get the error message:

discogs error: release id=2535847: problem connecting to discogs.com

upd: foobar version is 1.1
Title: foo_discogs
Post by: vraxoin on 2011-06-03 07:21:21
Same issue here.  Using Foobar 1.1.7b6 with foo_discogs 1.26.  Search is essentially non-responsive.  Thanks once again for the continued support!! 
Title: foo_discogs
Post by: thorazine on 2011-06-03 12:27:53
It looks like discogs is blocking certain User-Agents from using their service:
Code: [Select]
GET http://www.discogs.com/release/2855740?f=xml&api_key=df4f42ee8c HTTP/1.1
Host: www.discogs.com
Connection: close
Accept-Encoding: gzip
User-Agent: foo_discogs/1.26
Accept: */*

This results in a "500 Client Refused" answer from discogs. There is a thread on discogs website on the matter here (http://www.discogs.com/help/forums/topic/230188) that suggest some other developer with the same trouble to open a support request to get his/her app unblocked.
As a temporary workaround you can use some software to change the user-agent on the fly to avoid the blockage. Certain debugging proxies software like Fiddler or ad-blocking software like Ad-Muncher lets you do that.
Title: foo_discogs
Post by: traxy on 2011-06-03 13:37:43
You can use a hex editor to change the user-agent in foo_discogs.dll.

I uploaded a fixed dll here:
http://www.multiupload.com/UH22MN91GC (http://www.multiupload.com/UH22MN91GC)

Please note, that this is a temporary fix only, until the original component gets updated.


Title: foo_discogs
Post by: phazedown on 2011-06-03 13:52:40
Thank you, the fix is working for me. However, in my case (unknown album names) the utility costs as much as time as adding data by hand
Title: foo_discogs
Post by: Sandrine on 2011-06-03 15:02:53
If discogs wants to be a bitch about controlling http access I humbly request that the user agent in foo_discogs be an editable field.
Title: foo_discogs
Post by: white_magic on 2011-06-03 17:03:40
You can use a hex editor to change the user-agent in foo_discogs.dll.

I uploaded a fixed dll here:
http://www.multiupload.com/UH22MN91GC (http://www.multiupload.com/UH22MN91GC)

Please note, that this is a temporary fix only, until the original component gets updated.


Thanks for the quick fix. And thanks to the developer of this plugin. I guess I can do away with Mp3Tag app now.
Title: foo_discogs
Post by: yao on 2011-06-03 22:12:11
Thank you for the fix, works perfect again!
Title: foo_discogs
Post by: fuffi on 2011-06-04 13:19:43
thanks too, the fix works. usereditable string would be a self helper.

btw:
the last months i collected some screenshots which show some "broken" entries from some albums i tagged over the last time.
i don't know, if its the plugin or the website which i producing those "bad" tags. (unescaped characters? some html code inside tracknames, etc)
maybe, if you see those screenshots, you can hunt down the broken entries and fix them? if not, nevermind. great plugin :-)

(http://www.bilder-hochladen.net/files/hcyg-e.png) (http://www.bilder-hochladen.net/files/hcyg-e-png-nb.html)
(http://www.bilder-hochladen.net/files/thumbs/hcyg-f.png) (http://www.bilder-hochladen.net/files/hcyg-f-png.html)
(http://www.bilder-hochladen.net/files/thumbs/hcyg-g.png) (http://www.bilder-hochladen.net/files/hcyg-g-png.html)
(http://www.bilder-hochladen.net/files/thumbs/hcyg-h.png) (http://www.bilder-hochladen.net/files/hcyg-h-png.html)
(http://www.bilder-hochladen.net/files/thumbs/hcyg-i.png) (http://www.bilder-hochladen.net/files/hcyg-i-png.html)
(http://www.bilder-hochladen.net/files/thumbs/hcyg-j.png) (http://www.bilder-hochladen.net/files/hcyg-j-png.html)
(http://www.bilder-hochladen.net/files/thumbs/hcyg-k.png) (http://www.bilder-hochladen.net/files/hcyg-k-png.html)
(http://www.bilder-hochladen.net/files/thumbs/hcyg-l.png) (http://www.bilder-hochladen.net/files/hcyg-l-png.html)
Title: foo_discogs
Post by: fuffi on 2011-06-04 13:26:00
and those screenshots too.
(http://www.bilder-hochladen.net/files/thumbs/hcyg-m.png) (http://www.bilder-hochladen.net/files/hcyg-m-png.html)
(http://www.bilder-hochladen.net/files/thumbs/hcyg-n.png) (http://www.bilder-hochladen.net/files/hcyg-n-png.html)
(http://www.bilder-hochladen.net/files/thumbs/hcyg-o.png) (http://www.bilder-hochladen.net/files/hcyg-o-png.html)
(http://www.bilder-hochladen.net/files/thumbs/hcyg-p.png) (http://www.bilder-hochladen.net/files/hcyg-p-png.html)
(http://www.bilder-hochladen.net/files/thumbs/hcyg-q.png) (http://www.bilder-hochladen.net/files/hcyg-q-png.html)
(http://www.bilder-hochladen.net/files/thumbs/hcyg-r.png) (http://www.bilder-hochladen.net/files/hcyg-r-png.html)
(http://www.bilder-hochladen.net/files/thumbs/hcyg-s.png) (http://www.bilder-hochladen.net/files/hcyg-s-png.html)

Title: foo_discogs
Post by: frogworth on 2011-06-05 04:27:30
and those screenshots too.


Most, if not all, of these are HTML tags which Discogs uses to display special characters and superscripts and things. They can't be used in a simple Unicode textfield for tagging, but I suppose with some cleverness the Discogs tagger could either remove tags or try to translate them to something usable...
Title: foo_discogs
Post by: herojoker on 2011-06-05 08:02:19
Another nice addition to this component would be if one could import tags into an open properties editor without automatically writing them into the files.
Example:
Select some album's tracks, open their properties. Do something (optional and even more advanced suggestion: select some tag names; the following shall be applied only to these tags; i.e. automatical configuration of tag mappings), open some menu which yields the usual discogs tagger, after retrieving the tags they are filled into the properties editor where you can further edit them, no tag has been written yet, do some additional modifications, save tags.
Title: foo_discogs
Post by: Fleshgrinder on 2011-06-06 15:01:04
Hi there, just registered here to tell the developer of this awesome user component, that it's not working since a few days. Seems like Discogs changed something. An update would be great!
Title: foo_discogs
Post by: Al Ouest on 2011-06-06 15:37:50
Hi there, as Fleshgrinder I canot use foo_discogs since a few days, same thing for you ?
When I ask for a research, nothing happen.
Thanks.
Title: foo_discogs
Post by: alexinc on 2011-06-06 15:47:22
be patient guys! he may be on vacation... its not the first time discogs changed stuff and i'm quite sure bubbleguuum will too! its not his daily business to serve us this beauty, so keep cool!
Title: foo_discogs
Post by: ~HQ on 2011-06-06 17:32:09
You can use a hex editor to change the user-agent in foo_discogs.dll.

I uploaded a fixed dll here:
http://www.multiupload.com/UH22MN91GC (http://www.multiupload.com/UH22MN91GC)

Please note, that this is a temporary fix only, until the original component gets updated.

Will be fix for version 1.22?
Title: foo_discogs
Post by: ExUser on 2011-06-06 17:35:53
You can use a hex editor to change the user-agent in foo_discogs.dll.

I uploaded a fixed dll here:
http://www.multiupload.com/UH22MN91GC (http://www.multiupload.com/UH22MN91GC)

Please note, that this is a temporary fix only, until the original component gets updated.
It may be worth noting that this change is not that different from how bubbleguuum would fix this "problem" anyhow. If someone would care to go whine at Discogs about this, it'd be appreciated. I don't know why they keep blocking certain user-agent strings. I can't find anything in their documentation that would explain why.
Title: foo_discogs
Post by: bubbleguuum on 2011-06-06 20:25:16
For now use the hex edited version. I've asked discogs.com for clarification on this topic to hopefully issue a permanent fix.
Title: foo_discogs
Post by: MDMA on 2011-06-09 21:08:15
a little bit of a tricky one. I have recently noticed the true potential of foo_discogs, when I went to edit the mappings..

I was curious if someone would be able to assist me with the following;

as far as I know, when you tag your music with the discogs tagger, the songs never mention (featuring blablabla) in the title name. If i wanted them to be shown, I was thinking I could have my 'title' column in ng_playlist display:

Code: [Select]
%title% (Feat. %DISCOGS_FEATURING%)

as it would then show the artist that features in the track, but in the 'title' column. However, the above code would leave every track tagged as Songname (Feat.) even if there was no featuring artist. How would I edit the code to say "if there is a featuring artist, it will be displayed" as above?

Hope someone could assist. Many thanks!


EDIT: also, some tags, including %DISCOGS_LABEL_LINK% download the results, and instead of spaces, it parses %20. Is there anyway to automatically/quickly fix this, without having to go through all of my music manually editing it? thanks also
Title: foo_discogs
Post by: fuffi on 2011-06-10 00:03:48
Code: [Select]
%title% (Feat. %DISCOGS_FEATURING%)
as it would then show the artist that features in the track, but in the 'title' column. However, the above code would leave every track tagged as Songname (Feat.) even if there was no featuring artist. How would I edit the code to say "if there is a featuring artist, it will be displayed" as above?

hi,
i'm using UI-Colums Playlist View, but you could try something like this:
Code: [Select]
$if([%DISCOGS_CREDIT_FEATURING%],[%title% '('feat. %DISCOGS_CREDIT_FEATURING%')'],[%title%])
i'm sure, somebody can point out a how-to, but you surely find some more help in related threads.
cheers,
Title: foo_discogs
Post by: alexl on 2011-06-10 11:11:44
a little bit of a tricky one. I have recently noticed the true potential of foo_discogs, when I went to edit the mappings..

I was curious if someone would be able to assist me with the following;

as far as I know, when you tag your music with the discogs tagger, the songs never mention (featuring blablabla) in the title name. If i wanted them to be shown, I was thinking I could have my 'title' column in ng_playlist display:

Code: [Select]
%title% (Feat. %DISCOGS_FEATURING%)

as it would then show the artist that features in the track, but in the 'title' column. However, the above code would leave every track tagged as Songname (Feat.) even if there was no featuring artist. How would I edit the code to say "if there is a featuring artist, it will be displayed" as above?

It's as simple as
Code: [Select]
%title%[ '('Feat. %DISCOGS_FEATURING%')']

or with a bit dimmed featuring info
Code: [Select]
%title%[ <'('Feat. %DISCOGS_FEATURING%')'>]

You really should acquaint yourself with basic title formatting. It will open a new world of possibilities to you

Title: foo_discogs
Post by: MDMA on 2011-06-10 14:22:37
Thanks guys. Literally Completely forgot about the [ and ] brackets! d'oh!
Title: foo_discogs
Post by: Der Internet on 2011-06-10 17:59:00
they changed some things 3 days ago...


The API uses a new url: api.discogs.com

An API key is no longer required

We have removed the 5,000 requests per day limit*

We are offering an official Python API client. Check it out on github. Feel free to fork it and submit pull requests. You can help us improve it!

Responses are returned in JSON format now. You can still request XML if you prefer that.

JSONP support


Title: foo_discogs
Post by: MDMA on 2011-06-13 18:52:25
Nice! Hopefully this will solve a lot of the issues..
Title: foo_discogs
Post by: dalgard on 2011-06-15 18:26:39
Looking forward to a (hopefully) final fix. Not that it has really been a problem with the lightning fast reactions from bubblegum!

Please consider adding the project to Flattr!
Title: foo_discogs
Post by: ~HQ on 2011-06-18 09:42:42
Looking forward to a (hopefully) final fix.

+1
Title: foo_discogs
Post by: den_po on 2011-06-18 10:21:09
please test http://justdanpo.cheb.ru/temp/foo_discogs.dll (http://justdanpo.cheb.ru/temp/foo_discogs.dll)
1.22 fixed
changed src files http://justdanpo.cheb.ru/temp/foo_discogs_src_changed.zip (http://justdanpo.cheb.ru/temp/foo_discogs_src_changed.zip)
Title: foo_discogs
Post by: Chris Norman on 2011-06-18 20:59:43
Thanks. Works as advertised.
please test http://justdanpo.cheb.ru/temp/foo_discogs.dll (http://justdanpo.cheb.ru/temp/foo_discogs.dll)
1.22 fixed
changed src files http://justdanpo.cheb.ru/temp/foo_discogs_src_changed.zip (http://justdanpo.cheb.ru/temp/foo_discogs_src_changed.zip)
Title: foo_discogs
Post by: ~HQ on 2011-06-19 10:45:53
Could I get a fix to foo2k (not SDK) in version 0.9.5.+?
Title: foo_discogs
Post by: bubbleguuum on 2011-06-19 13:44:09
Since I didn't get an anwser from Discogs concerning the User-Agent,  I just released 1.27 with the same User-Agent than the hex-edited version (first post to download or components site, or autoupdate)
Title: foo_discogs
Post by: den_po on 2011-06-19 14:52:47
Since I didn't get an anwser from Discogs concerning the User-Agent,  I just released 1.27 with the same User-Agent than the hex-edited version (first post to download or components site, or autoupdate)

please check out my post above
Title: foo_discogs
Post by: bubbleguuum on 2011-06-19 15:09:49
Since I didn't get an anwser from Discogs concerning the User-Agent,  I just released 1.27 with the same User-Agent than the hex-edited version (first post to download or components site, or autoupdate)

please check out my post above



Ok, I'll integrate your changes in 1.28 (1.22 is obsolete - and I know the source for the latest version is not available)
Title: foo_discogs
Post by: bubbleguuum on 2011-06-19 15:28:21
1.28 is available including den_po fix (thanks!) which was the correct solution.

Should work until mid December, until Discogs deprecates the v1 API.
Title: foo_discogs
Post by: thorazine on 2011-06-19 15:56:07
Searching for Artist does not work for me, no artist or album names appear.
Fetching a specific release by its id or URL works though...
Edit: tried both 1.28 and 1.22 and none of them work
Title: foo_discogs
Post by: Sandrine on 2011-06-19 17:25:37
Just tried calling tags for "10CC - Deceptive Bends": Works with the 1.26 hexedited version, but with 1.28 I get weird results.
Title: foo_discogs
Post by: bubbleguuum on 2011-06-19 23:43:25
Just tried calling tags for "10CC - Deceptive Bends": Works with the 1.26 hexedited version, but with 1.28 I get weird results.



fixed in 1.29 to which you can update. There was indeed a problem handling master releases (which are returned by the new api).
For now, only the main release of a master release will be listed in the find dialog.
For your particular example case this will be http://www.discogs.com/release/1615490 (http://www.discogs.com/release/1615490), although there are 12 versions listed under the master release (http://www.discogs.com/10cc-Deceptive-Bends/master/30521)

If you find other weird stuff happening, let me know
Title: foo_discogs
Post by: bubbleguuum on 2011-06-19 23:45:35
Searching for Artist does not work for me, no artist or album names appear.
Fetching a specific release by its id or URL works though...
Edit: tried both 1.28 and 1.22 and none of them work


Update to 1.29
Title: foo_discogs
Post by: Sandrine on 2011-06-20 08:32:18
Just tried calling tags for "10CC - Deceptive Bends": Works with the 1.26 hexedited version, but with 1.28 I get weird results.

fixed in 1.29 to which you can update. There was indeed a problem handling master releases (which are returned by the new api).
For now, only the main release of a master release will be listed in the find dialog.


Will there be a way to fetch the complete list in the future? In this particular case the master release doesn't match my tracks from the CD 100% because it shows a track from the LP with sub-indices and is thus of limited use. For the moment, I'm going back to hex-edited version (as long as the old API still works).
Title: foo_discogs
Post by: bubbleguuum on 2011-06-20 11:09:48
Will there be a way to fetch the complete list in the future?


Yes. it's quite trivial to add.
Title: foo_discogs
Post by: thorin92 on 2011-06-21 14:35:33
Great Tagger, thanks!
Title: foo_discogs
Post by: silkcut on 2011-06-21 16:56:19
Just updated to 1.29 and now some labels and formats are not appearing in the possible matches window after searching.  e.g. I searched for Kool Moe Dee  Greatest Hits.  Here are some of the results.

Greatest Hits, , , 1991
Greatest Hits, Jive, CD, Comp, 1993 
Greatest Hits, , , 1993
Greatest Hits, , , 2002

The second one is fine but what's going on with the ", , , " ?

Thanks for the great plugin!!!
Title: foo_discogs
Post by: bubbleguuum on 2011-06-21 17:05:32
Just updated to 1.29 and now some labels and formats are not appearing in the possible matches window after searching.  e.g. I searched for Kool Moe Dee  Greatest Hits.  Here are some of the results.

Greatest Hits, , , 1991
Greatest Hits, Jive, CD, Comp, 1993 
Greatest Hits, , , 1993
Greatest Hits, , , 2002

The second one is fine but what's going on with the ", , , " ?

Thanks for the great plugin!!!


the ,,, indicate that this entry is a Master release and that the main release of this master release will be used for tagging.
Until I implement a way to expand all versions of a master release.

If you need a finer list of releases just use the hexedited 1.26 version for now, that was posted a few posts up.

Title: foo_discogs
Post by: ~HQ on 2011-06-23 12:18:47
Why the fix has been created only for foo2k in 1.0 version? Great job, but are the peoples who still using foo2k in older version.
Title: foo_discogs
Post by: bubbleguuum on 2011-06-23 12:27:18
Why the fix has been created only for foo2k in 1.0 version? Great job, but are the peoples who still using foo2k in older version.


If you insist to use an outdated version, you'll have to use outdated components.
Title: foo_discogs
Post by: krayon on 2011-06-25 00:03:53
In 1.29 I'm having issues downloading art work, where it'll create a file but it's empty/corrupt.

Thanks for your good work.
Title: foo_discogs
Post by: kopf on 2011-06-25 14:02:54
In 1.29 I'm having issues downloading art work, where it'll create a file but it's empty/corrupt.

Thanks for your good work.


+1
Title: foo_discogs
Post by: frogworth on 2011-06-25 15:44:44
Strongly recommended that those having trouble with 1.29 revert to this version:

You can use a hex editor to change the user-agent in foo_discogs.dll.

I uploaded a fixed dll here:
http://www.multiupload.com/UH22MN91GC (http://www.multiupload.com/UH22MN91GC)

Please note, that this is a temporary fix only, until the original component gets updated.


It works with the Discogs API changes, and doesn't have the new issues with master releases. I'm sure bubbleguuum will update soon - meanwhile, this version is the go.
Title: foo_discogs
Post by: muderseb on 2011-06-25 16:02:20
Strongly recommended that those having trouble with 1.29 revert to this version:



I uploaded a fixed dll here:
http://www.multiupload.com/UH22MN91GC (http://www.multiupload.com/UH22MN91GC)


It works with the Discogs API changes, and doesn't have the new issues with master releases. I'm sure bubbleguuum will update soon - meanwhile, this version is the go.


That doesn't help in my case. I appear to be unable to connect to Discogs, regardless of 1.29 or modified 1.26. :-(

Is it just me or are others confronted with the same problem?

Thanks a lot for this great plugin, bubbleguuum!
Title: foo_discogs
Post by: frogworth on 2011-06-26 07:06:14
That doesn't help in my case. I appear to be unable to connect to Discogs, regardless of 1.29 or modified 1.26. :-(

Is it just me or are others confronted with the same problem?


Hm, I'm on modified 1.26 and it's working for me. I've had issues with firewalls and stuff before - any chance it's a networking problem at your end?
Title: foo_discogs
Post by: fuffi on 2011-06-26 09:53:38
Hello bubbleguuum,

thanks for the update 1.29. It works good here.

I have the same issues with those
Quote
Greatest Hits, , , 1991
Greatest Hits, Jive, CD, Comp, 1993
Greatest Hits, , , 1993
Greatest Hits, , , 2002
and read the relates postes, but do not know, if my experience of the last days has the same reason as you explained.

i'm searching for "dom fackeln im sturm" on the discogs website (http://www.discogs.com/search?q=Dom+Fackeln+Im+Sturm&btn=&type=all), and get this results:
(http://www.bilder-hochladen.net/files/thumbs/hcyg-u-3417.png) (http://www.bilder-hochladen.net/files/hcyg-u-3417-png.html)

if i'm searching inside your wonderful plugin, i only get one result.
(http://www.bilder-hochladen.net/files/hcyg-v-c16a.png) (http://www.bilder-hochladen.net/files/hcyg-v-c16a-png-nb.html)

why is this?

i only encountered this, because i needed those tags (http://www.discogs.com/Dom-Fackeln-Im-Sturm/release/143286) and only got those (http://www.discogs.com/Dom-Fackeln-Im-Sturm/release/32466).
Title: foo_discogs
Post by: muderseb on 2011-06-26 14:40:16
Hm, I'm on modified 1.26 and it's working for me. I've had issues with firewalls and stuff before - any chance it's a networking problem at your end?


No, I tried it on different networks, I always get the same result. All my other software (Skype, webbrowsing etc.) is working properly.

Don't know what's wrong.
Title: foo_discogs
Post by: muderseb on 2011-06-26 16:14:01
No, I tried it on different networks, I always get the same result. All my other software (Skype, webbrowsing etc.) is working properly.

Don't know what's wrong.


UPDATE: I just switched from foobar 1.1.5 to foobar 1.1.7. Now it works again, although the problems already mentioned above by other users (no artwork downloaded, release list seems incomplete) remain.
Title: foo_discogs
Post by: thorazine on 2011-06-27 20:26:01
Searching for Artist does not work for me, no artist or album names appear.
Fetching a specific release by its id or URL works though...
Edit: tried both 1.28 and 1.22 and none of them work

Update to 1.29

I got the same problem with 1.29 and 1.1.7.
Searching for an artist (http://api.discogs.com/search?type=artists&q=%artist% )does not actually get me a release list, only artist info:

Code: [Select]
GET /search?type=artists&q=Manu%20Chao HTTP/1.1
Host: api.discogs.com
Connection: close
Accept-Encoding: gzip
Accept: application/xml
User-Agent: foobar2000/1.1.7



HTTP/1.1 200 OK
Content-Length: 3785   
Reproxy-Status: yes
Content-Type: text/xml; charset=utf-8
Set-Cookie: sid=397ac6e874b97af7e7c8a11b9dfd8828; path=/; domain=.discogs.com; expires=Thu, 24-Jun-2021 19:12:44 GMT
Date: Mon, 27 Jun 2011 19:12:44 GMT
Server: lighttpd
Connection: close

<resp stat="ok" version="2.0"><exactresults><result num="1" type="artist"><title>Manu Chao</title><uri>http://www.discogs.com/artist/Manu+Chao</uri><thumb>http://s.dsimg.com/image/A-50-30773-1224747393.jpeg</thumb></result></exactresults><searchresults end="20" numResults="10" start="1"><result num="1" type="artist"><title>Antoine Chao</title><uri>http://www.discogs.com/artist/Antoine+Chao</uri><summary>Antoine Chao Antoine Chao French musician, producer and radio reporter, born in 1963. Brother of [a=Manu ...  Chao] and founding member of Mano Negra. </summary></result><result num="2" type="artist"><title>Manu Chao</title><uri>http://www.discogs.com/artist/Manu+Chao</uri><summary>Manu Chao José-Manuel Thomas Arthur Chao Ortega French singer/songwriter, born June 21st 1961 in</summary><thumb>http://s.dsimg.com/image/A-50-30773-1224747393.jpeg</thumb></result><result num="3" type="artist"><title>Santiago Casariego</title><uri>http://www.discogs.com/artist/Santiago+Casariego</uri><summary>Santiago Casariego Santiago "Santi" Casariego French drum player, cousin of [a=Manu Chao]. Since</summary></result><result num="4" type="artist"><title>Angelo Mancini</title><uri>http://www.discogs.com/artist/Angelo+Mancini</uri><summary> musician [a=Manu Chao]. Also used to play the trumpet in band [i]Desechos[/i] (Madrid, Spain). </summary></result><result num="5" type="artist"><title>Lyricson</title><uri>http://www.discogs.com/artist/Lyricson</uri><summary>") with Manu Chao's "Radio Bemba Sound System". </summary><thumb>http://s.dsimg.com/image/A-50-374617-1153828644.jpeg</thumb></result><result num="6" type="artist"><title>Fermin Muguruza</title><uri>http://www.discogs.com/artist/Fermin+Muguruza</uri><summary> international artists such as [url=http://www.discogs.com/artist/Manu+Chao]Manu Chao[/url], [url=http://www.discogs.com/artist%20...%20%20%5burl=http://www.discogs.com/artist/I%C3%B1igo+Muguruza]Iñigo Muguruza[/url] and [url=http://www.discogs.com/artist ... . He began his musical career by founding, along with his brother Iñigo and [url=http://www.discogs.com/artist</summary><thumb>http://s.dsimg.com/image/A-50-169849-1126734064.jpeg</thumb></result><result num="7" type="artist"><title>Tony "Face" Bacciocchi</title><uri>http://www.discogs.com/artist/Tony+%22Face%22+Bacciocchi</uri><summary> many gigs all over Italy and Europe , London included , supporting James Taylor Quartet , Manu Chao ...  international artists like Manu Chao, Marc Ribot, Koop, Ivano Fossati, Kocani Orchestra, Solarflares, Moment</summary><thumb>http://s.dsimg.com/image/A-50-633716-1238228572.jpeg</thumb></result><result num="8" type="artist"><title>Peppe Barra</title><uri>http://www.discogs.com/artist/Peppe+Barra</uri><summary>’. Within his countless famous fans we can mention Manu Chao and Roberto Benigni (‘Oscar Prize’ in 2001 for</summary><thumb>http://s.dsimg.com/image/A-50-130112-1307982302.jpeg</thumb></result><result num="9" type="artist"><title>Jane Birkin</title><uri>http://www.discogs.com/artist/Jane+Birkin</uri><summary> collaborations with artists as diverse as [a=Bryan Ferry], [a=Caetano Veloso], [a=Feist], [a=Brian Molko], [a=Manu ...  Chao] or [a=Mickey 3D] on 2004 "Rendez-Vous", followed by further collaborations with [a=Gonzales], [a</summary><thumb>http://s.dsimg.com/image/A-50-90539-1239635620.jpeg</thumb></result><result num="10" type="artist"><title>Demon</title><uri>http://www.discogs.com/artist/Demon</uri><summary> Europe Awards for the "Best French Act", next to artists such as [a=Manu Chao] and [a=Daft Punk]. The ...  considered as one of the best artist of the "french touch" movement. Filled with melodic, groundbreaking</summary><thumb>http://s.dsimg.com/image/A-50-1091-1227978882.jpeg</thumb></result></searchresults></resp>

From there there should be a second request for the first artist I think (http://api.discogs.com/artist/Manu+Chao?releases=1) but for me it just stops there.
If I put a local proxy (Fiddler) between foobar and api.discogs.com the second request gets sent. Could it be a local problem?

Title: foo_discogs
Post by: thorazine on 2011-06-27 20:36:11
In 1.29 I'm having issues downloading art work, where it'll create a file but it's empty/corrupt.

Thanks for your good work.

Album art downloading seems forbidden too now:

Code: [Select]
GET [url=http://s.dsimg.com/image/R-150-1117525-1193409747.jpeg]http://s.dsimg.com/image/R-150-1117525-1193409747.jpeg[/url] HTTP/1.1
Host: s.dsimg.com
Connection: close
Accept-Encoding: gzip
Accept: application/xml
User-Agent: foobar2000/1.1.7

HTTP/1.1 200 OK
Date: Mon, 27 Jun 2011 19:25:00 GMT
X-Cache: MISS from cdce-lon004-018.lon004.internap.com
X-Cache: MISS from cdce-lon004-018.lon004.internap.com
Via: 0.9 cdce-lon004-018.lon004.internap.com:1080 (squid/2.7.STABLE7), 1.0 cdce-lon004-018.lon004.internap.com:80 (squid/2.7.STABLE7)
Connection: close

500 Client Refused


Title: foo_discogs
Post by: ~HQ on 2011-07-03 11:44:10
Are you planning expand this fix to older foo2k version? I'm using foo2k in version 0.9.5.2., 'cause is better than newest version, in my opinion of course. I don't idea how to change User-Agent...
Title: foo_discogs
Post by: Sandrine on 2011-07-03 14:37:56
Are you planning expand this fix to older foo2k version? I'm using foo2k in version 0.9.5.2., 'cause is better than newest version, in my opinion of course. I don't idea how to change User-Agent...

No. (http://www.hydrogenaudio.org/forums/index.php?showtopic=50523&view=findpost&p=760453)
Title: foo_discogs
Post by: den_po on 2011-07-04 08:58:16
please fix find_release_dialog::filter_releases().
transform(..., tolower) doesn't work with non-latin characters.

that's how i've fixed it:
Code: [Select]
void find_release_dialog::filter_releases(const std::string &text)
{
    size_t i, j;

    CStringW text_lowercase = pfc::stringcvt::string_wide_from_utf8(text.c_str());
    CharLowerBuffW(text_lowercase.GetBuffer(), text_lowercase.GetLength());
    text_lowercase.ReleaseBuffer();
[skipped]
        bool insert_item = true;
        if(text != "")
        {
            CStringW item_lowercase = pfc::stringcvt::string_wide_from_utf8(item.c_str());
            CharLowerBuffW(item_lowercase.GetBuffer(), item_lowercase.GetLength());
            item_lowercase.ReleaseBuffer();
            insert_item = wcsstr( item_lowercase, text_lowercase) != NULL;
        }
Title: foo_discogs
Post by: mudlord on 2011-07-04 09:20:36
Please fix that memory leak.
Title: foo_discogs
Post by: a3aan on 2011-07-09 16:12:32
Not working here either.

..
Album art downloading seems forbidden too now:
..

Title: foo_discogs
Post by: Slotos on 2011-07-12 20:33:49
edit: seems like discogs problem, sorry
Title: foo_discogs
Post by: Pure_BY on 2011-07-13 13:29:12
Plugin has stopped fetching data yesterday.
Btw, a small suggestion: could you support "Producer"-tag mapping?
Title: foo_discogs
Post by: BASGTA on 2011-07-13 17:26:48
Since yesterday I can't get any tags.

Quote
discogs error: release id=200917: XML parse error
Title: foo_discogs
Post by: fuffi on 2011-07-14 19:25:42
hello,

i just wanted to add some information about this issue (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50523&view=findpost&p=760857).

the last days i recognized, that the fine discogs-plugin does not find the same results as the websearch of discogs's site does.

i entered the same query on the website and fortunately i got all the results i expected, copied the release-ID to the plugins "release-id or url"-box and went fine.

unfortunately, this is pretty much overhead on work by myself :-)

please let me know, if i can give more useful informations. i manually checked the websearch on 4 or 10 searches with the plugin, so i guess this is pretty simple to reproduce with some music to tag. if not, let me know, i will send some names like in my post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50523&view=findpost&p=760857) above.
Title: foo_discogs
Post by: silkcut on 2011-07-14 23:38:59
Hello.  I guess this is a feature request.  Now that Discogs has a digital section for buying MP3/WAV, is there any chance to look up info from these releases?  It would be helpful for tagging non-vinyl/cd releases.

e.g. http://www.discogs.com/mp3/Esp-Its-On-You/1477449 (http://www.discogs.com/mp3/Esp-Its-On-You/1477449)

Thanks!
Title: foo_discogs
Post by: herr_nilsson on 2011-07-22 14:53:28
Hi folks,
I just started to use foobar200 recently again and imported/converted a lot of music to FLAC. Using the discogs plugin for album art, i received a lot of jpgs of 20 bytes size (ca. 30%, rest are ok). These jpgs a corrupted and not complete. Did anybody had this problem before. Didn't find any discussion about that before.

Best regards,
Nils
Title: foo_discogs
Post by: alexl on 2011-07-23 13:20:25
Same issue with jpg here. Something was changed at discogs.com again.
Title: foo_discogs
Post by: fuffi on 2011-07-23 13:57:51
These jpgs a corrupted and not complete.

hi had this issue some "years" ago, if i remember correclty, and couldnt do anything about it
just wait. meanwhile, to avoid the broken files, you could set not to fetch the album art in the confuguration dialogue of discogs, or not to overwrite existing files. (not quite a solution, i know...)

btw:
is there an option/a way to *automaticly* embedd album-art-images to the music-file(s)?
Title: foo_discogs
Post by: lordfrikk on 2011-07-31 11:05:37
Would it be possible to allow choosing of different versions after selecting a master? Example: I was searching for TV On The Radio – Nine Types Of Light and it found (correctly) a single entry - http://www.discogs.com/TV-On-The-Radio-Nin...t/master/330638 (http://www.discogs.com/TV-On-The-Radio-Nine-Types-Of-Light/master/330638) - but the version I have is listed among the 7 versions for this master - http://www.discogs.com/TV-On-The-Radio-Nin...release/2852104 (http://www.discogs.com/TV-On-The-Radio-Nine-Types-Of-Light/release/2852104). This way I have to go to discogs.com and search manually for the release ID and then enter it in the dialog box. It would be nice if we got to choose from a list of version upon selecting a master, for example a list of versions with number of tracks in brackets that would display track list upon cliking. This is probably too much but I'll ask anyway.
Title: foo_discogs
Post by: frogworth on 2011-07-31 12:16:00
Would it be possible to allow choosing of different versions after selecting a master?


Basically the latest version is unfortunately somewhat incomplete, and bubbleguuum seems to have a bit on his plate, so meanwhile it's strongly recommended you revert to the "fixed" version of 1.26, which works fine with the Discogs API changes:
http://www.multiupload.com/UH22MN91GC (http://www.multiupload.com/UH22MN91GC)
Title: foo_discogs
Post by: lordfrikk on 2011-07-31 12:30:46
Thank you, works flawlessly!
Title: foo_discogs
Post by: fuffi on 2011-07-31 16:52:45
I like to ask for a GUI enhancement: Resizable Window.
Nothing more, nothing less.
Just a resizable "Find Release" window.

-if you have a 24" screen and need to scroll a tiny 320x240 pixel window makes you feel like you're back in the 90s...
-if you have a 19" or 17" screen, its the same...
-if you have a 15" screen, i'm really really sorry for you :*)
Title: foo_discogs
Post by: geoffree on 2011-08-03 18:38:55
having the same issue w/ the corrupted jpegs.
Title: foo_discogs
Post by: jenko_1080 on 2011-08-06 11:35:11
If you view the corrupted jpeg in notepad you'll see this message:

"500 Client Refused"

Wish I knew how to fix this...
Title: foo_discogs
Post by: frogworth on 2011-08-06 13:48:54
Re corrupted jpegs, are you using this version?
http://www.multiupload.com/UH22MN91GC (http://www.multiupload.com/UH22MN91GC)

It's version 1.26 hex-edited to change the name of the client as far as I know. It's still completely compatible with Discogs, just doesn't use the new API, and the latest foo_discogs, which does use the new API, has the additional problem of only retrieving master versions of albums. So this is the one to go with.
Title: foo_discogs
Post by: jenko_1080 on 2011-08-07 08:44:35
I've tried both, they have approx the same failure rate for album art from what I've found.
And 1.29 has been working fine for me for tagging (also tested this with 1.26+fix to make sure i wasn't missing anything, and it seems fine too).
Title: foo_discogs
Post by: frogworth on 2011-08-07 11:24:40
I've tried both, they have approx the same failure rate for album art from what I've found.
And 1.29 has been working fine for me for tagging (also tested this with 1.26+fix to make sure i wasn't missing anything, and it seems fine too).


I've been using foo_discogs a fair bit recently and not found any problems with album art. Can you let me know a couple of discogs IDs of albums that are failing for you? Might as well try from over here and confirm...
Title: foo_discogs
Post by: tnnds on 2011-08-07 15:18:59
Ivica Vanevski & Saturn 6 (http://www.discogs.com/artist/Ivica+Vanevski+%26+Saturn+6)

no results found
(http://img98.imageshack.us/img98/3554/clipboard01zad.jpg)
Title: foo_discogs
Post by: traxy on 2011-08-09 03:00:19
no results found


It looks like discogs is blocking the User-Agent again:

Code: [Select]
GET /release/49769?f=xml&api_key=df4f42ee8c HTTP/1.1
Host: www.discogs.com
Connection: close
Accept-Encoding: gzip
User-Agent: Opera/9.80.00000
Accept: */*

500 Client Refused


I uploaded another fixed DLL of foo_discogs 1.26 here:
http://www.multiupload.com/DXPJNJ7545 (http://www.multiupload.com/DXPJNJ7545)

Let's see how long this will work...
Title: foo_discogs
Post by: tnnds on 2011-08-09 12:54:28
still can't find Ivica Vanevski & Saturn 6
Title: foo_discogs
Post by: fuffi on 2011-08-09 13:35:54
still can't find Ivica Vanevski & Saturn 6

yesterday, after i read your post, i tested and it couldnt find "Ivica Vanevski & Saturn 6", but it found "Ivica Vanevski" and "Saturn 6" (single attempts just to see, if the plugin finds anything and it did.).
i'm using the patched version.

seems strange to me, that the useragend is sometimes blocked and sometimes not.


EDIT:
to be more specifiy about the "patched" version:
i didnt tested it with that version from traxy:
Quote
I uploaded another fixed DLL of foo_discogs 1.26 here:
http://www.multiupload.com/DXPJNJ7545 (http://www.multiupload.com/DXPJNJ7545)
Title: foo_discogs
Post by: tnnds on 2011-08-09 13:50:21
it can find "Ivica Vanevski" and "Saturn 6",but it can't find releases from "Ivica Vanevski & Saturn 6"
Title: foo_discogs
Post by: db1989 on 2011-08-09 14:03:01
Simplistic question from an outsider: is it anything to do with the fact that the ampersand is reserved as a delimiter of variable=value pairs appended to HTTP URLs?
Title: foo_discogs
Post by: marc2003 on 2011-08-09 14:38:01
Ivica Vanevski & Saturn 6


i just tested this using wireshark (a program which monitors all network traffic) and it seems to be a problem on the discogs side. as far as the component is concerned, this is a successful server response even though it doesn't contain the data you want.

Code: [Select]
<resp stat="ok" version="1.0" requests="2"><searchresults numResults="0" /></resp>


@db1989, it encodes the artist name/ampersand properly as i'd expect from anyone capable of putting a foobar2000 component together.

Code: [Select]
GET /search?type=artists&q=Ivica%20Vanevski%20%26%20Saturn%206&f=xml&api_key=XXXXXX HTTP/1.1\r\n
Title: foo_discogs
Post by: fuffi on 2011-08-09 18:15:41
just for the fun of it:
(i use firefox)

if i enter:
Code: [Select]
http://www.discogs.com/search?type=artists&q=Ivica%20Vanevski%20%26%20Saturn%206
(from the code by marc2003/wireshark) in the URL-bar,

the result is a changing URL in firefox
Code: [Select]
ttp://www.discogs.com/search?type=artists&q=Ivica Vanevski %26 Saturn 6
and the search-field of the discogs site has now a value of Ivica Vanevski & Saturn 6 but not results for the artist.

after that, i press the search icon (magnifying glass) with that search-term "entered", i get 10 results.
the URL in firefox has then changed to:
Code: [Select]
http://www.discogs.com/search?q=Ivica+Vanevski+%26+Saturn+6&btn=&type=all


i also recognized, that the search-engine of discogs (website) is kinda picky about special chars, like the ampersand, so i manually delete all the special chars if i use the search engine via the website and mostly get useful results.

EDIT:
*now* i'm using the patched version from traxy (fix2) :-) the older one does not work here anymore. so thank you very much!!
Title: foo_discogs
Post by: db1989 on 2011-08-09 18:45:45
@db1989, it encodes the artist name/ampersand properly as i'd expect from anyone capable of putting a foobar2000 component together.

Code: [Select]
GET /search?type=artists&q=Ivica%20Vanevski%20%26%20Saturn%206&f=xml&api_key=XXXXXX HTTP/1.1\r\n
Of course! Not that I intended to question anyone’s competence.

But hey, I might not have been completely wrong, according to fuffi’s latest post. Seems it may be prudent to change the separator from an ASCII space to a plus symbol.
Title: foo_discogs
Post by: marc2003 on 2011-08-09 21:12:51
i now see the problem with "Ivica Vanevski & Saturn 6". it's because the component uses "&type=artists". if you don't search with a "type" specified, then you get the 10 results..

Code: [Select]
{
"resp" : {
"status" : true,
"search" : {
"searchresults" : {
"numResults" : "10",
"start" : "1",
"end" : "20",
"results" : [{
"thumb" : "http://s.dsimg.com/image/R-50-3022582-1312144435.jpeg",
"title" : "Ivica Vanevski & Saturn 6 - Now!",
"type" : "release",
"uri" : "http://www.discogs.com/Ivica-Vanevski-Saturn-6-Now/release/3022582",
"summary" : "Ivica Vanevski & Saturn 6 Now! Red Sky Digital RSDR006 5055274055206  GBKQU1011504 ISRC - Track 1 ...  05 Feb 2010 Electronic Trance Techno Ivica Vanevski & Saturn 6 Composed By, Producer  Now! (Original"
}, {
"thumb" : "http://s.dsimg.com/image/R-50-3022594-1312145011.jpeg",
"title" : "Ivica Vanevski & Saturn 6 - Solar Movement EP",
"type" : "release",
"uri" : "http://www.discogs.com/Ivica-Vanevski-Saturn-6-Solar-Movement-EP/release/3022594",
"summary" : "Ivica Vanevski & Saturn 6 Solar Movement EP Red Sky Digital NuBreed RSDNB001 5055274071176  GBKQU ...  May 2010 Electronic Trance Ivica Vanevski & Saturn 6 Composed By, Producer  Solar Movement Impression"
}, {
"thumb" : "http://s.dsimg.com/image/R-50-3022543-1312143364.jpeg",
"title" : "Ivica Vanevski & Saturn 6 - Basejumper EP",
"type" : "release",
"uri" : "http://www.discogs.com/Ivica-Vanevski-Saturn-6-Basejumper-EP/release/3022543",
"summary" : "Ivica Vanevski & Saturn 6 Basejumper EP Redux Recordings RDX076 5052653098403  DENP31100144 ISRC ...  Electronic Trance Ivica Vanevski & Saturn 6 Composed By, Producer  Basejumper (Original Mix) Basejumper"
}, {
"thumb" : "http://s.dsimg.com/image/R-50-3022610-1312145766.jpeg",
"title" : "Ivica Vanevski & Saturn 6 - Dream Of You",
"type" : "release",
"uri" : "http://www.discogs.com/Ivica-Vanevski-Saturn-6-Dream-Of-You/release/3022610",
"summary" : "Ivica Vanevski & Saturn 6 Dream Of You Red Sky Digital RSDR009 5055274072845  GBKQU1015716 ISRC ...  kbps MP3 UK 31 May 2010 Electronic Progressive House Trance Ivica Vanevski & Saturn 6 Composed By"
}, {
"thumb" : "http://s.dsimg.com/image/R-50-2570997-1291020084.jpeg",
"title" : "Lust (15) & Alenza - Natural Selection",
"type" : "release",
"uri" : "http://www.discogs.com/Lust-15-Alenza-Natural-Selection/release/2570997",
"summary" : " Electronic Trance  Natural Selection Natural Selection (Ivica Vanevski & Saturn 6 Remix) Ivica Vanevski Remix ...  Saturn 6 Remix "
}, {
"thumb" : "http://s.dsimg.com/image/R-50-2878705-1305323014.jpeg",
"title" : "Lust (15) & Alenza - Natural Selection",
"type" : "release",
"uri" : "http://www.discogs.com/Lust-15-Alenza-Natural-Selection/release/2878705",
"summary" : " 6 Remix) Ivica Vanevski Remix  Saturn 6 Remix  ...  \u00a9 Mondo Records Limited (2010) Natural Selection (Original Mix) Natural Selection (Ivica Vanevski & Saturn"
}, {
"thumb" : "http://s.dsimg.com/image/R-50-2570997-1291020084.jpeg",
"title" : "Lust (15) & Alenza - Natural Selection",
"type" : "master",
"uri" : "http://www.discogs.com/Lust-15-Alenza-Natural-Selection/master/336382",
"summary" : " (Ivica Vanevski & Saturn 6 Remix)"
}, {
"thumb" : "http://s.dsimg.com/image/R-50-2547137-1289851766.jpeg",
"title" : "Kelly Jay - Northbound",
"type" : "release",
"uri" : "http://www.discogs.com/Kelly-Jay-Northbound/release/2547137",
"summary" : " Vanevski & Saturn 6 Remix) northboundivicavanevskisaturn6remix Ivica Vanevski & Saturn 6 Remix  ...  David Adams (8) Remix  Northbound (Adriz Remix) northboundadrizremix Adriz Remix  Northbound (Ivica"
}, {
"thumb" : "http://s.dsimg.com/image/R-50-2609472-1293018928.jpeg",
"title" : "Matt Church & Kevin Shepherd (2) - The Loft",
"type" : "release",
"uri" : "http://www.discogs.com/Matt-Church-Kevin-Shepherd-The-Loft/release/2609472",
"summary" : " Electronic Trance  The Loft (Original Mix) theloftoriginalmix The Loft (Ivica Vanevski & Saturn 6 Remix ... ) theloftivicavanevskisaturn6remix Ivica Vanevski & Saturn 6 Remix  The Loft (Greg Brookman Remix) theloftgregbrookmanremix"
}, {
"thumb" : "http://s.dsimg.com/image/R-50-2362957-1279627425.jpeg",
"title" : "Various - Driving Trance Volume 04",
"type" : "release",
"uri" : "http://www.discogs.com/Various-Driving-Trance-Volume-04/release/2362957",
"summary" : ") sparkoverseantyasremix Sean Tyas Remix  Ivica Vanevski & Saturn 6 Now! now RedSound (2) Walking On The Beach (Ronski"
}
]
}
},
"version" : "2.0"
}
}
 

as you can see, the "type" of each entry is either "release" or "master".
Title: foo_discogs
Post by: nothingface0 on 2011-08-10 11:54:24
I uploaded another fixed DLL of foo_discogs 1.26 here:
http://www.multiupload.com/DXPJNJ7545 (http://www.multiupload.com/DXPJNJ7545)

Let's see how long this will work...


Thanks so much! Works great for me.
Title: foo_discogs
Post by: MDMA on 2011-08-10 13:25:00
thanks for the updated dll.
Title: foo_discogs
Post by: silkcut on 2011-08-10 15:42:37
Thanks traxy!
Title: foo_discogs
Post by: bubbleguuum on 2011-08-12 01:51:29
v1.30 available (autoupdate or components site or download link in first post)

- master releases are now handled and can be expanded
- album art fetching is more robust and should never write non-image files
- fixed search filter lowercasing working only on ascii characters

Let me know if there are any issues.


Quote
still can't find Ivica Vanevski & Saturn 6


This is a Discogs bug: http://www.discogs.com/search?type=artists...ki+%26+Saturn+6 (http://www.discogs.com/search?type=artists&q=Ivica+Vanevski+%26+Saturn+6)  doesn't return anything either.
Title: foo_discogs
Post by: fuffi on 2011-08-12 02:44:14
wow, that release looks good! thank you.
expanding master releases is quite a nice feature! unfortunately, the plugin window itself is very tiny to have a good look at more releases at once 8-]
i did not had any troubles until now, everything worked as expected. great!

a general question:

why is it, that if a file already has a discogs-release-id your fine plugin doesnt show/fetch the artist again?
the artist field is empty and must be filled by hand to get his releases.
i found this a bit inconvenient because if i like to check for other releases of the same artist, i have to type the artist name manually although it is in the mp3-tag.
Title: foo_discogs
Post by: bubbleguuum on 2011-08-12 12:29:29
unfortunately, the plugin window itself is very tiny to have a good look at more releases at once 8-]


No promise but I agree that the windows should be resizable.

why is it, that if a file already has a discogs-release-id your fine plugin doesnt show/fetch the artist again?
the artist field is empty and must be filled by hand to get his releases.
i found this a bit inconvenient because if i like to check for other releases of the same artist, i have to type the artist name manually although it is in the mp3-tag.


I considerered that if you open the tagging dialog release again on an already tagged release, it's probably to update the tags (because you added some new mappings).
So I made it easy to just click next for that use case.
Title: foo_discogs
Post by: db1989 on 2011-08-12 13:52:28
Quote
still can't find Ivica Vanevski & Saturn 6
This is a Discogs bug: http://www.discogs.com/search?type=artists...ki+%26+Saturn+6 (http://www.discogs.com/search?type=artists&q=Ivica+Vanevski+%26+Saturn+6)  doesn't return anything either.

As per fuffi and marc2003’s posts, appending &type=all to the URL alleviates this.

So apparently Discogs does not store this string as an artist, and yet there’s this: http://www.discogs.com/artist/Ivica+Vanevski+%26+Saturn+6 (http://www.discogs.com/artist/Ivica+Vanevski+%26+Saturn+6)
Title: foo_discogs
Post by: bubbleguuum on 2011-08-12 14:02:35
Quote
still can't find Ivica Vanevski & Saturn 6
This is a Discogs bug: http://www.discogs.com/search?type=artists...ki+%26+Saturn+6 (http://www.discogs.com/search?type=artists&q=Ivica+Vanevski+%26+Saturn+6)  doesn't return anything either.

As per fuffi and marc2003’s posts, appending &type=all to the URL alleviates this.

So apparently Discogs does not store this string as an artist, and yet there’s this: http://www.discogs.com/artist/Ivica+Vanevski+%26+Saturn+6 (http://www.discogs.com/artist/Ivica+Vanevski+%26+Saturn+6)


The plugin search for *artists*. &type=all won't return any artist, just single releases of that artist. I'm not going to workaround every Discogs bug.
Title: foo_discogs
Post by: tnnds on 2011-08-12 14:43:51
no results:
Dave & Oliver (http://www.discogs.com/artist/Dave+%26+Oliver)
Blue & Black (http://www.discogs.com/artist/Blue+%26+Black)
Gafry & More (http://www.discogs.com/artist/Gafry+%26+More)
Kay Langer & Matt Dave (http://www.discogs.com/artist/Kay+Langer+%26+Matt+Dave)
Lando & Zekyel (http://www.discogs.com/artist/Lando+%26+Zekyel)
Noferini & Marini (http://www.discogs.com/artist/Noferini+%26+Marini)
Ruby & Tony (http://www.discogs.com/artist/Ruby+%26+Tony)
Title: foo_discogs
Post by: bubbleguuum on 2011-08-12 15:19:01
no results:
Dave & Oliver (http://www.discogs.com/artist/Dave+%26+Oliver)
Blue & Black (http://www.discogs.com/artist/Blue+%26+Black)
Gafry & More (http://www.discogs.com/artist/Gafry+%26+More)
Kay Langer & Matt Dave (http://www.discogs.com/artist/Kay+Langer+%26+Matt+Dave)
Lando & Zekyel (http://www.discogs.com/artist/Lando+%26+Zekyel)
Noferini & Marini (http://www.discogs.com/artist/Noferini+%26+Marini)
Ruby & Tony (http://www.discogs.com/artist/Ruby+%26+Tony)


Looks like there is a pattern here.
The right place to complain about it is:

http://www.discogs.com/help/forums/board/1082 (http://www.discogs.com/help/forums/board/1082)
Title: foo_discogs
Post by: fuffi on 2011-08-13 02:08:52
I'm not going to workaround every Discogs bug.

of course. but users (we) will generally complain here, as they (we) don't know, why a plugin is non-functional in a way it should be, because it is expected to work in the needed way :-) this comes out very clear if we (the users) read the last dozens posts where everybody is asking why there are not the expected search-results and if its the plugin that failed :)

you could add an "expert" textfield, if filled with an usergiven query-string, will overwrite the query-string, you commit to the discogs search.

that said, a user-customizable user-agent could be also a big help.

and because we all know the reality of things, new questions will arrive, asking, why something is not working, because we changed the default query-string or user-agend-string :)

i really appreciate all your work for us, the users! thanks.


Title: foo_discogs
Post by: Chris Norman on 2011-08-13 22:57:15
v1.30 available (autoupdate or components site or download link in first post)

- master releases are now handled and can be expanded
- album art fetching is more robust and should never write non-image files
- fixed search filter lowercasing working only on ascii characters

Let me know if there are any issues.


Quote
still can't find Ivica Vanevski & Saturn 6


This is a Discogs bug: http://www.discogs.com/search?type=artists...ki+%26+Saturn+6 (http://www.discogs.com/search?type=artists&q=Ivica+Vanevski+%26+Saturn+6)  doesn't return anything either.


Thanks bubbleguuum, you are the master
Title: foo_discogs
Post by: $1@ck3r on 2011-08-17 15:42:36
Hi, I had to register to say that.
I'm using Discogs Tagger and I like it. But it lacks one field for the tags: Barcode and Other Identifiers. These are being separated from general Notes for quite some time now on Discogs, and Discogs Tagger is oblivious to that.

Also, I've got one question: why doesn't it update/rewrite tags immediately after they've been edited on Discogs? Does it depend on Discogs or is it some kind of caching in the Tagger?
Title: foo_discogs
Post by: bubbleguuum on 2011-08-19 23:14:42
Hi, I had to register to say that.
I'm using Discogs Tagger and I like it. But it lacks one field for the tags: Barcode and Other Identifiers. These are being separated from general Notes for quite some time now on Discogs, and Discogs Tagger is oblivious to that.


AFAIK they are not available through the API

Also, I've got one question: why doesn't it update/rewrite tags immediately after they've been edited on Discogs? Does it depend on Discogs or is it some kind of caching in the Tagger?


Yes there is caching. If you manually update a release on Discogs after it has been fetched, use the "Clear release cache" button found in the find release dialog.
Title: foo_discogs
Post by: $1@ck3r on 2011-08-20 16:37:51
Thanks for reply.
I checked, and it's not supported by API, I'll make a request at Discogs forums then.
Title: foo_discogs
Post by: fuffi on 2011-08-24 15:22:46
Hi bubbleguuum,

in addition to my other screenshots containing "html-glitches", some posts above,
here is another (very) small issue ",," with the newest version:
(http://www.bilder-hochladen.net/files/hcyg-10-1c38.png) (http://www.bilder-hochladen.net/files/hcyg-10-1c38-png-nb.html)

Title: foo_discogs
Post by: krayon on 2011-08-24 16:29:44
Hi bubbleguuum

Nice job with the update.  Being able to select master copies and find the individual release is great.

Just to share my 2cents though, at the moment to download album art users have to go into the settings, it can only be on or off. Users may wish to only download art for say, releases with missing artwork.  A checkbox allowing users to choose whether or not they download the artwork would really enhance it's usefulness.  The setting in the options could simply be it's default value.
Title: foo_discogs
Post by: NogginJ on 2011-08-25 05:25:13
I uploaded another fixed DLL of foo_discogs 1.26 here:
http://www.multiupload.com/DXPJNJ7545 (http://www.multiupload.com/DXPJNJ7545)

Let's see how long this will work...

Thanks a lot.

Can whatever is being changed to fix these dlls be turned into a user-editable option? Is it just the server address or something?
Title: foo_discogs
Post by: frogworth on 2011-08-25 14:17:16
Can whatever is being changed to fix these dlls be turned into a user-editable option? Is it just the server address or something?


bubbleguuum has released version 1.30 which should solve the problem. Scroll up or look at this post (http://www.hydrogenaudio.org/forums/index.php?showtopic=50523&st=1100&p=765785&#entry765785).
Title: foo_discogs
Post by: fuffi on 2011-08-26 14:50:04
hi,

i've got trouble with the latest version 1.30.

when looking for releases for "sandman"  (artist), the plugin only shows artists(n) >10, so the artist, sandman (2) which exists in the discogs db (http://www.discogs.com/artist/Sandman+%282%29) is not shown.

please have a look at the screenshot, which shows less artists as the discogs web-search did.
(http://www.bilder-hochladen.net/files/hcyg-11-19ca.png) (http://www.bilder-hochladen.net/files/hcyg-11-19ca-png-nb.html)

does anybody encounter such thing too? and how could i get ALL the results the discogs web-search shows inside the plugin?
Title: foo_discogs
Post by: bubbleguuum on 2011-08-26 15:48:00
when looking for releases for "sandman"  (artist), the plugin only shows artists(n) >10, so the artist, sandman (2) which exists in the discogs db (http://www.discogs.com/artist/Sandman+%282%29) is not shown.


Untick "exact matches" to see missing entries appear. The distinction between exact and non-exact matches seems arbitrary when you look at the response of this request

http://api.discogs.com/search?type=artists&q=Sandman (http://api.discogs.com/search?type=artists&q=Sandman)

Another Discogs weirdness.
Title: foo_discogs
Post by: trashcan on 2011-08-28 11:18:55
Is it possible to get titles and cover art to show up automatically when I play a CD with foobar using this plugin? (Like some other media players do it.)
Title: foo_discogs
Post by: fuffi on 2011-08-28 12:04:39
Is it possible to get titles and cover art to show up automatically when I play a CD with foobar using this plugin? (Like some other media players do it.)

Nope, but you can use this fine plugin here (http://foo2k.chottu.net/) (Biography View) and move over to the corresponding thread (http://www.hydrogenaudio.org/forums/index.php?showtopic=70955).
Title: foo_discogs
Post by: ben123456 on 2011-08-30 01:57:54
"There were some errors. Look in foobar's console for details."

This is preventing me from tagging anything. Yes, I have 1.30. How do I fix this?
Title: foo_discogs
Post by: geoffree on 2011-08-30 03:16:08
"There were some errors. Look in foobar's console for details."

This is preventing me from tagging anything. Yes, I have 1.30. How do I fix this?


same here, but now it isn't doing it anymore for me. here's my previous console errors if anybody needs it.

Quote
Could not query file attributes for "D:\Music\Sort\Legowelt - Bayville Cove [2010] V0\temp-F475819E61DAD53F6856AF7DF849820C.tmp", reason: Object not found
Could not query file attributes for "D:\Music\Sort\Legowelt - Bayville Cove [2010] V0\temp-F475819E61DAD53F6856AF7DF849820C.tmp", reason: Object not found
Could not query file attributes for "D:\Music\Sort\[S.O.S.1] Legowelt - Moves For CeeCee (2011,Vinyl,V0)\temp-0693E519D0E728B2B98D2F904B32ABBE.tmp", reason: Object not found
Could not query file attributes for "D:\Music\Sort\[S.O.S.1] Legowelt - Moves For CeeCee (2011,Vinyl,V0)\temp-0693E519D0E728B2B98D2F904B32ABBE.tmp", reason: Object not found
foo_discogs: error: could not save url=http://s.dsimg.com/image/R-2852892-1305713873.jpeg, skipping...
foo_discogs: error: could not save url=http://s.dsimg.com/image/R-2569625-1293298867.jpeg, skipping...


it snags the cover.jpg now, but it's a blank file, nothing inside.
Title: foo_discogs
Post by: komhst on 2011-08-30 20:09:11
I always get an error report in the console:

foo_discogs: error: could not save url=http://s.dsimg.com/image/R-2020101-1294939250.jpeg, skipping...

and there is no saved .jpg album art picture.

I use foobar2000 ver. 1.1.7 and foo_discogs ver. 1.30


Is there any solution to the problem?
Title: foo_discogs
Post by: jaysson on 2011-08-30 20:32:24
Same problem over here, image URL isn't working in Browser either.
Title: foo_discogs
Post by: komhst on 2011-08-30 21:30:14
All of a sudden it started working properly, saving tags, images. Everything is working properly, so I guess it was a problem from the discogs site...
Title: foo_discogs
Post by: jaysson on 2011-08-30 22:02:13
All of a sudden it started working properly, saving tags, images. Everything is working properly, so I guess it was a problem from the discogs site...


#2
Title: foo_discogs
Post by: trashcan on 2011-08-30 22:34:06
Is it possible to get titles and cover art to show up automatically when I play a CD with foobar using this plugin? (Like some other media players do it.)

Nope, but you can use this fine plugin here (http://foo2k.chottu.net/) (Biography View) and move over to the corresponding thread (http://www.hydrogenaudio.org/forums/index.php?showtopic=70955).

Interesting plugin, but not really what I was looking for. It seems to just grab some random images off of lastfm rather than the corresponding album art.
Maybe there would be a way to add an option to let foo_discogs download automatically for media in the playlist, or at least if it's playing a cd..?
Title: foo_discogs
Post by: ben123456 on 2011-08-31 02:23:09
"There were some errors. Look in foobar's console for details."

This is preventing me from tagging anything. Yes, I have 1.30. How do I fix this?


I'm still getting this message.
Title: foo_discogs
Post by: thorazine on 2011-08-31 16:08:16
Am I still the only one having troubles getting foo_discogs to work at all, I mean not getting any results at all.
The strange thing is that it works just fine when routing foobar requests through a proxy, either one in the local machine or one in a remote server. Any clue on this?
I tried to diagnose this but I run out of ideas, what could be stopping foo_discogs that is not active when setting up a proxy in foobar's network settings?

Just to be sure nothing in my network connection is interfering this is the captured network traffic for one discogs request:
Code: [Select]
GET /search?type=artists&q=Lila%20Downs HTTP/1.1
Host: api.discogs.com
Connection: close
Accept-Encoding: gzip
User-Agent: Opera/9.50
Accept: application/xml
Icy-MetaData:1


HTTP/1.1 200 OK
Content-Length: 292      
Content-Encoding: gzip
Reproxy-Status: yes
Content-Type: application/xml; charset=utf-8
Date: Wed, 31 Aug 2011 15:16:36 GMT
Server: lighttpd
Connection: close


Same request sent through Firefox (minus the deleted auth cookies):
Code: [Select]
GET /search?type=artists&q=Lila%20Downs HTTP/1.1
Host: api.discogs.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
DNT: 1
Connection: keep-alive
Cookie: <snip>
Cache-Control: max-age=0


HTTP/1.1 200 OK
Content-Length: 292      
Content-Encoding: gzip
Reproxy-Status: yes
Content-Type: application/xml; charset=utf-8
Date: Wed, 31 Aug 2011 15:18:56 GMT
Server: lighttpd
Connection: keep-alive


I think everything looks right, can someone compare and confirm?
Title: foo_discogs
Post by: k33 on 2011-09-01 11:23:24
got this:

discogs error: release id=873626: no error

in case with other releases everything is fine
is there any suggestions ?
(foobar v 1.1.7 , foo_discogs v1.30)
Title: foo_discogs
Post by: Sea Monkey on 2011-09-01 22:57:30
discogs error: release id=2999470: XML parse error

1.1.7 / 1.30

Title: foo_discogs
Post by: bubbleguuum on 2011-09-01 23:09:25
discogs error: release id=873626: no error


No error here. Maybe a discogs temp failure ?

discogs error: release id=2999470: XML parse error


returned XML is indeed broken:
http://www.discogs.com/release/2999470?f=x..._key=df4f42ee8c (http://www.discogs.com/release/2999470?f=xml&api_key=df4f42ee8c)
Title: foo_discogs
Post by: fuffi on 2011-09-03 22:56:27
when looking for releases for "sandman"  (artist), the plugin only shows artists(n) >10, so the artist, sandman (2) which exists in the discogs db (http://www.discogs.com/artist/Sandman+%282%29) is not shown.
Untick "exact matches" to see missing entries appear.

Hi bubbleguuum,
i've unticked as suggested, but it won't find the artist "jupiter (4)".

have a look at the screenshots, which show, that artists "jupiter (4)" is not in the list, but was found with the web-search:
http://www.discogs.com/search?type=all&...&btn=Search (http://www.discogs.com/search?type=all&q=Jupiter+Starlighter+%28Steve+Moore+Remix%29&btn=Search)
(http://www.bilder-hochladen.net/files/hcyg-12-a5bf.png) (http://www.bilder-hochladen.net/files/hcyg-12-a5bf-png-nb.html)

(http://www.bilder-hochladen.net/files/hcyg-13-a577.png) (http://www.bilder-hochladen.net/files/hcyg-13-a577-png-nb.html)
(http://www.bilder-hochladen.net/files/hcyg-14-d67d.png) (http://www.bilder-hochladen.net/files/hcyg-14-d67d-png-nb.html)
(http://www.bilder-hochladen.net/files/hcyg-15-d645.png) (http://www.bilder-hochladen.net/files/hcyg-15-d645-png-nb.html)
Title: foo_discogs
Post by: den_po on 2011-09-07 07:34:14
@bubbleguuum:
doesn't foo_discogs parse "&quot;" code?
Title: foo_discogs
Post by: plinni on 2011-09-15 12:17:35
Thx for you plugin!

I also got the problem that some artists won't appear while searching (like mentionend above with Jupiter) but checking the website is no problem. What would be nice is that differences in tracklisting between local files and discogs are highlighted. Any chance of getting such a feature?
Title: foo_discogs
Post by: thorazine on 2011-09-15 13:33:13
Is there a debug version or a way to make foo_discogs write a detailed log to be able to track down all these troubles?
Title: foo_discogs
Post by: djjeffrey on 2011-10-06 19:33:39
This is the best companent plugin I have seen sofar to work with Discogs, "maybe the only one"

I'ts unbelievable fast and finds allmost everything which I am want to tag... there are some search difficulty's where
maybe in the near future is a solution for..

Now we can search by artits, are there options to create in a near future update where it's possible to search for:\

- Record label (example: Ruffneck Records) (results: all vinyl's found under the LABEL name via Discogs.
- Release ID/URL (example: ID: 88584) (results: show this as a result: http://www.discogs.com/Juggernaut-Ruffneck...-/release/88584 (http://www.discogs.com/Juggernaut-Ruffneck-Rules-Da-Artcore-Scene-/release/88584) )
- Album name etc.

Maybe it's said already ? if so then sorry

Still love it but if this options belone to a future update it makes this component so much stronger for me to use and speed up the tagging process a
lot, I have to go true a 1500 vinyl record collection.

Thanks in advance and keep up the good work!

Regards,

Jeffrey
Title: foo_discogs
Post by: zaede on 2011-10-06 20:38:52
Hi,

If I use Tagging -> Discogs -> Write Tags the popup window Find Release opens
an Processing: Fetching artist list...  starts.

Now the artist appears in field Artist.

Processing: Fetching releases list.... starts to search but the field releases
always stays empty.

What i am doing wrong ?

In field releases Filter: the album is already written.

I use Discogs Tagger v. 1.30
and foobar2000 1.1.8

plz help

Peter
Title: foo_discogs
Post by: frogworth on 2011-10-07 06:55:41
Now we can search by artits, are there options to create in a near future update where it's possible to search for:\

- Record label (example: Ruffneck Records) (results: all vinyl's found under the LABEL name via Discogs.
- Release ID/URL (example: ID: 88584) (results: show this as a result: http://www.discogs.com/Juggernaut-Ruffneck...-/release/88584 (http://www.discogs.com/Juggernaut-Ruffneck-Rules-Da-Artcore-Scene-/release/88584) )
- Album name etc.


I'd love to be able to search by label, and maybe album name too, yes.

You can use discogs ID though. Just past it into the bottom-right field of the main dialog, and then hit the Next button!
Title: foo_discogs
Post by: bubbleguuum on 2011-10-07 21:06:29
Now we can search by artits, are there options to create in a near future update where it's possible to search for:\

- Record label (example: Ruffneck Records) (results: all vinyl's found under the LABEL name via Discogs.
- Release ID/URL (example: ID: 88584) (results: show this as a result: http://www.discogs.com/Juggernaut-Ruffneck...-/release/88584 (http://www.discogs.com/Juggernaut-Ruffneck-Rules-Da-Artcore-Scene-/release/88584) )
- Album name etc.


I'd love to be able to search by label, and maybe album name too, yes.

You can use discogs ID though. Just past it into the bottom-right field of the main dialog, and then hit the Next button!


You can also paste the full release URL in this field.
Also you can double click artists and releases to open the related Discogs page in your browser.
There won't be alternate ways of searching implemented as I do not develop the plugin actively, except for fixing any
Discogs API change.
Title: foo_discogs
Post by: Yakk372 on 2011-10-28 05:17:12
Hey, first off, I've just upgraded to 1.30, and it works fantastically! Thanks so much.

Just a question, not sure if Discogs API supports it, or if it's too much hard work, but when you have a release like this (http://www.discogs.com/release/2340851), with a track that is a "mash up" - two or more IDs, but one single track, the plugin reads the IDs for part a and part b of the same track as separate tracks - so, in this release, there are 31 tracks, but 32 IDs: Is there anyway to join part a and part b automatically?

Sorry if this has been covered before.
Title: foo_discogs
Post by: fuffi on 2011-10-28 11:21:04
in this release, there are 31 tracks, but 32 IDs: Is there anyway to join part a and part b automatically?
i have this "issue" very often too, and i wonder how it could be solved.
would you mind to give us some ideas on how you would work on that?
i.e. how would you merge the information to a single one?
Title: foo_discogs
Post by: Yakk372 on 2011-10-28 11:34:23
in this release, there are 31 tracks, but 32 IDs: Is there anyway to join part a and part b automatically?
i have this "issue" very often too, and i wonder how it could be solved.
would you mind to give us some ideas on how you would work on that?
i.e. how would you merge the information to a single one?


What I did was to Remove the second piece of information for the track with two IDs, then use the multi-disk options, so that the numbering was correct, then edit in the information myself.

I'm not sure how you'd change the plugin though - whether or not discogs gives you 1a 1b, or just the track information in order, and whether or not you'd be able to compile it automatically.
Title: foo_discogs
Post by: fuffi on 2011-10-28 13:31:21
I'm not sure how you'd change the plugin though - whether or not discogs gives you 1a 1b, or just the track information in order, and whether or not you'd be able to compile it automatically.
i guess, we never get it automaticly to work. that said, it would be a nice feature to just edit/or sum up some of the mentioned informations inside the addon and not after tagging the files.
Title: foo_discogs
Post by: den_po on 2011-10-30 20:05:27
"find release" dialog don't get a focus back after first progress dialog is closed ("fetching artist list")
Title: foo_discogs
Post by: wojtek on 2011-10-31 09:45:42
Release dialog is opened on the same display on which foobar is - not the one on which we put the "Find release" dialog -- it would be more convenient is the Release dialog followed "Find release" one (i.e. foobar2000 is playing on the side monitor, we want to tag an album while wanting to get better view of the search data so we place the dialog on the main monitor and after the search we have to repeat the steps for the Release dialog because it's opened on the side display.
Title: foo_discogs
Post by: fuffi on 2011-11-03 13:49:04
hi bubbleguuum,
i'd like to suggest for a later version, that we (the users of your fine extension) could better seperate the releases shown.
if you take a look at the screenshot, you can't say what is the ALBUM, or the SINGLE of the shown Master of Avalon.
Just add anything so we can see what release/master we are clicking :-)
(http://www.bilder-hochladen.net/files/hcyg-19-f717.png) (http://www.bilder-hochladen.net/files/hcyg-19-f717-png-nb.html)
thanks
Title: foo_discogs
Post by: Tilo on 2011-11-04 04:18:00
Hi guys,
First, I want to thank bubbleguuum for this great plugin.
I've been using it for a while and only recently I have no results when fetching the artist list. I reinstalled a new version of foobar and latest foo_discogs but still no results.
I made sure to try with artists listed in the database but so far no success.
Could it be coming from my network or am I simply missing something?
Thanks for your help.
Title: foo_discogs
Post by: zaede on 2011-11-04 09:38:51
Hi guys,
First, I want to thank bubbleguuum for this great plugin.
I've been using it for a while and only recently I have no results when fetching the artist list. I reinstalled a new version of foobar and latest foo_discogs but still no results.
I made sure to try with artists listed in the database but so far no success.
Could it be coming from my network or am I simply missing something?
Thanks for your help.


Since a long time same problem. Didn`t find solution
Title: foo_discogs
Post by: bubbleguuum on 2011-11-04 09:52:35
Hi guys,
First, I want to thank bubbleguuum for this great plugin.
I've been using it for a while and only recently I have no results when fetching the artist list. I reinstalled a new version of foobar and latest foo_discogs but still no results.
I made sure to try with artists listed in the database but so far no success.
Could it be coming from my network or am I simply missing something?
Thanks for your help.


Since a long time same problem. Didn`t find solution


Untick the "Exact matches" checkbox found in the "Find Release" dialog (see screenshot 2 posts above this one).
That should help
Title: foo_discogs
Post by: zaede on 2011-11-04 10:42:19
Untick the "Exact matches" checkbox found in the "Find Release" dialog (see screenshot 2 posts above this one).
That should help


Artists always be found but never the releases !
Title: foo_discogs
Post by: bubbleguuum on 2011-11-04 10:53:38
Untick the "Exact matches" checkbox found in the "Find Release" dialog (see screenshot 2 posts above this one).
That should help


Artists always be found but never the releases !


Clear the "Filter" text field in the dialog ?
Title: foo_discogs
Post by: fuffi on 2011-11-04 11:51:44
Artists always be found but never the releases !

i can confirm this (at least, replace 'always' with 'sometimes').
i don't have an incident right now, but it seems, that sometimes the plugin swallow up some releases.
i remember being confused when using the websearch with the same pattern as the plugin, the websearch of dg shows more results.
i'll try to remember using the api via the web if this is possible? so i (we all) could test if the plugin shows the same as the api shows.
as far as i understand, the websearch is a bit different from the api?
Title: foo_discogs
Post by: zaede on 2011-11-04 11:52:37
Clear the "Filter" text field in the dialog ?


No way. It`s strange !

If i wright the release number in " Release id  or url" and than Next it works.

http://www.hydrogenaudio.org/forums/index....st&p=771425 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50523&view=findpost&p=771425)
Title: foo_discogs
Post by: Tilo on 2011-11-05 04:04:11
Did more testing but even with "exact matches" and "filters" turned off I can't get any artist list.
Searching by "Release id or url" send me the following "discogs error: release id=3198961: problem connecting to discogs.com"
I have no problem connecting the discogs site though. Enabling a proxy leads to the same error.

Title: foo_discogs
Post by: Zarty on 2011-11-09 22:33:30
Just tried discogs out for the first time on a sample of tracks.  About 1 in 5 worked.  I was getting this error most of the time...

(http://i1096.photobucket.com/albums/g325/Zarty_Blartfast/discogs.jpg)

Very promising though.  Hope I can get it to work for me!

Zarty
Title: foo_discogs
Post by: Emerelle on 2011-11-10 01:14:18
Hmm, did you get that error after you selected one of the results? Cause thats one of the things to watch out for, it returns an error if you just hit enter without selecting one of the releases from the right pane.
I love discogs plugin and couldnt live without it. Fortunately, it works fine with most of my tracks.
Title: foo_discogs
Post by: Zarty on 2011-11-10 09:06:57
Hmm, did you get that error after you selected one of the results? Cause thats one of the things to watch out for, it returns an error if you just hit enter without selecting one of the releases from the right pane.
I love discogs plugin and couldnt live without it. Fortunately, it works fine with most of my tracks.

Doh!  Ok, user error.  Now all I need it to do is work on more than one track at a time. :-)

Zarty
Title: foo_discogs
Post by: Emerelle on 2011-11-10 20:03:57
Haha, happened to me the first 100 times I tried that plugin!  Im glad you got it sorted.

I am still kind of baffled that so many people have problems with this plugin (not seeing releases etc). I never had that happen, also no crashes.
Title: foo_discogs
Post by: Zarty on 2011-11-14 17:05:29
Haha, happened to me the first 100 times I tried that plugin!  Im glad you got it sorted.

I am still kind of baffled that so many people have problems with this plugin (not seeing releases etc). I never had that happen, also no crashes.

The other thing that when wrong initially was that although I had got to the point where the correct album was displayed, I didn't select the correct track in the right way.  As a result, the wrong track details were written to the file.  I'm not sure what happened exactly but selecting the correct track and moving it to the top of the track list always works so that's what I do now. 

Zarty
Title: foo_discogs
Post by: Emerelle on 2011-11-19 16:55:35
Yes, that is one of the things you have to fiddle around with using this addon: the track lists must be totally identical on both sides (release title list and your file list) _incuding_ all gaps/empty lines. Otherwise the wrong info goes into the files. That's one of the things I hope will get improved maybe in future release
Title: foo_discogs
Post by: ledge on 2011-11-20 04:11:30
Yes, that is one of the things you have to fiddle around with using this addon: the track lists must be totally identical on both sides (release title list and your file list) _incuding_ all gaps/empty lines. Otherwise the wrong info goes into the files. That's one of the things I hope will get improved maybe in future release


How else do you expect it to know what tags to put to what file? Of course the files on either side must match.

You might want to try unticking "Automatically match discogs tracks to local tracks, based on track length where available" in the preferences. I found this cocked things often enough for me that it wasn't worth using. As long as your tracks are in the correct album order to start with you should be fine.
Title: foo_discogs
Post by: Emerelle on 2011-11-20 10:06:33
Sorry you got me entirely wrong: that was no complaint. Im fine with it. And I have that unticked, nevertheless files need to be exactly on the same level - what I hope for is a better handling of gaps once you remove files from the list.
Title: foo_discogs
Post by: fuffi on 2011-11-20 12:01:12
i also completley do not understand the intention of having blank lines when deleting a file on the right side.

deleting a track on the left side does not leave a blank line, the rest of the listed tracks (under the deleted one) will just go one level up (as expected), why does the behaviour differ, when deleting a file from the list on the right side?

maybe we can sum the benefits here, so i can see how i could use that feature.
Title: foo_discogs
Post by: Emerelle on 2011-11-20 13:09:05
Exactly this is what was "bugging" me just a little bit: the blank lines on the right side, thats what I was hoping for to get fixed some time. And it is just a pitfall for new users when they update their files and dont know that the wrong info will be written when the files are not on exactly the same level (including blank lines). And I have no idea what this behaviour might be good for, I just got used to it
Title: foo_discogs
Post by: Torava on 2011-11-26 11:53:48
What's wrong with track order (http://i.servut.us/i/shufflin.png)? This happens too often.
Title: foo_discogs
Post by: frogworth on 2011-11-26 13:38:44
What's wrong with track order (http://i.servut.us/i/shufflin.png)? This happens too often.


The answer's on this very page. Untick "Automatically match discogs tracks to local tracks, based on track length where available" in the preferences.
Title: foo_discogs
Post by: fuffi on 2011-11-26 14:07:57
Untick "Automatically match discogs tracks to local tracks, based on track length where available" in the preferences.

(i suggested it already) it would be useful to have the configuration setting *inside* the release-window to switch it on/off in realtime. maybe with realtime sorting, so the user could see how the tracks change on his click.
don't know, but i think this might could prevent some of this "allready asked" questions.
Title: foo_discogs
Post by: Lucky Luciano on 2011-11-26 17:25:42
Thanks for this great component!

Could you please add an option to remove all existing tags, like the freedb component has?
Title: foo_discogs
Post by: Anakunda on 2011-11-27 12:21:39
Hello, I find one annoying thing on Discogs tagger, sometimes I get the record for queried album with tracklist in shuffled order, I don't know if that's a bug or a feature, but in case of the latter I don't understand the sense of getting tracklist in shuffled order. It's not due to wrong track order at Discogs as the track numbers do match. How can I make Discogs plugin to sort tracks by tracknumber always?? Thanks
Title: foo_discogs
Post by: fbuser on 2011-11-27 12:39:37
Wow, only 25 hours after the last one asked this (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50523&view=findpost&p=776930).
Title: foo_discogs
Post by: Anakunda on 2011-11-27 12:53:26
Wow, only 25 hours after the last one asked this (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=50523&view=findpost&p=776930).

your`e right  thanks for quick link
Title: foo_discogs
Post by: runixer on 2011-11-29 16:16:18
hi, discover 1 minor bug in this great component: Doesn't working multi-value tag "Format". Description says: "Writen as a multi-value tag", but for delimiter in this tag foo_discogs uses ',' instead of ";"
Title: foo_discogs
Post by: somy on 2011-11-30 11:10:14
Thanks for the great plugin!
A quick question, is it possible to embed cover art directly in flac files instead of creating cover.jpg files in album folders?
Or to put it another way, what are the benefits of cover.jpg comparing to embedded cover art in each file?
Thanks!
Title: foo_discogs
Post by: klonuo on 2011-12-02 21:33:07
Don't know if this is reported or known, but there is possibility that [master] name and all release names are different, in which case release query fails because it's not same with [master] name



Example:

Release query "Inside the Cathedral" fails because master is named "Inside Russia"

http://www.discogs.com/Paul-Horn-Inside-Th...l/master/260048 (http://www.discogs.com/Paul-Horn-Inside-The-Cathedral/master/260048)

Title: foo_discogs
Post by: acidbearboy on 2011-12-05 09:18:06
I have downloaded the latest version but I keep getting the following error message when trying to use this plugin.

Code: [Select]
discogs error: release id=3166030: problem connecting to discogs.com


How can I fix it please?

Thanks
Title: foo_discogs
Post by: somy on 2011-12-07 18:49:29
I have a newbie question, what is the difference betweeen tags with multiple values and single values such as DISCOGS_TRACK_CREDITS_MULTI and DISCOGS_TRACK_CREDITS?
I checked the content of both tags, and they look exactly the same (both use ";" to separate values).
Which tag is recommanded? Thanks!
Title: foo_discogs
Post by: Emerelle on 2011-12-07 19:47:28
@somy:
Multi fields can be displayed as seperate entities (for instance in EsPlaylists groupinfo) using $meta_sep.

I have a question myself now: In the settings dialog there are options to download images for both album and artist. I used $directory_path(%path%) for artist. Now I wonder if there is a way to make foo_discogs write the artists name to the filename? All I get is numbered files.

Similarly, for the album I use the prefix folder (same TF string) but it doesnt seem to be working.
Title: foo_discogs
Post by: somy on 2011-12-08 07:29:59
@somy:
Multi fields can be displayed as seperate entities (for instance in EsPlaylists groupinfo) using $meta_sep.


Hi Emerelle,
Thanks for the reply, does it mean that in general "multi" tags are more preferred than single-value tags?
I need to decide which one to use as I don't want duplicate information in my flac files.

Title: foo_discogs
Post by: Emerelle on 2011-12-09 17:47:19
I'm sorry I cannot tell you really. I use it on the style tag, since I have the style displayed in EsPlaylists Groupinfo. There you can use that meta_sep, so all styles are lined up.

It all depends on how you view your media in your layout. In only columns playlists you wont find much use for this feature.
Title: foo_discogs
Post by: thorazine on 2011-12-10 00:31:32
@somy:
Multi fields can be displayed as seperate entities (for instance in EsPlaylists groupinfo) using $meta_sep.

I have a question myself now: In the settings dialog there are options to download images for both album and artist. I used $directory_path(%path%) for artist. Now I wonder if there is a way to make foo_discogs write the artists name to the filename? All I get is numbered files.

Similarly, for the album I use the prefix folder (same TF string) but it doesnt seem to be working.


I think its not possible, its rather confusing the way it is. Both artist and album art should have the same formatting options.
It would be much better if we could format both files' full path using title formatting, only problem would be handling numbering when downloading all available album art files...
Title: foo_discogs
Post by: Emerelle on 2011-12-10 00:42:33
Thanks thorazine for your input. I also find it kind of confusing, since I am not sure if it takes TF or not. At least the files do get stored in the same folder as the music

Maybe I shouldnt advertise this here, but biography view does store the images with the artist name - more than one become artist_02.jpg, artist_03.jpg and so on. That would be a great feature for this plugin as well!
Title: foo_discogs
Post by: Sea Monkey on 2011-12-13 04:19:40
Code: [Select]
discogs error: release id=3166030: problem connecting to discogs.com


Need my foo_discogs working again!

 
Title: foo_discogs
Post by: komhst on 2011-12-13 12:22:08
Mine is still working although I received this mail from Discogs:

Hello,

We are writing to you because you have registered for a Discogs API key.

As mentioned here: http://www.discogs.com/help/forums/topic/234138 (http://www.discogs.com/help/forums/topic/234138)
we will be phasing out the version 1 API and would like all current users to upgrade their clients to use the version 2 API.

API version 1 will be discontinued on Jan 15, 2012. Please make sure to upgrade your clients before then. And let us know if you have any questions.

thanks,
Discogs
Title: foo_discogs
Post by: bubbleguuum on 2011-12-13 12:34:30
API version 1 will be discontinued on Jan 15, 2012. Please make sure to upgrade your clients before then. And let us know if you have any questions.


foo_discogs uses the new API  already so it continue to work after Jan 15th.

"problem connecting to discogs.com" errors are intermittent. Just retry later and it should work.
Title: foo_discogs
Post by: djfonplaz on 2012-01-03 13:58:15
Hi!

I'd like on the discogs plugin get the information from a compilation.
Now, On Artist, I won't that Various Artist - Album Name, but for each track, the artist name. The same for the Track, I just need the track title.

How can I do it with the plugin? Thank you
Title: foo_discogs
Post by: Emerelle on 2012-01-03 23:03:43
EDIT: Oops, I guess I misunderstood your question. Not sure though, what you are looking for....?

For compilations, album artist is entered as Various Artists and the artists name is in the artist tag, so you got to make sure that in your viewer you are calling %artist% and not %album artist%. I hope that helps
Title: foo_discogs
Post by: djfonplaz on 2012-01-04 12:53:47
Uhm...yeah on the viewer I have both, Album Artist and Artist. But both take the name of the compilation (Various Artists); so for each track in the compilation, I can't get the correct artist name. On the "Edit tag mappings" I have Artist as "DISCOGS_ARTIST", should be correct right? But in fact it doesnt works...I can't get Artist name for each track...
Title: foo_discogs
Post by: tapedeck on 2012-01-16 01:56:42
howdy
i'm getting the 'problem connecting' error again.

Code: [Select]
discogs error: release id=3345141: problem connecting to discogs.com


i'm assuming this is the same bug that has happened a couple times already where the discogs server changes address, or something like that.

will there be an update to address this soon?
what about making the discogs server (or whatever is causing the problem) a user-editable field as a preference for the plugin?
just an idea.

thanks

edit: this was when putting the release id in manually. when i search, i dont get an error and i get no results. thanks.
Title: foo_discogs
Post by: MDMA on 2012-01-16 13:49:39
Is this not to do with the old API being phased out on the 15th Jan?
Title: foo_discogs
Post by: marc2003 on 2012-01-16 16:11:04
no. look a few posts up.
Title: foo_discogs
Post by: laerm on 2012-01-19 18:32:38
Hi all --

Mine stopped working at some point between Tuesday and a week or so before it. (On two different machines, too.) I upgraded one install to the newest version of fb2k but no dice. Literally nothing happens when I hit search. I have v1.26 fix2 of the plugin. No errors come up, nothing shows in the console. Very odd. Any ideas? Thanks.

Micah

edit: I tried clearing the release cache too. Nope.
Title: foo_discogs
Post by: frogworth on 2012-01-20 06:31:34
Mine stopped working at some point between Tuesday and a week or so before it. (On two different machines, too.) I upgraded one install to the newest version of fb2k but no dice. Literally nothing happens when I hit search. I have v1.26 fix2 of the plugin. No errors come up, nothing shows in the console. Very odd. Any ideas? Thanks.


Try upgrading to v1.30?
Title: foo_discogs
Post by: laerm on 2012-01-20 16:06:23
Try upgrading to v1.30?


Oh, I feel foolish: that worked. I thought discogs had screwed up all releases of the plugin post 1.26...? Serves me right. Sorry for the obvious question; thanks very much!

Micah
Title: foo_discogs
Post by: TGK on 2012-02-13 15:39:29
In what format must be entered plugin foo_discogs data in the following fields : Artist link, Label link, Release link?

The data are recorded, but here in the form:
(http://s2.ipicture.ru/uploads/20120213/thumbs/ZEDurXnW.png) (http://s2.ipicture.ru/Gallery/Viewfull/8573276.html)
If they are entered in this form, then they do not make any sense, in a form they just will not open in browser

Is it possible to do so they were recorded in standard URL- WebLinks, for example:

Artist link - http://www.discogs.com/artist/Nikolai (http://www.discogs.com/artist/Nikolai)
Label link - http://www.discogs.com/label/Sub+Terranean (http://www.discogs.com/label/Sub+Terranean)
Release link - http://www.discogs.com/Various-Ravermeiste.../release/129725 (http://www.discogs.com/Various-Ravermeister-Vol-1/release/129725)

Is it possible to make the tag recorded in other fields other than <DISCOGS_ARTIST>, <DISCOGS_ARTIST_LINK>, ie in the field with the other names ?
Title: foo_discogs
Post by: den_po on 2012-02-22 18:42:47
http://www.discogs.com/release/332284 (http://www.discogs.com/release/332284)
Y4K &rarr; Dub Pistols - Next Level Breaks
Title: foo_discogs
Post by: pulha on 2012-02-29 20:54:50
This plugin is not fetching the artwork properly.
When i am tagging the files with it the following error message apears on the console:

[20:49:36] foo_discogs: error: problem creating file D:\!MÚSICA\Adderall Canyonly\2010 - It Was A Dark And Stoney Night\folder.jpg [Access denied], skipping...

However, if i run it again, with everything tagged by now, it can fetch the artwork.
Please help!
Title: foo_discogs
Post by: pulha on 2012-03-18 22:04:36
Same problem just as in here: http://www.hydrogenaudio.org/forums//lofiv...php/t71471.html (http://www.hydrogenaudio.org/forums//lofiversion/index.php/t71471.html)

DISCOGS_RELEASE_ID is writing. Don't know what to do
Title: foo_discogs
Post by: den_po on 2012-03-24 22:07:34
what about releases like this one? http://www.discogs.com/Prodigy-The-Dirtcha.../release/672166 (http://www.discogs.com/Prodigy-The-Dirtchamber-Sessions-Volume-One/release/672166)
Title: foo_discogs
Post by: TGK on 2012-04-01 19:17:03
Hi !

When using the plug to fill foo_discogs tag to mp3 tag in some fields (particularly in the field of NOTES - where there are a few lines to the transfer and spaces) squares appear, I suspect it has something to do with space and / or coding. I tried to save different versions of ID v.2.3 and v.2.4, including compatibility mode does not help the squares still occur.

Do you have any idea how to remove these squares when using this plugin ?
Title: foo_discogs
Post by: mcladams on 2012-04-26 14:22:27
Haven't used this for a few years, but now I have bought a Traktor Kontrol S4 I'm getting into the digital age...
Just reinstalled foobar2k and foo_discogs, I find that it no longer maps the Discogs Rating?

Is there something I'm missing or do I have to revert to an earlier version to get this (if so, which)?
Title: foo_discogs
Post by: Anakunda on 2012-04-29 11:11:04
Anybody else having the discogs tagger connection problems too? Last week it very often stucks at information retrieval. And it also is very slow when fetching information from webserver. I get this: discogs error: release id=1106196: no error.
Title: foo_discogs
Post by: simcut on 2012-07-13 05:25:10
Hey all, hope someone can help me.

I'm using the fileops function along with the discogs plugin to move my files to a folder with this structure

\$replace(%discogs_label%,*,)\ $replace(%discogs_catalog%,*,) - $replace(%album artist%,*,) - $replace(%album%,*,) ['('$replace(%date%,*,)')']/$replace(%tracknumber%,*,). $replace(%artist%,*,) - $replace(%title%,*,)

however, for some unknown reason, quite a lot of the time it doesnt recognise the discogs_label and puts a "_" instead (without quotations), but other times it recognises the label fine. I'm really confused as to what is causing this error....

Any idea what the cause is?

Thanks.
Title: foo_discogs
Post by: _oao on 2012-08-29 14:11:33
I'm getting a
Quote
discogs error: release id=1431576: problem connecting to discogs.com

And i can't tag anything using foo_discogs v1.30
Is anyone having the same problem?
Title: foo_discogs
Post by: lordfrikk on 2012-10-03 09:46:11
Is it somehow possible to map the index track names to titles? I have this compilation (http://www.discogs.com/King-Cannibal-The-Way-Of-The-Ninja/release/2482992) where each track is composed of multiple tracks but the original tags had only the index name (Intro, The Soundboy And The Terrorist, Bring That Back, etc.) in the %title% tag. I was hopping I could edit the mapping but the index names aren't exposed (at all or just in your plugin?).

Other than that I suppose there is no way to create something similar, eg. titles with different sub-titles in the tags? Probably not but I'm asking just in case.
Title: foo_discogs
Post by: frozenspeed on 2012-10-10 18:30:06
Anyone having trouble with this plugin as of Oct 10?

I can't do any lookups at all, it just spins into infinity.
Title: foo_discogs
Post by: alexinc on 2012-10-11 08:54:39
for me it works...

hey bubble, only one little little request thats bugs me since years now. can you please add the possibility to move more than 1 marked track in discogs release screen up and down, so a whole block can be move? thx :-)
Title: foo_discogs
Post by: frozenspeed on 2012-10-11 17:01:41
For the record it has started working for me again this morning, must have been something on discogs.com's side.
Title: foo_discogs
Post by: fuffi on 2012-10-15 16:54:45
Hi,

a feature request:

would it be possible to NOT list all the [master] entries, if searching for "master" ?

I was looking for a album named "master-view" in the plugins "find release" window, and the fine plugin showed me not only the hits, but all the [master] entries, which did NOT contain the word "master" in its shown title.
So it looks to me, that the fine plugin did a simple text search about all the words, but it seems not to be possible to exclude the nodes [master] from the search-result.

so my feature request, or, if I may, I'd like to ask some other users if they would do a search for "master", would you expect the result as described above? or do you actually filter for "[master]" in the small and tiny find-release-window?

Title: foo_discogs
Post by: Lasternom on 2012-11-16 03:30:38
Hi, kinda new to the forum but i hope you guys could help me.

Been trying to fix my huge list of music with the discogs tagger.
However I noticed something weird. When I started tagging my mp3's, I was able to use it just fine.
But after one use of discogs, the tagger won't read the artist tag that is displayed in the file I just tagged.

Problem (http://i.imgur.com/wuwU2.jpg)
top left is box is unable to find artist name, that is shown correctly on the right.

This only happens when I used the discogs tagger once on the files. And only discogs is unable to see the artist name, other parts
of foobar have no problems. I also tried resetting all setting to default but no luck.

Does anybody knows what is going on ?

thanks for all the help

-Lasternom
Title: foo_discogs
Post by: alexinc on 2012-11-16 09:39:21
not quite sure, but i guess the tagger only reads id3v1 - so after tagging with id3v2 it doesnt show the artist tag anymore...
Title: foo_discogs
Post by: NogginJ on 2013-01-04 06:04:21
Is it just me or did it stop working again?
Quote
discogs error: release id=106509: problem connecting to discogs.com


Could it be opened up a little, maybe a config setting, so we could just copy/replace whatever it is that keeps killing it? I'm guessing its an address or something somewhere.

If this is something new, nevermind.
Thanks.
Title: foo_discogs
Post by: NogginJ on 2013-01-05 19:19:58
As of today, it's working again. Must've been a discogs thing.
Thanks yall.
Title: foo_discogs
Post by: eamon123 on 2013-03-06 19:47:47
Bug: Multiple disc releases are incorrectly tagged with an ‘x’ instead of a ‘×’.
Title: foo_discogs
Post by: pmg on 2013-03-31 20:27:02
Is it somehow possible to map the index track names to titles? (...) I was hopping I could edit the mapping but the index names aren't exposed (at all or just in your plugin?).

Hi, having the same question/request. But, is the tagger still under development? It would be nice.

Thanks
Title: foo_discogs
Post by: roded on 2013-05-12 10:58:35
Hi,
The foobar2000 discogs plugin has become quite slow since recently...
Is this a local problem or is anyone else experiencing such issues?
Thanks
Roded
Title: foo_discogs
Post by: birrein on 2013-05-17 16:25:09
I have this error:
Code: [Select]
discogs error: release id=4570505: XML parse error

When i try to tag this release:
http://www.discogs.com/Daft-Punk-Random-Ac...release/4570505 (http://www.discogs.com/Daft-Punk-Random-Access-Memories/release/4570505)
Title: foo_discogs
Post by: orchid on 2013-05-27 18:52:58
I have this error:
Code: [Select]
discogs error: release id=4570505: XML parse error

When i try to tag this release:
http://www.discogs.com/Daft-Punk-Random-Ac...release/4570505 (http://www.discogs.com/Daft-Punk-Random-Access-Memories/release/4570505)

Same here

Code: [Select]
discogs error: release id=3746084: XML parse error

On release: http://www.discogs.com/Utah-Jazz-Groove-Th...release/3746084 (http://www.discogs.com/Utah-Jazz-Groove-Therapy/release/3746084)
Title: foo_discogs
Post by: Anakunda on 2013-06-07 13:49:06
Is this abandoned project yet?
I'd very appreciate fixing the XML parsing problem.
Getting many these:
Code: [Select]
foo_discogs: error: release 4632804: XML parse error

LAyout matches...

Please fix this!
Title: foo_discogs
Post by: bubbleguuum on 2013-06-07 21:18:55
The two releases linked above give no error for me. If you find a non working release, give the link.
Title: foo_discogs
Post by: Anakunda on 2013-06-07 21:22:47
That sounds weird, where's the difference then?
foo_discogs version 1.30 on foobar 1.2.7 beta 1
Nonworking release link: http://www.discogs.com/release/4632804 (http://www.discogs.com/release/4632804)

Tagger UI:
(http://content.screencast.com/users/uu1qKRgw/folders/Default/media/067af7a5-2daa-4f76-8d4b-912d75e0bfed/06.07.2013-22.png)
and corresponding playlist selection:
(http://content.screencast.com/users/uu1qKRgw/folders/Default/media/9fba87c0-cd62-4949-b89a-ffd4123bab0e/06.07.2013-22.png)
Title: foo_discogs
Post by: bubbleguuum on 2013-06-07 21:43:19
That sounds weird, where's the difference then?
foo_discogs version 1.30 on foobar 1.2.7 beta 1
Nonworking release link: http://www.discogs.com/release/4632804 (http://www.discogs.com/release/4632804)


Reproduced. This is a Discogs API bug: it returns JSON instead of XML.
I think it is just an itermittent issue and if you try later for this release it will work.
That's the case of the 2 releases mentionned in the previous post, which now work.
Title: foo_discogs
Post by: bubbleguuum on 2013-06-07 22:14:18
Even if it seems a discogs weird intermittent issue, I could fix it by always requesting XML.

foo_discogs 1.31: http://www.foobar2000.org/components/view/foo_discogs (http://www.foobar2000.org/components/view/foo_discogs)
Title: foo_discogs
Post by: Anakunda on 2013-06-07 22:18:19
Good idea  thank U

Confirmed, fixed
Title: foo_discogs
Post by: kopf on 2013-06-19 15:01:15
Hi,

bug report time:

http://www.discogs.com/Taylor-Deupree--Eis.../release/510800 (http://www.discogs.com/Taylor-Deupree--Eisi-Every-Still-Day/release/510800)

on the website the tracks are displayed properly, in foo_discogs you get some sort of htmlencoded version of the 8th and 9th tracks.
Title: foo_discogs
Post by: Anakunda on 2013-06-19 15:05:47
That's because of unicode characters

8       そして、欲する (Every Still Day)    6:03    
9       出水 (Leaf)

Feel free to apply the tags and then paste track titles manually
Title: foo_discogs
Post by: kopf on 2013-06-20 10:26:09
Yes of course it's because of the unicode characters. What's not clear is why it fucks up on that release, but is able to tag  http://www.discogs.com/Bogdan-Raczynski-Sa...ts/release/5689 (http://www.discogs.com/Bogdan-Raczynski-Samurai-Math-Beats/release/5689) perfectly.
Title: foo_discogs
Post by: bubbleguuum on 2013-06-20 10:56:01
Yes of course it's because of the unicode characters. What's not clear is why it fucks up on that release, but is able to tag  http://www.discogs.com/Bogdan-Raczynski-Sa...ts/release/5689 (http://www.discogs.com/Bogdan-Raczynski-Samurai-Math-Beats/release/5689) perfectly.


Because xml data returned by discogs is not always properly xml escaped for specials characters, for some releases.
Title: foo_discogs
Post by: kopf on 2013-06-21 10:37:36
Aha. So are you treating this as a bug or will you leave it as it is?
Title: foo_discogs
Post by: marc2003 on 2013-06-21 13:41:08
i'm sure bubbleguuum can work around it if he wants to. i've had to deal with some daft API responses myself. take this title for example...

Code: [Select]
"title" : "Loxy\n\n  &\n\n  \n  Keaton - Judgement Day"


that's 5 line breaks and extra spaces as well. stupid discogs.
Title: foo_discogs
Post by: $1@ck3r on 2013-07-27 08:24:59
Hello, I've been using your plugin for quite some time and I find it very useful.
Can you add Barcode and Other Identifiers into tagging? Discogs seemingly added them into their API.
See this: https://www.discogs.com/developers/resource...se/release.html (https://www.discogs.com/developers/resources/database/release.html)
If you request http://api.discogs.com/releases/1 (http://api.discogs.com/releases/1)
there's 'identifiers' part somewhere in the output, like this:
Code: [Select]
"identifiers": [{"type": "Matrix / Runout", "description": "A-Side", "value": "MPO SK 032 A1 G PHRUPMASTERGENERAL T27 LONDON"}, {"type": "Matrix / Runout", "description": "B-Side", "value": "MPO SK 032 B1"}, {"type": "Matrix / Runout", "description": "C-Side", "value": "MPO SK 032 C1"}, {"type": "Matrix / Runout", "description": "D-Side", "value": "MPO SK 032 D1"}]

See also here https://www.discogs.com/developers/resource...h-endpoint.html (https://www.discogs.com/developers/resources/database/search-endpoint.html)
I'm not sure if it's relevant but it allows for searching barcodes.

I think that having barcodes etc. in tag fields is important for identifying a release. Since introduction of this feature as a separate field on Discogs this data have been moved away from Notes field and no longer available for tagging.
Title: foo_discogs
Post by: n99 on 2013-08-07 16:08:10
Bug:
I wanted to map th Country tag to "MUSICBRAINZ ALBUM RELEASE COUNTRY" (because I use MusicBrainz), foo_discogs crops it to "MUSICBRAINZ ALBUM RELEASE COU" because the field ends there. The maximum length of the tag shouldn't be defined by the size of the text field.

Feature:
Can you add an option that saves the cover(s) into the audio file when possible instead of saving it as extrenal image file?
Title: foo_discogs
Post by: ChoonyFish on 2013-08-28 19:55:53
New to foobar.  This plug-in is excellent, however I'm getting this error when trying to add artist art:

foo_discogs: error: problem creating file 104745_1.jpg [Object not found], skipping...

Any ideas?

Thanks.
Title: foo_discogs
Post by: fuffi on 2013-10-21 11:05:46
Hello everybody,

is there any way to ADD fetched styles from discogs within the plugin, instead of OVERWRITE them?

For some music, i already have defined styles and don't wan't to loose them.

Title: foo_discogs
Post by: komhst on 2013-10-21 11:57:17
Hello everybody,

is there any way to ADD fetched styles from discogs within the plugin, instead of OVERWRITE them?

For some music, i already have defined styles and don't wan't to loose them.


Edit tag mappings button in the "Release" window of discogs tagger.
Then you can assign discogs information to another tag field or to none.
Title: foo_discogs
Post by: fuffi on 2013-10-21 12:23:37
is there any way to ADD fetched styles from discogs within the plugin, instead of OVERWRITE them?
Then you can assign discogs information to another tag field or to none.

And after that I have a "Script" running, which ADDs the field I assigned to the STYLE-Tag? Nice Idea, thanks!

I'll try to figure out, if I can bind a shortcut to the discoGS plugin *and* to this "adding-script" at once, so I just need to press 1 key/button and not always have to remember to run that script after getting the tags from the discoGS plugin... anyone a short hint for this?
Title: foo_discogs
Post by: foomark on 2013-11-05 17:03:11
Hi everyone...i use foo_discogs to tag all of my albums and i have a question about the tag <DISCOGS COUNTRY>....
Is it related to the country where that specific album were released, right? it's not a tag that inform you about the country of provenience of the band/artist, right??

Is there a discogs tag that tells me the country of the artist??
Title: foo_discogs
Post by: marc2003 on 2013-11-05 17:22:34
i'm guessing the answer is a big fat no. obviously this plugin is centred on releases and it will only return relevant information for that.

even if you tried to lookup artist rather than release info, i don't think you'll find anything. i can't see any reference to country of origin browsing artist pages on the website.
Title: foo_discogs
Post by: foomark on 2013-11-05 17:41:23
i'm guessing the answer is a big fat no. obviously this plugin is centred on releases and it will only return relevant information for that.

even if you tried to lookup artist rather than release info, i don't think you'll find anything. i can't see any reference to country of origin browsing artist pages on the website.


thank you for the clarification
I'd like to create a facets panel that list all the country on the left and the relative artists on the rigth, but i thing there's no way to tag everything if not manually...
Title: foo_discogs
Post by: frozenspeed on 2013-12-17 18:38:01
I the past few days I have started receiving the following error (for certain releases only):

discogs error: release id=3515185: no error


and no tags written. Any ideas?  Thanks!
Title: foo_discogs
Post by: Parsi on 2013-12-20 21:08:06
I the past few days I have started receiving the following error (for certain releases only):

discogs error: release id=3515185: no error


and no tags written. Any ideas?  Thanks!


yes I have the same bug. I had it with 3 releases out of maybe 20. Very frustrating.
Title: foo_discogs
Post by: bubbleguuum on 2013-12-21 11:04:10
I the past few days I have started receiving the following error (for certain releases only):

discogs error: release id=3515185: no error


and no tags written. Any ideas?  Thanks!


yes I have the same bug. I had it with 3 releases out of maybe 20. Very frustrating.


Might be a discogs intermittent error. I'm unable to reproduce this error on the 3515185 release.
Can you give me a few release ids where it happens ?
Title: foo_discogs
Post by: Parsi on 2013-12-21 14:06:20
I the past few days I have started receiving the following error (for certain releases only):

discogs error: release id=3515185: no error


and no tags written. Any ideas?  Thanks!


yes I have the same bug. I had it with 3 releases out of maybe 20. Very frustrating.


Might be a discogs intermittent error. I'm unable to reproduce this error on the 3515185 release.
Can you give me a few release ids where it happens ?



I don't think it is an intermittent error, as I retried several times on several days.

Actually, it happens a lot more often than I previously stated. It happens to happen especially with compilation albums with lots of different artists. I just tried 3 of these compilations, all 3 failed. I am at a point where I left out tagging completely until this is resolved.

It says "fetching addition artist information (long) [well, really? takes 5 minutes each time.....]" then the window pops up and nothing happens.

See these images for IDs

http://imgur.com/a/z1Nye (http://imgur.com/a/z1Nye)

Used version: 1.31
foobar2k: 1.1


greetings
Title: foo_discogs
Post by: d125q on 2013-12-21 16:30:44
foobar2k: 1.1

Isn't your foobar2000 a bit... outdated?
Title: foo_discogs
Post by: Parsi on 2013-12-21 17:40:03
foobar2k: 1.1

Isn't your foobar2000 a bit... outdated?



Yes it is. So is my taste of music.
Version 1.1 fullfills the requirements of the plugin. I will update foobar2k if the author suggests foobar2k might be the reason. Else I have no reason to update it.
Title: foo_discogs
Post by: bubbleguuum on 2013-12-21 23:09:09
It says "fetching addition artist information (long) [well, really? takes 5 minutes each time.....]" then the window pops up and nothing happens.


I could reproduce it and will investigate. Probably another  discogs problem they only have the secret.
In the meantime, if you disable "Enable Artist Name Variation (ANV) processing" in the plugin's configuration page, it should make fetching releases instant.
Title: foo_discogs
Post by: fuffi on 2013-12-26 21:18:26
It happens to happen especially with compilation albums with lots of different artists.
Here, it happens only with artists with a very long discographie, like michael jackson or elvis presley. on artists which only a few releases, the plugin is not having the error message popped up and tags the files correctly.
enjoy the days :-)
p.s. Enable Artist Name Variation (ANV) processing (slower) was disabled all the time.
Title: foo_discogs
Post by: Parsi on 2013-12-29 14:22:32
p.s. Enable Artist Name Variation (ANV) processing (slower) was disabled all the time.


I can confrim that. The option was disabled at all times and yet it takes so long to process the page(s).
Title: foo_discogs
Post by: sfman on 2014-01-13 16:42:08
I don't know if this a Discogs site problem or some problem with communication between Discogs tagger and Discogs site but when I'm trying to load list of Eric Clapton albums it takes looong time ant than releases list is empty
Title: foo_discogs
Post by: fuffi on 2014-01-13 16:50:59
I don't know if this a Discogs site problem or some problem with communication between Discogs tagger and Discogs site but when I'm trying to load list of Eric Clapton albums it takes looong time ant than releases list is empty

Is stated some posts above.

Also, If you take the ID from the DiscoGS Website, i.e. http://www.discogs.com/Elvis-Presley-Chris...release/2809203 (http://www.discogs.com/Elvis-Presley-Christmas-Duets/release/2809203)
and paste it to the plugin, it does not work. it gives "discogs error: release id=2809203: no error"

Title: foo_discogs
Post by: bubbleguuum on 2014-01-14 14:32:32
I don't know if this a Discogs site problem or some problem with communication between Discogs tagger and Discogs site but when I'm trying to load list of Eric Clapton albums it takes looong time ant than releases list is empty


It is a discogs server error returning http error "Gateway Time-Out (504)". Someone else reported such failures on the discogs API forum.

Same error in a web browser:  http://api.discogs.com/artist/Eric+Clapton...ses=1&f=xml (http://api.discogs.com/artist/Eric+Clapton?releases=1&f=xml)

I suppose it only happens with artists with super long discographies which triggers a server-side timeout
Title: foo_discogs
Post by: bubbleguuum on 2014-01-14 14:34:21
I don't know if this a Discogs site problem or some problem with communication between Discogs tagger and Discogs site but when I'm trying to load list of Eric Clapton albums it takes looong time ant than releases list is empty

Is stated some posts above.

Also, If you take the ID from the DiscoGS Website, i.e. http://www.discogs.com/Elvis-Presley-Chris...release/2809203 (http://www.discogs.com/Elvis-Presley-Christmas-Duets/release/2809203)
and paste it to the plugin, it does not work. it gives "discogs error: release id=2809203: no error"


Can't reproduce it so must be one of these intermittent failure discogs.com has the secret...
Title: foo_discogs
Post by: fuffi on 2014-01-17 20:30:35
Maybe anyone can try this at home? Just to confirm, that I'm the only one, or not...

Maybe i'm working with the wrong settings?

I tried to turn off "fetch album art" and switched of some other options, but with no success. I'm getting the error since last year, continously.

I just type the Number 2809203 into the "Release id or url" field and press ENTER.
  (http://www.bilder-hochladen.net/files/hcyg-2v-38b3.png) (http://www.bilder-hochladen.net/files/hcyg-2v-38b3-png-nb.html)

My settings:
  (http://www.bilder-hochladen.net/files/hcyg-2w-ec89.png) (http://www.bilder-hochladen.net/files/hcyg-2w-ec89-png-nb.html)
  (http://www.bilder-hochladen.net/files/hcyg-2t-ac62.png) (http://www.bilder-hochladen.net/files/hcyg-2t-ac62-png-nb.html)

My personal error:
  (http://www.bilder-hochladen.net/files/hcyg-2u-f899.png) (http://www.bilder-hochladen.net/files/hcyg-2u-f899-png-nb.html)

Used Version:
Author:  Michael Pujos (aka bubbleguuum)
Version: 1.31
Compiled: Jun  7 2013
Title: foo_discogs
Post by: komhst on 2014-01-18 15:43:19
My personal error:
  (http://www.bilder-hochladen.net/files/hcyg-2u-f899.png) (http://www.bilder-hochladen.net/files/hcyg-2u-f899-png-nb.html)

Used Version:
Author:  Michael Pujos (aka bubbleguuum)
Version: 1.31
Compiled: Jun  7 2013


It works fine to me. foo_discogs version 1.31
Title: foo_discogs
Post by: fuffi on 2014-01-18 16:09:02
It works fine to me. foo_discogs version 1.31
Thanks.
I now installed a plain and portable version (same as I had installed) of Foobar with only the DiscoGS plugin, and it works... 8-/

So its not a problem of the discoGS website or api, its just a problem with (my configuration or the installation of) foobar. Or the plugins configuration with foobars configuration...I guess, i'll never find out :-)

Thank you for helping!

EDIT:
...and after starting the old Foobar version AND DELETING the configuration\foo_discogs.dll.cfg file, it also worked flawlessly....
(although I selected the very same settings from the screenshots above)
Title: foo_discogs
Post by: fuffi on 2014-01-19 18:36:29
I can't edit my Post...

Today I copied the old config back and agian it did not work.

So it must be the configuration of the discogs plugin.

If the developer likes to have a look at the config, here it is (https://www.zeta-uploader.com/984259138).
Title: foo_discogs
Post by: fuffi on 2014-01-24 23:17:14
I found another Workaround (than deleting the settings) for the above failure in the component while getting data from the discoGS api:

Go to the Edit Tag Mappings of the component and delete all the mappings you made previously. (as I did at lot)

Rightclick on foobars main window -> Tagging -> Discogs -> Edit Tag Mappings -> Default mappings

After deleting all the mappings, the request is veeeeeeeeeeery fast again and will get no timeout. (I'm wondering, why the request is slow with mappings)

Not a good workaround, cause you loose all mappings and therefore (my) library searches are not working anymore, but better than nothing (literally)...

Title: foo_discogs
Post by: Mordynak on 2014-01-25 07:59:39
Love this plugin. Thanks bubbleguuum, your work is very much appreciated.

I do have one feature request if you like. If it's at all possible.

Highlighting of matched text when comparing Discogs tracks to the local filenames. Would be super handy. Its already very clearly laid out. But this would make things even clearer.

Anyway, thanks for the plugin and keep up the great work!

EDIT: Also, It would be useful to be able to amend things to the end of album names. I generally add (EP), (Compilation) (Remix) or (Live) to the end of album names to make things a bit clearer. Nothing major. I add them in afterwards as it is. Would just be a nice feature.

Thanks again!
Title: foo_discogs
Post by: mjm716 on 2014-02-02 21:01:54
Hi,

After (years of) problem free discog tagging, I just started getting an error when the plug tries to download related album artwork:

e.g. foo_discogs: error: could not save url=http://api.discogs.com/image/R-509447-1125441845.jpeg, skipping...

error seems to be discogs now requiring some authentication?:
"You must authenticate to access this resource."

anyone else?
Title: foo_discogs
Post by: marc2003 on 2014-02-02 21:31:57
http://www.discogs.com/forum/thread/52950c194c5e2e7adca760a0 (http://www.discogs.com/forum/thread/52950c194c5e2e7adca760a0)
Title: foo_discogs
Post by: mjm716 on 2014-02-02 22:07:15
ouch. thanks for the heads up Marc!

I have applied for (and received!) my API.

bubbleguuum - will you be supporting user API keys in a future version of the plug?
Title: foo_discogs
Post by: comox on 2014-02-03 07:41:02
bubbleguuum - will you be supporting user API keys in a future version of the plug?


That would be great - I wouldn't want to miss the discogs plugin anymore, it makes tagging so much easier. Well, atm I tag files and then download the album art manually.
Title: foo_discogs
Post by: mjm716 on 2014-02-03 10:53:31
Well, atm I tag files and then download the album art manually.


Just to be clear - the tag info still works fine - **the API is needed for downloading artwork**
Title: foo_discogs
Post by: comox on 2014-02-03 16:14:29
Yep, tagging itself works fine as usual. Maybe I should have pointed that out more clearly.
Title: foo_discogs
Post by: Retract on 2014-02-04 07:08:29
Anyone got an idea on how to include our personal APIs?
Title: foo_discogs
Post by: marc2003 on 2014-02-04 12:56:24
at the moment, discogs doesn't require any kind of authentication/API key to get release info so it would require an updated component - and of course that would depend entirely on whether the developer wants to implement it or not.
Title: foo_discogs
Post by: Retract on 2014-02-05 01:15:15
What would you guys recommend as an alternative to fetch album art? I did a bit of searching and it seems foo_discogs is one of the only good ones. The only alternative is to search for a good program and use the foo_run component?
Title: foo_discogs
Post by: Daeron on 2014-02-05 01:50:27
I personally use foo_uie_biography to automatically pull art from last.fm. Otherwise I have Album Art Downloader XUI and foo_covdow installed, but rarely used. If 99% of your albums already have cover art a simple google search takes like 5 seconds to add cover to the latest one added.
Title: foo_discogs
Post by: Anakunda on 2014-02-05 09:56:11
I don't know why but last days or weeks Discogs tagger generates error on artworks downloading, ALWAYS (when artist or CD images are present)
Title: foo_discogs
Post by: comox on 2014-02-05 14:44:09
I just tested, and because the file names remain same the solution is very simple: just replace api.discogs.com by s.pixogs.com in fetch URL 


Where can I change the host? I don't find this option.
Title: foo_discogs
Post by: Anakunda on 2014-02-05 14:46:32
Where can I change the host? I don't find this option.

There's nothing like that. Must be changed by the dev. Wait for update from bubbleguuum, hopefully it'll be soon.
Title: foo_discogs
Post by: bubbleguuum on 2014-02-05 16:12:52
Component updated to v1.32 using s.pixogs.com for the art (thanks for the tip).
Let's hope that this workaround continues working...
Title: foo_discogs
Post by: bubbleguuum on 2014-02-05 16:23:37
Also, if anyone still has  "discogs error: connection error (release id=...)" for some releases, make sure to disable all the following:

- In Configuration > Tagging, disable "Enable Artist Name Variation Processing"
- in  Configuration > Album/Atist art, disable "Fetch" in the "Artist art" section
- in the tag mappings dialog, disable "Write tag" for all these tags: "Artist's aliases", "Artist's group", "Artist's name variation", "Artists'members", "Artist id", "Artist URLs", "Artist Real name", "Artist Profile". The "Default mappings" button will disable all these tags at once (and reset other tags to default values).

All of the items above trigger fetching info for artists, on which discogs servers intermittently timeout or refuse to serve the request.
Title: foo_discogs
Post by: Anakunda on 2014-02-05 16:30:33
Fetching art functionality seems fully restored, thanks for quick fix.
Title: foo_discogs
Post by: comox on 2014-02-05 17:12:33
Yay, it works again. Awesome work, bubbleguuum!
Title: foo_discogs
Post by: Chris Norman on 2014-02-05 20:07:29
It works.

You are the master bubbleguuum! Thanks for your excellent and continuous work!
Title: foo_discogs
Post by: komhst on 2014-02-06 07:29:48
Component updated to v1.32 using s.pixogs.com for the art (thanks for the tip).
Let's hope that this workaround continues working...


It works great!
Thank you very much.
Title: foo_discogs
Post by: sfman on 2014-02-06 10:50:56
Well, despite of all solutions it still can't retrieve data of Eric Clapton. Just installed clean, new foobar2000, without any other ad-ons than discogs and still nothing.
Its very frustrating. Seems that Clapton is "to big"
Title: foo_discogs
Post by: bubbleguuum on 2014-02-06 11:21:51
Well, despite of all solutions it still can't retrieve data of Eric Clapton. Just installed clean, new foobar2000, without any other ad-ons than discogs and still nothing.
Its very frustrating. Seems that Clapton is "to big"



That's a discogs problem returning an http timeout error for artists with huge discographies. Try to load this page on your web browser:
http://api.discogs.com/artist/Eric+Clapton...ses=1&f=xml (http://api.discogs.com/artist/Eric+Clapton?releases=1&f=xml)

You can report it on discogs API forum if you wish although it has probably been already reported.
Title: foo_discogs
Post by: komhst on 2014-02-06 11:47:47
Well, despite of all solutions it still can't retrieve data of Eric Clapton. Just installed clean, new foobar2000, without any other ad-ons than discogs and still nothing.
Its very frustrating. Seems that Clapton is "to big"



That's a discogs problem returning an http timeout error for artists with huge discographies. Try to load this page on your web browser:
http://api.discogs.com/artist/Eric+Clapton...ses=1&f=xml (http://api.discogs.com/artist/Eric+Clapton?releases=1&f=xml)

You can report it on discogs API forum if you wish although it has probably been already reported.


The same problem with Michael Jackson and Elton John
Title: foo_discogs
Post by: sfman on 2014-02-06 12:43:48
That's a discogs problem returning an http timeout error for artists with huge discographies. Try to load this page on your web browser:
http://api.discogs.com/artist/Eric+Clapton...ses=1&f=xml (http://api.discogs.com/artist/Eric+Clapton?releases=1&f=xml)

You can report it on discogs API forum if you wish although it has probably been already reported.



Well. I know about time out problems but try to tag with discogs using f.e. mp3tag. Working like a charm.
Why? I think its because different way to achieve data. Discogs tagger try to fetch all data at once and I PREFERE this solution.
My proposal is to add some kind of option to switch search method in Discogs tagger when normal method failed: search by album name.
That's how it works in mp3tag and is much faster than I imagined.
Additionaly in Discogs tagger it may be added opiton to filter by artist name.

What I'm proposing is possibility to switch between 2 search metchods:
1st (original) - search by artist, filter by title  - I will repeat again: this is my favourite method
2nd (new) - search by album name, filter by artist name;

That's all folks!

P.S. Again. I'm very grateful for Discogs tagger. Best foobar plugin for me. I'm not complaining.
This is only my proposal/idea.
Title: foo_discogs
Post by: sfman on 2014-02-07 14:52:55
P.S. 2 This idea that I mentioned above, for adding 'search by album' option, can also be useful when searchin various artist releases like soundtracks etc.
Title: foo_discogs
Post by: Parsi on 2014-02-07 15:22:24
Also, if anyone still has  "discogs error: connection error (release id=...)" for some releases, make sure to disable all the following:

...
- in  Configuration > Album/Atist art, disable "Fetch" in the "Artist art" section
- in the tag mappings dialog, disable ... "Artist id"...
...



This did also the trick for me with the connection issues. Now tagging for the large compilations is done in <1s
Of course, the sacrifice is no artist art at all. But it is worth it. Maybe one day there will be some solution for batch processing all library folders with artist art download.

Thanks for the input and the new version bubbleguuum.


I encourage everyone to tag the library as soon as possible until discogs finds new ways into generating more profit and thus limiting access to servers.
greetings
Title: foo_discogs
Post by: $1@ck3r on 2014-02-11 03:57:11
I was hoping that you would add Barcode and Other Identifiers retrieval. Is there a chance?
Title: foo_discogs
Post by: Will Ellis on 2014-03-01 15:29:44
Are other people having any issues with the new Index Tracks and foo_discogs? I get a blank tracklisting when accessing this release: http://www.discogs.com/Duke-Ellington-Thre...release/3809658 (http://www.discogs.com/Duke-Ellington-Three-Suites/release/3809658)
Title: foo_discogs
Post by: pulha on 2014-03-04 18:15:21
Can I use this to retrieve the discogs average rating of the release?
Title: foo_discogs
Post by: Will Ellis on 2014-03-06 21:30:34
Are other people having any issues with the new Index Tracks and foo_discogs? I get a blank tracklisting when accessing this release: http://www.discogs.com/Duke-Ellington-Thre...release/3809658 (http://www.discogs.com/Duke-Ellington-Three-Suites/release/3809658)


No-one else have this problem? Tracklisting still blank for me.
Title: foo_discogs
Post by: sfman on 2014-03-08 09:11:04
No-one else have this problem? Tracklisting still blank for me.


No. It isn't "no one". No one answers, because no one feel like write you to read this topic before you ask

And Yes. We have this problem too. Why? Read earlier posts if You want to know.
Title: foo_discogs
Post by: Will Ellis on 2014-03-09 07:50:16
Hi sfman,

Thanks for replying! I have re-read through all the posts since discogs upgraded the Submissions Form 18 days ago (see: http://www.discogs.com/forum/thread/5303ca...17e0a69?page=1) (http://www.discogs.com/forum/thread/5303ca2fad9d356d317e0a69?page=1)) and there is nothing I can see relating to Track Listings or Index Tracks.

Which posts in particular are you referring to? I've seen ones regarding releases not appearing in the Search box (which also causes a problem with Duke Ellington, even after following the advice here), but that's not an issue for me, as I just search for the release id on discogs.com instead.

Thanks,
Will
Title: foo_discogs
Post by: Will Ellis on 2014-03-09 09:49:26
Just checked with another release: http://www.discogs.com/release/5468850 (http://www.discogs.com/release/5468850)

On that one, it correctly adds the regular tracks into the track listing, but ignores any sub-tracks of the new Index Tracks.
Title: foo_discogs
Post by: sfman on 2014-03-09 21:36:33
Hi sfman,

Thanks for replying! I have re-read through all the posts since discogs upgraded the Submissions Form 18 days ago (see: http://www.discogs.com/forum/thread/5303ca...17e0a69?page=1) (http://www.discogs.com/forum/thread/5303ca2fad9d356d317e0a69?page=1)) and there is nothing I can see relating to Track Listings or Index Tracks.

Which posts in particular are you referring to? I've seen ones regarding releases not appearing in the Search box (which also causes a problem with Duke Ellington, even after following the advice here), but that's not an issue for me, as I just search for the release id on discogs.com instead.

Thanks,
Will


Sorry Will. My fault. Didn't read Your post carefully and assumed another problem than Yours.
So, sorry for my impatient answer. Wasn't about you asking. Just hope you won't be angry for me.
I don't know solution for your problem
Title: foo_discogs
Post by: k33 on 2014-03-24 14:16:53
Also, if anyone still has  "discogs error: connection error (release id=...)" for some releases, make sure to disable all the following:

- In Configuration > Tagging, disable "Enable Artist Name Variation Processing"
- in  Configuration > Album/Atist art, disable "Fetch" in the "Artist art" section
- in the tag mappings dialog, disable "Write tag" for all these tags: "Artist's aliases", "Artist's group", "Artist's name variation", "Artists'members", "Artist id", "Artist URLs", "Artist Real name", "Artist Profile". The "Default mappings" button will disable all these tags at once (and reset other tags to default values).

All of the items above trigger fetching info for artists, on which discogs servers intermittently timeout or refuse to serve the request.

Works fine for me but when I'm trying to use at least one of mentioned fields see error again
(I have tried only ANV or Artist Real Name one by one with no luck)
Any chance to get back those fields?
Tag update doesn't work for them as well((
While it is easy to bid artist ID's or URL's (and maybe some other) farewell
still ANV or Realname for me are crucial
(great to use quicksearch with realname for E.G.]
Title: foo_discogs
Post by: mjm716 on 2014-03-25 00:10:10
I'm using v.1.32 but have problems with any artists with extensive catalogs: e.g. David Bowie. The artist is found but no results return. I did see the note about it probably related to discogs API, but?

In addition, trying to get release by ID only returns error: e.g. discogs error: release id=r2039160: problem connecting to discogs.com.

I verified that the recommended settings in Post #1278 were correct.

?
Title: foo_discogs
Post by: alwayswrming on 2014-04-03 07:10:37
Hello everyone and thanks to bubbleguuum for all the development over the years! Very much appreciated!

I have a question about the %FORMAT% field that gets written during the use of the plugin. When written, the result is usually two or more string values, comma-separated. I have read in this thread many times about people saying it should be semicolon-separated to be true multivalue field. While it would be nice to have the semicolon be default, it is not terribly hard or time-consuming to replace the comma with a semicolon, using Masstagger.

What I want to do is different. I would like to separate each of these values into new, separate field. If, after using the discogs tagger, %FORMAT% has a value of CD; Album; Limited Edition  I would like to move Album to a new field (%Release_Type%, for example) and move Limited Edition to a separate field (%EDITION%, for example). Then we can leave CD as the only value in the original %FORMAT% field (unless there is some reason that it should be moved to new distinct field, in which case the entire %FORMAT% field will be dissolved and can be removed).

You may wonder, why do I want to do this? Well, to make it easier to query or call upon just one specific piece of info. I think there are ways to call just the first or second or third value of a multivalue field, but A.) I am not advanced enough to know how to do that effectively, and B.) having these values separated just makes more sense to me, as they are distinct pieces of information, not multiple values of the same type (like multiple artists).

* Is there a way of writing this info into separate, pre-defined fields before/during writing with the discogs component?

** If not, what would be the most efficient way of separating this info into distinct fields?

*** Any other ideas, thoughts, suggestions?

Thanks in advance!
Title: foo_discogs
Post by: alwayswrming on 2014-04-03 08:39:40
Hello everyone and thanks to bubbleguuum for all the development over the years! Very much appreciated!

I have a question about the %FORMAT% field that gets written during the use of the plugin. When written, the result is usually two or more string values, comma-separated. I have read in this thread many times about people saying it should be semicolon-separated to be true multivalue field. While it would be nice to have the semicolon be default, it is not terribly hard or time-consuming to replace the comma with a semicolon, using Masstagger.

What I want to do is different. I would like to separate each of these values into new, separate field. If, after using the discogs tagger, %FORMAT% has a value of CD; Album; Limited Edition  I would like to move Album to a new field (%Release_Type%, for example) and move Limited Edition to a separate field (%EDITION%, for example). Then we can leave CD as the only value in the original %FORMAT% field (unless there is some reason that it should be moved to new distinct field, in which case the entire %FORMAT% field will be dissolved and can be removed).

You may wonder, why do I want to do this? Well, to make it easier to query or call upon just one specific piece of info. I think there are ways to call just the first or second or third value of a multivalue field, but A.) I am not advanced enough to know how to do that effectively, and B.) having these values separated just makes more sense to me, as they are distinct pieces of information, not multiple values of the same type (like multiple artists).

* Is there a way of writing this info into separate, pre-defined fields before/during writing with the discogs component?

** If not, what would be the most efficient way of separating this info into distinct fields?

*** Any other ideas, thoughts, suggestions?

Thanks in advance!


$if(%FORMAT%,'['$meta(format,0)']')  will give me the first value, which discogs usually puts the medium info, i.e. CD/Vinyl/DVDA/etc.

So, i found that I can use this code to call on one of the semicolon-delimited values of the field, which is nice. However, I still would really love to know how I can split each of the values into their own unique field, since they are in fact distinct types of data IMO. So would still love to hear some suggestions about that.. surely there is a script or function that can do this..
Title: foo_discogs
Post by: kerumbo on 2014-04-16 17:58:02
My son likes this plugin a lot, but unfortunately Discogs apparently has decided that they do not like it. Our IP was banned by Discogs recently, so that we couldn't reach the site from home, and when I contacted Discogs the first thing the support guy said was, "Were you running any kind of tagging app, or album art app?".  I believe Discogs recently tightened-up their policies, especially about the art but it seems with any kind of tagging app also.  I'm still trying to get this straightened-out with the site's administrator.  It's a shame, since the plugin is so useful, and my son was only using it to tag music he bought from Discogs sellers anyway.  Has anybody else had similar issues with Discogs?
Title: foo_discogs
Post by: Der Internet on 2014-04-18 01:11:08
My son likes this plugin a lot, but unfortunately Discogs apparently has decided that they do not like it. Our IP was banned by Discogs recently, so that we couldn't reach the site from home, and when I contacted Discogs the first thing the support guy said was, "Were you running any kind of tagging app, or album art app?".  I believe Discogs recently tightened-up their policies, especially about the art but it seems with any kind of tagging app also.  I'm still trying to get this straightened-out with the site's administrator.  It's a shame, since the plugin is so useful, and my son was only using it to tag music he bought from Discogs sellers anyway.  Has anybody else had similar issues with Discogs?


yesterday evening it didn't work for me.. now it's fine again but i did not use it much in the last time
Title: foo_discogs
Post by: frogworth on 2014-04-19 10:08:27
Discogs have changed the API terms of use to specifically limit the number of images requests - by application id.
I'm not sure if foo_discogs accounts for more than 1000 image requests per day, but it makes for a substantial change.

Thread here: http://www.discogs.com/forum/thread/52950c194c5e2e7adca760a0 (http://www.discogs.com/forum/thread/52950c194c5e2e7adca760a0)

Hopefully our bubbleguuum is on the case... personally I don't mind manually downloading images (I have a keyboard shortcut to open the Discogs page of a tagged release), but I can see the utility of the component for batch image downloading. Sounds like that functionality will have to go now.
Title: foo_discogs
Post by: 2tec on 2014-04-19 13:55:21
Discogs have changed the API terms of use to specifically limit the number of images requests - by application id.

Sadly, these images were all freely contributed, now even the contributors can't get at them as easily. As a result of this, I no longer take the extra time to scan and contribute my images.
Title: foo_discogs
Post by: Anakunda on 2014-04-25 10:21:24
Hi, I have problem fetching release tags for certain album. the preview shows without problem, so no problem connecting to Discogs.
Error message says: discogs error: release id=2565556: problem connecting to discogs.com
Tried more times to avoid stalled connection, error always.

Phase of error: fetching additional artist info
Title: foo_discogs
Post by: neothe0ne on 2014-04-27 03:20:46
Discogs have changed the API terms of use to specifically limit the number of images requests - by application id.

Sadly, these images were all freely contributed, now even the contributors can't get at them as easily. As a result of this, I no longer take the extra time to scan and contribute my images.


Why not check out MusicBrainz and the Cover Art Archive run by Internet Archive instead?  Their data model seems much more competent than Discogs.
Title: foo_discogs
Post by: 2tec on 2014-04-27 04:31:38
Why not check out MusicBrainz and the Cover Art Archive run by Internet Archive instead?

Thanks. I find these are good: Album Art Downloader (http://sourceforge.net/projects/album-art/) or Album Art Exchange (http://www.albumartexchange.com/) and AlbumArt (http://www.albumart.org).
Title: foo_discogs
Post by: Z4g5r on 2014-05-27 12:51:05
I'd like to ask the component author to bring time codes with the next update, so that the tracks length would be visible, like in mp3tag

(http://i.imgur.com/RXv4tro.jpg)
Title: foo_discogs
Post by: LakisFM1 on 2014-06-01 08:16:06
In most releases the tracks are randomly sorted ,
and make the plugin a headache to use , having to reorganize the track row , like a puzzle. 

Had also to use sort tracks by track time ,  so have 50% correct track rows.

My .flac files are already containing tracknumber in the tag,
and the filename format is  .................................... 01. Artist - Title.flac

Please also add a checkbox to fill %albumartist% with %artist%.

Thank you for the plugin , i hope you make it perfect.
Title: foo_discogs
Post by: Hedgegarlic on 2014-06-16 11:03:12
In most releases the tracks are randomly sorted ,
and make the plugin a headache to use , having to reorganize the track row , like a puzzle. 

Had also to use sort tracks by track time ,  so have 50% correct track rows.

My .flac files are already containing tracknumber in the tag,
and the filename format is  .................................... 01. Artist - Title.flac


I've got the same problem and I can't see a logic to the ordering of the files on the right-hand side.

In some cases I only need the album art and even with the track numbers already filled in, the order is incorrect...
Title: foo_discogs
Post by: Der Internet on 2014-06-25 17:46:03
read the manual!

"Automatically match discogs tracks to local tracks based on track length when available : As it is said, it will match tags and songs only if the number of tracks in both lists is the same and track length is available on discogs.
Warning !! It's not that accurate, so be sure to match tags even with this option checked. (if you have two songs of the same length in particular)"


Title: foo_discogs
Post by: Forfit on 2014-06-28 16:34:49
Why i'm not able to find nothing for Stevie Wonder?
Title: foo_discogs
Post by: den_po on 2014-07-06 22:57:45
Hi, I have problem fetching release tags for certain album. the preview shows without problem, so no problem connecting to Discogs.
Error message says: discogs error: release id=2565556: problem connecting to discogs.com
Tried more times to avoid stalled connection, error always.

Phase of error: fetching additional artist info

The same thing
Code: [Select]
discogs error: release id=925394: problem connecting to discogs.com

Release link http://www.discogs.com/release/925394 (http://www.discogs.com/release/925394)
Title: foo_discogs
Post by: Z4g5r on 2014-07-09 02:08:28
Isn't it obvious? Discogs is screwing around with the API again.

I got a real bug, which was an issue since before I can remember. When I call up Find Release window, 'Artist:' line is empty, although it IS tagged. Sometimes Artist's name is pasted, but after I save... was saving the tags from discogs and calling it up again, it was gone. This inherent both to mp3 and flac files.
Title: foo_discogs
Post by: WatsonWW on 2014-07-09 20:43:51
same thing here, plugin just doesn't work
Title: foo_discogs
Post by: fkid on 2014-07-10 07:06:16
UPDATE: If you paste the exact release URL into the "Release id or url" field, you can still use the plugin just fine. Artist searching capabilities for the plugin are down at this time. It has to be the specific release entry, not just the master URL for the release.

DOESN'T WORK: http://www.discogs.com/Floating-Points-Lov...s/master/194169 (http://www.discogs.com/Floating-Points-Love-Me-Like-This/master/194169)
WORKS: http://www.discogs.com/Floating-Points-Lov...release/1721776 (http://www.discogs.com/Floating-Points-Love-Me-Like-This/release/1721776)
Title: foo_discogs
Post by: mrgypsum on 2014-07-10 15:00:25
UPDATE: If you paste the exact release URL into the "Release id or url" field, you can still use the plugin just fine. Artist searching capabilities for the plugin are down at this time. It has to be the specific release entry, not just the master URL for the release.

DOESN'T WORK: http://www.discogs.com/Floating-Points-Lov...s/master/194169 (http://www.discogs.com/Floating-Points-Love-Me-Like-This/master/194169)
WORKS: http://www.discogs.com/Floating-Points-Lov...release/1721776 (http://www.discogs.com/Floating-Points-Love-Me-Like-This/release/1721776)

This is working for me also, its cumbersome but tags the files. its still easier than manual.

thanks.
Title: foo_discogs
Post by: fuffi on 2014-07-11 21:47:39
Hi Folks,

So I've read the lates pages and knew about the api changes.

One question, because the great plugin isnt showing *any* results now for "Los Amigos Invisibles",

while in firefox: http://api.discogs.com/artist/Los%20Amigos...ses=1&f=xml (http://api.discogs.com/artist/Los%20Amigos%20Invisibles?releases=1&f=xml)

gives all the information needed. (I copied the url from an earlier post of  bubblegum and replaced the artist...)


Could it be, because the plugin is combined with an api-code which is blocked (whatever reason it could be...) or is the plugin using the same url as in my example?

Just want to know, if further testing is useless :-)

I'll give the MusicBrians plugin a try again, but the handling is .... quite unintuitive and strange for me 8-) this plugin ist just the best thing that could happen to all the brave mp3 taggers out there! Thanks for developing and taking the time to do quick fixes!

P.S.
for all, who can't get any results from the plugin too,
It might help, if you just go to the appropriate release page in discogs.com
( in my case: http://www.discogs.com/Los-Amigos-Invisibl.../release/787135 (http://www.discogs.com/Los-Amigos-Invisibles-Superpop-Venezuela/release/787135) )
and then copy the Release ID (here: 787135) to the clipboard and paste it into the "release id or url" field in the plugins right bottom corner.
in most of the cases it'll work as expected and the tracks are shown and the files can be tagged.


EDIT: why am I seeing it now, that the same info is posted just 2 posts above mine? 8-) I'm sorry to repeat the obvious...
Title: foo_discogs
Post by: sfman on 2014-07-11 22:24:46
Hi folks!

I have the same problem with Discogs tagger but there's other thing that seems to be a problem.
It seems like bubblegum has abandoned this component. He wasn't active on this discussion since many months.
Title: foo_discogs
Post by: fuffi on 2014-07-11 22:36:14
It seems like bubblegum has abandoned this component. He wasn't active on this discussion since many months.

We all have a RL beside using f2k. so be patient, or just try to.
search for alternatives u can use in the meantime, or just try other musicplayers/plugins, or try to write your own if you like. give it a try. summer just arrives here. go out in the sun and enjoy your living. check the girls. they don't wear much atm 8-) ther're a lot things to do in life. actually we can't do them all, i guess :-)

the dev has done a tremendios work here and I don't think he is leaving the community w/o saying "good bye" :-)
Title: foo_discogs
Post by: mudlord on 2014-07-12 05:11:25
You people make me sick.

A person does shit for free and you people moan about it.
Title: foo_discogs
Post by: Anakunda on 2014-07-12 06:42:47
Hi. Builtin search button seems to stopped working for me. I have to lookup release on web, then paste the link into url fieeld, that works but is not too comfortable.
Can this be fixed plssss
Title: foo_discogs
Post by: fkid on 2014-07-12 07:49:40
Hi. Builtin search button seems to stopped working for me. I have to lookup release on web, then paste the link into url fieeld, that works but is not too comfortable.
Can this be fixed plssss


Looks like it's not necessarily the plugin at fault but the Discogs website/API/server. Can't even load their website or blog at the moment. Successful connections do eventually happen, but there are issues since they introduced the new community-driven search engine update. Give it a few days or weeks and tag manually or use release IDs. The developer is not responsible for these issues in any sense. Enjoy the World Cup games!
Title: foo_discogs
Post by: sfman on 2014-07-12 13:58:06
You people make me sick.

A person does shit for free and you people moan about it.


Well, If You talking about me, than its misunderstanding. I'm not criticizing author.
The only thing I wanted to say is my fear that bubblegum is strangely quiet.
This is useful addon for me and I'm only worry if it will be upgraded.
Again, Its not any accusation or hate for the author. Its fear that Discogs tagger won't be working after Discogs API changes.
Title: foo_discogs
Post by: Chris Norman on 2014-07-16 20:46:28
Well, If You talking about me, than its misunderstanding. I'm not criticizing author.
The only thing I wanted to say is my fear that bubblegum is strangely quiet.
This is useful addon for me and I'm only worry if it will be upgraded.
Again, Its not any accusation or hate for the author. Its fear that Discogs tagger won't be working after Discogs API changes.


It is a fear that I share. If discogs will disallow such services I won't contribute to them any longer...
Title: foo_discogs
Post by: fuffi on 2014-07-16 23:54:09
If discogs will disallow such services I won't contribute to them any longer...

But isn't this something you should tell discogs in their own forums? I don't think they read here.
product feedback is always a good thing, when talking to the producer directly. otherwise, they'll never know you even exist :-)
Title: foo_discogs
Post by: 2tec on 2014-07-17 05:02:29
If discogs will disallow such services I won't contribute to them any longer...

But isn't this something you should tell discogs in their own forums? I don't think they read here.
product feedback is always a good thing, when talking to the producer directly. otherwise, they'll never know you even exist :-)

The problem is that Discogs seems to see these types of efforts as irrelevant at best to their internal goals and at worst, a serious drain on their resources, so I personally doubt they want to help in these types of efforts. As well, it seems many forums, including Discogs', aren't really very tolerant of critics.
Title: foo_discogs
Post by: fuffi on 2014-07-17 09:44:41
The problem is that Discogs seems to see these types of efforts as irrelevant at best to their internal goals and at worst, a serious drain on their resources, so I personally doubt they want to help in these types of efforts. As well, it seems many forums, including Discogs', aren't really very tolerant of critics.

Nope, thats not the problem.

The most common "problem" is, that people talk at the wrong places and misapply their thoughs about XZY to the wrong people but don't realize, they never get heard or can change anything.
just go to the discogs forum, talk to them. thats the only thing you can do, actually, IF U want to be heard by the people which decide about the things you concern about.

But....if u don't want to be heard or change anything, and just moan around a little bit, than this is -of course- the right place :-) 

But be aware, nobody will or can change a feature or a setting of the discogs API itself.
Title: foo_discogs
Post by: kubula on 2014-07-17 09:56:40
Hi, do I understand it correctly, that API restrictions are 1000 images / per user - per application / per day?
that wouldn't be a big issue if the creator of foo_discogs bubblegum brings the user login dialog for our plugin. I believe that everyone of us have the account anyway....
Title: foo_discogs
Post by: komhst on 2014-07-19 09:42:26
Is there any other plugin, similar to foo_discogs, for finding tag information?
Title: foo_discogs
Post by: WatsonWW on 2014-07-20 20:24:59
Is there any other plugin, similar to foo_discogs, for finding tag information?

try MusicBrainz Tagger (http://www.foobar2000.org/components/view/foo_musicbrainz) - it is very cool
you can also try good old freedb online tagger (http://foosion.foobar2000.org/components/?id=freedb)
Title: foo_discogs
Post by: komhst on 2014-07-21 11:19:01
Is there any other plugin, similar to foo_discogs, for finding tag information?

try MusicBrainz Tagger (http://www.foobar2000.org/components/view/foo_musicbrainz) - it is very cool
you can also try good old freedb online tagger (http://foosion.foobar2000.org/components/?id=freedb)


Both plugins, as far as I know, need the whole list of tracks of an album in order to recognize it and retrieve the information from the servers.
I think they can not work in a single track just as foo_discogs did.
Title: foo_discogs
Post by: komhst on 2014-07-21 11:47:35
Isn't it obvious? Discogs is screwing around with the API again.


Yes, but why the similar discogs plugin for MediaMonkey still works great without any update needed?
Title: foo_discogs
Post by: Chris Norman on 2014-07-21 22:49:37
But isn't this something you should tell discogs in their own forums? I don't think they read here.
product feedback is always a good thing, when talking to the producer directly. otherwise, they'll never know you even exist :-)

Can you point me at the right spot to complain at discogs? I am lost in their forum / groups.

Thanks.
Title: foo_discogs
Post by: audiophool on 2014-07-22 09:56:58
Can you point me at the right spot to complain at discogs? I am lost in their forum / groups.

The API forum. (http://www.discogs.com/forum/topic/1082) Seems kinda obvious when you think about it
Title: foo_discogs
Post by: Z4g5r on 2014-07-23 14:57:25
Any workaround to make this plugin work except for manually searching and pasting links? Maybe there's just a single line that needs modification in accordance with current discogs' API and the thingy magically works again... one of those 'I wish I had the wits' moments.
Title: foo_discogs
Post by: marc2003 on 2014-07-23 17:01:33
having looked at the discogs forum, some major API changes are coming on the 22nd august and unless the component is updated, it will not work at all. IIRC, this component uses the XML feeds but those are being turned off in favour of JSON. also, authentication will be required to use the database search. i have no idea if this component uses that particular feed or whether it uses something more specific?? if it does, that will be more work for bubbleguuum.

that said, i have no idea why it isn't working properly at the moment??
Title: foo_discogs
Post by: komhst on 2014-07-23 18:55:28
Is there any other plugin, similar to foo_discogs, for finding tag information?

try MusicBrainz Tagger (http://www.foobar2000.org/components/view/foo_musicbrainz) - it is very cool
you can also try good old freedb online tagger (http://foosion.foobar2000.org/components/?id=freedb)


MusicBrainz Tagger always responds "Nothing found" whatever I look for.
It can not retrieve any information.
Title: foo_discogs
Post by: TheEmpathicEar on 2014-07-24 00:36:22
So, am I right in assuming that this is not working at the moment [at all]? And, to seek an alternative until "it is fixed"?
Title: foo_discogs
Post by: audiophool on 2014-07-24 05:03:01
And, to seek an alternative until "it is fixed"?

Mp3tag can retrieve information from Discogs. Currently, it's probably best to either use the beta (as it fixes a few Discogs-related problems) or to use a custom web sources script. I like the highly configurable Discogs pone mod.
Title: foo_discogs
Post by: TheEmpathicEar on 2014-07-24 14:24:10
And, to seek an alternative until "it is fixed"?

Mp3tag can retrieve information from Discogs. Currently, it's probably best to either use the beta (as it fixes a few Discogs-related problems) or to use a custom web sources script. I like the highly configurable Discogs pone mod.

Is MP3Tags part of Foobar or a plug-in? And, how would you configure it to use Discogs?
Title: foo_discogs
Post by: marc2003 on 2014-07-24 14:27:25
mp3tag is a completely different application

http://www.mp3tag.de/en/ (http://www.mp3tag.de/en/)
Title: foo_discogs
Post by: audiophool on 2014-07-24 17:39:46
Is MP3Tags part of Foobar or a plug-in? And, how would you configure it to use Discogs?

I might have misunderstood your post. I didn't read "alternative" as "alternative foobar plugin". As marc said, Mp3tag is a standalone application. In case you were looking for a different foobar plugin, just ignore my posts. I didn't mean to derail.

The version downloadable here (http://forums.mp3tag.de/index.php?showtopic=57) is the beta I mentioned earlier. It supports Discogs tagging out-of-the-box. (Mark a track. Go to Tag Sources -> Discogs.)

The other thing I mentioned is a script that needs to be installed manually (link (http://forums.mp3tag.de/index.php?showtopic=10431)).
Title: foo_discogs
Post by: TheEmpathicEar on 2014-07-24 17:45:01
Is MP3Tags part of Foobar or a plug-in? And, how would you configure it to use Discogs?

I might have misunderstood your post. I didn't read "alternative" as "alternative foobar plugin". As marc said, Mp3tag is a standalone application. In case you were looking for a different foobar plugin, just ignore my posts. I didn't mean to derail.

The version downloadable here (http://forums.mp3tag.de/index.php?showtopic=57) is the beta I mentioned earlier. It supports Discogs tagging out-of-the-box. (Mark a track. Go to Tag Sources -> Discogs.)

The other thing I mentioned is a script that needs to be installed manually (link (http://forums.mp3tag.de/index.php?showtopic=10431)).


As a standalone, I"v been using Tag&Rename for quite a while now. I also used dbpoweramp for conversion and ripping. How do these compare with other software solutions?
Title: foo_discogs
Post by: TheEmpathicEar on 2014-07-28 18:28:10
If wanted to make the "Artist" field equal to the "Album Artist" field wherever "Album Artist" is not not empty for my entire collection, would this make sense? And, how would I do that? i.e. What's the best software solution?
Title: foo_discogs
Post by: lvqcl on 2014-07-28 19:17:44
foo_discogs (as well as foo_musicbrainz (http://www.hydrogenaud.io/forums/index.php?s=&showtopic=70623&view=findpost&p=870384)) are for tagging, not for copying/modifying existing tags.
Title: foo_discogs
Post by: TheEmpathicEar on 2014-07-28 19:25:32
foo_discogs (as well as foo_musicbrainz (http://www.hydrogenaud.io/forums/index.php?s=&showtopic=70623&view=findpost&p=870384)) are for tagging, not for copying/modifying existing tags.


I know. I was interested to see if it made sense from a tagging point of view?
Title: foo_discogs
Post by: den_po on 2014-07-28 19:39:58
Quote from: TheEmpathicEar link=msg=0 date=
If wanted to make the "Artist" field equal to the "Album Artist" field wherever "Album Artist" is not not empty for my entire collection, would this make sense? And, how would I do that? i.e. What's the best software solution?
...
I know. I was interested to see if it made sense from a tagging point of view?

What about compilation albums?
Title: foo_discogs
Post by: BenB on 2014-07-28 21:08:52
As a standalone, I"v been using Tag&Rename for quite a while now. I also used dbpoweramp for conversion and ripping. How do these compare with other software solutions?

If wanted to make the "Artist" field equal to the "Album Artist" field wherever "Album Artist" is not not empty for my entire collection, would this make sense? And, how would I do that? i.e. What's the best software solution?

foo_discogs (as well as foo_musicbrainz (http://www.hydrogenaud.io/forums/index.php?s=&showtopic=70623&view=findpost&p=870384)) are for tagging, not for copying/modifying existing tags.

I know. I was interested to see if it made sense from a tagging point of view?

You might get answers to your questions if you posted them in the correct forum. This thread is for posting questions specific to or at least related to using foo_discogs.
Title: foo_discogs
Post by: TheEmpathicEar on 2014-07-28 22:31:29
Fair enough. I thought with Discogs "unavailable" at the moment, that maybe we could diverge a little...
Title: foo_discogs
Post by: TheEmpathicEar on 2014-07-29 22:10:45
Quote from: TheEmpathicEar link=msg=0 date=
If wanted to make the "Artist" field equal to the "Album Artist" field wherever "Album Artist" is not not empty for my entire collection, would this make sense? And, how would I do that? i.e. What's the best software solution?
...
I know. I was interested to see if it made sense from a tagging point of view?

What about compilation albums?

[I just wanted to respond to this...] The only compilation I am aware of this: "The Best of The Girl Groups Vol 1 & 2". But, this is defined in foo_dop [iPod Manager] for my iPod as anything that the following string evaluates to 1 or true: "$if($stricmp($meta(album artist),various artists),1,%ipod_compilation%)".
The question is: Do/should "Greatest Hits" collections in general get classified as compilations?
Title: foo_discogs
Post by: noway on 2014-08-03 13:53:59
my plugin 1.32 recently stopped working
it doesn't show any search results at all, no matter what i type in
nor does it show any errors or anything
any ideas?
-------
update: ok i got it with the full link pasted, but this method sucks
Title: foo_discogs
Post by: adyry on 2014-08-03 14:58:39
Same here. Stopped working. Only by pasting release ID
Title: foo_discogs
Post by: TheEmpathicEar on 2014-08-03 16:17:33
Is there a timeline for this to be fixed?
Title: foo_discogs
Post by: romor on 2014-08-03 16:50:20
Url query search string should be "/database/search?q={query}"

This component uses "/search?q={query}"

New API changed probably on 01.08.
Title: foo_discogs
Post by: TheEmpathicEar on 2014-08-03 17:09:39
Url query search string should be "/database/search?q={query}"

This component uses "/search?q={query}"

New API changed probably on 01.08.


Can you elaborate a little on this?
Title: foo_discogs
Post by: frogworth on 2014-08-04 00:28:50
All you need to do is read a few pages back in this topic to see that:
a) the plugin does work for tagging, but search doesn't work. You need to get the release id from the Discogs site and paste it in - then tagging works fine;
b) the plugin developer hasn't been seen here for a while, so don't expect any fix soon or possibly ever.

It's not a very complicated plugin, but I'm not a programmer (of this sort anyway). If somebody else wanted to put one together they probably could, but this community is split beween users and developers, so... don't complain too much about contribute plugins, I guess?

(My only "complaint" really is that plugins like this should be open-sourced from the get-go, so that when devs do disappear someone else can fork the code to keep them working!)
Title: foo_discogs
Post by: Smeele on 2014-08-04 09:27:23
 please fix the search I miss using this component with a passion. I really don't have time to search every release in my browser.....
Title: foo_discogs
Post by: romor on 2014-08-04 17:32:45
Can you elaborate a little on this?

Yes, but with more bad news unfortunately

This component uses old and deprecated endpoint "/search", which allowed server to return XML messages. Now this endpoint is turned off, and even if you patch the component or use proxy to redirect discogs search it wont work, as server now communicates only in JSON.

Bad news is that other parts of this component will probably fall apart soon (22.08?) as all old XML endpoint will shut down: http://www.discogs.com/forum/thread/521520...d9d3529d0bd28d4 (http://www.discogs.com/forum/thread/521520689469733cfcfd2089#53a9fd48ad9d3529d0bd28d4)
Title: foo_discogs
Post by: TheEmpathicEar on 2014-08-04 22:42:26
Can you elaborate a little on this?

Yes, but with more bad news unfortunately

This component uses old and deprecated endpoint "/search", which allowed server to return XML messages. Now this endpoint is turned off, and even if you patch the component or use proxy to redirect discogs search it wont work, as server now communicates only in JSON.

Bad news is that other parts of this component will probably fall apart soon (22.08?) as all old XML endpoint will shut down: http://www.discogs.com/forum/thread/521520...d9d3529d0bd28d4 (http://www.discogs.com/forum/thread/521520689469733cfcfd2089#53a9fd48ad9d3529d0bd28d4)

So,what options do we have  left? MusicBrainz (http://www.hydrogenaud.io/forums/index.php?showtopic=70623)? Freedb?
Title: foo_discogs
Post by: Smeele on 2014-08-06 19:39:39
Can you elaborate a little on this?

Yes, but with more bad news unfortunately

This component uses old and deprecated endpoint "/search", which allowed server to return XML messages. Now this endpoint is turned off, and even if you patch the component or use proxy to redirect discogs search it wont work, as server now communicates only in JSON.

Bad news is that other parts of this component will probably fall apart soon (22.08?) as all old XML endpoint will shut down: http://www.discogs.com/forum/thread/521520...d9d3529d0bd28d4 (http://www.discogs.com/forum/thread/521520689469733cfcfd2089#53a9fd48ad9d3529d0bd28d4)


Is it possible for someone to write a new plugin using JSON instead of xml?
Title: foo_discogs
Post by: fkid on 2014-08-09 17:07:22
Can you elaborate a little on this?

Yes, but with more bad news unfortunately

This component uses old and deprecated endpoint "/search", which allowed server to return XML messages. Now this endpoint is turned off, and even if you patch the component or use proxy to redirect discogs search it wont work, as server now communicates only in JSON.

Bad news is that other parts of this component will probably fall apart soon (22.08?) as all old XML endpoint will shut down: http://www.discogs.com/forum/thread/521520...d9d3529d0bd28d4 (http://www.discogs.com/forum/thread/521520689469733cfcfd2089#53a9fd48ad9d3529d0bd28d4)


Is it possible for someone to write a new plugin using JSON instead of xml?


If it's technically possible, I'd donate money to get this done!
Title: foo_discogs
Post by: Smeele on 2014-08-09 22:37:20
Can you elaborate a little on this?

Yes, but with more bad news unfortunately

This component uses old and deprecated endpoint "/search", which allowed server to return XML messages. Now this endpoint is turned off, and even if you patch the component or use proxy to redirect discogs search it wont work, as server now communicates only in JSON.

Bad news is that other parts of this component will probably fall apart soon (22.08?) as all old XML endpoint will shut down: http://www.discogs.com/forum/thread/521520...d9d3529d0bd28d4 (http://www.discogs.com/forum/thread/521520689469733cfcfd2089#53a9fd48ad9d3529d0bd28d4)


Is it possible for someone to write a new plugin using JSON instead of xml?


If it's technically possible, I'd donate money to get this done!


Same here I'm not a big fan of musicbrainz.
Title: foo_discogs
Post by: Forfit on 2014-08-09 22:50:36
The developer is active here (http://forum.xda-developers.com/member.php?u=3373153).
Title: foo_discogs
Post by: 4nt1 on 2014-08-10 07:11:33
Damn, this sucks the plug-in is all but useless now and the only thing to accurately pickup the kind of music I am trying to tag

Hopefully someone can get in contact with the plug-in creator and have him update the plug-in or handover the source to someone else so they can fix it.
Title: foo_discogs
Post by: PWSteal on 2014-08-11 15:39:16
Same here I'm not a big fan of musicbrainz.

+1 will donate as well
Title: foo_discogs
Post by: TheEmpathicEar on 2014-08-11 18:47:50
Same here I'm not a big fan of musicbrainz.

+1 will donate as well

To whom are you donating?
Title: foo_discogs
Post by: bubbleguuum on 2014-08-11 22:52:49
As I lack time to update the plugin, I will release the source code in a few days in case someone wants to take over
and add OAuth + json parsing.

The OAuth part is really annoying but will be needed for search queries after Aug 15th (as well as proper album art requests
and possibly data fetch requests).
Title: foo_discogs
Post by: Chris Norman on 2014-08-11 23:55:42
As I lack time to update the plugin, I will release the source code in a few days in case someone wants to take over


Sad, but thanks for all the past development bubbleguuum!

Hopefully, someone will continue your work.
Title: foo_discogs
Post by: TheEmpathicEar on 2014-08-12 03:31:48
As I lack time to update the plugin, I will release the source code in a few days in case someone wants to take over


Sad, but thanks for all the past development bubbleguuum!

Hopefully, someone will continue your work.

+1
Title: foo_discogs
Post by: PWSteal on 2014-08-12 07:17:09
Same here I'm not a big fan of musicbrainz.

+1 will donate as well

To whom are you donating?


to anyone willing to update and support the plugin. Maybe a kickstarter campaign, or just a simple donation after the release.
Title: foo_discogs
Post by: 2tec on 2014-08-12 16:35:20
As I lack time to update the plugin, I will release the source code in a few days in case someone wants to take over
and add OAuth + json parsing.

Thanks for opening up your code, and thanks for writing it. Very few people are as generous as you sir.
Title: foo_discogs
Post by: TheEmpathicEar on 2014-08-12 19:16:45
As I lack time to update the plugin, I will release the source code in a few days in case someone wants to take over
and add OAuth + json parsing.

Thanks for opening up your code, and thanks for writing it. Very few people are as generous as you sir.

+1
Title: foo_discogs
Post by: f1losof on 2014-08-12 23:10:23
As I lack time to update the plugin, I will release the source code in a few days in case someone wants to take over
and add OAuth + json parsing.

Thanks for opening up your code, and thanks for writing it. Very few people are as generous as you sir.

+1

+2
Title: foo_discogs
Post by: Smeele on 2014-08-13 03:09:34
As I lack time to update the plugin, I will release the source code in a few days in case someone wants to take over
and add OAuth + json parsing.

The OAuth part is really annoying but will be needed for search queries after Aug 15th (as well as proper album art requests
and possibly data fetch requests).


Thank you so much for your hard work it really means a lot and has helped me a ton!
Title: foo_discogs
Post by: silkcut on 2014-08-13 03:15:10
Many thanks bubbleguuum!!  It has helped me out a lot as well.
Title: foo_discogs
Post by: goaman15 on 2014-08-15 02:34:56
Post the source code... I'll take a look and maybe update it if I find time... (no promises I'm too busy these days).

Is OAuth support necessary just to access release info? There should be no need to log in to discogs?
Title: foo_discogs
Post by: sfman on 2014-08-15 14:34:58
Thanks for all work You put into this plugin. It helped many people to spent less time on tagging.
Title: foo_discogs
Post by: bubbleguuum on 2014-08-15 18:04:58
Here's a dump of the v1.32 source (http://bubblesoftapps.com/foo_discogs/foo_discogs-1.32-src.zip)

To build it you need to place the foo_discogs project in a VC++ solution and add these dependencies to the foo_discogs project:

- foobar2000_component_client
- foobar2000_SDK
- foobar2000_SDK_helpers
- pfc


The abstract class IDiscogs encapsulates fetching + parsing Discogs data and populating data structures (classes) representing release, artists, etc.
There's a single implementation in DiscogsXMLParser.cpp.  To support JSON, a new implementation must be written using the XML
implementation as an example to fill the data structures exactly the same way.
For parsing JSON, I had good success with the Jansson (http://www.digip.org/jansson/) lib for another project.

And there's the PITA named OAuth (v1) to handle. It will be required for search requests and probably more as discogs devs have become OAuth freaks.
For this, I suggest to research if an easy C/C++ OAuth lib exists first.

If someone picks up this project let us know to avoid duplicate effort.
Title: foo_discogs
Post by: goaman15 on 2014-08-16 10:12:01
Thanks bubbleguum. I'm taking a stab at it. Others can feel free to race me. Haven't used C++ since school so I'm pretty rusty. Forgot about the joys of trying to compile and link everything properly on windows. :-)
Title: foo_discogs
Post by: zoomorph on 2014-08-16 20:23:12
Here is a working version (DLL):
https://www.sendspace.com/file/f8926e (https://www.sendspace.com/file/f8926e)

It uses the JSON API for searching artist and getting artist releases, but still uses the old XML interface for everything else. It seems a bit slower at loading releases, too.

Big thanks to bubbleguuum for starting this project and releasing the source code.
Title: foo_discogs
Post by: silkcut on 2014-08-16 20:50:06
Thanks zoomorph!!
Title: foo_discogs
Post by: j0b0 on 2014-08-16 22:54:12
Here is a working version (DLL):
https://www.sendspace.com/file/f8926e (https://www.sendspace.com/file/f8926e)

It uses the JSON API for searching artist and getting artist releases, but still uses the old XML interface for everything else. It seems a bit slower at loading releases, too.

Big thanks to bubbleguuum for starting this project and releasing the source code.


It works with searching, but tagging fails in my case (some endpoint related error). Anybody else the same?
Title: foo_discogs
Post by: silkcut on 2014-08-17 00:12:49
It works with searching, but tagging fails in my case (some endpoint related error). Anybody else the same?


Same.  When I click "Write Tags" I get

discogs error: release id=xxxxxx: problem connecting to discogs.com
Title: foo_discogs
Post by: TheEmpathicEar on 2014-08-17 01:27:51
Here's a dump ...snip...


I assume this is for a potential developer and not for an end user?
Title: foo_discogs
Post by: zoomorph on 2014-08-17 02:36:03
It works with searching, but tagging fails in my case (some endpoint related error). Anybody else the same?


Same.  When I click "Write Tags" I get

discogs error: release id=xxxxxx: problem connecting to discogs.com

Hmm weird, it works for me and I didn't change anything in the code relating to loading the release info or writing tags. I'm not a C++ expert so maybe I compiled something wrong (I compiled on MSVC 2013 using platform toolset for Windows XP (v120_xp)). By the way, what version of foobar2000 are you using? I'm using the latest official version.
Title: foo_discogs
Post by: lucido on 2014-08-17 08:05:27
Works for me too. Win8.1 x64, foobar2000 1.3.3
Thanks zoomorph and bubleguuum
Title: foo_discogs
Post by: zoomorph on 2014-08-17 08:39:04
Good to hear that lucido!

Here's another build that uses the JSON API exclusively. (According to their website, the rest of the XML API will be shut off on Aug 22.)
https://www.sendspace.com/file/igsvhu (https://www.sendspace.com/file/igsvhu)

I've not tackled OAuth support as they've bumped the deadline to Oct 14.
Title: foo_discogs
Post by: bubbleguuum on 2014-08-17 08:55:19
Good to hear that lucido!

Here's another build that uses the JSON API exclusively. (According to their website, the rest of the XML API will be shut off on Aug 22.)
https://www.sendspace.com/file/igsvhu (https://www.sendspace.com/file/igsvhu)

I've not tackled OAuth support as they've bumped the deadline to Oct 14.



Thanks for your work! I've updated the components site (http://www.foobar2000.org/components) with your version (1.33).
It will be picked by the foobar2000 auto-updater.
If you make new updates make sure to bump the version number and I'll upload it to the components site.

That's good news OAuth has been pushed back as it give more time to add support for it.
Title: foo_discogs
Post by: Forfit on 2014-08-17 09:13:24
Here's another build that uses the JSON API exclusively.

Silent Crash for me after search. WinXP, foobar2000 1.3.3
Thanks zoomorph and bubleguuum
Title: foo_discogs
Post by: zoomorph on 2014-08-17 09:34:20
I apologize for any bugs. I'm not sure how compatible my builds are. I'm sure bubbleguuum and others here are more knowledgeable so maybe they can help. Here is the source code using the JSON api: https://bitbucket.org/zoomorph/foo_discogs (https://bitbucket.org/zoomorph/foo_discogs)
Title: foo_discogs
Post by: bubbleguuum on 2014-08-17 09:59:30
Here's another build that uses the JSON API exclusively.

Silent Crash for me after search. WinXP, foobar2000 1.3.3
Thanks zoomorph and bubleguuum


Silent as in you do not even see the crash report dialog ?
At which point does it crash (detailed steps to reproduce) ?
Title: foo_discogs
Post by: Forfit on 2014-08-17 10:06:05
Silent as in you do not even see the crash report dialog ?

yes, nothing also in "crash reports" folder.
Quote
At which point does it crash (detailed steps to reproduce) ?

I click button plugin over a previous filled discogos mp3 tag, it open dialog form, i write artist and click "Search", it find and crash.
Sometimes it does not crash immediately but I can scroll through the artists list but after crashes anyway.
Title: foo_discogs
Post by: wojtek on 2014-08-17 10:30:37
Here's a dump of the v1.32 source (http://bubblesoftapps.com/foo_discogs/foo_discogs-1.32-src.zip)


Hi,
first of all - thank you for the amazing plugin and all the work!

As for the sources - I guess it would be ok to put them on github or bitbucet or similar?
Title: foo_discogs
Post by: foosion on 2014-08-17 10:52:58
That's good news OAuth has been pushed back as it give more time to add support for it.
You should also look into adding HTTPS support (http://www.discogs.com/forum/thread/521520689469733cfcfd2089#53ea5418ea621148afb65ed2).
Title: foo_discogs
Post by: j0b0 on 2014-08-17 11:51:41
The error while writing tags can be resolved by deleting any old foo_discogs.dll.cfg file in the configuration folder of foobar.
Probably foobar 1.3.3. should also be the current version.

Cheers!
Title: foo_discogs
Post by: comox on 2014-08-17 15:05:11
Many Thanks to bubbleguuum and zoomorph for continuing this hilarious plugin. Tagging works fine (although it crashed once until now) but album art is not fetched. Newest version of foobar is installed and i deleted the old foo_discogs.dll.cfg. Anyone else with that problem?
Title: foo_discogs
Post by: TheEmpathicEar on 2014-08-17 15:29:02
1. Is it recommended to uninstall foo_discogs before installing this latest version?

2. Could someone post a brief WiKi of what will work and what won't work?
Title: foo_discogs
Post by: j0b0 on 2014-08-17 17:05:17
The problem seems to mapping related. Editing the mapping after deleting the old config brings the error back.
It seems that some or at least one mapping is broken (if you choose all DISCOGS_ ... fields)
Title: foo_discogs
Post by: eahm on 2014-08-17 17:47:12
Thanks bubbleguuum and zoomorph, the new version works perfectly. Damn quick update!
Title: foo_discogs
Post by: PWSteal on 2014-08-17 19:47:08
Thanks for the update!

Some points:
- deleting old foo_discogs.dll.cfg helps - otherwise I got error connecting to discogs database;
- my config writes <DISCOGS_FORMAT>, and after update it started to write "CD, @lbum" instead of "CD, Album";
- fetching album art doesn't work;
- composite name doesn't work. E.g. for this release (http://www.discogs.com/release/3654319) Artist name is returned as "LA Vampires , Ital" instead of "LA Vampires Goes Ital". I guess,  for %artist% all text (non-link) words are replaced with " , ".
Title: foo_discogs
Post by: Anakunda on 2014-08-18 14:02:23
Hello, I get error "discogs error: release id=2437847: problem connecting to discogs.com" with new version. Has anybody handled this?
Title: foo_discogs
Post by: j0b0 on 2014-08-18 15:44:37
Hello, I get error "discogs error: release id=2437847: problem connecting to discogs.com" with new version. Has anybody handled this?


no, but it must be mapping related. if you delete any old foo_discogs.cll.cfg (back it up before) then there won't be an error anymore but only a few discogs 
tags are written to the file. didn't have time nor patience to try which attribute makes it fails (must be at least one)

* you can edit mappings in the write tag window which appears once you've selected a release.
Title: foo_discogs
Post by: Anakunda on 2014-08-18 18:55:13
If I apply default mappings it writes tags but gives another error foo_discogs: error: could not save url=, skipping...
Plugin needs a fix
Title: foo_discogs
Post by: zoomorph on 2014-08-18 19:48:41
It turns out the artist-related tags weren't working and were causing that error message. Hopefully your old discogs.dll.cfgs will work now.

Fixed the composition artist names.

No idea why "CD, Album" gets written in the tag as "CD, @lbum". "CD, Album, <something>" works fine.

v.134 - https://www.sendspace.com/file/yed26y (https://www.sendspace.com/file/yed26y)
Title: foo_discogs
Post by: Anakunda on 2014-08-18 20:02:52
I still'm getting the foo_discogs: error: could not save url=, skipping...
Title: foo_discogs
Post by: zoomorph on 2014-08-18 20:15:26
I still'm getting the foo_discogs: error: could not save url=, skipping...

Is that related to fetching artwork? I haven't looked into that yet...
Title: foo_discogs
Post by: Anakunda on 2014-08-18 20:59:57
Probably
Turning ON Artist art: Fetch or Fetch all available art causing this
Album art: Fetcg doesnot causing this but neither does fetch album art
Title: foo_discogs
Post by: Chris Norman on 2014-08-18 22:35:58
Is that related to fetching artwork? I haven't looked into that yet...


First of all thank you very much zoomorth for picking this up again and bubbleguum for providing the sources!

I am more than delight to see this work continued.

Concerning album art: Regardless of what I set in the properties it won't fetch anything.
- enabling "fetch" only: No album art gets downloaded and no error message appears
- Enabling "Display  preview in release dialogue" and / or "Fetch all  available art" gives the error "foo_discogs: error: could not save url=, skipping..."

As for the tags everything looks good. The only thing I found is that the tag for "Unmodofied  track position" = "DISCOGS_TRACK_POSITION" does not get written.

Thanks again.
Title: foo_discogs
Post by: Chris Norman on 2014-08-18 22:45:42
Just another remark:

I don't know if this plugin releated: a search for any artist with a longer discography will be incomplete in search, e.g. "björk" releases will stop in the year 2000.
Title: foo_discogs
Post by: zoomorph on 2014-08-18 23:33:37
Apparently album art access requires OAuth, which is why it's now broken.
Title: foo_discogs
Post by: zoomorph on 2014-08-19 05:58:46
Just another remark:

I don't know if this plugin releated: a search for any artist with a longer discography will be incomplete in search, e.g. "björk" releases will stop in the year 2000.

I've added support for grabbing multiple pages of releases (may take a long time, but they should be cached for the future):
https://www.sendspace.com/file/s8qs6a (https://www.sendspace.com/file/s8qs6a)
Title: foo_discogs
Post by: PWSteal on 2014-08-19 09:21:26
I've added support for grabbing multiple pages of releases (may take a long time, but they should be cached for the future):
https://www.sendspace.com/file/s8qs6a (https://www.sendspace.com/file/s8qs6a)


zoomorph thank you for quick updates. Some other points:
- somehow %style% tag was misspelled - for this release (http://www.discogs.com/release/3371741) tag was written as "Abstqact" instead of "Abstract". Another release (http://www.discogs.com/release/3136161), %style% was written as "Expeqimental" instead of "Experimental". Looks like we have pqoblem with R pqonounciation  At the same time, "Techno; UK Garage; IDM; Abstract" for this (http://www.discogs.com/release/3428168) was written with no mistakes;
- same release (http://www.discogs.com/release/3371741), now it's about format - tag was written as "CDr, Album, Album" instead of "CDr, Album, Promo". Another release (http://www.discogs.com/release/3136161), format tag was written as "27 x File, Album" instead of "27 × File, MP3". Looks like all text (non-linked) words (e.g. Reissue, Remastered, MP3) are replaced with "Album";
- now Lamar's release (http://www.discogs.com/release/3976219), %DISCOGS_FORMAT% was written as "2 x BD, Album" instead of "2 × CD, Album, Deluxe Edition" (Deluxe Edition was omitted);
- "CD, @lbum" problem still persists.


I really appreciate your help, please let me know how I can buy you a beer via PP 
Title: foo_discogs
Post by: zoomorph on 2014-08-19 12:34:12
Thanks for the bug reports. I'm really not sure what's causing those odd typos but I'll look into it.

PP: jsilver.pmc@gmail.com 

OAuth support is almost done. It's been a royal pain in the ass as expected.
Title: foo_discogs
Post by: bubbleguuum on 2014-08-19 13:09:53
Thanks for the bug reports. I'm really not sure what's causing those odd typos but I'll look into it.


I'd look first if the json data is not buggy itself on the release having this issue. It wouldn't be the first time that json / xml data does not match the web site.

OAuth support is almost done. It's been a royal pain in the ass as expected.


Nice!
Title: foo_discogs
Post by: TheEmpathicEar on 2014-08-19 18:02:30
Thanks for the bug reports. I'm really not sure what's causing those odd typos but I'll look into it.


I'd look first if the json data is not buggy itself on the release having this issue. It wouldn't be the first time that json / xml data does not match the web site.

OAuth support is almost done. It's been a royal pain in the ass as expected.


Nice!

+1

EDIT: @zoomorpth, when the album art thing is ready will this require a new version of the plug-in?
Title: foo_discogs
Post by: zoomorph on 2014-08-19 22:55:56
OK, here it is... first attempt at OAuth support.
https://www.sendspace.com/file/j3mjo5 (https://www.sendspace.com/file/j3mjo5)

You have to set up OAuth in the configuration tab. In the future this should probably be made easier.

By default it uses OAuth for everything if a token/key is configured.

Album art works. :-)

Also, the problem with corrupted strings ("CD, @lbum", etc) might be fixed (fingers crossed).

Please try it out and, if no problems are found, upload it to the components site. I'm away for the next week so I won't be around to fix bugs but the source is available if anyone else is interested: https://bitbucket.org/zoomorph/foo_discogs (https://bitbucket.org/zoomorph/foo_discogs)

P.S. - If anyone knows of an *easier* way to use OAuth, let's hear it. Will users really need a Discogs account to use foo_discogs as of Oct. 14? I've thought of shipping it with a built-in token/secret that would all go through my account, but I think Discogs might not like that, and everyone might be rate-limited as though they were one user (not sure if it would actually work, either).
Title: foo_discogs
Post by: TheEmpathicEar on 2014-08-20 02:33:14
...snip...

You have to set up OAuth in the configuration tab. In the future this should probably be made easier.

...snip...

Does anyone know how to setup OAuth in the configuration tab? I have been holding off updating the plug-in...
Title: foo_discogs
Post by: fkid on 2014-08-20 07:23:27
...snip...

You have to set up OAuth in the configuration tab. In the future this should probably be made easier.

...snip...

Does anyone know how to setup OAuth in the configuration tab? I have been holding off updating the plug-in...


Simply follow the instructions written on the OAuth configuration tab in the plugin. You only need a Discogs account. Very easy. Thank you zoomorph. Check your PayPal for a sweetie treatie.
Title: foo_discogs
Post by: PWSteal on 2014-08-20 08:34:30
OK, here it is... first attempt at OAuth support.
https://www.sendspace.com/file/j3mjo5 (https://www.sendspace.com/file/j3mjo5)


works like a charm    most of issues I wrote earlier were fixed. However:
- this release (http://www.discogs.com/release/3371741), %DISCOGS_FORMAT% tag was written as "CDr, Album, Album" instead of "CDr, Album, Promo". Another release (http://www.discogs.com/release/3136161), format tag was written as "27 x File, Album" instead of "27 × File, MP3". Another example (http://www.discogs.com/release/3411238), format tag was written as "CD, Album, Album, Album" instead of "CD, Album, Reissue, Remastered". Looks like all text (non-linked) words (e.g. Reissue, Remastered, MP3) are replaced with "Album";
- now Lamar's release (http://www.discogs.com/release/3976219), %DISCOGS_FORMAT% was written as "2 x CD, Album" instead of "2 × CD, Album, Deluxe Edition" (Deluxe Edition was omitted). At this page Deluxe Edition was in italic, that's the only difference I spotted in comparison with this page (http://www.discogs.com/release/3411238).
Title: foo_discogs
Post by: zoomorph on 2014-08-20 09:17:23
Thanks for the report PWSteal.

This update fixes that bug:
https://www.sendspace.com/file/aphg6y (https://www.sendspace.com/file/aphg6y)

Bonus - unicode HTML entities are now decoded. For example, the beta symbol in track 1 of http://www.discogs.com/release/59116 (http://www.discogs.com/release/59116)
Title: foo_discogs
Post by: bubbleguuum on 2014-08-20 10:09:44
Thanks for the report PWSteal.

This update fixes that bug:
https://www.sendspace.com/file/aphg6y (https://www.sendspace.com/file/aphg6y)

Bonus - unicode HTML entities are now decoded. For example, the beta symbol in track 1 of http://www.discogs.com/release/59116 (http://www.discogs.com/release/59116)



The components site is updated with this version (v1.36).
Title: foo_discogs
Post by: PWSteal on 2014-08-20 11:05:03
Thanks for the report PWSteal.

This update fixes that bug:
https://www.sendspace.com/file/aphg6y (https://www.sendspace.com/file/aphg6y)

Bonus - unicode HTML entities are now decoded. For example, the beta symbol in track 1 of http://www.discogs.com/release/59116 (http://www.discogs.com/release/59116)


great! Now there is no more "Album, Album, Album" thing.
For format where part of text is formatted in italic, that particular part is not written. Examples:
- Kendrick Lamar (http://www.discogs.com/release/3976219) - Deluxe Editioin is missed;
- Beware Of Safety (http://www.discogs.com/release/1604144) - Pilsner is missed;
- Luke Slater (http://www.discogs.com/release/398623) - Slipcase is missed.

Not sure if this italic issue persists for tags other than Format,cannot find pages to test it.
Title: foo_discogs
Post by: zoomorph on 2014-08-20 17:33:41
Thanks for the report PWSteal.

This update fixes that bug:
https://www.sendspace.com/file/aphg6y (https://www.sendspace.com/file/aphg6y)

Bonus - unicode HTML entities are now decoded. For example, the beta symbol in track 1 of http://www.discogs.com/release/59116 (http://www.discogs.com/release/59116)


great! Now there is no more "Album, Album, Album" thing.
For format where part of text is formatted in italic, that particular part is not written. Examples:
- Kendrick Lamar (http://www.discogs.com/release/3976219) - Deluxe Editioin is missed;
- Beware Of Safety (http://www.discogs.com/release/1604144) - Pilsner is missed;
- Luke Slater (http://www.discogs.com/release/398623) - Slipcase is missed.

Not sure if this italic issue persists for tags other than Format,cannot find pages to test it.

I don't think that italic bit (custom format fields) was ever gathered by foo_discogs. It could be added though.
Title: foo_discogs
Post by: alexinc on 2014-08-20 18:02:03
thx for keeping the plugin updated!

just noticed, that using v1.36 the field DISCOGS_ARTIST_ID isn't written anymore and its content gets written to DISCOGS_ARTIST_LINK which overwrites the name of the artist with its id. artist art doesn't get fetched anymore and "view artist art page" from conext menu leads to error 404.
Title: foo_discogs
Post by: Chris Norman on 2014-08-20 20:04:59
Just observed the same issue as previously reported:

For release: http://www.discogs.com/Gibson-Dan-Songbird...release/4490766 (http://www.discogs.com/Gibson-Dan-Songbirds-A-Surround-Sound-Experience/release/4490766)

Style: "Field recording" becomes "Fielc Recording"
Title: foo_discogs
Post by: PWSteal on 2014-08-20 20:18:15
I don't think that italic bit (custom format fields) was ever gathered by foo_discogs. It could be added though.


Maybe. That's not crucial, anyway.

Just observed the same issue as previously reported:

For release: http://www.discogs.com/Gibson-Dan-Songbird...release/4490766 (http://www.discogs.com/Gibson-Dan-Songbirds-A-Surround-Sound-Experience/release/4490766)

Style: "Field recording" becomes "Fielc Recording"


worked fine for me. Try to update the component from this post (http://www.hydrogenaud.io/forums/index.php?showtopic=50523&view=findpost&p=872575).
Title: foo_discogs
Post by: TheEmpathicEar on 2014-08-21 00:29:03
[This is my first attempt at using the plug-in. It's installed and Oauth is setup. My example is Muse, The Resistance, 2009]

Configuration>Album/artist art settings: What's recommended here? Can someone recommend some over all settings to help get me started?

For this specific example, there seem to be 3 releases? What's the general guide to deciding between them?

EDIT: I used the plug-in again. There seem to be many more releases than the first time I used it?
Title: foo_discogs
Post by: frogworth on 2014-08-21 05:28:07
Thanks so much for the quick updating of this plugin!
I'm trying to authorize OAuth and I just can't get it to connect. Maybe api.discogs.com is down (it's responding to pings but not direct http requests)? Or otherwise, I've done something wrong (but I have renamed the old foo_discogs.dll.cfg)

Cheers.
Title: foo_discogs
Post by: Forfit on 2014-08-21 07:10:34
I tried it a little but now does not seem to crash.
Maybe it does not work now support proxy server?
Title: foo_discogs
Post by: bubbleguuum on 2014-08-21 15:24:01
Thanks so much for the quick updating of this plugin!
I'm trying to authorize OAuth and I just can't get it to connect. Maybe api.discogs.com is down (it's responding to pings but not direct http requests)? Or otherwise, I've done something wrong (but I have renamed the old foo_discogs.dll.cfg)

Cheers.



According to the discogs forums there has been service connectivity issues in the past hours. It should work now.
Title: foo_discogs
Post by: frogworth on 2014-08-22 11:53:44
According to the discogs forums there has been service connectivity issues in the past hours. It should work now.


It did work for me this evening - awesome!
Thanks bubbleguuum for your original dev and thanks to zoomorph for your quick updating! It's awesome to have Discogs tagging working again - an essential part of the foobar2000 experience  (Actually a really indispensable part of my pretty much daily workflow when listening to new music)
Title: foo_discogs
Post by: vraxoin on 2014-08-22 23:31:38
HUGE thanks to bubbleguuum and zoomorph!!  It's working perfectly with v1.3.3 on Windows 7 Pro x64.  OAuth setup was smooth as butter.  Having used, and continuing to use, foo_discogs to tag many thousands of albums, it is sooo appreciated! 
Title: foo_discogs
Post by: komhst on 2014-08-23 09:48:07
Good to hear that lucido!

Here's another build that uses the JSON API exclusively. (According to their website, the rest of the XML API will be shut off on Aug 22.)
https://www.sendspace.com/file/igsvhu (https://www.sendspace.com/file/igsvhu)

I've not tackled OAuth support as they've bumped the deadline to Oct 14.



Thanks for your work! I've updated the components site (http://www.foobar2000.org/components) with your version (1.33).
It will be picked by the foobar2000 auto-updater.
If you make new updates make sure to bump the version number and I'll upload it to the components site.

That's good news OAuth has been pushed back as it give more time to add support for it.


It works great for me but where is the album cover art ?

Even the last version 1.36 doesn't fetch album cover art. Why?
Title: foo_discogs
Post by: vraxoin on 2014-08-23 11:09:07
It works great for me but where is the album cover art ?

Even the last version 1.36 doesn't fetch album cover art. Why?


There are two things.

One, I think that there's an issue on the Discogs server side of things right now.  I was having no problem downloading art just a few hours ago.  Now I get this type of error:

  foo_discogs: error: could not save url=http://api.discogs.com/image/R-910147-1249319424.jpeg, skipping...

Two, when I installed the new version all the check boxes under the "Album/artist art" tab in the foo_discogs configuration were unchecked.  I just went back in and checked the ones I wanted and it worked perfectly.

Anyway, as long as the apparent server problem is resolved and you have those boxes checked, you should be in business.
Title: foo_discogs
Post by: den_po on 2014-08-23 11:12:52
http://api.discogs.com/image/R-5953840-1407260370-7839.jpeg (http://api.discogs.com/image/R-5953840-1407260370-7839.jpeg)
>> You must authenticate to access this resource.
Title: foo_discogs
Post by: j0b0 on 2014-08-23 12:54:04
http://api.discogs.com/image/R-5953840-1407260370-7839.jpeg (http://api.discogs.com/image/R-5953840-1407260370-7839.jpeg)
>> You must authenticate to access this resource.


we've hit a limit.

HTTP/1.1 403 Forbidden
Reproxy-Status: yes
Access-Control-Allow-Origin: *
Cache-Control: public, must-revalidate
Content-Type: text/plain
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 4420
X-RateLimit-Type: image
Server: lighttpd
Content-Length: 21
Date: Sat, 23 Aug 2014 11:52:54 GMT
X-Varnish: 2283323027
Age: 0
Via: 1.1 varnish
Connection: close

Rate limit exceeded.
Title: foo_discogs
Post by: komhst on 2014-08-23 15:31:48
It works great for me but where is the album cover art ?

Even the last version 1.36 doesn't fetch album cover art. Why?


There are two things.

One, I think that there's an issue on the Discogs server side of things right now.  I was having no problem downloading art just a few hours ago.  Now I get this type of error:

  foo_discogs: error: could not save url=http://api.discogs.com/image/R-910147-1249319424.jpeg, skipping...

Two, when I installed the new version all the check boxes under the "Album/artist art" tab in the foo_discogs configuration were unchecked.  I just went back in and checked the ones I wanted and it worked perfectly.

Anyway, as long as the apparent server problem is resolved and you have those boxes checked, you should be in business.


Although I have re-checked the check-boxes about fetching album art images in the configuration and I have authorized OAuth, I still can't get any cover images....
And right now the search stopped working as in the old version of the plugin. 
Title: foo_discogs
Post by: j0b0 on 2014-08-23 15:36:40
working again for me and one other person.
Title: foo_discogs
Post by: komhst on 2014-08-23 16:03:45
working again for me and one other person.


Yes, and for me just right now without making any changes.  So, I guess maybe it was a server problem...
Title: foo_discogs
Post by: Anakunda on 2014-08-23 21:34:56
So is the image downloading problem coming to end? I have no error now but albumart is not fetched.
Title: foo_discogs
Post by: adamjk on 2014-08-24 10:57:11
After updating from version 1.32 to 1.36 I've got message:     

"Failed to load DLL: foo_discogs.dll
Reason: Unknown error code (3221225501)"


My system: Windows XP SP3, Pentium III

I will appreciate any advices and suggestions.

Title: foo_discogs
Post by: Forfit on 2014-08-24 11:32:31
i see a reference to "shared.dll" but i not have it in my system. Do it important? It is working for now.
Title: foo_discogs
Post by: fbuser on 2014-08-24 12:31:39
i see a reference to "shared.dll" but i not have it in my system. Do it important? It is working for now.
The "shared.dll" is important and you definitely have in your system. If not, you would complain that your foobar2000 ist not working. The dll is part of your foobar2000 installation and you will find it in your foobar2000 program folder.
Title: foo_discogs
Post by: lvqcl on 2014-08-24 12:44:35
After updating from version 1.32 to 1.36 I've got message:     

"Failed to load DLL: foo_discogs.dll
Reason: Unknown error code (3221225501)"

My system: Windows XP SP3, Pentium III


Modern compilers use SSE2 instructions by default. Your CPU doesn't support them.
But it's possible to build foo_discogs that it doesn't require SSE/SSE2.
Title: foo_discogs
Post by: Anakunda on 2014-08-24 14:55:34
I feel like the plugin needs some more fixing yet. Got hanged at "(fetching additional artist information...)" stage for release 1341431.
Other releases go fine
Title: foo_discogs
Post by: comox on 2014-08-26 06:12:54
I faced the issue that the tag field "DISCOGS LABEL LINK" doesn't write the actual label but a different number for each label.
Title: foo_discogs
Post by: Studio 308 on 2014-08-26 06:50:07
Discogs now gave all labels unique indexes. This field is used for technical reason to get to label page from Discogs menu in foobar. Label is written into Publisher field by default.

The only problem I have now is timeout errors with downloading artwork, but this is because of slow connection at work. On retry the artwork is downloaded. Maybe you just need to do this mechanism tough. Or add retry button to error dialog.
Title: foo_discogs
Post by: Tigermess on 2014-08-27 00:11:25
Thanks zoomorph for making this great plugin work again!
Title: foo_discogs
Post by: zoomorph on 2014-08-27 16:03:44
After updating from version 1.32 to 1.36 I've got message:     

"Failed to load DLL: foo_discogs.dll
Reason: Unknown error code (3221225501)"

My system: Windows XP SP3, Pentium III


Modern compilers use SSE2 instructions by default. Your CPU doesn't support them.
But it's possible to build foo_discogs that it doesn't require SSE/SSE2.

Try this one: https://www.sendspace.com/file/s6hwpc (https://www.sendspace.com/file/s6hwpc)

I built it with no enhanced instructions.
Title: foo_discogs
Post by: zoomorph on 2014-08-27 16:08:46
http://api.discogs.com/image/R-5953840-1407260370-7839.jpeg (http://api.discogs.com/image/R-5953840-1407260370-7839.jpeg)
>> You must authenticate to access this resource.


we've hit a limit.

HTTP/1.1 403 Forbidden
Reproxy-Status: yes
Access-Control-Allow-Origin: *
Cache-Control: public, must-revalidate
Content-Type: text/plain
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 4420
X-RateLimit-Type: image
Server: lighttpd
Content-Length: 21
Date: Sat, 23 Aug 2014 11:52:54 GMT
X-Varnish: 2283323027
Age: 0
Via: 1.1 varnish
Connection: close

Rate limit exceeded.

Unfortunately I don't think there's much that can be done about this other than adding a check and alerting an error.
Title: foo_discogs
Post by: j0b0 on 2014-08-27 16:48:43
that's good enough I think as the limit is reset in a reasonable timeframe. if we'd hit the limit more often, image download could probably be done the old school way by parsing the image section/ links on the release page.
Title: foo_discogs
Post by: adamjk on 2014-08-27 20:38:36
After updating from version 1.32 to 1.36 I've got message:     

"Failed to load DLL: foo_discogs.dll
Reason: Unknown error code (3221225501)"

My system: Windows XP SP3, Pentium III


Modern compilers use SSE2 instructions by default. Your CPU doesn't support them.
But it's possible to build foo_discogs that it doesn't require SSE/SSE2.

Try this one: https://www.sendspace.com/file/s6hwpc (https://www.sendspace.com/file/s6hwpc)

I built it with no enhanced instructions.


Many thanks for your efforts. To clarify, Pentium III is SSE capable.   

Unfortunately, after installing this special version I've got this message:

uninteresting: foobar2000.exe - Application Error

The exception unknown software exception (0xc0000417) occurred in the application at location 0x0169af51.

Actually I'm using 47 user components and only foo_discogs makes me now sad. All other components are working "out of box".

I hope that my problem can be solved.

Title: foo_discogs
Post by: zoomorph on 2014-08-28 05:06:14
Many thanks for your efforts. To clarify, Pentium III is SSE capable.   

Unfortunately, after installing this special version I've got this message:

uninteresting: foobar2000.exe - Application Error

The exception unknown software exception (0xc0000417) occurred in the application at location 0x0169af51.

Actually I'm using 47 user components and only foo_discogs makes me now sad. All other components are working "out of box".

I hope that my problem can be solved.

Hmm... I don't know much about this.... Is your foobar2000 up-to-date?

Also, can you try this one? I might've missed something on the last build: https://www.sendspace.com/file/65p5oq (https://www.sendspace.com/file/65p5oq)
Title: foo_discogs
Post by: zoomorph on 2014-08-28 06:08:41
that's good enough I think as the limit is reset in a reasonable timeframe. if we'd hit the limit more often, image download could probably be done the old school way by parsing the image section/ links on the release page.

I feel your pain. AFAIC this is a bug on Discogs (it's stupid to rate-limit requests per application rather than per user or per IP). I'm waiting for their response on this issue before I decide what to do. Hopefully they'll remove the limits. :-)

Edit: In the meantime, for those who need to download artwork, here's a version that bypasses the API. (This may not work forever if they change the format of their image URLs.) https://www.sendspace.com/file/erlpps (https://www.sendspace.com/file/erlpps)
Title: foo_discogs
Post by: zoomorph on 2014-08-28 07:01:41
So is the image downloading problem coming to end? I have no error now but albumart is not fetched.

It's not coming to an end, just some minor difficulties. I recommend using this build if you need album art right now: https://www.sendspace.com/file/erlpps (https://www.sendspace.com/file/erlpps)

I feel like the plugin needs some more fixing yet. Got hanged at "(fetching additional artist information...)" stage for release 1341431.
Other releases go fine

This artist has 27 pages of releases to load. If each page takes 5 seconds, this would take several minutes to load. So it's not hanged, it's just going very slowly. There may be future improvements to the plugin to load less information (I'm not sure if it really needs to load all those pages), or to make loading each page faster, but for the time being you'll have to be patient. :-)

The old Discogs API didn't break things into pages, so it would all load at once.
Title: foo_discogs
Post by: zoomorph on 2014-08-28 07:17:17
Few more comments/responses...

Regarding LINK and ID tags: LINK used to be different from ID, but now Discogs has eliminated the old LINK and it's the same as ID. I don't know why DISCOGS_ARTIST_ID isn't written but DISCOGS_ARTIST_LINK can be used instead. In the future, the LINK tags should be completely removed and replaced with the ID tags.

"View Artist Art Page" is broken because it's the only page that doesn't use the artist ID (it uses the old LINK). Since I doubt anyone uses this feature and I suspect that Discogs will eventually change it to use the ID like every other page, I'm not bothering to fix it. AFAIK, everything else regarding artist/album art downloading/previewing/uploading works (but I've personally never used it in the past, so if anything is missing, let me know).
Title: foo_discogs
Post by: alexinc on 2014-08-28 09:23:48
thx for explaining! looking forward and wish you all the best.
Title: foo_discogs
Post by: 2tec on 2014-08-28 14:14:55
I feel your pain. AFAIC this is a bug on Discogs (it's stupid to rate-limit requests per application rather than per user or per IP). I'm waiting for their response on this issue before I decide what to do. Hopefully they'll remove the limits.

Personally, I wouldn't hold my breath waiting for change, my understanding is Discogs did this deliberately in an attempt to limit their server load. After long involvement and many contributions to thier site, I have come to believe that Discogs management is all about getting, not giving. You, and all the other foobar developers, selfless efforts on our behalf are in stark contrast to thier greed and selfishness. Thanks again.
Title: foo_discogs
Post by: TheEmpathicEar on 2014-08-28 15:07:16
How are folks getting their album art?
Title: foo_discogs
Post by: j0b0 on 2014-08-28 17:48:32
that's good enough I think as the limit is reset in a reasonable timeframe. if we'd hit the limit more often, image download could probably be done the old school way by parsing the image section/ links on the release page.

I feel your pain. AFAIC this is a bug on Discogs (it's stupid to rate-limit requests per application rather than per user or per IP). I'm waiting for their response on this issue before I decide what to do. Hopefully they'll remove the limits. :-)

Edit: In the meantime, for those who need to download artwork, here's a version that bypasses the API. (This may not work forever if they change the format of their image URLs.) https://www.sendspace.com/file/erlpps (https://www.sendspace.com/file/erlpps)


That's cool  Good for me. Your quick updates are really appreciated. I think you deserve a paypal beer from me too  Will scroll through the history later to donate some money for you
Title: foo_discogs
Post by: adamjk on 2014-08-28 18:17:54
Hmm... I don't know much about this.... Is your foobar2000 up-to-date?

Also, can you try this one? I might've missed something on the last build: https://www.sendspace.com/file/65p5oq (https://www.sendspace.com/file/65p5oq)

Yes, my foobar2000 is 1.3.3. I've tried the last version and it seems to be OK now, no more errors.   

Many thanks for your help. And at the end, could the version without SSE2 optimization be an official one for now and in the future too? I suppose that shouldn't be any decrease of speed. Also I won't ask you for help when the new version will be released 

Title: foo_discogs
Post by: zoomorph on 2014-08-28 18:49:21
Hmm... I don't know much about this.... Is your foobar2000 up-to-date?

Also, can you try this one? I might've missed something on the last build: https://www.sendspace.com/file/65p5oq (https://www.sendspace.com/file/65p5oq)

Yes, my foobar2000 is 1.3.3. I've tried the last version and it seems to be OK now, no more errors.   

Many thanks for your help. And at the end, could the version without SSE2 optimization be an official one for now and in the future too? I suppose that shouldn't be any decrease of speed. Also I won't ask you for help when the new version will be released

Good to hear that. I'm not sure what the best practices are on how to build the component, but I'm happy leaving enhanced instructions disabled for future official builds unless I hear otherwise.
Title: foo_discogs
Post by: Dorstlesser on 2014-08-29 08:36:53
Hi all,
I get the 'cannot connect to discogs' error; someone suggested trying to delete an old .cfg file, but I'm running a fresh install of the newest versions of Foobar and the component, and cannot find any old .cfg files (I assume these should be somewhere downstream of the Foobar program folder).

Do any of you have an idea how to fix this? Many thanks in advance; I love this component!
Title: foo_discogs
Post by: j0b0 on 2014-08-29 14:58:53
I've seen some tags writen with brackets and a number, such like DISCOGS_ARTIST_ALIASES, i.e. Gang Green (2) where you'd expect only Gang Green (Release 890618).
Did I miss something? Is there a reason for this  No rush though in fixing it if it's fixable
Title: foo_discogs
Post by: zoomorph on 2014-08-29 18:24:04
foo_discogs 1.37: https://www.sendspace.com/file/1d80af (https://www.sendspace.com/file/1d80af)

* Fixed the above issue with artist name not having the number removed.
* Built with enhanced instructions disabled to support older CPUs.
* Does not use the API for images, due to rate-limiting problems.
Title: foo_discogs
Post by: j0b0 on 2014-08-29 18:31:10
foo_discogs 1.37: https://www.sendspace.com/file/1d80af (https://www.sendspace.com/file/1d80af)

* Fixed the above issue with artist name not having the number removed.
* Built with enhanced instructions disabled to support older CPUs.
* Does not use the API for images, due to rate-limiting problems.


Big up yourself  Thanks!
Title: foo_discogs
Post by: Dorstlesser on 2014-09-02 09:58:31
Hi all,
I get the 'cannot connect to discogs' error; someone suggested trying to delete an old .cfg file, but I'm running a fresh install of the newest versions of Foobar and the component, and cannot find any old .cfg files (I assume these should be somewhere downstream of the Foobar program folder).

Do any of you have an idea how to fix this? Many thanks in advance; I love this component!


So apparently I was using an old version of foo_discogs; no idea how I got that to be honest, but it happened. Anyway, problem solved.
Title: foo_discogs
Post by: vraxoin on 2014-09-05 20:38:49
Anybody else suddenly pulling down only 90x90ish micro-art today?  It was fine last night.  I'm using 1.37 with 1.3.3 Foobar.
Title: foo_discogs
Post by: frogworth on 2014-09-06 05:13:29
Anybody else suddenly pulling down only 90x90ish micro-art today?  It was fine last night.  I'm using 1.37 with 1.3.3 Foobar.


Yep, seems so. Hopefully zoomorph can work out another direct HTTP way of downloading images...

(Not that I really mind tagging, then opening the release in the browser and downloading the cover image direct. But if you're tagging a lot at once rather than a release at a time, it's no fun!)
Title: foo_discogs
Post by: vraxoin on 2014-09-06 06:25:56
Anybody else suddenly pulling down only 90x90ish micro-art today?  It was fine last night.  I'm using 1.37 with 1.3.3 Foobar.


Yep, seems so. Hopefully zoomorph can work out another direct HTTP way of downloading images...

(Not that I really mind tagging, then opening the release in the browser and downloading the cover image direct. But if you're tagging a lot at once rather than a release at a time, it's no fun!)


Yeah, that's exactly what I'm doing.  Fortunately I had just finished ripping a few hundred CDs this past week.  Hopefully there's a fix of some sort, but if not, I'd rather have this be the glitch than some tagging problem.
Title: foo_discogs
Post by: j0b0 on 2014-09-06 10:36:36
nope- 600x600 ... which release didn't work for you?
Title: foo_discogs
Post by: j0b0 on 2014-09-06 14:23:45
ah ok, got it now too :|
Title: foo_discogs
Post by: TheEmpathicEar on 2014-09-06 18:08:36
ah ok, got it now too :|

Is this album art fetch issue something that can be fixed by deleting the .CFG file?
Title: foo_discogs
Post by: fuffi on 2014-09-06 18:24:08
Hi
and thank you bubbleguuum for your great work all the years
and thank you zoomorph for your help and work, giving us all the fine things, ppl need to tag their musicfiles decently!

question:
does anybody know, if there is a limit on Artists Aliases, or Artists Name Variations?

using 1.37, I get:

<DISCOGS_ARTIST_ALIASES> : Pink Floyd; Architectural Abdabs; The Screaming Abdabs
<DISCOGS_ARTIST_ANVS> : Pink Floyd; ピンク・フロイド; Пинк Флоид; Пинк Флойд; Floyd; P. Floyd; P.F.; Pink Floid; The Pink Floyd; pinkfloyd


but tagging with very old versions gave something like this:

<DISCOGS_ARTIST_ALIASES> : Pink Floyd; Blue Calx; Bradley Strider; Brian Tregaskin; Caustic Window; The Dice Man; GAK; The Grateful Dead; Karen Tregaskin; PBoD; Polygon Window; Power-Pill; Q-Chastic; Richard D. James; The Screaming Abdabs; Smojphace; Soit-P.P.; The Tuss
<DISCOGS_ARTIST_ANVS> : Pink Floyd; Пинк Флойд; Floyd; P. Floyd; P.F.; The Pink Floyd

I don't know, if this might be an discogs issue or maybe ... something else ;-)
The discogs website shows the same as the v1.37 offers me.

cheers and thank you. keep up the good work!
Title: foo_discogs
Post by: simcut on 2014-09-06 18:26:16
Also having the image fetch issue with the size really small..
Title: foo_discogs
Post by: j0b0 on 2014-09-07 10:47:20
I' don't think that deleting the cfg will do it, image download is something hardcoded.
looking at what the plugin grabs and comparing this with the image links on the discogs page i.e.  http://www.discogs.com/viewimages?release=897279 (http://www.discogs.com/viewimages?release=897279) there is a difference:

Website:            http://s.pixogs.com/image/R-897279-1185381524.jpeg (http://s.pixogs.com/image/R-897279-1185381524.jpeg)
Discogs Tagger: http://s.pixogs.com/image/R-150-897279-1185381524.jpeg (http://s.pixogs.com/image/R-150-897279-1185381524.jpeg)

I did some tests with fiddler, replacing the URL within the static function OnBeforeRequest(oSession: Session) function in the fiddler script (Rules/Customize Rules...),
adding this at the end of the function)

Code: [Select]
        if (oSession.uriContains("http://s.pixogs.com/image/")) { 
            oSession.fullUrl = "http://s.pixogs.com/image/R" + oSession.fullUrl.Replace("R-","").Substring(oSession.fullUrl.Replace("R-","").IndexOf("-"));
        }


This replaces the first number after R ... and running fiddler as long as this problems persist should help you downloading the right images.
Title: foo_discogs
Post by: BoraBora on 2014-09-07 19:43:33
bubbleguuum, your plugin is a beauty.
Title: foo_discogs
Post by: noff01 on 2014-09-08 02:46:51
I' don't think that deleting the cfg will do it, image download is something hardcoded.
looking at what the plugin grabs and comparing this with the image links on the discogs page i.e.  http://www.discogs.com/viewimages?release=897279 (http://www.discogs.com/viewimages?release=897279) there is a difference:

Website:            http://s.pixogs.com/image/R-897279-1185381524.jpeg (http://s.pixogs.com/image/R-897279-1185381524.jpeg)
Discogs Tagger: http://s.pixogs.com/image/R-150-897279-1185381524.jpeg (http://s.pixogs.com/image/R-150-897279-1185381524.jpeg)

I did some tests with fiddler, replacing the URL within the static function OnBeforeRequest(oSession: Session) function in the fiddler script (Rules/Customize Rules...),
adding this at the end of the function)

Code: [Select]
        if (oSession.uriContains("http://s.pixogs.com/image/")) { 
            oSession.fullUrl = "http://s.pixogs.com/image/R" + oSession.fullUrl.Replace("R-","").Substring(oSession.fullUrl.Replace("R-","").IndexOf("-"));
        }


This replaces the first number after R ... and running fiddler as long as this problems persist should help you downloading the right images.


I just installed Fiddler, but it's telling me that "The variable 'oSesion' isn't declared".
What should I do?
Title: foo_discogs
Post by: j0b0 on 2014-09-08 06:28:59
I just installed Fiddler, but it's telling me that "The variable 'oSesion' isn't declared".
What should I do?



Try one more s in oSesion, if you copied that error message.
Title: foo_discogs
Post by: zoomorph on 2014-09-08 06:46:04
Discogs must have changed something with their image URLs.... I'll look into this tomorrow.
Title: foo_discogs
Post by: noff01 on 2014-09-08 13:06:40
I just installed Fiddler, but it's telling me that "The variable 'oSesion' isn't declared".
What should I do?



Try one more s in oSesion, if you copied that error message.


Sorry, I wrote the error message wrong. I copied the exact code you posted, but it isn't working for me.
The variable 'oSession' isn't declared"
Title: foo_discogs
Post by: rolitab on 2014-09-08 15:38:08
Please tell me what am I doing wrong. I've just installed foo_discogs and gave it a try. But I'm experiencing problem with cover art being saved inproperly. Here are my settings:
(http://i66.fastpic.ru/thumb/2014/0908/02/3e76fcdba2b7d84aa37979ab14ae1a02.jpeg) (http://fastpic.ru/view/66/2014/0908/3e76fcdba2b7d84aa37979ab14ae1a02.png.html)
It saves cover in 90x90 px! And it doesn't save artist art at all, but I am not sure that I need it. I need album art in good resolution, 500x500 or something. What should I do? Can I set it up to download all available art to subfolder wit custom name or its too complicated?
Thanks in advance!
Title: foo_discogs
Post by: zoomorph on 2014-09-08 15:53:10
Looks like Discogs silently changed something in their API.

v1.38: https://www.sendspace.com/file/wb8i0z (https://www.sendspace.com/file/wb8i0z)
Downloads full-sized images again.
Title: foo_discogs
Post by: bubbleguuum on 2014-09-08 15:57:25
Looks like Discogs silently changed something in their API.

v1.38: https://www.sendspace.com/file/wb8i0z (https://www.sendspace.com/file/wb8i0z)
Downloads full-sized images again.


Looks like it still reports as v1.37.
Title: foo_discogs
Post by: simcut on 2014-09-08 15:57:37
Cheers for the update zoomorph, will give it a test now
Title: foo_discogs
Post by: zoomorph on 2014-09-08 16:24:28
Looks like Discogs silently changed something in their API.

v1.38: https://www.sendspace.com/file/wb8i0z (https://www.sendspace.com/file/wb8i0z)
Downloads full-sized images again.


Looks like it still reports as v1.37.

Oops! Incremented, thanks: https://www.sendspace.com/file/w8ik5z (https://www.sendspace.com/file/w8ik5z)
Title: foo_discogs
Post by: TheEmpathicEar on 2014-09-08 17:13:28
Looks like Discogs silently changed something in their API.

v1.38: https://www.sendspace.com/file/wb8i0z (https://www.sendspace.com/file/wb8i0z)
Downloads full-sized images again.


Looks like it still reports as v1.37.

Oops! Incremented, thanks: https://www.sendspace.com/file/w8ik5z (https://www.sendspace.com/file/w8ik5z)

This (http://www.foobar2000.org/components/view/foo_discogs) reports v1.37. Should we use the above link to get v1.38? Or, wait for the component page to be updated?
Title: foo_discogs
Post by: bubbleguuum on 2014-09-08 17:54:55
Oops! Incremented, thanks: https://www.sendspace.com/file/w8ik5z (https://www.sendspace.com/file/w8ik5z)


Components site updated.
Title: foo_discogs
Post by: j0b0 on 2014-09-08 18:12:49
thx, zoomorph. what was the cause? what did discogs change?
Title: foo_discogs
Post by: TheEmpathicEar on 2014-09-08 18:51:04
+1
Title: foo_discogs
Post by: zoomorph on 2014-09-08 18:53:26
thx, zoomorph. what was the cause? what did discogs change?

http://www.discogs.com/forum/thread/540b1ef6aba9e84488bce31b (http://www.discogs.com/forum/thread/540b1ef6aba9e84488bce31b)

It looks like the change might've been accidental and Discogs might be reverting it now.... (but the fixed version, which uses the "resource_url" instead of "uri" field should continue to work).
Title: foo_discogs
Post by: rolitab on 2014-09-08 18:53:35
Thanks everyone, now I have full-size covers!
But the other question remains - is it possible to download images to subfolder or not? I've set up directory like this: $directory_path(%path%)\images, but I get an error. I thied to created directory called images manually and it worked, but this is no good way for me. Help please.
Title: foo_discogs
Post by: vraxoin on 2014-09-08 18:56:28
Seems to be workin' great.  Thanks once again zoomorph
Title: foo_discogs
Post by: j0b0 on 2014-09-08 20:28:20
thx again, zoomorph 
Title: foo_discogs
Post by: rolitab on 2014-09-09 18:10:53
Answer my question (http://www.hydrogenaud.io/forums/index.php?showtopic=50523&view=findpost&p=874205) please 
Title: foo_discogs
Post by: j0b0 on 2014-09-09 20:38:47
Answer my question (http://www.hydrogenaud.io/forums/index.php?showtopic=50523&view=findpost&p=874205) please 


i don't like the idea of putting images into a subfolder  at least not per default or as an only option.
Title: foo_discogs
Post by: zoomorph on 2014-09-10 08:38:01
Thanks everyone, now I have full-size covers!
But the other question remains - is it possible to download images to subfolder or not? I've set up directory like this: $directory_path(%path%)\images, but I get an error. I thied to created directory called images manually and it worked, but this is no good way for me. Help please.

I've added this feature for you: https://www.sendspace.com/file/p3e713 (https://www.sendspace.com/file/p3e713)
Title: foo_discogs
Post by: rolitab on 2014-09-10 09:27:33
Thanks everyone, now I have full-size covers!
But the other question remains - is it possible to download images to subfolder or not? I've set up directory like this: $directory_path(%path%)\images, but I get an error. I thied to created directory called images manually and it worked, but this is no good way for me. Help please.

I've added this feature for you: https://www.sendspace.com/file/p3e713 (https://www.sendspace.com/file/p3e713)


  thanks a lot, friend! now it works! 
Title: foo_discogs
Post by: zoomorph on 2014-09-11 00:51:52
v1.39 - https://www.sendspace.com/file/imuexw (https://www.sendspace.com/file/imuexw)

Nothing essential here, but:
* Supports saving artwork to subdirectories.
* Performance improvement (especially when tagging compilations) by not loading unnecessary artist data.
Title: foo_discogs
Post by: fuffi on 2014-09-11 01:15:57
Nothing essential here, but:
* Performance improvement (especially when tagging compilations) by not loading unnecessary artist data.

Thank you!
what is unnecessary artist data ?

I ask, because of this post above: http://www.hydrogenaud.io/forums/index.php...st&p=873993 (http://www.hydrogenaud.io/forums/index.php?s=&showtopic=50523&view=findpost&p=873993)
Title: foo_discogs
Post by: zoomorph on 2014-09-11 03:00:01
Maybe the ANVs on Discogs changed? I only see 3 here:

http://www.discogs.com/artist/45467-Pink-Floyd (http://www.discogs.com/artist/45467-Pink-Floyd)
Title: foo_discogs
Post by: silkcut on 2014-09-11 03:06:02
I'm wondering what unnecessary artist data is as well.

Does it still tag all Artist ANVs, Members, Multi, and Variations like the old script?  Thanks.
Title: foo_discogs
Post by: zoomorph on 2014-09-11 05:24:05
Unnecessary = not used. Previously, we were loading the releases for an artist even if all we needed was to get the ANVs. In the old API this was free, but in the new API it's quite slow.
Title: foo_discogs
Post by: zoomorph on 2014-09-13 23:34:20
I recommend submitting any future bugs or feature requests as issues on BitBucket to ensure they're not missed:
https://bitbucket.org/zoomorph/foo_discogs/...amp;status=open (https://bitbucket.org/zoomorph/foo_discogs/issues?status=new&status=open)
Title: foo_discogs
Post by: zoomorph on 2014-09-14 13:55:23
Updates:
* Fixed "exact match" and ordering in the artist search results.
* Restored rating, votes, have, want, and submitter tags.
* Disabled "View Artist Art Page" for the time being (it didn't work).
* Fixed update artist art potentially downloading the same artist multiple times.
* Removed artist_id tag, changed artist_link and label_link tags to artist_id and label_id, respectively.

The last update there might be a little disruptive if you have anything that depends on the LINK tags. They should continue to work, but new tags will be written as ID instead. When first loading this version, it will modify your config file to make that change. If someone wants to try out the new version and report any problems, that would be good. It probably won't be an "official" update for awhile.
https://www.sendspace.com/file/orx0hd (https://www.sendspace.com/file/orx0hd)
Title: foo_discogs
Post by: eahm on 2014-09-14 17:35:10
zoomorph, still 1.39. I have no idea why I am keeping this plugin and keep updating it since I've never use it (freedb and MusicBrainz are enough for me) but thanks for your work.
Title: foo_discogs
Post by: f1losof on 2014-09-16 08:06:01
zoomorph, still 1.39. I have no idea why I am keeping this plugin and keep updating it since I've never use it (freedb and MusicBrainz are enough for me) but thanks for your work.

This is funny. I find both others of no use. :-)

Can we please stick to the topic?
Title: foo_discogs
Post by: eahm on 2014-09-17 03:24:14
Updates:
* Fixed "exact match" and ordering in the artist search results.
* Restored rating, votes, have, want, and submitter tags.
* Disabled "View Artist Art Page" for the time being (it didn't work).
* Fixed update artist art potentially downloading the same artist multiple times.
* Removed artist_id tag, changed artist_link and label_link tags to artist_id and label_id, respectively.

The last update there might be a little disruptive if you have anything that depends on the LINK tags. They should continue to work, but new tags will be written as ID instead. When first loading this version, it will modify your config file to make that change. If someone wants to try out the new version and report any problems, that would be good. It probably won't be an "official" update for awhile.
https://www.sendspace.com/file/orx0hd (https://www.sendspace.com/file/orx0hd)

This one still shows 1.39.
Title: foo_discogs
Post by: fuffi on 2014-09-17 22:54:32
Updates:

Thanks zoomorph,
it really is a motivating status, to see this useful plugin rapidly updated the last days/weeks :-)

I always wished, the plugin window would be resizeable at all.
all the needed information were stuck into this tiny little small unreadable window, which can't be resized in any way for the use with a nowadays display size. its just made for the monitors bought in the early 90s 8-)

anyway, I'll try to add tihs fq to the bitbucket as soon as I created the 5435252th account for an internet site this month... :)
Title: foo_discogs
Post by: jcoltonj32001 on 2014-10-02 01:15:41
Thanks a ton for the updates! You rock dude
Title: foo_discogs
Post by: komhst on 2014-10-02 16:41:26
Thanks a ton for the updates! You rock dude


Yes, all updates work perfectly!

...for the moment!   
Title: foo_discogs
Post by: Retract on 2014-10-10 03:42:29
When you use "Fetch all available art", is there any way to customise how each image is named? Right now it's cover.jpg, cover_2.jpg, cover_3.jpg but I'd like it to be disc.jpg, back.jpg.

I searched for this, but couldn't find anything.
Title: foo_discogs
Post by: marc2003 on 2014-10-10 16:30:05
i don't *think* there is anyway to differentiate the type of cover. you should wait for confirmation from someone who really knows though.
Title: foo_discogs
Post by: TheEmpathicEar on 2014-10-10 17:33:47
+1
Title: foo_discogs
Post by: roscar on 2014-10-11 13:39:16
For some releases like http://www.discogs.com/release/78660 (http://www.discogs.com/release/78660) foo_discogs doesn't show any tracks at all, due to the exclusive use of (in Discogs parlance) index and sub tracks. The same is true for track headers. Would it be possible for foo-discogs to retrieve all those as well and maybe have tick boxes underneath the tracklist to choose whether to show (and use) them?
Title: foo_discogs
Post by: zoomorph on 2014-10-15 09:43:11
v1.40 has been released.
* The component now pops up an alert the first time you open the find_release window if you haven't configured OAuth yet. OAuth is supposedly going to be required by Discogs for the search endpoints any day now. You can put junk in the OAuth token/secret boxes if you want to suppress this without actually configuring OAuth (although it's likely that searching won't work soon without OAuth).
* A "Configuration" button was added to the find_release window for convenience.
* An option was added to the Art configuration page to use the API for images. There's still a retarded limit of 1000 images per day PER APP (instead of per user, as it should be), so the default is currently to bypass the API, but this option could be useful in the future.
* The LINK tags are now replaced by ID tags. Old LINK tags (which contain IDs) will continue to work for viewing artist/release/label pages, but will no longer be written by that name.
Title: foo_discogs
Post by: zoomorph on 2014-10-15 09:54:38
When you use "Fetch all available art", is there any way to customise how each image is named? Right now it's cover.jpg, cover_2.jpg, cover_3.jpg but I'd like it to be disc.jpg, back.jpg.

I searched for this, but couldn't find anything.

Discogs doesn't label images as front, back, etc. The only way to do is to manually look at them and decide what they are showing.
Title: foo_discogs
Post by: fuffi on 2014-10-15 16:44:44
Would it be possible for foo-discogs to retrieve all those as well and maybe have tick boxes underneath the tracklist to choose whether to show (and use) them?
+1
Title: foo_discogs
Post by: zoomorph on 2014-10-15 21:12:06
Would it be possible for foo-discogs to retrieve all those as well and maybe have tick boxes underneath the tracklist to choose whether to show (and use) them?
+1

Here is an updated version that should support sub-tracks:
https://www.sendspace.com/file/l90jrf (https://www.sendspace.com/file/l90jrf)

Let me know if it works and if you find any issues or any other releases that it doesn't work properly for.

I've tested it with:
http://www.discogs.com/release/49473 (http://www.discogs.com/release/49473)  (sub-tracks)
http://www.discogs.com/release/164082 (http://www.discogs.com/release/164082) (track position range)
Title: foo_discogs
Post by: roscar on 2014-10-15 22:32:46
Let me know if it works and if you find any issues or any other releases that it doesn't work properly for.


That was very fast! Thank you, sir.

Works great with http://www.discogs.com/release/78660 (http://www.discogs.com/release/78660) and http://www.discogs.com/release/1545288 (http://www.discogs.com/release/1545288) , but something funky is happening with http://www.discogs.com/release/5555706 (http://www.discogs.com/release/5555706) , tracks with no subtracks get repeated for no reason (that I as %generic_dumb_user% can observe). Easy enough to delete superfluous tracks and renumber of course.
Title: foo_discogs
Post by: zoomorph on 2014-10-16 01:29:59
Thanks roscar. You're right, there was a problem with the track positions. Hopefully this fixes it (tested on all of the above):
https://www.sendspace.com/file/4utkc7 (https://www.sendspace.com/file/4utkc7)
Title: foo_discogs
Post by: zoomorph on 2014-10-16 03:18:49
If anyone needs it, I've put a very brief little introductory guide on the BitBucket page: https://bitbucket.org/zoomorph/foo_discogs (https://bitbucket.org/zoomorph/foo_discogs)

Cheers
Title: foo_discogs
Post by: SpaceAgeHero on 2014-10-17 08:02:23
Hi zoomorph,

thanks for the updates.

I've just noticed that "Replace ANVs" isn't working anymore.
Is there anything you can do about this?
Title: foo_discogs
Post by: zoomorph on 2014-10-17 08:41:01
Hi zoomorph,

thanks for the updates.

I've just noticed that "Replace ANVs" isn't working anymore.
Is there anything you can do about this?

To be honest, I've never used the ANV stuff much so I don't really know how it's supposed to work. Could you describe how it's broken? I think you have to select "enable ANV processing" for "Replace ANVs" to be available.
Title: foo_discogs
Post by: SpaceAgeHero on 2014-10-17 09:40:18
To be honest, I've never used the ANV stuff much so I don't really know how it's supposed to work. Could you describe how it's broken? I think you have to select "enable ANV processing" for "Replace ANVs" to be available.


You're right. Sorry. However the option must have been unchecked automatically when I updated to the latest component version.

In case you're interested in what this does:

Some artists have name variations. DJ Tiësto for instance is sometimes referred to as DJ Tiesto (notice the e) or simply Tiesto on compilation releases.
Replacing ANVs (Artist Name Variations) by the artists main name helps keeping the database organized, for instance when viewing the media library by %artist%.
(Personally I store the artist name as is on the original release in an additional field %artistvariation% though).

:-)
Title: foo_discogs
Post by: zoomorph on 2014-10-17 10:21:53
The configuration file format changed with the last update, so maybe that option got unchecked by accident. In the next update, I will remove that option entirely, since ANV processing is unnecessary with the new Discogs API. :-)
Title: foo_discogs
Post by: TheEmpathicEar on 2014-10-17 20:24:14
This (http://www.foobar2000.org/components/view/foo_discogs) is the latest version - v1.40?
Title: foo_discogs
Post by: zoomorph on 2014-10-17 21:26:00
Latest official version, yes...
Title: foo_discogs
Post by: Sandrine on 2014-10-18 22:49:49
Thanks for keeping this plugin up-to-date!

Can you think of a way to fecth/add "Discogs rating" to all my files that already have discogs tags (I save all tags to files)?
Title: foo_discogs
Post by: pablak on 2014-10-19 13:03:28
Thanks roscar. You're right, there was a problem with the track positions. Hopefully this fixes it (tested on all of the above):
https://www.sendspace.com/file/4utkc7 (https://www.sendspace.com/file/4utkc7)
tested for release http://www.discogs.com/Yes-Close-To-The-Edge/release/5450552 (http://www.discogs.com/Yes-Close-To-The-Edge/release/5450552)

foo_discogs doesn't show main tracks

(http://i1244.photobucket.com/albums/gg575/pablak67/Pablak%20Misc/foodiscogs_subsongs_zpsfe0f2140.jpg)


Any chance for on/off checkbox for this function (off = main tracks only)?

Title: foo_discogs
Post by: zoomorph on 2014-10-19 17:51:21
Thanks roscar. You're right, there was a problem with the track positions. Hopefully this fixes it (tested on all of the above):
https://www.sendspace.com/file/4utkc7 (https://www.sendspace.com/file/4utkc7)
tested for release http://www.discogs.com/Yes-Close-To-The-Edge/release/5450552 (http://www.discogs.com/Yes-Close-To-The-Edge/release/5450552)

foo_discogs doesn't show main tracks

(http://i1244.photobucket.com/albums/gg575/pablak67/Pablak%20Misc/foodiscogs_subsongs_zpsfe0f2140.jpg)


Any chance for on/off checkbox for this function (off = main tracks only)?

That release only has title tracks (which foo_discogs ignores) and main tracks (with the white background). Sub tracks have a grey background. You do raise a good point, though... it would be nice to be able to toggle main and sub-tracks on and off because in some cases the sub-tracks are not separate files while in other cases they are.
Title: foo_discogs
Post by: zoomorph on 2014-10-19 17:53:39
Thanks for keeping this plugin up-to-date!

Can you think of a way to fecth/add "Discogs rating" to all my files that already have discogs tags (I save all tags to files)?

Edit tag mappings, select write on update for the Rating tag, then select your tracks and update tags. :-)
Title: foo_discogs
Post by: pablak on 2014-10-19 18:20:06
That release only has title tracks (which foo_discogs ignores) and main tracks (with the white background). Sub tracks have a grey background.
I checked other release (http://www.discogs.com/Yes-Close-To-The-Edge/release/1286129), which works proper.
Looks like problem is in that the main tracks are headers.
Title: foo_discogs
Post by: frogworth on 2014-10-22 12:46:21
One thing that continues to annoy a little bit is that when I'm tagging CDs, it complains at the end about not being able to write the cover image. Nowadays the dialog doesn't seem to have focus, so I can't clear it with a keypress (as far as I can tell).
Any way you can tell if it's a CD being tagged? Or at least make sure the error dialog can just be cleared by hitting Esc?
Title: foo_discogs
Post by: fuffi on 2014-10-22 13:36:04
Any way you can tell if it's a CD being tagged? Or at least make sure the error dialog can just be cleared by hitting Esc?

+1
Title: foo_discogs
Post by: zoomorph on 2014-10-22 20:51:53
Any way you can tell if it's a CD being tagged? Or at least make sure the error dialog can just be cleared by hitting Esc?

+1

Could you post a screenshot showing the problem?
Title: foo_discogs
Post by: frogworth on 2014-10-23 00:15:08
Could you post a screenshot showing the problem?


Oh yeah sorry, that could help.

(http://www.frogworth.com/CD%20tag.png)

So that dialog is complaining that it can't save the album art, because it's tagging a CD and obviously can't save the jpg file on that media.
And I can confirm that the dialog is not in focus - it's the main foobar window which is - so I need to click on it with the mouse to get rid of it.

If you can tell that it's a CD being tagged, I'd suggest not trying to save artwork.
Equally, an option for a "silent mode" where errors like this are suppressed would be good, but I realise spurious extra options are odious.
And I suspect you can't make the error dialog take focus (might be more of a core foobar thing?) but if you can that'd work for me too!
Title: foo_discogs
Post by: zoomorph on 2014-10-23 02:57:52
Error handling is currently pretty bad in the component and I'll be working on revamping and improving it over time. :-)

(http://i.imgur.com/RJduKxl.png)

If you copy the Directory field from Album art into Artist art does the error go away? (That seems to work for me.)

Now the bigger question I have is... why is Directory set to blank by default in the Artist art section, and what's supposed to happen when it is blank? I've never used this feature in the past so I don't know how it's intended to work.
Title: foo_discogs
Post by: frogworth on 2014-10-23 12:24:19
Error handling is currently pretty bad in the component and I'll be working on revamping and improving it over time. :-)

No worries!

If you copy the Directory field from Album art into Artist art does the error go away? (That seems to work for me.)

Now the bigger question I have is... why is Directory set to blank by default in the Artist art section, and what's supposed to happen when it is blank? I've never used this feature in the past so I don't know how it's intended to work.


I'm not quite sure what you mean, but this error is from the album art not artist art - I'm not downloading artist art. It's only with CDs where $directory_path(%path%) is obviously not writeable.
Meanwhile, however, I realised that _I_ can tell when it's a CD anyway - $directory_path(%path%) computes to cdda:/

With that in mind, I changed the Directory field to be this:
Code: [Select]
$if($strcmp(cdda:/,$directory_path(%path%)),null,$directory_path(%path%))

which works beautifully  No more errors, covers saved properly if we're tagging files and sent to null if we're tagging a CD 
Title: foo_discogs
Post by: zoomorph on 2014-10-24 21:22:38
Glad to hear that fixed it (for now). :-)
Title: foo_discogs
Post by: TheEmpathicEar on 2014-10-24 22:02:18
Glad to hear that fixed it (for now). :-)

+1

@frogworth
Is this something that can be incorporated into an updated release?
Title: foo_discogs
Post by: frogworth on 2014-10-27 03:04:05
@frogworth
Is this something that can be incorporated into an updated release?


You can do this yourself - right-click, Tagging -> Discogs -> Configuration and on the Album / artist art tab you have the Directory field, which you can set to my formula above.
Title: foo_discogs
Post by: sharivari on 2014-10-28 04:11:57
Once Headings are incorporated, would it be possible to get a field for them such as <DISCOGS_HEADING>?  I would like to be able to make a column in Foobar for releases like this one (http://www.discogs.com/Smashing-Pumpkins-Adore/release/6129768) that lists the headings.  Thanks!
Title: foo_discogs
Post by: zoomorph on 2014-10-28 10:20:10
Once Headings are incorporated, would it be possible to get a field for them such as <DISCOGS_HEADING>?  I would like to be able to make a column in Foobar for releases like this one (http://www.discogs.com/Smashing-Pumpkins-Adore/release/6129768) that lists the headings.  Thanks!

Added for the next version.
Title: foo_discogs
Post by: Low on 2014-11-01 19:09:41
Nothing happens when I click "Authorize" in OAuth Authorization. My browser is Firefox, i tried to shut off Adblock, then tried to shut off everything i could and it didn't work anyway.
Title: foo_discogs
Post by: Anakunda on 2014-11-01 19:57:41
Hi, I have this request, plz. add Catalog # and Country to releases info in release list.
It's important to pick the rite album issue.
Title: foo_discogs
Post by: zoomorph on 2014-11-02 07:15:29
What do you guys think of adding track length to the file comparison list? Automatically matching track length option doesn't seem to work accurately because the durations are usually entered wrongly on Discogs. This column could be optionally disabled.

And is it OK to remove the multi-disc stuff? I'm attempting to automatically parse disc and track numbers from the Discogs tracklist, which should work in the majority of cases.

(http://i.imgur.com/ciz7Nv2.png)

This is based wholly on my own personal ideas. Feedback and suggestions from others is welcome. :-)
Title: foo_discogs
Post by: zoomorph on 2014-11-02 07:18:24
Hi, I have this request, plz. add Catalog # and Country to releases info in release list.
It's important to pick the rite album issue.

Unfortunately, that information isn't available without loading the full release pages. This would mean loading all releases when expanding the master release. Not sure that this is feasible (probably slow).
Title: foo_discogs
Post by: marc2003 on 2014-11-02 09:41:57
perhaps you could ask discogs add it to their api? it seems like a very reasonable thing to expect when looking at an overview of releases that are presumably part of the same master?

(i've never had any dealings with discogs so i have no idea how open they are to feature requests.. )
Title: foo_discogs
Post by: zoomorph on 2014-11-02 10:23:25
My mistake... that information is already available. I'll look into adding it. :-)
Title: foo_discogs
Post by: SpaceAgeHero on 2014-11-02 14:53:18
Hi zoomorph,

wouldn't it make sense to move "Replace ANVs" to:

(http://img5.fotos-hochladen.net/uploads/replaceanvsd05zy7ug14.jpg)

Also this should be fixed:

(http://img5.fotos-hochladen.net/uploads/writtenonlyxfbupzl38c.jpg)

"Written only if there's only one artist for the release or the track, and if that name is an ANV (artist name variation)."

See original post. (http://www.hydrogenaud.io/forums/index.php?showtopic=50523&view=findpost&p=679050)

Or maybe it is possible to store this tag even when there are multiple artists by now? :-)

Thanks for your efforts!
Title: foo_discogs
Post by: Anakunda on 2014-11-02 17:25:22
My mistake... that information is already available. I'll look into adding it. :-)

(http://i.imgur.com/xeZINoM.gif)
Title: foo_discogs
Post by: zoomorph on 2014-11-02 18:38:39
Hi zoomorph,

wouldn't it make sense to move "Replace ANVs" to:

ReplaceANVs is already in the Configuration/Tagging settings. (And given how the tag mappings are currently implemented, it would be impossible to add the option there.) I'm not sure if anyone uses the Display/Replace ANVs buttons on the release dialog, but I didn't want to remove them in case someone does.

"Written only if there's only one artist for the release or the track, and if that name is an ANV (artist name variation)."

See original post. (http://www.hydrogenaud.io/forums/index.php?showtopic=50523&view=findpost&p=679050)

Or maybe it is possible to store this tag even when there are multiple artists by now? :-)

I suspect that it's this way because if there are 3 artists and only 1 or 2 have ANVs it would be impossible to know which ones the ANV field applies to. What do you think should happen in such a case? N/A or something could be written for the other artists'?
Title: foo_discogs
Post by: fuffi on 2014-11-02 18:47:18
ReplaceANVs is already in the Configuration/Tagging settings. (And given how the tag mappings are currently implemented, it would be impossible to add the option there.) I'm not sure if anyone uses the Display/Replace ANVs buttons on the release dialog, but I didn't want to remove them in case someone does.
I do, and I'm very grateful to the function and to the developer (the former and the current)! I'm really delighted about the instantaneous rate of change the addon has these days! please carry on the good work :)

EDIT:
btw: I figured out, that activating "automaticly match discogs tracks to local tracks, based on track length when available" did only worked one time.
after not tagging the correct sorted selected files, i just ESCaped and deactivated the option as it was the default behaviour here.
then, I just activated the option again, but the adddons window just shows the files in unsorted order.
(after restarting foobar2000, that strange behaviour did'nt worked either, so I assume something strange and like to ask, if someone other than me is having this behaviour.
Title: foo_discogs
Post by: zoomorph on 2014-11-02 21:47:12
Matching tracks in the old implementation isn't very accurate unless the durations were entered exactly on Discogs, which they often aren't.

In the upcoming version, matching will fail in these ambiguous cases rather than give wrong results.

It also fails if there are more files than tracks or durations aren't available from Discogs.
Title: foo_discogs
Post by: zoomorph on 2014-11-02 22:08:38
Changes:
- Improved error handling around networking and file writing operations.
- Automatically parse disc number from track positions.
- Remove the multi-disc stuff from the release dialog.
- Fix detection of deleted releases.
- Retry HTTP requests up to 5 times in case of a networking error. Discogs may be throttling/dropping traffic, causing such errors. (ie. when checking for deleted releases)
- Slightly more intelligent matching of track durations. Fails when results are ambiguous.
- Show a "FAILED TO MATCH TRACKS" label under the files pane when track matching fails.
- Add an optional Length column to track comparison panes. Enabled by default.
    - Note: The delete key is currently broken for removing tracks from these panes.
- Support resolving m-TAGS (foo_tags) file names for the files view.
- Add year, country, and catalog number to master versions in the find release dialog.
- Add artist (and label) name formatting option "discard numeric suffix" (enabled by default).
- Apply artist name formatting options to all artists (even extra artists, credits, etc).
- Set default artist artwork directory as "$directory_path(%path%)".
- Set default artist artwork file prefix as "artist[%DISCOGS_ARTIST_ID%]".
- Skip saving artwork if directory is "null".
- Add tagging option "start track numbers at 1 for each disc" for multi-disc releases (enabled by default).
- Support parsing simple ranges in Discogs tracklist. (ie. "13-91 - Untitled (Silence)" -> 79 tracks).
- Support parsing Index/Sub tracks and naming them as "Index (Sub-track)".
- Add new tags:
  DISCOGS_MASTER_RELEASE_ID - master_id of release, if applicable (default: enabled)
  DISCOGS_TRACK_HEADING - heading under which this track is, if applicable (default: disabled)
  DISCOGS_INDEX_TRACK_TITLE - Index track title (applicable for sub-tracks only) (default: disabled)
  DISCOGS_SUB_TRACK_TITLE - Sub-track title (applicable for sub-tracks only) (default: disabled)
  DISCOGS_TRACK_DURATION - Track duration listed on Discogs. (default: disabled)

Due to the number of things changed, there are quite possibly going to be problems in this version. Therefore, I'm releasing it here for trial before it's officially released. Let me know if you find any problems. I recommend backing up your foo_discogs.dll.cfg file if you've put a lot of work into it, just in case.

https://www.sendspace.com/file/5gruy4 (https://www.sendspace.com/file/5gruy4)
Updated:
- fixed bug in track mappings
- enabled compilation checkbox if ALBUM ARTIST tag is written
- added year to master versions in find_release dialog
- "null" directory is now skipped
- fixed bug in sub-track names
- fixed bug showing full path in file list
Title: foo_discogs
Post by: Anakunda on 2014-11-05 06:39:37
I have this error with your beta zoomorph:

Authorization Failed (401) - (url: http://api.discogs.com/database/search) (http://api.discogs.com/database/search))
Title: foo_discogs
Post by: frogworth on 2014-11-05 13:06:00
I have this error with your beta zoomorph:

Authorization Failed (401) - (url: http://api.discogs.com/database/search) (http://api.discogs.com/database/search))


This means you have to go back to the configuration in the Discogs submenu, OAuth tab, and go through the process of filling the fields in there (you'll have to hit Generate once getting the key even if you already have stuff in there).

zoomorph, the automatic disc numbering stuff is awesome. Loving it.
Title: foo_discogs
Post by: Anakunda on 2014-11-05 14:16:52
Awesome, re-auth did the miracle

The new list already shows all necessary info for picking rite release
Title: foo_discogs
Post by: zoomorph on 2014-11-05 22:21:06
Good to hear. :-)

Updating to this version should preserve your old OAuth settings. If not, that would be a bug.... Thanks.
Title: foo_discogs
Post by: frogworth on 2014-11-06 12:06:06
Hey zoomorph, for some reason whereas before this version, my code a page or so back for not sending album art to null if tagging a CD worked fine, it's now throwing up an error. It doesn't like the path being just null. This is what I now see:

Code: [Select]
(FATAL) Error [release 6078833]:  - Error creating file null\cover.jpg [Object not found]

[ESCAPE to close]


Escape to close is nice, but it's a shame it no longer recognizes the special folder null (like /dev/null on *NIX systems), which meant that I didn't have to even interact.
Title: foo_discogs
Post by: zoomorph on 2014-11-06 18:11:28
Hey zoomorph, for some reason whereas before this version, my code a page or so back for not sending album art to null if tagging a CD worked fine, it's now throwing up an error. It doesn't like the path being just null. This is what I now see:

Code: [Select]
(FATAL) Error [release 6078833]:  - Error creating file null\cover.jpg [Object not found]

[ESCAPE to close]


Escape to close is nice, but it's a shame it no longer recognizes the special folder null (like /dev/null on *NIX systems), which meant that I didn't have to even interact.

I think this was merely accidental behavior in the past. I've now updated the file such that it skips saving artwork if the directory is "null". This should work for you. I'm open to ideas for better solutions around the directory and file prefix boxes if anyone has ideas.
Title: foo_discogs
Post by: lvqcl on 2014-11-06 18:34:07
BTW, maybe it's better to use "nul"? "NUL" is a special name in Windows, not "NULL". It's possible to create a folder with a name "null", but VERY difficult to create a folder named "nul".
Title: foo_discogs
Post by: zoomorph on 2014-11-06 18:56:16
BTW, maybe it's better to use "nul"? "NUL" is a special name in Windows, not "NULL". It's possible to create a folder with a name "null", but VERY difficult to create a folder named "nul".

Currently, setting the directory as "null" will skip it entirely, while anything else like that, ie.  "abc", will throw an error. This is why I wonder if the directory/file prefix functions could be improved.

For example... what does it mean to call filesystem::g_create_directory("abc")?

What is "abc" relative to? Won't this always throw an error?

Should I be detecting relative paths and making them absolute before calling create_directory? I suppose they could all be made relative to $directory_path(%path%) by default....
Title: foo_discogs
Post by: marc2003 on 2014-11-06 20:36:37
i wouldn't support relative paths at all. people can always prefix what they want with $directory_path(%path%) if that is their intention.

i know the album art preferences support relative paths but nothing more harmless than album art not showing will happen if you get it wrong.

when deciding where to save files (and retrieve them later) a lot more could go wrong if an errant entry is entered into your dialog.
Title: foo_discogs
Post by: arabeh on 2014-11-07 22:54:11
I have this error with your beta zoomorph:
Authorization Failed (401) - (url: http://api.discogs.com/database/search) (http://api.discogs.com/database/search))

This means you have to go back to the configuration in the Discogs submenu, OAuth tab, and go through the process of filling the fields in there (you'll have to hit Generate once getting the key even if you already have stuff in there).

I might do something wrong.
Having logged in to discogs.com, this is what I get when pressing the Authorize button.
Code: [Select]
(skipped) Error: Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/oauth/request_token)
[ESCAPE to close]

what is OAuth? 

Thank you for your time.
Title: foo_discogs
Post by: zoomorph on 2014-11-08 00:25:09
what is OAuth? 

Thank you for your time.

OAuth is required to use the Discogs API. Follow the instructions on Tagging -> Discogs -> Configuration, "OAuth Identity" tab to set it up.
Title: foo_discogs
Post by: zoomorph on 2014-11-08 03:34:00
Version 1.50 is now released. It contains the above + some additional minor bug fixes.
Title: foo_discogs
Post by: fuffi on 2014-11-08 11:05:17
Version 1.50 is now released. It contains the above + some additional minor bug fixes.
And it is working nice for this release: http://www.discogs.com/FREq-Strange-Attrac.../release/294332 (http://www.discogs.com/FREq-Strange-Attractors/release/294332)
which now sorts the tracks correctly. thank you very much!

btw:
for the mentioned release:

is there a switch/way to have the track header "Bonus Track" in brackets, instead of the title "FREqTAL (Zero One Edit)" itself?

now: Bonus Track (FREqTAL (Zero One Edit))

my wish: FREqTAL (Zero One Edit) (Bonus Track)

or just skip the whole track header, which would be: FREqTAL (Zero One Edit) (I tried with the mappings "Track Headings", but it did'nt work out for me)
Title: foo_discogs
Post by: zoomorph on 2014-11-08 15:16:33
is there a switch/way to have the track header "Bonus Track" in brackets, instead of the title "FREqTAL (Zero One Edit)" itself?

now: Bonus Track (FREqTAL (Zero One Edit))

my wish: FREqTAL (Zero One Edit) (Bonus Track)

or just skip the whole track header, which would be: FREqTAL (Zero One Edit) (I tried with the mappings "Track Headings", but it did'nt work out for me)

No, because the guidelines specify that naming format. See guideline 12.13.1: http://www.discogs.com/help/submission-gui...elease-trk.html (http://www.discogs.com/help/submission-guidelines-release-trk.html)

IMO your example is an incorrect use of Index/Sub-tracks. "Bonus Track" should be a heading instead. I would suggest editing it.

It might be possible to add an option to toggle sub-tracks along with the "Display/Replace ANVs" options in the future, but for cases like this I think the release ought to be changed. Garbage in, garbage out...
Title: foo_discogs
Post by: arabeh on 2014-11-08 15:19:45
what is OAuth? 

Thank you for your time.

OAuth is required to use the Discogs API. Follow the instructions on Tagging -> Discogs -> Configuration, "OAuth Identity" tab to set it up.

I think you got me wrong
I can't set up OAuth because when I press the Authorize button on "OAuth Identity" tab I get this:

Code: [Select]
(skipped) Error: Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/oauth/request_token)
[ESCAPE to close]


and the same error with Version 1.50
Title: foo_discogs
Post by: zoomorph on 2014-11-08 15:39:23
I think you got me wrong
I can't set up OAuth because when I press the Authorize button on "OAuth Identity" tab I get this:

Sorry, I don't know what's wrong. Can you use this version: https://www.sendspace.com/file/vxmlpt (https://www.sendspace.com/file/vxmlpt)

After getting the error, go to View->Console. Copy and paste the full URL for me.

Thanks
Title: foo_discogs
Post by: arabeh on 2014-11-08 15:56:48
Sorry, I don't know what's wrong. Can you use this version: https://www.sendspace.com/file/vxmlpt (https://www.sendspace.com/file/vxmlpt)

After getting the error, go to View->Console. Copy and paste the full URL for me.

Thanks

The same error with the version you provided
This is what console says:
Code: [Select]
foo_discogs: HTTP error status: HTTP/1.1 401 Unauthorized
foo_discogs: Exception handling: http://api.discogs.com/oauth/request_token?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=141545830529&oauth_signature=maW1w2%2FUVpxOBM9FUkraGHgZAUg%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1415458305&oauth_version=1.0

I guess this is a firewall issue. I will check now.
Thanks for your help!
Title: foo_discogs
Post by: zoomorph on 2014-11-08 16:10:07
Hmm... the URL looks correct to me. Given that nobody else has reported this, it seems likely to be a problem on your end.... We could open a ticket with Discogs to see if they are receiving your request.
Title: foo_discogs
Post by: orchid on 2014-11-08 16:29:52
Removing multi-disc options is all good but now %totaltracks% gets mapped with the total tracks of all discs combined. I would prefer total per disc like it was before. Not hard to edit manually but would be nice if you can add an option for this.

Also can you give an example of what "Discard numeric suffixes" does.
Title: foo_discogs
Post by: varoeax on 2014-11-08 18:15:28
Maste, can you help me with this error: error (http://i61.tinypic.com/zixhs9.jpg)

(http://i61.tinypic.com/zixhs9.jpg)

Thx...
Title: foo_discogs
Post by: marc2003 on 2014-11-08 18:21:24
i googled http error 429 and it looks like the limit of 1000 images per day has been reached (not you but everyone who uses the component)

Quote
The user has sent too many requests in a given amount of time. Intended for use with rate limiting schemes.[14]


edit: reading that again - it might be some other rate limiting thing?? zoomorph will know more.
Title: foo_discogs
Post by: fuffi on 2014-11-08 22:25:43
Thank you, for explaining.
IMO your example is an incorrect use of Index/Sub-tracks. "Bonus Track" should be a heading instead. I would suggest editing it.

It might be possible to add an option to toggle sub-tracks along with the "Display/Replace ANVs" options in the future, but for cases like this I think the release ought to be changed. Garbage in, garbage out...

It might be a special case, because I prefer to add such information as  "Bonus Track" or "Remix by..." into the COMMENT tag.

Anyways,
I tried a lot with the "Automatic Track Lenght"-Feature and it did not work out properly. I saw a lot of cases, where the Information on the website included the track lenghts and the files I wanted to tag had the (mostly) identical times too, but the addon did'nt sort at all. (not wrong sorting, just no sorting at all).
The manually sorting did the job well for me, so I don't see a big problem here, buuuuuut:

Trying a lot and spending time, I think, it would be very handy, to include a button on the main addon-window which allows the user to sort the tacks just when the button was clicked.

this would save some time and hassle, turning the feature off and on again, because I don't need that neat feature all the time.

What do you think?
A small button to sort the tracks. Simple and useful :-)

Title: foo_discogs
Post by: Low on 2014-11-09 00:03:06
Hmm... the URL looks correct to me. Given that nobody else has reported this, it seems likely to be a problem on your end.... We could open a ticket with Discogs to see if they are receiving your request.

I am getting pretty much same error:
Code: [Select]
foo_discogs: HTTP error status: HTTP/1.1 401 Unauthorized
foo_discogs: Exception handling: http://api.discogs.com/oauth/request_token?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=141548746453c&oauth_signature=kvsjIBxC0TyqCvg8Ef9VPmPFM7k%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1415487464&oauth_version=1.0

Title: foo_discogs
Post by: varoeax on 2014-11-09 01:52:22
Maste, can you help me with this error: error (http://i61.tinypic.com/zixhs9.jpg)

(http://i61.tinypic.com/zixhs9.jpg)

Thx...



Problem solved: Unchek Use Discog API for Art, and uncheck and check display preview in release dialog

Title: foo_discogs
Post by: orchid on 2014-11-09 16:41:01
Another issue I noticed. Album artist field gets written on every release whereas it should be written only if there are multiple track artists.
Title: foo_discogs
Post by: zoomorph on 2014-11-09 18:58:46
i googled http error 429 and it looks like the limit of 1000 images per day has been reached (not you but everyone who uses the component)

Correct. Discogs stupidly limits all foo_discogs users to 1000 images per day using the API. In your settings you can uncheck "Use Discogs API for art" and that error should go away as the API is bypassed.
Title: foo_discogs
Post by: zoomorph on 2014-11-09 19:35:46
Removing multi-disc options is all good but now %totaltracks% gets mapped with the total tracks of all discs combined. I would prefer total per disc like it was before. Not hard to edit manually but would be nice if you can add an option for this.

I'll change TOTALTRACKS to the total per disc by default, because I think this is how it's normally used. I'll add another tag RELEASE_TOTAL_TRACKS so users can map them if they want.

Also can you give an example of what "Discard numeric suffixes" does.

It simply drops the (2) from Artist (2).

I tried a lot with the "Automatic Track Lenght"-Feature and it did not work out properly. I saw a lot of cases, where the Information on the website included the track lenghts and the files I wanted to tag had the (mostly) identical times too, but the addon did'nt sort at all. (not wrong sorting, just no sorting at all).

If it's ambiguous it won't sort them. In the past it would often return wrong results in these cases. The sorting algorithm could definitely be greatly improved at some point... currently it's very simplistic.

A small button to sort the tracks. Simple and useful :-)

Not a bad idea.

Another issue I noticed. Album artist field gets written on every release whereas it should be written only if there are multiple track artists.

Thanks. This will be fixed shortly.
Title: foo_discogs
Post by: BenB on 2014-11-09 22:40:47
Removing multi-disc options is all good but now %totaltracks% gets mapped with the total tracks of all discs combined. I would prefer total per disc like it was before. Not hard to edit manually but would be nice if you can add an option for this.

I'll change TOTALTRACKS to the total per disc by default, because I think this is how it's normally used. I'll add another tag RELEASE_TOTAL_TRACKS so users can map them if they want.


This should be linked to the Configuration setting "Start track numbers at 1 for each disc."

Those that have this setting enabled will likely want the TOTALTRACKS count to be per disc while those who disable it will likely want the TOTALTRACKS count to be per release. Standard tags should be used instead of custom tags whenever possible to maximize portability/compatibility with other players.
Title: foo_discogs
Post by: BoraBora on 2014-11-10 21:59:26
Thanks. This will be fixed shortly.

Rats! I loved that bug! 
Title: foo_discogs
Post by: zoomorph on 2014-11-10 23:58:05
Those that have this setting enabled will likely want the TOTALTRACKS count to be per disc while those who disable it will likely want the TOTALTRACKS count to be per release. Standard tags should be used instead of custom tags whenever possible to maximize portability/compatibility with other players.

Not a bad idea, but I'm sure someone will come along and disagree. This way, you can disable writing TOTALTRACKS and map RELEASE_TOTALTRACKS to TOTALTRACKS... no custom tags need be used. :-)

Thanks. This will be fixed shortly.

Rats! I loved that bug! 

Don't update. :-P
Title: foo_discogs
Post by: john812 on 2014-11-11 01:57:38
When i click Authorize NOTHING happens, what a problem??? Another time a got the same problem  Error: Authorization Failed (401) [Is OAuth working?] -
I installed foobar + component at another notebook and its working good, but on my main comp i clicked thousand of times this button, reinstalled dif versions of foobar and its still dont working, very horrible for me cause im getting psycho after that..
Can You fix this or what we should do?????????
Title: foo_discogs
Post by: BoraBora on 2014-11-11 10:02:13
Don't update. :-P

I appreciate too much your work on this component to do that. 
Title: foo_discogs
Post by: zoomorph on 2014-11-11 20:40:31
When i click Authorize NOTHING happens, what a problem??? Another time a got the same problem  Error: Authorization Failed (401) [Is OAuth working?] -
I installed foobar + component at another notebook and its working good, but on my main comp i clicked thousand of times this button, reinstalled dif versions of foobar and its still dont working, very horrible for me cause im getting psycho after that..
Can You fix this or what we should do?????????

Nothing happens -- does the "View release page" button work? (File needs a DISCOGS_RELEASE_ID tag for it to be visible.)

401 error when clicking Authorize -- I'm investigating this one.

My suggestion is to copy the OAuth secret and token that are generated on your other notebook into the settings for this one. They should work.
Title: foo_discogs
Post by: john812 on 2014-11-11 20:46:48
Nothing happens -- does the "View release page" button work? (File needs a DISCOGS_RELEASE_ID tag for it to be visible.)

401 error when clicking Authorize -- I'm investigating this one.

My suggestion is to copy the OAuth secret and token that are generated on your other notebook into the settings for this one. They should work.

View release page button work
i copy paste pin code and secret token and it doesnt work, error
Title: foo_discogs
Post by: zoomorph on 2014-11-11 20:50:13
View release page button work
i copy paste pin code and secret token and it doesnt work, error

No pin code, just copy and paste the token and secret and press "Test"... it should say it's working. The token and secret aren't attached to a specific computer, so if they work on one computer they'll work on another.
Title: foo_discogs
Post by: john812 on 2014-11-11 20:58:09
View release page button work
i copy paste pin code and secret token and it doesnt work, error

No pin code, just copy and paste the token and secret and press "Test"... it should say it's working. The token and secret aren't attached to a specific computer, so if they work on one computer they'll work on another.

(http://s22.postimg.org/dgccmgdjx/err.jpg) (http://postimg.org/image/dgccmgdjx/)
Title: foo_discogs
Post by: john812 on 2014-11-11 21:01:43
look at this
what console say when i clicked authorize button

foo_discogs: error: Error requesting token: http://api.discogs.com/oauth/request_token (http://api.discogs.com/oauth/request_token) oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=141573605929&oauth_signature=pIS0kQkgYxuFZV9lfbsgV2KeOkA%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1415736059&oauth_version=1.0
Title: foo_discogs
Post by: zoomorph on 2014-11-11 21:18:14
Weird. Does Test OAuth work on the computer where you generated those tokens? Are you sure you copied them exactly (no space at the end or anything)?

Can you try an older version of foo_discogs to see if the Authorize button works there? Here's a build of 1.38: https://www.sendspace.com/file/lkk2nu (https://www.sendspace.com/file/lkk2nu)

I've opened a ticket with Discogs asking about 401s from the request_token endpoint. Maybe they can help.
Title: foo_discogs
Post by: Low on 2014-11-12 00:45:57
Weird. Does Test OAuth work on the computer where you generated those tokens? Are you sure you copied them exactly (no space at the end or anything)?

Can you try an older version of foo_discogs to see if the Authorize button works there? Here's a build of 1.38: https://www.sendspace.com/file/lkk2nu (https://www.sendspace.com/file/lkk2nu)

I've opened a ticket with Discogs asking about 401s from the request_token endpoint. Maybe they can help.

How can I test if OAuth working or not? This build's error:
Code: [Select]
foo_discogs: HTTP error status: HTTP/1.1 401 Unauthorized
foo_discogs: Exception handling: http://api.discogs.com/oauth/request_token?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=141574936829&oauth_signature=xqe2aLqDnG%2BZ8q5t1qVgKd2cnXM%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1415749368&oauth_version=1.0
Title: foo_discogs
Post by: fuffi on 2014-11-15 09:45:34
Hello, this is a feature request,

for this release:
http://www.discogs.com/Anorganik-Sent-Back...release/2524366 (http://www.discogs.com/Anorganik-Sent-Back-Where-Is-Heaven-/release/2524366)
I get the (correct) error:
Quote
(FATAL) Error [release 2524366]: Page Deleted or Missing (404) - (url: http://s.pixogs.com/image/R-150-2524366-1288709051.jpeg) (http://s.pixogs.com/image/R-150-2524366-1288709051.jpeg))

[ESCAPE to close]


Would it be possible to let the user just skip this dialog and continue tagging?

now, the user needs to go to the configuration dialogue, click the Album/artist art tab, turn off "fetch" and "display preview in release dialog", close the configuration dialogue and start the whole thing again.
when the tagging is done, the user needs to reverse all the changed settings again.
(its kinda inconvenient)

it would be nicer if the user is just told that there is a 404 error and the addon just continues its work w/o fetching the art after the error msg were showed.

is this possible?
Title: foo_discogs
Post by: zoomorph on 2014-11-17 18:58:18
Hello, this is a feature request,

for this release:
http://www.discogs.com/Anorganik-Sent-Back...release/2524366 (http://www.discogs.com/Anorganik-Sent-Back-Where-Is-Heaven-/release/2524366)
I get the (correct) error:
Quote
(FATAL) Error [release 2524366]: Page Deleted or Missing (404) - (url: http://s.pixogs.com/image/R-150-2524366-1288709051.jpeg) (http://s.pixogs.com/image/R-150-2524366-1288709051.jpeg))

[ESCAPE to close]


Would it be possible to let the user just skip this dialog and continue tagging?

now, the user needs to go to the configuration dialogue, click the Album/artist art tab, turn off "fetch" and "display preview in release dialog", close the configuration dialogue and start the whole thing again.
when the tagging is done, the user needs to reverse all the changed settings again.
(its kinda inconvenient)

it would be nicer if the user is just told that there is a 404 error and the addon just continues its work w/o fetching the art after the error msg were showed.

is this possible?

Yes, it should probably ignore a 404 on the preview image and just skip it. However, this seems like a pretty rare use case. You should really edit the images on Discogs to remove the broken one.
Title: foo_discogs
Post by: r3v0 on 2014-11-17 19:39:23
Hi, i'm getting this error:

foo_discogs: HTTP error status: HTTP/1.1 500 Internal Server Error
Title: foo_discogs
Post by: zoomorph on 2014-11-17 21:23:03
Discogs' server returned HTTP/1.1 500 Internal Server Error. Must be a problem with their server. I suggest trying again later or asking on their API help forum.
Title: foo_discogs
Post by: r3v0 on 2014-11-17 22:29:30
Hmmm, seems searching for The Beach Boys returns this error only. When I search for other artists it works.
Title: foo_discogs
Post by: john812 on 2014-11-18 17:39:00
Bingo! All working when update your date and time by windows internet server!
Title: foo_discogs
Post by: zoomorph on 2014-11-18 21:18:48
Hmmm, seems searching for The Beach Boys returns this error only. When I search for other artists it works.

That's something to report to Discogs. I reported it.

Bingo! All working when update your date and time by windows internet server!

Good to hear. :-) Low & others with this problem, you might want to try this.
Title: foo_discogs
Post by: simcut on 2014-11-19 12:26:08
Hi all

Firstly, I really appreciate all the work that is done on this fantastic plugin, it's an absolute godsend to tagging my music.

However, I'm not sure why the multi-disc release option has been removed? I much preferred the functionality the way it was if im honest, part of the reason is, if I had a folder 'CD1' 'CD2' & 'CD3' I used to drag & drop each folder one at a time in foobar, remove the existing tags, then run the discogs tagger, and it would fetch the cover.jpg for each folder individually, however with the new plugin it wont allow me to pull the cover.jpg for each disc. This then means when I am playing a multi-disc release in foobar the artwork only shows for disc 1, not for disc 2 & 3. The solution for this is to copy the cover.jpg from CD1 to the other 2 folders but thats manual work that is a bit of a nuisance.

Please can you advise how the new process works, not sure I like it as it relies upon the mp3 filenames being numbered 01-20 & 01-20 would count as disc 1 then disc 2.

Thanks in advance.
Title: foo_discogs
Post by: zoomorph on 2014-11-19 15:21:54
The new process would be to tag all tracks from 3 discs at once. As with tagging a single disc, if the tracks are not ordered in your playlist when you start foo_discogs, you'll have to order them manually (automatic matching by length might work in some cases).

The multi-disc options were removed because it was a lot of manual work to run foo_discogs 3x and fill out the multi-disc part 2 of those times. It's easier to run it once with all the files and have the disc numbers automatically parsed. In the future there should be a backup way to renumber discs and tracks in the plugin, but for most cases the automatic disc number parsing should work.

Your options that I can think of:
- Stick with a previous version of foo_discogs and continue using the manual multi-disc options.
- Copy the cover.jpg to each subdirectory after tagging (you could create a script to automate this).
- Change your directory structure (ie. put all tracks in a single directory or save 1 copy of the artwork per release).

Unfortunately foo_discogs doesn't [currently] support saving artwork to multiple locations for a release. IMO that sounds pretty redundant and it probably wouldn't be a popular use case.
Title: foo_discogs
Post by: marc2003 on 2014-11-19 15:31:16
for multi-disc releases, you can save 1 image in the parent folder and configure the main artwork preferences like this so it gets displayed:

Code: [Select]
..\folder.jpg
Title: foo_discogs
Post by: TheEmpathicEar on 2014-11-19 15:52:05
for multi-disc releases, you can save 1 image in the parent folder and configure the main artwork preferences like this so it gets displayed:

Code: [Select]
..\folder.jpg

[I have yet to use this on a multi-disc release] By default, it creates a parent folder, album name, and then under this, CD1, CD2, etc.?
Title: foo_discogs
Post by: marc2003 on 2014-11-19 15:57:04
how your folders are structured would depend entirely on how you rip or convert your files. my post was simply a suggestion on how to use 1 image if you use CD1, CD2, etc as subfolders of a main album folder.
Title: foo_discogs
Post by: arabeh on 2014-11-20 13:56:30
Bingo! All working when update your date and time by windows internet server!


I love you man!!!   
Title: foo_discogs
Post by: fuffi on 2014-11-27 13:17:50
Hi,
I don't know, if this is an error from the addon, or maybe, the release (http://www.discogs.com/Tom-Scott-The-LA-Express-Jump-Back/release/2552297) is just that way...
but I'd like to post this, because it seems strange to me. (maybe someone can explain to me, why the addon shows additional lines
(http://www.bilder-hochladen.net/files/big/hcyg-3o-d1f4.png)
(http://www.bilder-hochladen.net/files/big/hcyg-3n-76dc.png)
Title: foo_discogs
Post by: zoomorph on 2014-11-29 07:53:46
Hi,
I don't know, if this is an error from the addon, or maybe, the release (http://www.discogs.com/Tom-Scott-The-LA-Express-Jump-Back/release/2552297) is just that way...
but I'd like to post this, because it seems strange to me. (maybe someone can explain to me, why the addon shows additional lines

The release on Discogs has 2 empty tracks in the tracklist that ought to be removed (and should probably be ignored by foo_discogs, but aren't currently). :-)
Title: foo_discogs
Post by: simcut on 2014-11-29 07:56:55
Seems to be a bug when a release has Notes added to it, as had a couple of examples last night when doing some tagging where it detected the Notes as additional tracks, thankfully not every word was a different track! lol
Title: foo_discogs
Post by: Forfit on 2014-12-03 20:42:38
When i start fb2k, i see in the console this message "Conf2 already initialized.".
What does it mean?
I saw that Conf2 is foo_discogs.dll
Title: foo_discogs
Post by: zoomorph on 2014-12-05 01:11:40
When i start fb2k, i see in the console this message "Conf2 already initialized.".
What does it mean?
I saw that Conf2 is foo_discogs.dll

It's just useless debugging info. :-)
Title: foo_discogs
Post by: alexinc on 2014-12-05 15:13:12
double post
Title: foo_discogs
Post by: alexinc on 2014-12-05 15:59:05
just noticed that in v1.51 option "Format track/disc numbers/counts on two digits" doesnt work for %DISCNUMBER% and %TOTALDISCS%.

besides of that many thx again for maintaining this beloved plugin!!!

cheers
Title: foo_discogs
Post by: Titan_UK on 2014-12-08 00:55:46
Hi

Just started using Foobar and am in the process of re-ripping my CDs to lossless (old fart and a hella lot were in =<192K).  Found your updated foo_discogs, thank you zoomorph for fast responses and updating this plug in.  I've just spent most of the day reading through every post to get a grasp heh.  I have just tested it on a few files missing information and it works brilliantly and so I have a feature request. 

In the Release dialogue, I like to sometimes 'Edit tag mappings' on the fly just for that release - this works great for updating a single tag field like genre, however it's a pain to un-select everything and leave the genre field ticked (easy enough to go back to default by the default button) so next to the default button is it possible to put a 'no mappings' button, then my old arthritic hands only have to do one tick

Regards
Titan
Title: foo_discogs
Post by: frogworth on 2014-12-09 03:18:27
I'm getting a fatal error when I try and tag anything. Seems to be rate limiting related to image URLs. Is this Discogs being dicks again?

(http://www.frogworth.com/dickscogs.png)

In any case, does it really stop the plugin retrieving the tagging info? Can this be altered so it's not a fatal error?
Thanks.
Title: foo_discogs
Post by: alexinc on 2014-12-09 14:29:08
I'm getting a fatal error when I try and tag anything. Seems to be rate limiting related to image URLs. Is this Discogs being dicks again?

(http://www.frogworth.com/dickscogs.png)

In any case, does it really stop the plugin retrieving the tagging info? Can this be altered so it's not a fatal error?
Thanks.


in options you can disable fetching art by using discogs api...
Title: foo_discogs
Post by: SpaceAgeHero on 2014-12-10 13:47:55
I suspect that it's this way because if there are 3 artists and only 1 or 2 have ANVs it would be impossible to know which ones the ANV field applies to. What do you think should happen in such a case? N/A or something could be written for the other artists'?


Hi zoomorph,

yeah - that's indeed a problem.

For myself I have now solved this by using multiple multi-value artist fields (%ARTIST%, %ARTIST2%, %ARTISTn%).

$meta(ARTIST,0) = Primary name
$meta(ARTIST,1) = Artist name variation

$meta(ARTIST2,0) = Join (e.g.: Feat., &, vs., pres.)
$meta(ARTIST2,1) = Primary name of second artist
$meta(ARTIST2,2) = Artist name variation of second artist

Visual example:

(http://i.imgur.com/G4i0UER.png)

In case anyone likes this concept, here's the pattern of my custom artist playlist column (up to 4 artists):
Code: [Select]
$if(%ARTIST2%,$if2($meta(ARTIST,1)>>*<<,$meta(ARTIST,0))[ >>$meta(ARTIST2,0)<< $if2($meta(ARTIST2,2)>>*<<,$meta(ARTIST2,1))][ >>$meta(ARTIST3,0)<< $if2($meta(ARTIST3,2)>>*<<,$meta(ARTIST3,1))],[$if2($meta(ARTIST,1)>>*<<,%TRACK ARTIST%)])
Title: foo_discogs
Post by: a3aan on 2014-12-19 09:19:40
Probably suggested before in this long topic, but I would appreciate if the release date of the key release within a possible master release was also mapped into some tag.

Cheers.
Title: foo_discogs
Post by: zoomorph on 2014-12-20 21:28:22
Probably suggested before in this long topic, but I would appreciate if the release date of the key release within a possible master release was also mapped into some tag.

Cheers.

Definitely something I've thought about adding. I think the tag mappings should be revamped in general, though, because they are too rigid right now. They should be much more configurable. Users should be able to create/remove tag mappings and use title formatting strings in determining what value to write, based on the core internal data fields.

It would also be nice to see the release_dialog a lot more flexible (ie. let users edit the fields right there, select/deselect which ones they want to write).

Unfortunately I have no time to work on foo_discogs now. Others are welcome to jump in though. 
Title: foo_discogs
Post by: Brent on 2015-01-23 16:14:20
Does this plugin allow for lookups on a file-by-file basis, in bulk?
Title: foo_discogs
Post by: Vittorio on 2015-01-30 15:01:15
How can I get tags for a compilation?

If I type in "Various" or "Various Artists" in the [Artist:] filed and set the filter to the Compilation name I get no results.
Well, there's probably a gazillion Albums out there with "Various" or "Various Artists"

The discogs tagger looks up the artist name in the database in the first place and if any result is found applies the filter (correct me if I'm wrong)
In the case of an compilation this doesn't seem to work very well.

So my proposal here is to add a "search by keywords" or something like that as the following query would do:
http://www.discogs.com/search/?q=%search_string% (http://www.discogs.com/search/?q=various)
Title: foo_discogs
Post by: frogworth on 2015-02-02 10:26:51
How can I get tags for a compilation?


Try putting in one of the artists from the compilation...
Title: foo_discogs
Post by: SmirG3l on 2015-02-16 14:39:37
So Suddenly after months of working just fine

Quote
(skipped) Error: Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/oauth/request_token) (http://api.discogs.com/oauth/request_token))

[ESCAPE to close]


How do I fix this? it won't let me authenticate it anymore?
Title: foo_discogs
Post by: SmirG3l on 2015-02-16 18:07:30
Quote
foo_discogs: HTTP error status: HTTP/1.1 401 Unauthorized
foo_discogs: Exception handling: http://api.discogs.com/oauth/request_token (http://api.discogs.com/oauth/request_token)?
Title: foo_discogs
Post by: alexinc on 2015-02-17 18:45:55
i'm quite surprised noone mentiones the series field of discogs yet and after searching the net for further Information on how to tag the Name of a compilation series i didnt find any hint besides "part of an compilation = 1". so there is no "official tag" for storing the Name of an compilation series? if updated, could disogs-plugin write something like %discogs_compilation_series%?
Title: foo_discogs
Post by: Der Internet on 2015-02-20 23:39:15
anyone got Problems reaching the discogs-api, too?
Title: foo_discogs
Post by: komhst on 2015-02-21 06:06:00
anyone got Problems reaching the discogs-api, too?


Yes, since yesterday. 
Title: foo_discogs
Post by: roscar on 2015-02-21 14:57:46
I get (wihtout the API)

Code: [Select]
(FATAL) Error [release 6533212]: Page Deleted or Missing (404) - (url: http://s.pixogs.com/image/R-6533212-1421560153-6357.jpeg.jpg)


The extraneous extension .jpg is the problem, the correct URL is http://s.pixogs.com/image/R-6533212-1421560153-6357.jpeg (http://s.pixogs.com/image/R-6533212-1421560153-6357.jpeg). Discogs maybe (just guessing here) changed something to allow for different formats, why listing the full filename including extension makes sense. Either Discogs' server or foo_discogs adds .jpg, because it always did. Should be easily fixable for zoomorph either way.

With the API I get

Code: [Select]
(FATAL) Error [release 6533212]: Page Deleted or Missing (404) - (url: http://api-img.discogs.com/###hash###=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb()/discogs-images/R-6533212-1421560153-6357.jpeg.jpg)


... so the API doesn't make any difference.

If you disable art completely (also in preview dialog) everything else works as normal.

Edit: I wrote an issue on the bugtracker.
Title: foo_discogs
Post by: komhst on 2015-02-21 15:21:09
I get (wihtout the API)

Code: [Select]
(FATAL) Error [release 6533212]: Page Deleted or Missing (404) - (url: http://s.pixogs.com/image/R-6533212-1421560153-6357.jpeg.jpg)


The extraneous extension .jpg is the problem, the correct URL is http://s.pixogs.com/image/R-6533212-1421560153-6357.jpeg (http://s.pixogs.com/image/R-6533212-1421560153-6357.jpeg). Discogs maybe (just guessing here) changed something to allow for different formats, why listing the full filename including extension makes sense. Either Discogs' server or foo_discogs adds .jpg, because it always did. Should be easily fixable for zoomorph either way.


All the cover images in discogs have filenames such as this:  R-3869373-1347520948-2326.jpeg.jpg
Title: foo_discogs
Post by: roscar on 2015-02-21 17:29:26
All the cover images in discogs have filenames such as this:  R-3869373-1347520948-2326.jpeg.jpg


No, they don't - as I've already shown. But that's the filename you get through their crappy lightbox viewer.
Title: foo_discogs
Post by: zoomorph on 2015-02-21 18:27:48
It looks like Discogs changed something with their images API causing existing applications to break. 

I will look into this tomorrow. In the meantime, I guess users need to wait, or disable downloading images.
Title: foo_discogs
Post by: zoomorph on 2015-02-21 19:45:34
OK, I've uploaded a new version (1.52) which should fix download images.

The problem was that foo_discogs was still using OAuth for images, but the new images endpoint doesn't support OAuth. Instead, it now has authentication built directly into the URL. Sadly, this means that it's no longer trivial to bypass the API for images. My fingers are crossed that the new built-in authentication for images is on a per-IP basis rather than a per application.... If not, we'll probably be hitting the 1000-images per day limit again soon. Maybe if every foo_discogs user goes and complains on the Discogs API Forum they'll fix that limit to be per-IP instead of per-application. ;-)
Title: foo_discogs
Post by: komhst on 2015-02-22 07:48:50
It's working perfectly now!
Thanks!
Title: foo_discogs
Post by: alexinc on 2015-02-23 17:51:40
a big thx from me too!

i noticed one little bug, when having an artist name consisting of more than 2 artists combined with "features" or "presents", foo_discogs always fetches the first one and uses it for the following ones. so "abc pres. def feat. xyz" always becomes "abc feat. def feat. xyz" e.g.
Title: foo_discogs
Post by: zoomorph on 2015-02-23 20:58:05
It sounds like the crappy image rate-limiting has been fixed (it's now done per-IP and allowed 300/min, unofficial). That's good news as it means foo_discogs users shouldn't have any more problems.
Title: foo_discogs
Post by: zoomorph on 2015-02-25 06:56:47
a big thx from me too!

i noticed one little bug, when having an artist name consisting of more than 2 artists combined with "features" or "presents", foo_discogs always fetches the first one and uses it for the following ones. so "abc pres. def feat. xyz" always becomes "abc feat. def feat. xyz" e.g.

Please provide example release.
Title: foo_discogs
Post by: alexinc on 2015-02-25 15:12:41
Please provide example release.


http://www.discogs.com/release/654021 (http://www.discogs.com/release/654021) Track 2-10
http://www.discogs.com/release/1229612 (http://www.discogs.com/release/1229612) Track 1-4
http://www.discogs.com/release/1485101 (http://www.discogs.com/release/1485101) Track 1.17

was tagging quite some compilations the last days and noticed that behaviour on various releases.
Title: foo_discogs
Post by: zoomorph on 2015-02-26 19:15:35
Thanks. Fixed that bug for the next version.
Title: foo_discogs
Post by: alexinc on 2015-02-27 10:42:52
that was fast, thx! could you plz consider adding fetching the series-field in upcoming version? belonging links posted previously belong to series "trancemaster" e.g.
Title: foo_discogs
Post by: Sea Monkey on 2015-03-03 23:48:40
'Update artist art' now crashes foobar2000. foo_discogs 1.52. foobar2000 1.3.7.

Code: [Select]
Illegal operation:
Code: C142B808h, flags: 00000001h, address: 7706C42Dh

Call path:
threaded_process thread

Code bytes (7706C42Dh):
7706C3EDh:  C0 89 45 B8 C7 45 BC D5 C3 06 77 39 45 14 74 23
7706C3FDh:  8B 45 10 83 F8 0F 76 03 6A 0F 58 89 45 C0 C1 E0
7706C40Dh:  02 50 FF 75 14 8D 45 C4 50 E8 57 AD 02 00 83 C4
7706C41Dh:  0C EB 03 89 45 C0 8D 45 B0 50 FF 15 5C 11 06 77
7706C42Dh:  C9 C2 10 00 CC CC CC CC CC 8B FF 55 8B EC 56 8B
7706C43Dh:  75 08 83 FE F4 72 18 83 FE F6 77 13 8D 45 08 50
7706C44Dh:  6A 00 56 E8 DD 02 00 00 85 C0 74 03 8B 75 08 56
7706C45Dh:  FF 15 34 10 06 77 5E 85 C0 7C 05 33 C0 40 EB 08

Stack (0B9BF644h):
0B9BF624h:  0A981DE0 00000001 0A981EB0 0B9BF648
0B9BF634h:  77ABE023 0B9BF694 7706C42D 0B9BF644
0B9BF644h:  D142B808 00000001 00000000 7706C42D
0B9BF654h:  00000000 0B9BF684 0102B9D4 36540125
0B9BF664h:  0B9BF6A8 0336FD3F 0B9BF688 0339AF94
0B9BF674h:  00000000 0B9BF710 77AAFAEA 77AC9DEC
0B9BF684h:  FFFFFFFF 00000024 0B9BF698 00000004
0B9BF694h:  0B9BF6CC 033611E1 D142B808 00000001
0B9BF6A4h:  00000000 00000000 03372B43 00000000
0B9BF6B4h:  00000000 00000000 00000000 00000000
0B9BF6C4h:  0336FDF5 00000003 0B9BF6E8 0336FE11
0B9BF6D4h:  0B9BF9A8 00000100 0339AF94 00000000
0B9BF6E4h:  0B9BF710 0B9BF700 03357E55 0B9BF9A8
0B9BF6F4h:  00000100 0339AF94 0B9BF710 0B9BFAB8
0B9BF704h:  03356E75 0B9BF9A8 0339AF94 0A990A20
0B9BF714h:  36540DF9 051BA1C4 0373ACC0 00000000
0B9BF724h:  0339B2C8 0A98F900 00000560 051BA1C4
0B9BF734h:  033A8AA0 051BA1B8 0A9653C8 00000000
0B9BF744h:  0B9BFAF4 34383431 00333539 005A0000
0B9BF754h:  0A98C038 00000007 0000000F 00D40068

Registers:
EAX: 0B9BF644, EBX: 0A990A20, ECX: 209C0007, EDX: 09B5E838
ESI: 0B9BF9A8, EDI: 00000000, EBP: 0B9BF694, ESP: 0B9BF644

Crash location:
Module: KERNELBASE
Offset: C42Dh
Symbol: "RaiseException" (+58h)

Loaded modules:
foobar2000                       loaded at 00FC0000h - 0118C000h
ntdll                            loaded at 77A90000h - 77C10000h
kernel32                         loaded at 76CD0000h - 76DE0000h
KERNELBASE                       loaded at 77060000h - 770A7000h
COMCTL32                         loaded at 6EAB0000h - 6EC4E000h
msvcrt                           loaded at 77480000h - 7752C000h
GDI32                            loaded at 770C0000h - 77150000h
USER32                           loaded at 75C80000h - 75D80000h
ADVAPI32                         loaded at 75A10000h - 75AB0000h
sechost                          loaded at 77040000h - 77059000h
RPCRT4                           loaded at 75500000h - 755F0000h
SspiCli                          loaded at 75420000h - 75480000h
CRYPTBASE                        loaded at 75410000h - 7541C000h
LPK                              loaded at 75E10000h - 75E1A000h
USP10                            loaded at 76F00000h - 76F9D000h
SHLWAPI                          loaded at 76E30000h - 76E87000h
WINMM                            loaded at 6E2F0000h - 6E322000h
DSOUND                           loaded at 68A70000h - 68AE2000h
ole32                            loaded at 75B10000h - 75C6C000h
POWRPROF                         loaded at 73540000h - 73565000h
SETUPAPI                         loaded at 772A0000h - 7743D000h
CFGMGR32                         loaded at 754D0000h - 754F7000h
OLEAUT32                         loaded at 76FA0000h - 7702F000h
DEVOBJ                           loaded at 759E0000h - 759F2000h
UxTheme                          loaded at 6E270000h - 6E2F0000h
SHELL32                          loaded at 75EA0000h - 76AEA000h
zlib1                            loaded at 62E80000h - 62E9F000h
shared                           loaded at 6C4F0000h - 6C51D000h
imagehlp                         loaded at 77530000h - 7755B000h
dbghelp                          loaded at 6D470000h - 6D55B000h
COMDLG32                         loaded at 75E20000h - 75E9B000h
CRYPT32                          loaded at 77560000h - 77681000h
MSASN1                           loaded at 77A60000h - 77A6C000h
Secur32                          loaded at 714B0000h - 714B8000h
gdiplus                          loaded at 6E330000h - 6E4C0000h
WINHTTP                          loaded at 73BC0000h - 73C18000h
webio                            loaded at 73B70000h - 73BBF000h
IMM32                            loaded at 76E90000h - 76EF0000h
MSCTF                            loaded at 75630000h - 756FC000h
dwmapi                           loaded at 6EF80000h - 6EF93000h
foo_playcount                    loaded at 6B550000h - 6B58E000h
foo_audioscrobbler               loaded at 10000000h - 10033000h
foo_dsp_std                      loaded at 6B510000h - 6B546000h
foo_converter                    loaded at 646D0000h - 64757000h
foo_freedb2                      loaded at 6AE50000h - 6AE9F000h
foo_dsp_eq                       loaded at 68930000h - 68966000h
foo_uie_vis_channel_spectrum     loaded at 004F0000h - 0052D000h
MSIMG32                          loaded at 6F090000h - 6F095000h
foo_uie_lyrics3                  loaded at 03B20000h - 03BEA000h
WININET                          loaded at 76AF0000h - 76CC5000h
api-ms-win-downlevel-user32-l1-  loaded at 75600000h - 75604000h
api-ms-win-downlevel-shlwapi-l1  loaded at 75610000h - 75614000h
api-ms-win-downlevel-version-l1  loaded at 770B0000h - 770B4000h
version                          loaded at 75340000h - 75349000h
api-ms-win-downlevel-normaliz-l  loaded at 75A00000h - 75A03000h
normaliz                         loaded at 75C70000h - 75C73000h
iertutil                         loaded at 75700000h - 75932000h
api-ms-win-downlevel-advapi32-l  loaded at 75940000h - 75945000h
USERENV                          loaded at 754B0000h - 754C7000h
profapi                          loaded at 77030000h - 7703B000h
foo_ui_std                       loaded at 645C0000h - 646CD000h
foo_input_std                    loaded at 62540000h - 6269B000h
MSACM32                          loaded at 6CBA0000h - 6CBB4000h
avcodec-fb2k-56                  loaded at 51700000h - 518D4000h
avutil-fb2k-54                   loaded at 65D10000h - 65D7C000h
foo_texttools                    loaded at 688F0000h - 68924000h
foo_uie_wsh_panel_mod            loaded at 63B70000h - 63C5C000h
foo_uie_panel_splitter           loaded at 02700000h - 02759000h
foo_uie_esplaylist               loaded at 64550000h - 645BA000h
foo_quicksearch                  loaded at 64350000h - 643A7000h
WindowsCodecs                    loaded at 649F0000h - 64B20000h
foo_uie_vis_peakmeter_spectrum   loaded at 025F0000h - 0262F000h
foo_cdda                         loaded at 63D40000h - 63D90000h
foo_wave_seekbar                 loaded at 51560000h - 516FF000h
WS2_32                           loaded at 77440000h - 77475000h
NSI                              loaded at 76EF0000h - 76EF6000h
foo_uie_biography                loaded at 63A90000h - 63AE8000h
foo_unpack                       loaded at 636C0000h - 6370B000h
foo_rgscan                       loaded at 63630000h - 6368E000h
foo_fileops                      loaded at 635E0000h - 6362D000h
foo_uie_albumlist                loaded at 028C0000h - 02903000h
foo_discogs                      loaded at 03340000h - 033B3000h
foo_albumlist                    loaded at 624E0000h - 6253A000h
foo_ui_columns                   loaded at 06EE0000h - 07070000h
urlmon                           loaded at 77150000h - 7729A000h
api-ms-win-downlevel-ole32-l1-1  loaded at 755F0000h - 755F4000h
foo_uie_elplaylist               loaded at 62460000h - 624D3000h
CLBCatQ                          loaded at 75D80000h - 75E03000h
MMDevApi                         loaded at 6B6A0000h - 6B6D9000h
PROPSYS                          loaded at 6CAA0000h - 6CB95000h
AUDIOSES                         loaded at 6B590000h - 6B5C6000h
apphelp                          loaded at 73AB0000h - 73AFC000h
TortoiseOverlays                 loaded at 62220000h - 62232000h
TortoiseGitStub32                loaded at 62190000h - 621A6000h
TortoiseGit32                    loaded at 620F0000h - 6216A000h
libgit232_tgit                   loaded at 62050000h - 620E8000h
zlib132_tgit                     loaded at 62030000h - 62045000h
MSVCR120                         loaded at 69B80000h - 69C6E000h
gitdll32                         loaded at 61E50000h - 6201C000h
MSVCP120                         loaded at 69C70000h - 69CE1000h
CRYPTSP                          loaded at 73780000h - 73796000h
rsaenh                           loaded at 736E0000h - 7371B000h
EhStorShell                      loaded at 61DB0000h - 61DE1000h
ntshrui                          loaded at 62320000h - 62390000h
srvcli                           loaded at 6F190000h - 6F1A9000h
cscapi                           loaded at 6EF30000h - 6EF3B000h
slc                              loaded at 6AE20000h - 6AE2A000h
SXS                              loaded at 6E1A0000h - 6E1FF000h
frontend_direct2d                loaded at 62280000h - 622D8000h
d2d1                             loaded at 6A0E0000h - 6A427000h
frontend_direct3d9               loaded at 61D40000h - 61DA4000h
d3d9                             loaded at 6CEE0000h - 6D0A3000h
d3d8thk                          loaded at 6F060000h - 6F066000h
d3dx9_42                         loaded at 51370000h - 51555000h
SciLexer                         loaded at 512C0000h - 51362000h
jscript                          loaded at 53300000h - 53398000h
RpcRtRemote                      loaded at 73750000h - 7375E000h
tiptsf                           loaded at 64B20000h - 64B78000h
sud                              loaded at 51200000h - 512BB000h
ADVPACK                          loaded at 6B6E0000h - 6B70E000h
DUI70                            loaded at 6CBF0000h - 6CCA2000h
explorerframe                    loaded at 6D110000h - 6D27F000h
DUser                            loaded at 63690000h - 636BF000h
IPHLPAPI                         loaded at 73CA0000h - 73CBC000h
WINNSI                           loaded at 73C90000h - 73C97000h
dhcpcsvc6                        loaded at 6E200000h - 6E20D000h
dhcpcsvc                         loaded at 6E970000h - 6E982000h
credssp                          loaded at 6F100000h - 6F108000h
mswsock                          loaded at 6F010000h - 6F04C000h
wshtcpip                         loaded at 6EEC0000h - 6EEC5000h
wship6                           loaded at 6EEB0000h - 6EEB6000h
DNSAPI                           loaded at 73B20000h - 73B64000h
mdnsNSP                          loaded at 6EF40000h - 6EF61000h
rasadhlp                         loaded at 6EED0000h - 6EED6000h
fwpuclnt                         loaded at 6EEE0000h - 6EF18000h

Stack dump analysis:
Address: 7706C42Dh (KERNELBASE+C42Dh), symbol: "RaiseException" (+58h)
Address: 0102B9D4h (foobar2000+6B9D4h)
Address: 0336FD3Fh (foo_discogs+2FD3Fh), symbol: "foobar2000_get_interface" (+E90Fh)
Address: 0339AF94h (foo_discogs+5AF94h), symbol: "foobar2000_get_interface" (+39B64h)
Address: 77AAFAEAh (ntdll+1FAEAh), symbol: "ZwQueryInformationProcess" (+12h)
Address: 77AC9DECh (ntdll+39DECh), symbol: "RtlDecodePointer" (+17h)
Address: 033611E1h (foo_discogs+211E1h)
Address: 03372B43h (foo_discogs+32B43h), symbol: "foobar2000_get_interface" (+11713h)
Address: 0336FDF5h (foo_discogs+2FDF5h), symbol: "foobar2000_get_interface" (+E9C5h)
Address: 0336FE11h (foo_discogs+2FE11h), symbol: "foobar2000_get_interface" (+E9E1h)
Address: 0339AF94h (foo_discogs+5AF94h), symbol: "foobar2000_get_interface" (+39B64h)
Address: 03357E55h (foo_discogs+17E55h)
Address: 0339AF94h (foo_discogs+5AF94h), symbol: "foobar2000_get_interface" (+39B64h)
Address: 03356E75h (foo_discogs+16E75h)
Address: 0339AF94h (foo_discogs+5AF94h), symbol: "foobar2000_get_interface" (+39B64h)
Address: 0339B2C8h (foo_discogs+5B2C8h), symbol: "foobar2000_get_interface" (+39E98h)
Address: 033A8AA0h (foo_discogs+68AA0h), symbol: "foobar2000_get_interface" (+47670h)
Address: 01000000h (foobar2000+40000h)
Address: 0101F818h (foobar2000+5F818h)
Address: 77B071F5h (ntdll+771F5h), symbol: "WinSqmSetIfMaxDWORD" (+31h)
Address: 77AC38AAh (ntdll+338AAh), symbol: "RtlImageNtHeader" (+716h)
Address: 77AC34A2h (ntdll+334A2h), symbol: "RtlImageNtHeader" (+30Eh)
Address: 76CE14ADh (kernel32+114ADh), symbol: "HeapFree" (+14h)
Address: 0336ED71h (foo_discogs+2ED71h), symbol: "foobar2000_get_interface" (+D941h)
Address: 0334414Fh (foo_discogs+414Fh)
Address: 03346B40h (foo_discogs+6B40h)
Address: 03371DC9h (foo_discogs+31DC9h), symbol: "foobar2000_get_interface" (+10999h)
Address: 033467B1h (foo_discogs+67B1h)
Address: 77AC3CFEh (ntdll+33CFEh), symbol: "RtlImageNtHeader" (+B6Ah)
Address: 512C0000h (SciLexer+0h)
Address: 77B071F5h (ntdll+771F5h), symbol: "WinSqmSetIfMaxDWORD" (+31h)
Address: 77ABE38Ch (ntdll+2E38Ch), symbol: "RtlInitUnicodeString" (+164h)
Address: 77ABE0F2h (ntdll+2E0F2h), symbol: "RtlAllocateHeap" (+ACh)
Address: 51336B76h (SciLexer+76B76h), symbol: "Scintilla_DirectFunction" (+48CACh)
Address: 51336B5Fh (SciLexer+76B5Fh), symbol: "Scintilla_DirectFunction" (+48C95h)
Address: 6B6F6F62h (ADVPACK+16F62h), symbol: "RegRestoreAll" (+7EAh)
Address: 775F5F5Fh (CRYPT32+95F5Fh), symbol: "PFXVerifyPassword" (+348Dh)
Address: 63646E75h (foo_rgscan+16E75h)
Address: 64756F6Ch (foo_converter+86F6Ch), symbol: "foobar2000_get_interface" (+52EECh)
Address: 756F792Eh (MSCTF+C792Eh), symbol: "TF_SetShowFloatingStatus" (+66590h)
Address: 033899EDh (foo_discogs+499EDh), symbol: "foobar2000_get_interface" (+285BDh)
Address: 03355AD4h (foo_discogs+15AD4h)
Address: 77ACA15Eh (ntdll+3A15Eh), symbol: "RtlAllocateActivationContextStack" (+147h)
Address: 77AB1DD5h (ntdll+21DD5h), symbol: "ZwTestAlert" (+15h)
Address: 77AC9EE1h (ntdll+39EE1h), symbol: "RtlDecodePointer" (+10Ch)
Address: 6D086A24h (d3d9+1A6A24h), symbol: "DebugSetLevel" (+FE173h)
Address: 0339BAE0h (foo_discogs+5BAE0h), symbol: "foobar2000_get_interface" (+3A6B0h)
Address: 77B071F5h (ntdll+771F5h), symbol: "WinSqmSetIfMaxDWORD" (+31h)
Address: 77AAFF02h (ntdll+1FF02h), symbol: "NtContinue" (+12h)
Address: 0339BA48h (foo_discogs+5BA48h), symbol: "foobar2000_get_interface" (+3A618h)
Address: 010D26C9h (foobar2000+1126C9h)
Address: 77AA01B4h (ntdll+101B4h), symbol: "RtlUserThreadStart" (+0h)
Address: 0338977Eh (foo_discogs+4977Eh), symbol: "foobar2000_get_interface" (+2834Eh)
Address: 0107D011h (foobar2000+BD011h)
Address: 6C4F2878h (shared+2878h), symbol: "uPrintCrashInfo_OnEvent" (+B9h)
Address: 01111A30h (foobar2000+151A30h)
Address: 010E97CAh (foobar2000+1297CAh)
Address: 0107CFBEh (foobar2000+BCFBEh)
Address: 010E3363h (foobar2000+123363h)
Address: 010D26A3h (foobar2000+1126A3h)
Address: 010D5BF0h (foobar2000+115BF0h)
Address: 010D272Dh (foobar2000+11272Dh)
Address: 76CE338Ah (kernel32+1338Ah), symbol: "BaseThreadInitThunk" (+12h)
Address: 77AC9F72h (ntdll+39F72h), symbol: "RtlInitializeExceptionChain" (+63h)
Address: 6D086F10h (d3d9+1A6F10h), symbol: "DebugSetLevel" (+FE65Fh)
Address: 76D076F7h (kernel32+376F7h), symbol: "UnhandledExceptionFilter" (+0h)
Address: 76D076F7h (kernel32+376F7h), symbol: "UnhandledExceptionFilter" (+0h)
Address: 77B071F5h (ntdll+771F5h), symbol: "WinSqmSetIfMaxDWORD" (+31h)
Address: 77AC9F45h (ntdll+39F45h), symbol: "RtlInitializeExceptionChain" (+36h)
Address: 010D26C9h (foobar2000+1126C9h)
Address: 010D26C9h (foobar2000+1126C9h)

Environment:
App: foobar2000 v1.3.7
UI: Columns UI 0.3.8.8

Components:
Core (2015-01-14 10:28:10 UTC)
    foobar2000 core 1.3.7
foo_albumlist.dll (2015-01-14 10:22:14 UTC)
    Album List 4.5
foo_audioscrobbler.dll (2015-02-09 04:59:01 UTC)
    Audioscrobbler 1.4.7
foo_cdda.dll (2015-01-14 10:20:12 UTC)
    CD Audio Decoder 3.0
foo_converter.dll (2015-01-14 10:20:42 UTC)
    Converter 1.5
foo_discogs.dll (2015-02-28 18:27:58 UTC)
    Discogs Tagger 1.52
foo_dsp_eq.dll (2015-01-14 10:22:30 UTC)
    Equalizer 1.0
foo_dsp_std.dll (2015-01-14 10:21:54 UTC)
    Standard DSP Array 1.3.1
foo_fileops.dll (2015-01-14 10:21:20 UTC)
    File Operations 2.2.1
foo_freedb2.dll (2015-01-14 10:21:36 UTC)
    Online Tagger 0.7
foo_input_std.dll (2015-01-14 10:28:10 UTC)
    Standard Input Array 1.0
foo_playcount.dll (2011-07-13 11:54:47 UTC)
    Playback Statistics 3.0.2
foo_quicksearch.dll (2013-01-12 16:24:15 UTC)
    Quick Search Toolbar 3.4
foo_rgscan.dll (2015-01-14 10:26:12 UTC)
    ReplayGain Scanner 2.2.1
foo_texttools.dll (2014-11-22 19:20:23 UTC)
    Text Tools 1.0.5
foo_ui_columns.dll (2011-02-27 20:23:00 UTC)
    Columns UI 0.3.8.8
foo_ui_std.dll (2015-01-14 10:28:10 UTC)
    Default User Interface 0.9.5
foo_uie_albumlist.dll (2009-06-13 22:49:19 UTC)
    Album list panel 0.3.5
foo_uie_biography.dll (2015-02-09 04:59:37 UTC)
    Biography View 0.4.2.4
foo_uie_elplaylist.dll (2015-02-09 05:00:08 UTC)
    ELPlaylist 0.6.9.1.2(beta)
foo_uie_esplaylist.dll (2011-05-29 09:36:21 UTC)
    EsPlaylist 0.1.3.9
foo_uie_lyrics3.dll (2013-03-08 13:23:52 UTC)
    Lyric Show Panel 3 0.3.5.2
foo_uie_panel_splitter.dll (2010-05-27 11:03:02 UTC)
    Panel Stack Splitter 0.3.8.3(alpha)
foo_uie_vis_channel_spectrum.dll (2015-02-09 04:56:35 UTC)
    Channel Spectrum panel 0.17.2
foo_uie_vis_peakmeter_spectrum.dll (2010-03-07 08:24:47 UTC)
    Peakmeter Spectrum Visualisation 0.2.0.0 beta
foo_uie_wsh_panel_mod.dll (2013-03-14 00:33:28 UTC)
    WSH Panel Mod 1.5.6
foo_unpack.dll (2015-01-14 10:21:00 UTC)
    ZIP/GZIP/RAR Reader 1.7.1
foo_wave_seekbar.dll (2013-04-03 07:22:08 UTC)
    Waveform seekbar 0.2.34

Recent events:
Loading DLL: C:\Users\Sea Monkey\AppData\Roaming\foobar2000\user-components\foo_uie_elplaylist\foo_uie_elplaylist.dll
Components loaded in: 0:00.105400
Pre config read
Configuration read in: 0:00.003443
Starting playlist loading
Watching: V:\Music
Album list panel: initialised in 0.087 s
Filter Panel - Genre: initialised in 0.047 s
Filter Panel - Artist: initialised in 0.045 s
Filter Panel - Album: initialised in 0.053 s
WSH Panel Mod (DarkOne Cover Panel v4.0 build20130322 by tedGo, includes partial code by T.P Wang): Parsing file "C:\Program Files (x86)\foobar2000\themes\DarkOne_v4.0\Others\WSH Scripts\DO 4.0 Global Script.js"
WSH Panel Mod (DarkOne Cover Panel v4.0 build20130322 by tedGo, includes partial code by T.P Wang): initialized in 5 ms
WSH Panel Mod (DarkOne Rating Panel v4.0 build20130322 by super-gau and tedGo): Parsing file "C:\Program Files (x86)\foobar2000\themes\DarkOne_v4.0\Others\WSH Scripts\DO 4.0 Global Script.js"
WSH Panel Mod (DarkOne Rating Panel v4.0 build20130322 by super-gau and tedGo): initialized in 1 ms
WSH Panel Mod (DarkOne Seekbar Panel v4.0 build20130322 by tedGo): Parsing file "C:\Program Files (x86)\foobar2000\themes\DarkOne_v4.0\Others\WSH Scripts\DO 4.0 Global Script.js"
WSH Panel Mod (DarkOne Seekbar Panel v4.0 build20130322 by tedGo): initialized in 0 ms
WSH Panel Mod (DarkOne Button Panel v4.0 build20130322 by tedGo, based on a sample by T.P Wang): Parsing file "C:\Program Files (x86)\foobar2000\themes\DarkOne_v4.0\Others\WSH Scripts\DO 4.0 Global Script.js"
WSH Panel Mod (DarkOne Button Panel v4.0 build20130322 by tedGo, based on a sample by T.P Wang): Parsing file "C:\Program Files (x86)\foobar2000\themes\DarkOne_v4.0\Others\WSH Scripts\DO 4.0 Global Button Script.js"
WSH Panel Mod (DarkOne Button Panel v4.0 build20130322 by tedGo, based on a sample by T.P Wang): initialized in 3 ms
WSH Panel Mod (DarkOne Display Panel v4.0 build20130403 by super-gau and tedGo, includes partial codes by fbuser, Br3tt and T.P Wang): Parsing file "C:\Program Files (x86)\foobar2000\themes\DarkOne_v4.0\Others\WSH Scripts\DO 4.0 Global Script.js"
WSH Panel Mod (DarkOne Display Panel v4.0 build20130403 by super-gau and tedGo, includes partial codes by fbuser, Br3tt and T.P Wang): initialized in 1 ms
WSH Panel Mod (DarkOne Control Panel v4.0 build20130322 by tedGo, based on a sample created by T.P. Wang, using partial code by Br3tt): Parsing file "C:\Program Files (x86)\foobar2000\themes\DarkOne_v4.0\Others\WSH Scripts\DO 4.0 Global Script.js"
WSH Panel Mod (DarkOne Control Panel v4.0 build20130322 by tedGo, based on a sample created by T.P. Wang, using partial code by Br3tt): Parsing file "C:\Program Files (x86)\foobar2000\themes\DarkOne_v4.0\Others\WSH Scripts\DO 4.0 Button Object Script.js"
WSH Panel Mod (DarkOne Control Panel v4.0 build20130322 by tedGo, based on a sample created by T.P. Wang, using partial code by Br3tt): initialized in 4 ms
User Interface initialized in: 0:00.469903
Processing commandline
initquit::init entry
Conf2 already initialized.
initquit::init exit
Startup time : 0:00.793891


Machine specifications:
OS: Windows 6.1.7601 Service Pack 1 x64
CPU: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz, features: MMX SSE SSE2 SSE3 SSE4.1 SSE4.2
CPU threads: 4
Audio: Speakers (2- Realtek High Definition Audio); 2 - S27A750D (2- AMD High Definition Audio Device)
Title: foo_discogs
Post by: zoomorph on 2015-03-04 20:30:56
'Update artist art' now crashes foobar2000. foo_discogs 1.52. foobar2000 1.3.7.

Sorry, I'm not able to reproduce this problem. Does it happen on a specific release or artist?
Title: foo_discogs
Post by: Sea Monkey on 2015-03-05 05:20:09
'Update artist art' now crashes foobar2000. foo_discogs 1.52. foobar2000 1.3.7.

Sorry, I'm not able to reproduce this problem. Does it happen on a specific release or artist?


It was happening every time I tried to update artist art.  I did a full uninstall/reinstall of foobar2000 and that fixed it.
Title: foo_discogs
Post by: zoomorph on 2015-03-05 08:53:47
Hmm very odd, glad to hear that fixed it. Curious to hear if anyone else has that problem.
Title: foo_discogs
Post by: alexinc on 2015-03-07 21:03:30
Hmm very odd, glad to hear that fixed it. Curious to hear if anyone else has that problem.


never occured to me...
Title: foo_discogs
Post by: a3aan on 2015-03-08 11:04:25
Minor one. I would appreciate if the previous value for 'Update ANVs' is remembered in the 'Update tags' dialogue. Cheers.
Title: foo_discogs
Post by: protopoint on 2015-03-10 11:45:47
Hi zoomorph!
First of all thanks a lot for everything you’ve done for the project and that you’re still supporting function that give us discogs images to be downloaded (oAuth etc), this is really great!
I just stepped up from 1.38 foo_discogs version to 1.52 and was surprised how things were changed. Could you advice how to move with these changes:

1.   ‘Replace ANVs’ and ‘Display ANVs’ in Release dialog.
[blockquote]a.   Before update I had settings they were both checked up.
‘Replace ANVs’ is enabled – you can see original artist name in left tracklist panel.
‘Replace ANVs’ is disabled – you can see artist name variation in left tracklist panel.
‘Display ANVs’ works only when ‘Replace ANVs’ is disabled.
‘Display ANVs’ is enabled – ANV is marked with sign (*) in left tracklist panel.
‘Display ANVs’ is disabled – ANV doesn’t marked with sign (*) in left tracklist panel.
b.   After update both check buttons you left ‘Replace ANVs’ and ‘Display ANVs’ are unchecked and disabled (in grey color) and nothing can change its value (even if I change ‘Replace ANVs’ in Configuration dialog) for releases like http://www.discogs.com/release/1034786 (http://www.discogs.com/release/1034786) and they work for releases like http://www.discogs.com/release/5450552 (http://www.discogs.com/release/5450552) which doesn’t have artist names (1 artist release).[/blockquote]
Please move this option back to life)).

2.   ‘Multi-disc release’ frame of buttons in Release dialog.
[blockquote]a.   Before update you can enable ‘Multi-disc release ’ frame for any number discs release to set up manually ‘Disc number’, ‘Total discs’, ‘Total tracks’ for tracks listed in left tracklist panel (comboboxes with list of values).
‘Renumber tracks’ button with could help to tag releases like http://www.discogs.com/release/470209 (http://www.discogs.com/release/470209) which has multiple tracks indication for 1 CD/Vinyl track (like 6a, 6b etc). For this type of releases you can just Remove one track from left panel (6b) and push ‘Renumber tracks’ to recalculate ‘Total tracks’ from 15 to 14 as it goes on CD.
As for multi-disc releases it was enough to use ‘Remove’ to left only single CD/Vinyl tracks and tag discs one by one.
b.   After update ‘Multi-disc release’ frame is completely removed. It’s claimed that ‘Disc number’, ‘Total discs’, ‘Total tracks’ parameters calculated automatically. So I’ve tested one based on http://www.discogs.com/release/1034786 (http://www.discogs.com/release/1034786) which has 2 CDs and multiple tracks indication (but doesn’t have index tracks and headers).
Both CD files kept in separate subfolders.
[blockquote]i.   Without removing 1-6b and 1-10b tagging comes completely mess (not surprise – same thing was in 1.38).
ii.   With removing 1-6b and 1-10b tagging is completed with total tracks are 17 and 16 (should be 15 and 16). Tracks numbers tags in each file are also have been shifted and should be updated manually. Release covers saved only in first CD subfolder.
iii.   As for Vinyl – before update I can use ‘Multi-disc release’ frame for multiple LP set vinyl (releases on 2LPs are comes very often). Now I can do it only manually (it comes always sequentially numbered as it was in 1.38 by default).
iv.   Other example is mistakenly saved release (there should be index tracks used) http://www.discogs.com/release/5450552 (http://www.discogs.com/release/5450552). For this release left tracklist panel counts 5 CDs instead of just 1 (it was just 16 tracks on 1 CD in 1.38 which is also wrong).[/blockquote][/blockquote]
Then removing that frame is still under concern because track number is string field in discogs and could be saved in different way. Capability to set up those parameters manually was good option. Please at least
- return ‘Renumber tracks’ button to recalculate real tracks number after removing tracks in left panel
- and support copying images to all subfolders.


3.   Bug with multiple artist naming ‘abc pres. def feat. xyz' always becomes ‘abc pres. def pres. xyz' already mentioned here (in 1.38 it was ok).
It was promised it would be fixed.
Title: foo_discogs
Post by: zoomorph on 2015-03-11 08:57:28
Thanks for the feedback!

1.   ‘Replace ANVs’ and ‘Display ANVs’ in Release dialog.
[blockquote]a.   Before update I had settings they were both checked up.
‘Replace ANVs’ is enabled – you can see original artist name in left tracklist panel.
‘Replace ANVs’ is disabled – you can see artist name variation in left tracklist panel.
‘Display ANVs’ works only when ‘Replace ANVs’ is disabled.
‘Display ANVs’ is enabled – ANV is marked with sign (*) in left tracklist panel.
‘Display ANVs’ is disabled – ANV doesn’t marked with sign (*) in left tracklist panel.
b.   After update both check buttons you left ‘Replace ANVs’ and ‘Display ANVs’ are unchecked and disabled (in grey color) and nothing can change its value (even if I change ‘Replace ANVs’ in Configuration dialog) for releases like http://www.discogs.com/release/1034786 (http://www.discogs.com/release/1034786) and they work for releases like http://www.discogs.com/release/5450552 (http://www.discogs.com/release/5450552) which doesn’t have artist names (1 artist release).[/blockquote]
Please move this option back to life)).

That was a bug. It will be fixed in 1.5.3.

2.   ‘Multi-disc release’ frame of buttons in Release dialog.
[blockquote]a.   Before update you can enable ‘Multi-disc release ’ frame for any number discs release to set up manually ‘Disc number’, ‘Total discs’, ‘Total tracks’ for tracks listed in left tracklist panel (comboboxes with list of values).
‘Renumber tracks’ button with could help to tag releases like http://www.discogs.com/release/470209 (http://www.discogs.com/release/470209) which has multiple tracks indication for 1 CD/Vinyl track (like 6a, 6b etc). For this type of releases you can just Remove one track from left panel (6b) and push ‘Renumber tracks’ to recalculate ‘Total tracks’ from 15 to 14 as it goes on CD.
As for multi-disc releases it was enough to use ‘Remove’ to left only single CD/Vinyl tracks and tag discs one by one.
b.   After update ‘Multi-disc release’ frame is comhttpletely removed. It’s claimed that ‘Disc number’, ‘Total discs’, ‘Total tracks’ parameters calculated automatically. So I’ve tested one based on http://www.discogs.com/release/1034786 (http://p://www.discogs.com/release/1034786) which has 2 CDs and multiple tracks indication (but doesn’t have index tracks and headers).
Both CD files kept in separate subfolders.
[blockquote]i.   Without removing 1-6b and 1-10b tagging comes completely mess (not surprise – same thing was in 1.38).
ii.   With removing 1-6b and 1-10b tagging is completed with total tracks are 17 and 16 (should be 15 and 16). Tracks numbers tags in each file are also have been shifted and should be updated manually. Release covers saved only in first CD subfolder.
iii.   As for Vinyl – before update I can use ‘Multi-disc release’ frame for multiple LP set vinyl (releases on 2LPs are comes very often). Now I can do it only manually (it comes always sequentially numbered as it was in 1.38 by default).
iv.   Other example is mistakenly saved release (there should be index tracks used) http://www.discogs.com/release/5450552 (http://www.discogs.com/release/5450552). For this release left tracklist panel counts 5 CDs instead of just 1 (it was just 16 tracks on 1 CD in 1.38 which is also wrong).[/blockquote][/blockquote]
Then removing that frame is still under concern because track number is string field in discogs and could be saved in different way. Capability to set up those parameters manually was good option. Please at least
- return ‘Renumber tracks’ button to recalculate real tracks number after removing tracks in left panel
- and support copying images to all subfolders.

Unfortunately, Discogs tracklists aren't well enough defined to always correctly figure out what's going on. There will probably always be some cases that don't work. For the time being, it's easy enough to fix those few cases using foobar2000 to edit the tags. I agree that being able to modify the # of tracks, renumber tracks, etc directly on the release dialog would be nice to add.

I'm attempting to improve support for hidden tracks. TBD.

3.   Bug with multiple artist naming ‘abc pres. def feat. xyz' always becomes ‘abc pres. def pres. xyz' already mentioned here (in 1.38 it was ok).
It was promised it would be fixed.

This will be fixed in 1.5.3.
Title: foo_discogs
Post by: zoomorph on 2015-03-11 09:34:02
Minor one. I would appreciate if the previous value for 'Update ANVs' is remembered in the 'Update tags' dialogue. Cheers.

In 1.5.3, "Replace ANVs" in the Update Tags dialog will be linked with "Replace ANVs" for the Release and Configuration dialogs, so they will all carry the same value.
Title: foo_discogs
Post by: alexinc on 2015-03-11 15:14:35
impatiently awaiting next version as i'm planning to rebuild my complete database with anv disabled!  there were some cases i found that plugin was fetching eg. 4 tracks although release had only 2 and the last "2" tracks were empty lines in left window. if i remember right it happend to vinyl releases. i'll try to find some examples again. all in all its really awesome that you got your hands on further development of foo_discogs. THX

got one: http://www.discogs.com/release/3431794 (http://www.discogs.com/release/3431794)
Title: foo_discogs
Post by: protopoint on 2015-03-11 21:56:55
got one: http://www.discogs.com/release/3431794 (http://www.discogs.com/release/3431794)

You just need to update discogs release - delete empty tracks.
Title: foo_discogs
Post by: alexinc on 2015-03-11 22:09:51
You just need to update discogs release - delete empty tracks.


thx, so i did. first active contribution to discogs!  quite hard to find out whithout going into edit mode of the release...
Title: foo_discogs
Post by: a3aan on 2015-03-12 18:39:20
[..]
In 1.5.3, "Replace ANVs" in the Update Tags dialog will be linked with "Replace ANVs" for the Release and Configuration dialogs, so they will all carry the same value.

Thanks! While you're at it, it would be useful to me if the cache could be cleared from the update dialogue as well. Cheers.
Title: foo_discogs
Post by: zoomorph on 2015-03-15 00:35:13
Here is a preview of the next release:
https://www.sendspace.com/file/ydhhm7 (https://www.sendspace.com/file/ydhhm7)

Apart from bug fixes, it now attempts to handle hidden tracks. All of the releases supplied by protopoint should be parsed correctly (in terms of track numbers -- 5450552 doesn't take the titles/durations from the indexes which maybe it should).

Future work:
* Sum up the track durations of hidden tracks. Perhaps take duration from previous index track.
* Add tags for information about hidden tracks.

Hidden tracks are currently shown in the track list like "Artist - Track  [+1 hidden track]"

Please test it out and let me know if there are any bugs (any releases that are wrongly parsed should be considered bugs).

Thanks!
Title: foo_discogs
Post by: alexinc on 2015-03-15 13:10:19
Here is a preview of the next release:
https://www.sendspace.com/file/ydhhm7 (https://www.sendspace.com/file/ydhhm7)

Apart from bug fixes, it now attempts to handle hidden tracks. All of the releases supplied by protopoint should be parsed correctly (in terms of track numbers -- 5450552 doesn't take the titles/durations from the indexes which maybe it should).

Future work:
* Sum up the track durations of hidden tracks. Perhaps take duration from previous index track.
* Add tags for information about hidden tracks.

Hidden tracks are currently shown in the track list like "Artist - Track  [+1 hidden track]"

Please test it out and let me know if there are any bugs (any releases that are wrongly parsed should be considered bugs).

Thanks!


so no plans for adding "series"-tag?
Title: foo_discogs
Post by: dumbnumbscum on 2015-03-15 21:24:05
Please test it out and let me know if there are any bugs (any releases that are wrongly parsed should be considered bugs).

Please take a look at this release: http://www.discogs.com/Various-Pulp-Fictio...release/3279180 (http://www.discogs.com/Various-Pulp-Fiction-Music-From-The-Motion-Picture-Collectors-Edition/release/3279180)

Discogs lists among others the following tracks:

[blockquote]1-1a    No Artist                Pumpkin And Honey Bunny    0:11
1-1b    Dick Dale & His Del-Tones    Misirlou                2:16
[/blockquote]
Discogs tagger will list this track as:

[blockquote]No Artist - Pumpkin and Honey Bunny [+1hidden] 0:11[/blockquote]

Aside from that it seems to work great!

I noticed a bug with the tracklisting of some releases though, where Discogs tagger adds two empty tracks to the listing. This bug was already present in the previous version. Examples:
http://www.discogs.com/Quest-Vampires/release/6515401 (http://www.discogs.com/Quest-Vampires/release/6515401)
http://www.discogs.com/release/2472199 (http://www.discogs.com/release/2472199)

I also have a few unrelated suggestions for this plugin:



Thank you for the continued development of this great plugin!
Title: foo_discogs
Post by: alexinc on 2015-03-16 00:48:53
I noticed a bug with the tracklisting of some releases though, where Discogs tagger adds two empty tracks to the listing. This bug was already present in the previous version. Examples:
http://www.discogs.com/Quest-Vampires/release/6515401 (http://www.discogs.com/Quest-Vampires/release/6515401)
http://www.discogs.com/release/2472199 (http://www.discogs.com/release/2472199)


same "problem" as previously mentioned. if you edit this releases directly on discogs you'll see that those 2 "hidden" tracks got created for whatever reason. you can delete them @discogs if you want! so no bug of foo_discogs!
Title: foo_discogs
Post by: zoomorph on 2015-03-16 04:45:39
so no plans for adding "series"-tag?

I'm not against it, it's just difficult to add tags as it currently works.

Please take a look at this release: http://www.discogs.com/Various-Pulp-Fictio...release/3279180 (http://www.discogs.com/Various-Pulp-Fiction-Music-From-The-Motion-Picture-Collectors-Edition/release/3279180)

That's intentional. Hidden tracks (part a, b in the same audio file) is what the latest release is designed to handle.

I noticed a bug with the tracklisting of some releases though, where Discogs tagger adds two empty tracks to the listing. This bug was already present in the previous version. Examples:
http://www.discogs.com/Quest-Vampires/release/6515401 (http://www.discogs.com/Quest-Vampires/release/6515401)
http://www.discogs.com/release/2472199 (http://www.discogs.com/release/2472199)

That's more like a bug with Discogs IMO, but I've made foo_discogs ignore empty tracks now since it's been brought up many times. :-)

  • Rename the 'Write tags' context menu item to something more intuitive for new users like 'Select/Find Release & Write Tags'.
  • make the 'Find Release/Release' dialogs resizable. This would make using the scrollbar on the listboxes a lot less neccesary.
  • make the filter box in the 'Find Release' more robust; allow searching for multiple words for example...
  • add reset button in the 'release' dialog to restore everything to the initial dialog state. ( re-add deleted tracks and such )

Thanks for the feedback!
Title: foo_discogs
Post by: protopoint on 2015-03-16 09:07:36
1.
I noticed a bug with the tracklisting of some releases though, where Discogs tagger adds two empty tracks to the listing. This bug was already present in the previous version. Examples:
http://www.discogs.com/Quest-Vampires/release/6515401 (http://www.discogs.com/Quest-Vampires/release/6515401)
http://www.discogs.com/release/2472199 (http://www.discogs.com/release/2472199)


When you create new release at Discogs it always comes with 4 tracks by default which are empty. For 2 tracks Vinyl releases users fill only first two and forget to delete other two.

2.
Bug with ANVs check buttons doesn't fixed well. They are still disabled for http://www.discogs.com/release/3279180 (http://www.discogs.com/release/3279180).

3.
Hidden tracks issue doesn't work always well (depend on track style numbering). http://www.discogs.com/release/1485101 (http://www.discogs.com/release/1485101).

4.
But one more thing that wasn't mentioned before. There are some releases which has hidden track in first pregap of CD. In Discogs they are numbered as track #00 ( http://www.discogs.com/release/3185 (http://www.discogs.com/release/3185), http://www.discogs.com/release/205516) (http://www.discogs.com/release/205516)). In plugin now it started with 1 and Disc total tracks also counted +1. For instance audioCD has 14 tracks but release has 15 tracks in discogs and we have 15 audio files ripped.
Dear Zoomorph, could you update DLL to handle these issue either?

5.
artist naming ‘abc pres. def feat. xyz' always becomes ‘abc pres. def pres. xyz' is fixed.

Zoomorph, tnx for updating!
Title: foo_discogs
Post by: dumbnumbscum on 2015-03-16 14:13:32
same "problem" as previously mentioned. if you edit this releases directly on discogs you'll see that those 2 "hidden" tracks got created for whatever reason. you can delete them @discogs if you want! so no bug of foo_discogs!


That's more like a bug with Discogs IMO, but I've made foo_discogs ignore empty tracks now since it's been brought up many times. :-)


Ah, now that I see where the error comes from I have to agree that Discogs is where this should be fixed. Either way, thank you for the reponse guys.
Title: foo_discogs
Post by: a3aan on 2015-03-16 21:02:41
Here is a preview of the next release:
https://www.sendspace.com/file/ydhhm7 (https://www.sendspace.com/file/ydhhm7)

..


I just tried to tag http://www.discogs.com/release/421431 (http://www.discogs.com/release/421431). The plugin concludes it is a two disk release with the audio tracks on one disc, and the video track on the other disc.
Title: foo_discogs
Post by: zoomorph on 2015-03-17 05:16:01
2.
Bug with ANVs check buttons doesn't fixed well. They are still disabled for http://www.discogs.com/release/3279180 (http://www.discogs.com/release/3279180).

No ANV = disabled. In this case, there's an ANV in a hidden track (which currently doesn't do anything), but I've fixed it to enable the buttons anyway.

3.
Hidden tracks issue doesn't work always well (depend on track style numbering). http://www.discogs.com/release/1485101 (http://www.discogs.com/release/1485101).

I don't think that formatting is valid as per Discogs guidelines, but I know a few releases have used it, so I'll restore support for it.

4.
But one more thing that wasn't mentioned before. There are some releases which has hidden track in first pregap of CD. In Discogs they are numbered as track #00 ( http://www.discogs.com/release/3185 (http://www.discogs.com/release/3185), http://www.discogs.com/release/205516) (http://www.discogs.com/release/205516)). In plugin now it started with 1 and Disc total tracks also counted +1. For instance audioCD has 14 tracks but release has 15 tracks in discogs and we have 15 audio files ripped.

15 total files sounds correct. foo_discogs always starts track numbering at 1, ignoring Discogs' track numbering. Would you prefer it to start at zero in this case?

I just tried to tag http://www.discogs.com/release/421431 (http://www.discogs.com/release/421431). The plugin concludes it is a two disk release with the audio tracks on one disc, and the video track on the other disc.

Thanks... I've fixed that. :-)

Updated version with these fixes:
https://www.sendspace.com/file/l0kvdj (https://www.sendspace.com/file/l0kvdj)
Title: foo_discogs
Post by: party on 2015-03-17 15:47:22
Firstly thanks for an amazing plugin! I've been using this for sometime now and am appreciating all the work you have put into it.
I'm still trying to trawl through my years of digital music collecting and I'm still having trouble getting ontop of it all.

Is there any way I can batch process the music tagging and quickly review the matches? Doing album's one by one is killing me!
Title: foo_discogs
Post by: zoomorph on 2015-03-17 19:09:10
Firstly thanks for an amazing plugin! I've been using this for sometime now and am appreciating all the work you have put into it.
I'm still trying to trawl through my years of digital music collecting and I'm still having trouble getting ontop of it all.

Is there any way I can batch process the music tagging and quickly review the matches? Doing album's one by one is killing me!

There's currently nothing like that in foo_discogs. Anything that has multiple versions on Discogs, which is the majority of releases, will require manual review one way or another if you want to get the right version.
Title: foo_discogs
Post by: marc2003 on 2015-03-17 19:19:20
Is there any way I can batch process the music tagging and quickly review the matches? Doing album's one by one is killing me!


not a foobar component but a separate application can do that.

https://picard.musicbrainz.org/ (https://picard.musicbrainz.org/)

obviously this uses musicbrainz as the source rather than discogs.
Title: foo_discogs
Post by: protopoint on 2015-03-18 08:59:51
Hi Zoomorph!
Bugs report once again))

1. One more issue - firstly I faced with it early but couldn't reproduce. When you update DLL some Configuration settings changed automatically but not to defaults:
- You should oAuth DLL again (i beleive this is how it should work as DLL changed) but when I replace current file with the same copy you should authorize again (DLL stays the same)
- Tagging tab
[blockquote]  - field Album artist tag for compilations field becoming empty,
  - check buttons Replace ANVs, Move 'The', Format disc numbers on 2 digits, Automatically match tracks becoming unchecked (were checked),
  - check buttons Discard suffixes, start track at 1, show Length column becoming checked (were unchecked),[/blockquote]
- Album/Artist art tab
[blockquote]  - Directory and File prefix fields becoming empty,
  - all check buttons becoming empty (were checked),[/blockquote]
2. ANVs check buttons are always enabled. Good to see this! Issue is closed.
3. Hidden track issue works well with releases I checked. Even Yes release http://www.discogs.com/release/5450552 (http://www.discogs.com/release/5450552) looks pretty well. I believe DLL can use total discs number from discogs to match it with track numbering.
4. Total tracks number for CDs with hidden pregaps and data/video files. I believe that it should be exact as CD player shows. As for me I keep releases like http://www.discogs.com/release/3185 (http://www.discogs.com/release/3185) with , http://www.discogs.com/release/205516 (http://www.discogs.com/release/205516) with 14 total tracks both, http://www.discogs.com/release/421431 (http://www.discogs.com/release/421431) with 3 tracks. I imagine there are releases with other hidden pregaps between tracks, users could keep them as separate audio files but they shouldn't have affect on total tracks counting. So yes for releases with hidden 1st pregap I'd like they would be counted starting from 0 and don't count hidden pregaps in total tracks number.

Regards!
Title: foo_discogs
Post by: zoomorph on 2015-03-19 22:46:14
Thanks again for the feedback.

1. One more issue - firstly I faced with it early but couldn't reproduce. When you update DLL some Configuration settings changed automatically but not to defaults:

Fixed!

I've been busy converting the GUI to use WTL, which means that the find_release and release dialogs can now be resized.

Here's a preview if anyone would like to test it:
https://www.sendspace.com/file/65ta04 (https://www.sendspace.com/file/65ta04)

(Note: using this version could mess up your conf settings for future versions.)
Title: foo_discogs
Post by: protopoint on 2015-03-20 09:31:53
Thanks again for the feedback.

1. One more issue - firstly I faced with it early but couldn't reproduce. When you update DLL some Configuration settings changed automatically but not to defaults:

Fixed!

I've been busy converting the GUI to use WTL, which means that the find_release and release dialogs can now be resized.

Here's a preview if anyone would like to test it:
https://www.sendspace.com/file/65ta04 (https://www.sendspace.com/file/65ta04)

(Note: using this version could mess up your conf settings for future versions.)


Thanx! As for resizing - works great except positioning window after resizing - it always in the middle of the screen based on default window size as it was in previous DLL version. I believe it should be centralized based on new window size.

And after all I suppose you can publish new DLL version officially))

Regards!
Title: foo_discogs
Post by: dumbnumbscum on 2015-03-20 21:54:34
I've been busy converting the GUI to use WTL, which means that the find_release and release dialogs can now be resized.


Yes... This works great. Thank you for implementing this!

Maybe it is a good idea to give the "edit tag mappings" dialog the same treatment?
Another small improvement to this dialog would be moving the "default mappings" button to below the divider. This way the listbox would be a little bit bigger and thus more useful, even without the window resizing...

Keep up the good work!
Title: foo_discogs
Post by: Der Internet on 2015-03-20 21:58:19
it would be nice if you could edit the year field like the genre/style - or, even more better an option to use always the year of the master release.

i know that many people use the release date of various editions, but i always use the releaseyear of the initial release and i bet that's not that uncommon. 

keep up the good work
Title: foo_discogs
Post by: zoomorph on 2015-03-21 14:38:52
Thanx! As for resizing - works great except positioning window after resizing - it always in the middle of the screen based on default window size as it was in previous DLL version. I believe it should be centralized based on new window size.

Fixed. New version is now public.

Maybe it is a good idea to give the "edit tag mappings" dialog the same treatment?
Another small improvement to this dialog would be moving the "default mappings" button to below the divider. This way the listbox would be a little bit bigger and thus more useful, even without the window resizing...

I'd like to rework the tag mappings dialog completely. I'd like to replace hard-coded tag mappings with titleformatting-like strings so that users can change and add their own arbitrary tag mappings. This will be difficult so don't hold your breath for it.

i know that many people use the release date of various editions, but i always use the releaseyear of the initial release and i bet that's not that uncommon.

I'm thinking that exposing the release date of the master release (already in the backlog) could work for this. Usually, the master release version is set as the earliest version.
Title: foo_discogs
Post by: Forfit on 2015-03-22 11:01:45
The new version not work in my XP.
When i start search the Discogs window become semi-transparent and unusable.
Title: foo_discogs
Post by: zoomorph on 2015-03-22 16:31:43
The new version not work in my XP.
When i start search the Discogs window become semi-transparent and unusable.

Thanks for the report. Please try version 1.54. I believe this should be fixed.
Title: foo_discogs
Post by: eahm on 2015-03-22 16:39:10
1.54 keeps updating.
Title: foo_discogs
Post by: Forfit on 2015-03-22 17:08:07
fixed ty
Title: foo_discogs
Post by: Forfit on 2015-03-22 20:51:54
Problem:
Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/database/search) (http://api.discogs.com/database/search))
No problem with 1.52.
Title: foo_discogs
Post by: Forfit on 2015-03-22 21:31:55
But I I have authorized again and it now work. ty.
Title: foo_discogs
Post by: dumbnumbscum on 2015-03-22 23:44:31
I'd like to rework the tag mappings dialog completely. I'd like to replace hard-coded tag mappings with titleformatting-like strings so that users can change and add their own arbitrary tag mappings. This will be difficult so don't hold your breath for it.

That sounds very good.

Quote
Usually, the master release version is set as the earliest version.

Isn't it also based on the key release if it is set?


Anyway, I have a few more suggestions/remarks;

'Find release' dialog


'Release' dialog


(https://dl.dropboxusercontent.com/u/2679998/discogs-tagger.png)
Title: foo_discogs
Post by: alexinc on 2015-03-23 00:06:52
Was thinking about alot of those suggestions too, but never dared to ask for them as its already great to have a development that keeps track of the constantly api changes...
Title: foo_discogs
Post by: dumbnumbscum on 2015-03-23 00:32:24
Yeah, at first I was reluctant to post more suggestions for the same reason. I figured I should let zoomorph decide for himself though, if he finds any of these suggestions worth his time.
Title: foo_discogs
Post by: zoomorph on 2015-03-23 05:14:24
Good feedback, thanks.
Title: foo_discogs
Post by: eahm on 2015-03-23 19:21:10
find release dialog screenshot (v0.90) (http://bubbleguuum.free.fr/foo_discogs/foo_discogs3.png)
release dialog screenshot (v0.90) (http://bubbleguuum.free.fr/foo_discogs/foo_discogs.png)
screenshot illustrating use of discogs data (http://bubbleguuum.free.fr/foo_discogs/foo_discogs2.png)

A little OT, is the Explorer component in these screenshots foo_uie_explorer (http://www.hydrogenaud.io/forums/index.php?showtopic=34207)?
Title: foo_discogs
Post by: marc2003 on 2015-03-23 21:11:52
it doesn't look very likely. that panel in the discogs screenshot appears to group by metadata rather than displaying folder contents.
Title: foo_discogs
Post by: lowicz on 2015-03-24 11:04:09
Hey everyone!
I got some very basic problems. With Defalut mappings everything is working fine. But it seems that i can't select or unselect ANY mapping. After (un-)selecting either "Write tag" or "Refresh tag on update" and hitting OK or Apply it's getting changed back every time. The only thing i can change in any way is the value in the "Map to:" field.
I got the latest plugin version (1.54) and latest foobar version (1.3.7). Anyone else have this problem?
Title: foo_discogs
Post by: dumbnumbscum on 2015-03-24 17:36:15
Anyone else have this problem?

Hmm, I just checked and yes I do have the same problem.
Title: foo_discogs
Post by: zoomorph on 2015-03-25 05:46:38
I got some very basic problems. With Defalut mappings everything is working fine. But it seems that i can't select or unselect ANY mapping.

Thanks for reporting. This should now be fixed (v1.55).
Title: foo_discogs
Post by: lowicz on 2015-03-25 08:51:17
I got some very basic problems. With Defalut mappings everything is working fine. But it seems that i can't select or unselect ANY mapping.

Thanks for reporting. This should now be fixed (v1.55).

Works fine! Thank you !!
Title: foo_discogs
Post by: Der Internet on 2015-03-30 18:33:37
Would it be possible to embed (perfect would be overwritte ) the artwork rather than to save it? Would spare me the use of "Batch attach picture" and manually delete the Artwork file. Thanks again for doing a great job
Title: foo_discogs
Post by: fuffi on 2015-04-05 19:33:00
Hello dear developer! (hurray, there IS a developer!!)

I just installed v1.55.

With this (http://www.discogs.com/release/1454642) release, there is something special with the Album Artist, I guess:

After tagging my files, the Album Artist is "Koto; Koto" instead of "Koto" (or Blank field), which I was expecting.

Is this because the Artist is known as "Koto" *and* "Koto (2)" in DiscoGS-Database?

I never had that before, so I wonder what the issue caused.

Obviously (only for me, myself & I) I'd like to have just a *single* Album Artist. And *IF* there is a need for more than one Album Artist, then I propose, it would be ok to compare those Album Artists and if they're equal, they can be downsized to just one.

Please tell me/us, what u think about this.

Cheers,
Title: foo_discogs
Post by: fuffi on 2015-04-05 20:22:24
Would it be possible to embed (perfect would be overwritte ) the artwork rather than to save it? Would spare me the use of "Batch attach picture" and manually delete the Artwork file. Thanks again for doing a great job

+1
That would be insane! but instead of overwriting it directly, I'd like to check the size/quality of the image (I use only front-cover) with doubleclicking on the preview-image which would open my external image viewer so I can check wether the quality/size is good enough for my files or not. (some covers on DS are verys tiny/bad, and I prefer not to include such a "crap" in my files, but thats just me)




[OffTopic]
@Der Internet:
For the sake of saving time, I configured a button, which opens the "Batch attach pictures" dialogue, which gives me the possiblility to "fastly" embed a front cover. (I use it mostly in "a batch", for more albums at once, but its ok for embed an image for just a single album).

Actually, I don't know, what component enriches me to configure buttons (maybe its f2k default?), and how you start with that, but when u right-click on an existing button, u can chose to add a new button with menu-entry "button options" :-) (sorry, u need to search the forum here for help with buttons)

My button looks like this:
 

This method is far away from being userfriendly and easy, but its the best I have figured out until now, because I don't want to use third party tools for embedding images to my files. I know there are a lot, but I only want to use foobar2000 for my music!

Hope, this gives some ideas/impressions.

[/OffTopic]
Title: foo_discogs
Post by: fuffi on 2015-04-05 20:48:08
Hello again,

another thing I experienced and couldn't get to work with fiddeling around in the settings from the component. (I.E. Tagging->Tracklist->Format ... )

this (http://www.discogs.com/Koto-This-Years-Blonde-The-Koto-Mix-Whos-That-Mix/release/810782) release on the website:
(http://www.bilder-hochladen.net/files/big/hcyg-3u-7f1d.png)

gives me this:
(http://www.bilder-hochladen.net/files/big/hcyg-3v-42a0.png)

When u look at my files, they match the name and number of tracks, but I cannot tag them correctly because a track is missing on the left side.

Anybody knows, why and what must be set up in the settings?
I guess, I remember there was a switch for numbering the tracks? but I cannot find it anymore 8-/
Title: foo_discogs
Post by: zoomorph on 2015-04-05 21:11:01
With this (http://www.discogs.com/release/1454642) release, there is something special with the Album Artist, I guess:

After tagging my files, the Album Artist is "Koto; Koto" instead of "Koto" (or Blank field), which I was expecting.

The release has 2 artists by the same name, apparently, so this seems like expected behavior. Only question in my mind is why semicolon was used to join them rather than "/". Are you using "Album Artist multi" tag? That would write 2 album artists with no join keyword which might be shown with a semicolon.

another thing I experienced and couldn't get to work with fiddeling around in the settings from the component. (I.E. Tagging->Tracklist->Format ... )

this (http://www.discogs.com/Koto-This-Years-Blonde-The-Koto-Mix-Whos-That-Mix/release/810782) release on the website:

It looks like track 4b ("No Big Deal") is a hidden track inside track 4. You have an extra file. You must have split track 4 into 2 parts when it was originally only 1 part.

Currently, there aren't any options to get around this, for instance, to treat hidden tracks as full tracks. So all I can suggest is:
A) keep it as 1 track rather than splitting it.
B) manually copy the tags to the extra track and change the track number and title.
Title: foo_discogs
Post by: fuffi on 2015-04-06 04:13:09
Hi and thanks for the suggestions. I'm aware of the manual tagging, but always looking for a way to automate this as much as possible :-)
The release has 2 artists by the same name, apparently, so this seems like expected behavior.

So, when "Discard numeric suffixes" is activated, comparing those two Album Artists by string isn't an option? Just to make a single "Koto" instead of two "Kotos"? ;-)

I can't see a usercase for having two Album Artists with the same identical name. What could be a usercase for this? I'm trying to understand...
When there are different Album Artists, I can see that those should be seperated by a ";" but when their names are identical, I can't imagine why that could be expected.
Please let me know.

Only question in my mind is why semicolon was used to join them rather than "/". Are you using "Album Artist multi" tag? That would write 2 album artists with no join keyword which might be shown with a semicolon.
Well, I've looked around in the foobar preferences, but where can I check what I have set up "Album Artist multi" ?
Only found something under Advanced -> Display -> Properties Dialog -> Multivalue fields: ARTIST;ALBUM ARTIST;PRODUCER;COMPOSER;PERFORMER;GENRE;STYLE
Thats it?

Title: foo_discogs
Post by: zoomorph on 2015-04-06 06:30:09
I can't see a usercase for having two Album Artists with the same identical name. What could be a usercase for this? I'm trying to understand...

I guess the same usercase for having 2 artists with the same name on the release in the Discogs database. It's definite an odd case that I've never seen before. I gather there are actually 2 different artists named "Koto", so it's not useless information to know that both of them collaborated on a release rather than a single one. It's possible this is entered incorrectly on Discogs and both artists should really be merged into a single one. You could ask on the Discogs help forum.

Only question in my mind is why semicolon was used to join them rather than "/". Are you using "Album Artist multi" tag? That would write 2 album artists with no join keyword which might be shown with a semicolon.
Well, I've looked around in the foobar preferences, but where can I check what I have set up "Album Artist multi" ?
Only found something under Advanced -> Display -> Properties Dialog -> Multivalue fields: ARTIST;ALBUM ARTIST;PRODUCER;COMPOSER;PERFORMER;GENRE;STYLE
Thats it?

In "Edit Tag Mappings", there is one called "Album Artist multi" which would write multiple values ("Koto" and "Koto") to its tag. Then there's the "Album Artist" tag which would write a single value ("Koto / Koto") to its tag. Minor point, really. I've verified that this works as expected, so if you're seeing "Koto; Koto" instead of "Koto / Koto" you're either using the multi version of the tag or doing some other processing to it.
Title: foo_discogs
Post by: fuffi on 2015-04-06 22:15:12
What could be a usercase for this? I'm trying to understand...
I guess the same usercase for having 2 artists with the same name on the release in the Discogs database
Ok, from a Database-View, this makes sense. I was looking from a view, where I save my Files in folders per Artists, and so the files will end up in the same folder anyways. (I decide from the Album Artists Tag where to save).
Its not a big deal, I think, because I can always delete/change the (IMHO) "wrong" tag to whatever I like by hand, but was looking for an automated way. (but I guess, it will be an endless story to try to "fix" issues from the DiscoGS-Api within a third party component like this fine one :-)

In "Edit Tag Mappings", there is one called "Album Artist multi" which would write multiple values ("Koto" and "Koto") to its tag. Then there's the "Album Artist" tag which would write a single value ("Koto / Koto") to its tag. Minor point, really. I've verified that this works as expected, so if you're seeing "Koto; Koto" instead of "Koto / Koto" you're either using the multi version of the tag or doing some other processing to it.
darn, I was looking there, but because I assumed, the entries are in alphabetical order, I didnt looked close enough...

hmm.. not sure, if I understand correctly and how you've tested it, but my settings are:
Album Artist is set to ALBUM ARTIST
Album Artist multi is set to DISCOGS_ALBUM_ARTIST_MULTI

I would have guessed, from reading your posts and this settings as a noob, that "Koto / Koto" should be written to Album Artist
and "Koto; Koto" to Album Artist multi. But thats in contrary to what's your result is, so I' a little confused now 8-)
Title: foo_discogs
Post by: zoomorph on 2015-04-06 23:32:24
Ok, from a Database-View, this makes sense. I was looking from a view, where I save my Files in folders per Artists, and so the files will end up in the same folder anyways. (I decide from the Album Artists Tag where to save).
Its not a big deal, I think, because I can always delete/change the (IMHO) "wrong" tag to whatever I like by hand, but was looking for an automated way. (but I guess, it will be an endless story to try to "fix" issues from the DiscoGS-Api within a third party component like this fine one :-)

It's a tricky case when the database is downright wrong or when there are corner cases like this. I don't think you can hope to automate such cases, only the majority of cases that follow normal behavior. :-)

IF foo_discogs had a more complex scripting that allowed you to format the tags individually, then you could filter for artists of the same name, or something like that. I'd like to do this, but have to figure out if and how it's feasible.
Title: foo_discogs
Post by: zoomorph on 2015-04-09 00:51:13
Here's a prototype of what I'm working on for tag mappings:

(http://i.imgur.com/Zo5Ehpy.png)

The principle is to expose data via variables and allow users to define arbitrary tags based on those variables. Most information comes from either the Release (RELEASE_*), Track (TRACK_*), or Artist (ARTIST_*), where the artist is either the track artist if available, or the release artist. Many of the variables can have multiple values (ie. artist names, formats, styles, etc). In this case, multi-value tags will be written unless the $join function is used to join them into a single value.

High level feedback is welcome.
Title: foo_discogs
Post by: fuffi on 2015-04-09 18:44:43
Here's a prototype of what I'm working on for tag mappings:

This seems very interesting and flexible to me, I simply can't imagine all the things that would be possible then!

I guess, this is something I really wished for years but then just cancelled the wish, because I had to face the fact, that I had to write too many scripts and bind them to too many keys (or browsing around in an endless menu of my scripts, which is a pain in f2k since the beginning of time.)

So I *really* appreceate this WIP screenshot, but cannot tell anything productive right now :-)

What I can say right now is this:

I accidently realised, that you fulfilled my wish to make the components window resizable!
and this is, by all means, the most valuable thing which happened to the component the last years! (of course, all the fixes for the discoGS api were important too...)
Now its sooooo easy to read all the informations at once and therefore the working/usabillity is so much easy and fast!
I'll walk imediately over to your project-page and donate some bucks. not only because the summer has started here and developers need some spare time in the sun too!
thanks mate, this is really a good day for me 8-)
EDIT: came back here, because I didn't find a "donate" button or something else. If there is a way I can hand over some bucks, please let me know, or point me to the link.

btw: Is it possible to make the component somehow not "freeze" f2k when updating the tags?
when I use the freedb component and tags are being updated, I can work (click on everything) within f2k,
but when updating the tags with this component, f2k is "not reachable" during the update-progress, so I need to wait for the tags to be updated, which takes ages sometimes, becaus of the discoGS api seems very slow.

To have the ability to keep up working while the component is updating the tags would be an immense boost of speed too.
Title: foo_discogs
Post by: fuffi on 2015-04-11 00:05:59
Hi,
why shows v1.55 this (http://www.discogs.com/release/2150468) release [+1 HIDDEN] Tracks?

IMHO those Tracks (1a, 1b) are just one single Track, and there is no hidden Track intended, like on modern CDs, where a hidden Track is really hidden in the last song, separated with a pause/silence (http://en.wikipedia.org/wiki/Hidden_track))

There are other releases which show a  [+1 HIDDEN]  Track, where the track is actually a medley (http://www.discogs.com/Spinners-Medley-Working-My-Way-Back-To-You-Forgive-Me-Girl/release/199961) or just more songs put in a single song.
Ambient Music releases have this  [+1 HIDDEN] (http://www.discogs.com/release/492769)  (or [+2 HIDDEN] (http://www.discogs.com/release/1038351)) too, where is actually no hidden song in the track, but only a selection of songs (sort of)

Might it be (optional, activated via settings?) possible to merge those titles to a single one?

Like in the above release, the tracks
1a "Tanne"
1b "Prayer"

would be merged and written to (a no multi tag)
1 "Tanne / Prayer"

That way, manual fiddeling/copy&paste by the user are not needed anymore, which would save a lot of time/hassle.
Until now, the component just "swallows" the trackname, which it thinks is a hidden track, and the user (me) has to copy the "hidden" Track by hand in the tagged track.

Or is there maybe a setting I just ignored/overseen?

btw:
With the new tag mappings (WIP) I personally would "build" a Trackname like:
1 "Yamadashi: Tanne / Prayer"
Title: foo_discogs
Post by: zoomorph on 2015-04-12 23:39:26
Hi,
why shows v1.55 this (http://www.discogs.com/release/2150468) release [+1 HIDDEN] Tracks?

IMHO those Tracks (1a, 1b) are just one single Track, and there is no hidden Track intended, like on modern CDs, where a hidden Track is really hidden in the last song, separated with a pause/silence (http://en.wikipedia.org/wiki/Hidden_track))

Hidden track means that there's a second track in the same audio file/index. So it's a simple question to answer, either there IS a hidden track, or there is not and it's wrong in the Discogs database.

Yes, there should be more options regarding using hidden tracks in the future. Currently they are not used at all, only parsed.
Title: foo_discogs
Post by: alexinc on 2015-04-13 17:26:31
Here's a prototype of what I'm working on for tag mappings:

not sure if already mentioned...
Title: foo_discogs
Post by: dumbnumbscum on 2015-04-13 17:41:38
High level feedback is welcome.


That looks excellent!

- add a legend button and/or some kind of auto-completion for built-in fields.
- add a function, i.e. $uniq() to strip duplicate values from multi-value fields. This would be useful because if you'd create an artist field by combining track artists and remix artists, you'd often end up with duplicate artists. Maybe it'd be better if foobar itself provided such a function though, because it would be useful in other plugins as well.
Title: foo_discogs
Post by: dumbnumbscum on 2015-04-13 20:56:24
Also, consider this; instead of creating different variables like ARTIST_NAMES and ARTIST_MULTI, maybe the plugin should decide on how to present these variables based on how they are referenced. For instance, %ARTIST_NAMES% could simply be interpreted as %ARTIST_NAMES% but %<ARTIST_NAMES>% would translate to the multi-value field variation like %DISCOGS_ARTIST_MULTI% currently does.
Title: foo_discogs
Post by: dumbnumbscum on 2015-04-14 12:07:57
Maybe you should also split the enabled column into two columns called 'enabled' and 'update'. It would be easier to understand and edit, as their values would only have to toggle between true/false or yes/no.
Title: foo_discogs
Post by: fuffi on 2015-04-17 19:56:32
I'd like to "contribute" some ideas for the "old" component as well:

1)
allow inline editing inside the tracklist. this would be a nice feature, so the user does not need to wait until the tagging is complete, to correct a tracks tag. (sometimes a track is wrongly spelled by the discoGS database or the user need to fix some issues).


2)
remove a track from the tracklist in the release window with the common keyboard shortcut DEL, not only using the REMOVE button.


3)
allow the move up/down-buttons in the tracklist with more than one selected track. this would help as well speed up the organizing inside the component.


4)
skip the config option "automaticly match by tracks" and add a button right in the release-window (maybe next to the string "matching failed") so the user can just click and sort when needed. (if some information must be reloaded, reload it, when button is pressed)


5)
douple-click on album art in release-window would open the images page from a release, if possible. if not possible because of the api, just open the release page in default browser, where the user can click on the image in his browserwindow then.


6)
keep the sizes/position of the components windows between foobar2000 sessions.  now, the size/position is reset to a default position.


7)
2nd. filtering option:
while I mostly filter for album names, I'd also like to filter for format (CD,LP,...) but its not possible, becaue when filterin for i.e. CD, all album names of an artists show up, which is not convenient while searching a specific album/release.

So a second filter option would be great. it would be possible to filter for album name and *then* just see i.e. remastered released of an album, while entering "RM" in the second filter field.
this is very usefull for artists with a huge list of releases or where a about 50 different releases for an album, imho.


8)
the "remove" button on the right of the release-window never made any sense to me (because it leaves an empty space/line after removing a file from the list. would it be possible to delete the empty line, so the files under the removed file would ride up? this would make more sense (because the tagging would now match all tracks and not tries to tag an empty track)

just my 10 cents...
Title: foo_discogs
Post by: dumbnumbscum on 2015-04-18 12:30:09
1)
allow inline editing inside the tracklist. this would be a nice feature, so the user does not need to wait until the tagging is complete, to correct a tracks tag. (sometimes a track is wrongly spelled by the discoGS database or the user need to fix some issues).


Could be useful, although the best way to deal with this would be to correct the release on Discogs.

7)
2nd. filtering option:
while I mostly filter for album names, I'd also like to filter for format (CD,LP,...) but its not possible, becaue when filterin for i.e. CD, all album names of an artists show up, which is not convenient while searching a specific album/release.

So a second filter option would be great. it would be possible to filter for album name and *then* just see i.e. remastered released of an album, while entering "RM" in the second filter field.
this is very usefull for artists with a huge list of releases or where a about 50 different releases for an album, imho.


One filter box should be enough, if it would allow for more advanced filtering. It now doesn't recognize spaces as a separator for search terms for example, but if it did you could simply type 'Americana LP' and it would list only items matching 'Americana' and 'LP'.
Title: foo_discogs
Post by: fuffi on 2015-04-18 13:42:29
So a second filter option would be great.
One filter box should be enough, if it would allow for more advanced filtering. It now doesn't recognize spaces as a separator for search terms for example, but if it did you could simply type 'Americana LP' and it would list only items matching 'Americana' and 'LP'.

Because this would do the job exactly the same way and would give same results as in my "feature wish", I vote for that too, because it does not confuse the user with 2 filter-boxes! thank you for making my thoughts even better ;-)

1)
allow inline editing inside the tracklist. this would be a nice feature, so the user does not need to wait until the tagging is complete, to correct a tracks tag. (sometimes a track is wrongly spelled by the discoGS database or the user need to fix some issues).
Could be useful, although the best way to deal with this would be to correct the release on Discogs.

Sometimes, I just strip information from a tracktitle (i.,e. chinese chars, when the track has also type-/readable chars), like some tracks from here (http://www.discogs.com/Zuntata-Groove-Coaster-Original-Soundtrack/release/6131302) or here (http://www.discogs.com/Tokyo-Girls-Style-%E9%BC%93%E5%8B%95%E3%81%AE%E7%A7%98%E5%AF%86-%E3%82%B5%E3%83%A8%E3%83%8A%E3%83%A9%E3%81%82%E3%82%8A%E3%81%8C%E3%81%A8%E3%81%86/release/2929713). So its only for my personal use.
Title: foo_discogs
Post by: fuffi on 2015-04-18 14:01:25
I forgot to mention a found bug (but a very minor bug):

when in the find release window with a filtered album, the master-release is shown with a * which is very very useful.

only drawback is, the * is first shown at the end of the list of all releases, but - after clicking on the artist again, the * is placed on top of the releases list.
(when closing the find release window and open it again, the * is placed at top directly, thats why I call this a bug, not a feature)
would be nice to place the * always on top.
Title: foo_discogs
Post by: piedpaper on 2015-04-18 15:32:32
Sorry, if I'm wrong, but this supposed to be fixed by new versions:

Quote
Error: Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/oauth/request_token) (http://api.discogs.com/oauth/request_token))


But I'm still getting this even after total reinstall of foobar with all updated components. System in Win7 Prof SP1 / 64bit.
Any solutions? I'd really want to have one because I love this component very much, it's was a pleasure to have it when sorting my library.
Title: foo_discogs
Post by: dumbnumbscum on 2015-04-18 21:52:20
Quote
Error: Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/oauth/request_token) (http://api.discogs.com/oauth/request_token))


Works fine here. Have you tried reauthorizing discogs tagger? ( tagging -> discogs -> configuration ->  OAuth Identity )
Title: foo_discogs
Post by: piedpaper on 2015-04-18 22:38:22
Works fine here. Have you tried reauthorizing discogs tagger? ( tagging -> discogs -> configuration ->  OAuth Identity )


yeah, this is exact point where I get this error, after pressing "autorize" button
Title: foo_discogs
Post by: itisljar on 2015-04-20 09:15:49
Hi all, quick question:

can I, and how, add two instances of foo_discogs into discogs apps? I have one installation of Foobar at work, and other at home. When I authorise one at work, I deauthorise one at home. And vice versa.
I would like to have them both authorised.
Title: foo_discogs
Post by: bulletproof2k on 2015-04-20 11:32:21
Quote
Error: Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/oauth/request_token) (http://api.discogs.com/oauth/request_token))


The author of this component is going to somehow solve this problem? 
Title: foo_discogs
Post by: piedpaper on 2015-04-20 12:24:41
The author of this component is going to somehow solve this problem? 

this is free plugin, so author doesn't have to check all issues. My only hope is that he's kind enough or someone else resolved same problem as mine.
despite the error, plugin worked with discogs release id. now it stopped doing even this... 
Title: foo_discogs
Post by: fuffi on 2015-04-20 12:39:57
Quote
Error: Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/oauth/request_token) (http://api.discogs.com/oauth/request_token))

The author of this component is going to somehow solve this problem?

I've got nothing to help you atm, but I visit/watched this Forum/Thread quite a while now and I guess because of the small amount of ppl which are complaining about the auth problem right now, its either a special problem with your config, or u found a very special hidden bug.
lets try to ignore a software fault, so we can try to concentrate on what u are doing to reproduce the failure.
I'll remember I had problems before too, but that was only because I clicked the buttons on a wrongly order. Now, the process is so intuitive/normal for me, I can't remember my probelms before.

Please let us all know EXACTLY what u are doing.
best way for this is to create a screencast, where u can make a video and show it to us. here is a good and free tool (https://www.techsmith.com/tutorial-jing-record-video.html) where u can shoot a video of your desktop and send us the link to your uploaded video, so we all can take a look
Title: foo_discogs
Post by: fuffi on 2015-04-20 12:43:32
can I, and how, add two instances of foo_discogs into discogs apps? I have one installation of Foobar at work, and other at home. When I authorise one at work, I deauthorise one at home. And vice versa.
I don't know, but did u try to copy the .DLL to a different name and try to install it by hand?
Title: foo_discogs
Post by: zoomorph on 2015-04-20 23:52:06
Hi all, quick question:

can I, and how, add two instances of foo_discogs into discogs apps? I have one installation of Foobar at work, and other at home. When I authorise one at work, I deauthorise one at home. And vice versa.
I would like to have them both authorised.

Authorize one, then copy the "token" and "secret" directly from the settings into your other installation.
Title: foo_discogs
Post by: zoomorph on 2015-04-21 00:00:48
The author of this component is going to somehow solve this problem? 

this is free plugin, so author doesn't have to check all issues. My only hope is that he's kind enough or someone else resolved same problem as mine.
despite the error, plugin worked with discogs release id. now it stopped doing even this... 

May be the same issue as discussed pages ago by user "arabeh" and "john812". Their solution was to update the time on Windows, I think.

http://www.hydrogenaud.io/forums/index.php...st&p=881276 (http://www.hydrogenaud.io/forums/index.php?s=&showtopic=50523&view=findpost&p=881276)
Title: foo_discogs
Post by: bulletproof2k on 2015-04-21 16:49:09
The author of this component is going to somehow solve this problem? 

this is free plugin, so author doesn't have to check all issues. My only hope is that he's kind enough or someone else resolved same problem as mine.
despite the error, plugin worked with discogs release id. now it stopped doing even this... 

May be the same issue as discussed pages ago by user "arabeh" and "john812". Their solution was to update the time on Windows, I think.

http://www.hydrogenaud.io/forums/index.php...st&p=881276 (http://www.hydrogenaud.io/forums/index.php?s=&showtopic=50523&view=findpost&p=881276)

  Thx)))
Title: foo_discogs
Post by: 2tec on 2015-04-21 17:55:37
can I, and how, add two instances of foo_discogs into discogs apps? I have one installation of Foobar at work, and other at home. When I authorise one at work, I deauthorise one at home. And vice versa.

Maybe use two different Discogs accounts?
Title: foo_discogs
Post by: piedpaper on 2015-04-21 19:44:30
May be the same issue as discussed pages ago by user "arabeh" and "john812". Their solution was to update the time on Windows, I think.


Thanks zoomorph, this helped me. Only thing now is that miscorsoft server set my time incorrectly: +1 hour, which is probably russian government problem, because they changed the law about summer time so many times that nobody know what it's going on with it.  Looks like this had no effect on other plugins, like last.fm scrobbler. Thanks again!
Title: foo_discogs
Post by: itisljar on 2015-04-24 09:40:32
Hi all, quick question:

can I, and how, add two instances of foo_discogs into discogs apps? I have one installation of Foobar at work, and other at home. When I authorise one at work, I deauthorise one at home. And vice versa.
I would like to have them both authorised.

Authorize one, then copy the "token" and "secret" directly from the settings into your other installation.


OK, will try that, thank you very much.
I'm on vacation now, but when I return, I will report if it worked for me.
Title: foo_discogs
Post by: a3aan on 2015-04-24 17:31:11
Just want to report that the 7 inches from 2455278 (http://www.discogs.com/release/2455278) are merged into one entry per 7 inch with a hidden track. Sorry if a similar thing has been pointed out before. Cheers.
Title: foo_discogs
Post by: silkcut on 2015-04-24 20:43:47
First off... thanks to zoomorph for continuing to work on this component.

I just tried tagging David Bowie Heroes and got this error.  Bug?  Too many David Bowie releases for it to handle?  I'm not having any problems tagging other releases.  Thanks.

(http://i.imgur.com/wHA3ksY.jpg)
Title: foo_discogs
Post by: zoomorph on 2015-04-25 08:09:23
Just want to report that the 7 inches from 2455278 (http://www.discogs.com/release/2455278) are merged into one entry per 7 inch with a hidden track. Sorry if a similar thing has been pointed out before. Cheers.

Hmm, that's because of the atypical track numbering (ie. 1A, 1B for a single 7"). This follows the same strategy used for numbering hidden tracks (ie. 1a, 1b). I suppose if the letters are in capitals they could be treated as normal tracks, maybe? Parsing the track positions isn't an exact science....
Title: foo_discogs
Post by: zoomorph on 2015-04-25 08:12:14
First off... thanks to zoomorph for continuing to work on this component.

I just tried tagging David Bowie Heroes and got this error.  Bug?  Too many David Bowie releases for it to handle?  I'm not having any problems tagging other releases.  Thanks.

(http://i.imgur.com/wHA3ksY.jpg)

That's an unexpected error where the response from the server is empty. Does it happen every time?
Title: foo_discogs
Post by: a3aan on 2015-04-25 10:31:31
I suppose if the letters are in capitals they could be treated as normal tracks, maybe?
That should work in this case.
Parsing the track positions isn't an exact science....
I believe horror is more accurate then science to describe track parsing ;-).

Maybe for hidden tracks it would make sense to have the option to not have the tags 'merged' with [+n hidden], for those who have cut the tracks into multiple files.
Title: foo_discogs
Post by: fuffi on 2015-04-25 12:02:46
I just tried tagging David Bowie Heroes and got this error.  Bug?  Too many David Bowie releases for it to handle?  I'm not having any problems tagging other releases.  Thanks.(http://i.imgur.com/wHA3ksY.jpg)
That's an unexpected error where the response from the server is empty. Does it happen every time?

For me, this error comes up for large compilations with a lot of artists or when there seems to be a timeout from the discogs-api.(long waiting time after the fetching of the trackdata started)
but when I start the process again, it mostly works. sometimes it needs 2 or 3 starts...
Title: foo_discogs
Post by: fuffi on 2015-04-26 14:39:52
Parsing the track positions isn't an exact science....
I believe horror is more accurate then science to describe track parsing ;-).Maybe for hidden tracks it would make sense to have the option to not have the tags 'merged' with [+n hidden], for those who have cut the tracks into multiple files.

In one of my posts above, I have listed some different ways, the discoGS users (or staff) wrote down tracknumbers. I counted more then 5 different ways... and unfortunately, the actual version of this component cannot handle them in a userfriendly (= flexible) way. For now, the component absorbs tracks while making them [hidden], which shouldn't be the only option for the user while he tags his files.

I too don't know, whats the "best" way to help the user tagging his files, so we maybe collect some ideas?

Code: [Select]
1.1
1.2
2

1a
1b
2

A
B
C

A1
A2
B


In addition to the audiotracks, I wonder what could be the "best" or "correct" way to handle this (http://www.discogs.com/release/424341) release ?
(I've activated
Title: foo_discogs
Post by: zoomorph on 2015-04-26 18:49:28
That's a bug that I'll address, thanks.
Title: foo_discogs
Post by: zoomorph on 2015-04-27 08:48:44
- add a function, i.e. $uniq() to strip duplicate values from multi-value fields. This would be useful because if you'd create an artist field by combining track artists and remix artists, you'd often end up with duplicate artists. Maybe it'd be better if foobar itself provided such a function though, because it would be useful in other plugins as well.

So far I have the following functions:

$join  (array -> string)
$split  (string -> array)
$unique
$combine  (array += strings/arrays)
$multi_pad
$multi_first
$multi_last
$multi_length
$multi_replace

I may end up re-implementing all of the default functions with a multi_ prefix to work on arrays. Unfortunately, standard titleformatting doesn't have any notion of arrays.

Currently, this is how I define the ARTIST_NAME tag:
$join(%<ARTISTS_NAME>%,$multi_pad(%<ARTISTS_JOIN>%,' '))

I'm thinking of leaving the options (move "The,", strip number suffix, replace "Various") in the configuration, as the formatting string to encompass those operations would get quite long and ugly and might have to be repeated in many tags.

I have the basics working but quite a lot more yet to do before I'll share a demo version.
Title: foo_discogs
Post by: fuffi on 2015-04-27 12:26:50
I have the basics working but quite a lot more yet to do before I'll share a demo version.
Will the demo Version come via a normal components-update? Or will it be an extra download where the user has a second component?
Title: foo_discogs
Post by: alexinc on 2015-04-27 20:06:26
i'm really curious. guess it needs a good documentation then with those new commands!?

i'm quite sure demo won't be released through components update. for testing purpose it wouldnt make any sense to spread it to a wide audience without being tested by hardcore users/taggers...
Title: foo_discogs
Post by: juanjotoronja on 2015-04-30 21:19:42
Is there any way to make this plugin automatically retrieve CD tags when adding to playlist, this is a feature many people discused in this forum but i don't know if it was implemented already. The only metod as far as i know is selecting all tracks and choose "Get tags from freedb" 
Title: foo_discogs
Post by: zoomorph on 2015-05-01 02:28:42
Is there any way to make this plugin automatically retrieve CD tags when adding to playlist, this is a feature many people discused in this forum but i don't know if it was implemented already. The only metod as far as i know is selecting all tracks and choose "Get tags from freedb" 

No. This plugin is for advanced tagging using the Discogs database. There's generally no way to automatically tag using the Discogs database.
Title: foo_discogs
Post by: zoomorph on 2015-05-02 08:19:00
Here is a preview version of the upcoming tag mapping changes: https://www.sendspace.com/file/xvrpzq (https://www.sendspace.com/file/xvrpzq)

This is not finished or thoroughly tested and there's no documentation. This is only for "hardcore taggers" who are interested in an early glimpse and getting their feedback/requests included. 
Title: foo_discogs
Post by: alexinc on 2015-05-02 11:59:21
wow, quite hard to use without knowing what command is used for what reaseon. quick thing i noticed: cannot select multiple files and move them in release window and sorting columns alphabetically in tag mappings window. i get that tag name is the name of the tag written to the file and formatting string may format and define the values fetched from discogs and written into the tags, but which strings are causing what and which values are fetching which fields from discogs db is somehow missing.
Title: foo_discogs
Post by: SpaceAgeHero on 2015-05-02 13:06:36
I really like this approach!

First things I've noticed:
- display / write ANV doesn't seem to work
- cannot disable writing of DISCOGS_RELEASE_ID & DISCOGS_TRACKLIST_INDEX
- %<RELEASE_FORMATS>% doesn't return anything

What I'd love to have in addition now is a $meta-function so that single values can be accessed from multi-value fields.

:-)

Thank you for your efforts.
Title: foo_discogs
Post by: alexinc on 2015-05-02 13:14:35
I really like this approach!

First things I've noticed:
- display / write ANV doesn't seem to work
- cannot disable writing of DISCOGS_RELEASE_ID & DISCOGS_TRACKLIST_INDEX
- %<RELEASE_FORMATS>% doesn't return anything

What I'd love to have in addition now is a $meta-function so that single values can be accessed from multi-value fields.

:-)

Thank you for your efforts.


Release-ID and Tracklist index shouldnt be disabled, as these values define the tagged file unique so you can update tags for example!
Title: foo_discogs
Post by: zoomorph on 2015-05-02 14:31:59
About 75% of the existing data fields are used in the default tags. And the functions $multi_first(A), $multi_last(A), $multi_get(A,n) should cover what you asked for. alexinc is correct about the greyed out fields, (although I may change it so that they can be disabled)... they are required for other features of foo_discogs.

Still have some work to do around Formats, Discs, and Credits in particular, so some of that will be changing. Also need to add more functions. RELEASE_SERIES_NAME/NUMBER/CATALOG/ID is another new field. Will look into the rest next week and create some documentation.
Title: foo_discogs
Post by: fuffi on 2015-05-03 03:16:36
That's a bug that I'll address, thanks.
Hi, and thanks too,
I just encountered this, while tagging just a single file from a release (http://www.discogs.com/release/6020033) with about 64 tracks.
I don't quite understand all the things in the logfile, but it seems to me, that -for this single file to tag- it may not be needed to retrieve all the information from the discogs api. maybe we could just load the information which is needed for a selected track? maybe this would lower the load to the discogs servers and maybe too, this would solve some of the timeouts and failure-messages some users experience since a long time with this component.
(Yes, I have all the tags activated in "edit tag mappings", which will give me artist's name variations and artist's group and so on, but the count of the logged lines is 64 as the tracks on the release, so I guess it can be linked up. I guess...)
(sorry for flooding with a lot of loooong codelines...)
Code: [Select]
[03:56:19] foo_discogs: updated list width
[03:56:19] foo_discogs: updated list width
[03:56:19] foo_discogs: updated list width
[03:56:46] foo_discogs: http://api.discogs.com/artists/245308?oauth_consumer_key=###&oauth_nonce=143061820629&oauth_signature=qGRUWimUVyIhYHIwhrTtEqyzlLU###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618206&oauth_token=###&oauth_version=1.0
[03:56:46] foo_discogs: http://api.discogs.com/artists/1843627?oauth_consumer_key=###&oauth_nonce=14306182064823&oauth_signature=I4gcWG04aNTyDzYaevkGR6En3Bc###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618206&oauth_token=###&oauth_version=1.0
[03:56:47] foo_discogs: http://api.discogs.com/artists/3432366?oauth_consumer_key=###&oauth_nonce=143061820718be&oauth_signature=6MBzRxBvANwjT5ESQ8ox6o9ovSE###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618207&oauth_token=###&oauth_version=1.0
[03:56:48] foo_discogs: http://api.discogs.com/artists/93375?oauth_consumer_key=###&oauth_nonce=14306182086784&oauth_signature=UTfymr4HcaH2LBHCrVgb2VDOwhc###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618208&oauth_token=###&oauth_version=1.0
[03:56:49] foo_discogs: http://api.discogs.com/artists/649930?oauth_consumer_key=###&oauth_nonce=14306182094ae1&oauth_signature=wvkSoBrbS0xBlW9KpJXMDUuElk8###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618209&oauth_token=###&oauth_version=1.0
[03:56:49] foo_discogs: http://api.discogs.com/artists/1643923?oauth_consumer_key=###&oauth_nonce=14306182093d6c&oauth_signature=nNaD1uqvMNptRTYoTgzbeaHkbFI###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618209&oauth_token=###&oauth_version=1.0
[03:56:50] foo_discogs: http://api.discogs.com/artists/588638?oauth_consumer_key=###&oauth_nonce=14306182102cd6&oauth_signature=TQK4RkPYMlSFjtAhlIf95jVCbJ4###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618210&oauth_token=###&oauth_version=1.0
[03:56:51] foo_discogs: http://api.discogs.com/artists/1762861?oauth_consumer_key=###&oauth_nonce=143061821172ae&oauth_signature=b6NQu7LgSkUHu9vh49FXAr4VWqc###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618211&oauth_token=###&oauth_version=1.0
[03:56:51] foo_discogs: http://api.discogs.com/artists/1654642?oauth_consumer_key=###&oauth_nonce=14306182116952&oauth_signature=KO8mfIwSwDkdvd1eJCxkr0udI50###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618211&oauth_token=###&oauth_version=1.0
[03:56:52] foo_discogs: http://api.discogs.com/artists/209672?oauth_consumer_key=###&oauth_nonce=14306182125f90&oauth_signature=aobtH8DeGAn3lVo6fkFKRaum4Hs###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618212&oauth_token=###&oauth_version=1.0
[03:56:53] foo_discogs: http://api.discogs.com/artists/3736660?oauth_consumer_key=###&oauth_nonce=14306182131649&oauth_signature=1mjaqzY9xfiOpAxpkJVUSwCbUIU###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618213&oauth_token=###&oauth_version=1.0
[03:56:53] foo_discogs: http://api.discogs.com/artists/2972965?oauth_consumer_key=###&oauth_nonce=14306182136df1&oauth_signature=dBJiAcnPH9yDK4rzwO9v7l8OoW4###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618213&oauth_token=###&oauth_version=1.0
[03:56:54] foo_discogs: http://api.discogs.com/artists/2744424?oauth_consumer_key=###&oauth_nonce=14306182145af1&oauth_signature=bo0q0FsL2vsB2LOTzUtofgQaynY###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618214&oauth_token=###&oauth_version=1.0
[03:56:54] foo_discogs: http://api.discogs.com/artists/3517476?oauth_consumer_key=###&oauth_nonce=143061821441bb&oauth_signature=L1GXl66pBGtD46EFBpwpjZSkWEQ###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618214&oauth_token=###&oauth_version=1.0
[03:56:55] foo_discogs: http://api.discogs.com/artists/3852122?oauth_consumer_key=###&oauth_nonce=143061821526e9&oauth_signature=seWvmiNsdmywa4joHKvXFMjV32E###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618215&oauth_token=###&oauth_version=1.0
[03:56:55] foo_discogs: http://api.discogs.com/artists/3269821?oauth_consumer_key=###&oauth_nonce=14306182151eb&oauth_signature=NebMOcaMdndYskXBxTNnupw1AcA###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618215&oauth_token=###&oauth_version=1.0
[03:56:56] foo_discogs: http://api.discogs.com/artists/460656?oauth_consumer_key=###&oauth_nonce=1430618216bb3&oauth_signature=tgVa2tXGF8nT5uQe8i7STPGufBw###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618216&oauth_token=###&oauth_version=1.0
[03:56:57] foo_discogs: http://api.discogs.com/artists/631647?oauth_consumer_key=###&oauth_nonce=14306182172ea6&oauth_signature=RrBMXtnMpDEBBiYGbmB4fVNbzLU###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618217&oauth_token=###&oauth_version=1.0
[03:56:57] foo_discogs: http://api.discogs.com/artists/1626709?oauth_consumer_key=###&oauth_nonce=143061821712db&oauth_signature=o6f0ZHbjff89DuIqLiQpAhABLNQ###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618217&oauth_token=###&oauth_version=1.0
[03:56:58] foo_discogs: http://api.discogs.com/artists/2869326?oauth_consumer_key=###&oauth_nonce=1430618218153c&oauth_signature=D3RnlTsijDDhToBj4QVLO9TR3lA###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618218&oauth_token=###&oauth_version=1.0
[03:56:59] foo_discogs: http://api.discogs.com/artists/509758?oauth_consumer_key=###&oauth_nonce=14306182197e87&oauth_signature=hCLz31BBVgumcVwavduWWaPtbp8###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618219&oauth_token=###&oauth_version=1.0
[03:56:59] foo_discogs: http://api.discogs.com/artists/3973429?oauth_consumer_key=###&oauth_nonce=1430618219390c&oauth_signature=lzbQPD0HpwlrS9LpY9H5adixGlc###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618219&oauth_token=###&oauth_version=1.0
[03:57:00] foo_discogs: http://api.discogs.com/artists/489089?oauth_consumer_key=###&oauth_nonce=1430618220f3e&oauth_signature=mOa9E9tJNGdPdThx4INFhc6ixlk###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618220&oauth_token=###&oauth_version=1.0
[03:57:00] foo_discogs: http://api.discogs.com/artists/20151?oauth_consumer_key=###&oauth_nonce=143061822099&oauth_signature=B8xYI0pcTFdxRwatKusq0QiSr9g###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618220&oauth_token=###&oauth_version=1.0
[03:57:01] foo_discogs: http://api.discogs.com/artists/1936000?oauth_consumer_key=###&oauth_nonce=1430618221124&oauth_signature=dWpJ7SSAsBIjwRFBAsabMsFflmg###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618221&oauth_token=###&oauth_version=1.0
[03:57:02] foo_discogs: http://api.discogs.com/artists/7118?oauth_consumer_key=###&oauth_nonce=1430618222305e&oauth_signature=gwnThEKa0qhIkPe68vgp4muSr6k###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618222&oauth_token=###&oauth_version=1.0
[03:57:03] foo_discogs: http://api.discogs.com/artists/120307?oauth_consumer_key=###&oauth_nonce=1430618223440d&oauth_signature=VkNqmFF5xeFzTWpxYaWFmY6vUUQ###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618223&oauth_token=###&oauth_version=1.0
[03:57:03] foo_discogs: http://api.discogs.com/artists/2226036?oauth_consumer_key=###&oauth_nonce=1430618223491c&oauth_signature=F9Xo1fK5X62CtZ38QQKrYCxvg08###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618223&oauth_token=###&oauth_version=1.0
[03:57:04] foo_discogs: http://api.discogs.com/artists/3970718?oauth_consumer_key=###&oauth_nonce=14306182244d06&oauth_signature=416IgFEaULNgcJCfB0p92kG5bDQ###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618224&oauth_token=###&oauth_version=1.0
[03:57:05] foo_discogs: http://api.discogs.com/artists/3287938?oauth_consumer_key=###&oauth_nonce=14306182254db7&oauth_signature=u8tdQaQFNsvg2LrOkKjT8x6BI8Q###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618225&oauth_token=###&oauth_version=1.0
[03:57:05] foo_discogs: http://api.discogs.com/artists/3614742?oauth_consumer_key=###&oauth_nonce=14306182251547&oauth_signature=D1cJUR38BH3phVEBHd05swJjEmQ###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618225&oauth_token=###&oauth_version=1.0
[03:57:06] foo_discogs: http://api.discogs.com/artists/9549?oauth_consumer_key=###&oauth_nonce=143061822654de&oauth_signature=tMmi3A4rHFFWeg6o1riTBccWNcg###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618226&oauth_token=###&oauth_version=1.0
[03:57:07] foo_discogs: http://api.discogs.com/artists/9686?oauth_consumer_key=###&oauth_nonce=143061822739b3&oauth_signature=TxB2KgKBMY8WLw4Db8NFJkYoHdU###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618227&oauth_token=###&oauth_version=1.0
[03:57:07] foo_discogs: http://api.discogs.com/artists/2575282?oauth_consumer_key=###&oauth_nonce=14306182272d12&oauth_signature=Rz9u6vOFU14g1pXFtrZhk6x85lQ###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618227&oauth_token=###&oauth_version=1.0
[03:57:08] foo_discogs: http://api.discogs.com/artists/231329?oauth_consumer_key=###&oauth_nonce=143061822874d&oauth_signature=U36SgJLi57qcFZkVqg04PLQiKjs###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618228&oauth_token=###&oauth_version=1.0
[03:57:08] foo_discogs: http://api.discogs.com/artists/415393?oauth_consumer_key=###&oauth_nonce=14306182284dc8&oauth_signature=VdkLSgP4izN8rFGoejqRsFgIhXU###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618228&oauth_token=###&oauth_version=1.0
[03:57:09] foo_discogs: http://api.discogs.com/artists/196795?oauth_consumer_key=###&oauth_nonce=14306182296443&oauth_signature=BEL9UgFev8BFQw9gLfNxrThN1jg###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618229&oauth_token=###&oauth_version=1.0
[03:57:10] foo_discogs: http://api.discogs.com/artists/8095?oauth_consumer_key=###&oauth_nonce=143061823066bb&oauth_signature=PYQy8kAfBSNDFFU57lsUPPFteCQ###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618230&oauth_token=###&oauth_version=1.0
[03:57:11] foo_discogs: http://api.discogs.com/artists/3769399?oauth_consumer_key=###&oauth_nonce=1430618231428b&oauth_signature=wBuYoEoUuXFpvvM4InSLjM8hxpY###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618231&oauth_token=###&oauth_version=1.0
[03:57:11] foo_discogs: http://api.discogs.com/artists/17636?oauth_consumer_key=###&oauth_nonce=143061823126a6&oauth_signature=CtfvE3QG5NmgnrV2akktBLo26Zo###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618231&oauth_token=###&oauth_version=1.0
[03:57:12] foo_discogs: http://api.discogs.com/artists/30428?oauth_consumer_key=###&oauth_nonce=1430618232701f&oauth_signature=9UBSRNuCVT6XeBDGcl5C8B5uxW8###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618232&oauth_token=###&oauth_version=1.0
[03:57:12] foo_discogs: http://api.discogs.com/artists/214781?oauth_consumer_key=###&oauth_nonce=14306182325d03&oauth_signature=ZgmNFRcP1NaMqIS4RbqFVzTqKgA###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618232&oauth_token=###&oauth_version=1.0
[03:57:13] foo_discogs: http://api.discogs.com/artists/1274242?oauth_consumer_key=###&oauth_nonce=14306182337a5a&oauth_signature=p3RKrF8rLcFFL0G8lfp0Q7DYCfI###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618233&oauth_token=###&oauth_version=1.0
[03:57:14] foo_discogs: http://api.discogs.com/artists/2098448?oauth_consumer_key=###&oauth_nonce=1430618234767d&oauth_signature=bFVPxsL0o5OpBpNBEqM4jhiJLmA###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618234&oauth_token=###&oauth_version=1.0
[03:57:14] foo_discogs: http://api.discogs.com/artists/663814?oauth_consumer_key=###&oauth_nonce=14306182344509&oauth_signature=5zlQgFtIShSe3xbDnvI83duQKs0###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618234&oauth_token=###&oauth_version=1.0
[03:57:15] foo_discogs: http://api.discogs.com/artists/3044665?oauth_consumer_key=###&oauth_nonce=14306182351238&oauth_signature=kwdsQB5uyEJbvDLDOFnHimq7jzY###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618235&oauth_token=###&oauth_version=1.0
[03:57:15] foo_discogs: Networking Error: Invalid data, full line expected -- Waiting a little... (try 1)
[03:57:17] foo_discogs: Networking Error: Invalid data, full line expected -- Waiting a little... (try 2)
[03:57:18] foo_discogs: http://api.discogs.com/artists/301176?oauth_consumer_key=###&oauth_nonce=14306182383b25&oauth_signature=IV2Zu5FsRb4obHJmtUL5NhSExTA###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618238&oauth_token=###&oauth_version=1.0
[03:57:19] foo_discogs: Networking Error: Invalid data, full line expected -- Waiting a little... (try 1)
[03:57:20] foo_discogs: Networking Error: Invalid data, full line expected -- Waiting a little... (try 2)
[03:57:22] foo_discogs: http://api.discogs.com/artists/3134325?oauth_consumer_key=###&oauth_nonce=14306182421e1f&oauth_signature=S4xDxpiOtWFoTOgEdF7q5EZDcv4###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618242&oauth_token=###&oauth_version=1.0
[03:57:22] foo_discogs: Networking Error: Invalid data, full line expected -- Waiting a little... (try 1)
[03:57:24] foo_discogs: Networking Error: Invalid data, full line expected -- Waiting a little... (try 2)
[03:57:25] foo_discogs: http://api.discogs.com/artists/10898?oauth_consumer_key=###&oauth_nonce=14306182456e5d&oauth_signature=HPz17hlc27sTIfaQeh3WlTTMFBk###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618245&oauth_token=###&oauth_version=1.0
[03:57:26] foo_discogs: Networking Error: Invalid data, full line expected -- Waiting a little... (try 1)
[03:57:27] foo_discogs: Networking Error: Invalid data, full line expected -- Waiting a little... (try 2)
[03:57:28] foo_discogs: Networking Error: Invalid data, full line expected -- Waiting a little... (try 3)
[03:57:30] foo_discogs: Networking Error: Invalid data, full line expected -- Waiting a little... (try 4)
[03:57:32] foo_discogs: http://api.discogs.com/artists/3644074?oauth_consumer_key=###&oauth_nonce=14306182521ad4&oauth_signature=gIZBl3Zvy46FqH2M1Nq6yLbks0s###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618252&oauth_token=###&oauth_version=1.0
[03:57:33] foo_discogs: http://api.discogs.com/artists/801?oauth_consumer_key=###&oauth_nonce=143061825363cb&oauth_signature=mSOWsRhp3pCGhuzXBROlD5FLM8g###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618253&oauth_token=###&oauth_version=1.0
[03:57:34] foo_discogs: http://api.discogs.com/artists/3389591?oauth_consumer_key=###&oauth_nonce=14306182546bfc&oauth_signature=yqmz94WTuVigGFR4v6EBtOyDNKA###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618254&oauth_token=###&oauth_version=1.0
[03:57:34] foo_discogs: http://api.discogs.com/artists/2545015?oauth_consumer_key=###&oauth_nonce=14306182547f96&oauth_signature=Hdr3agw9u3yLlUFda2rvOZdKFvo###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618254&oauth_token=###&oauth_version=1.0
[03:57:35] foo_discogs: Networking Error: Invalid data, full line expected -- Waiting a little... (try 1)
[03:57:36] foo_discogs: http://api.discogs.com/artists/3973428?oauth_consumer_key=###&oauth_nonce=14306182567ff5&oauth_signature=JhUt57Wsnd10kjFlptfbiHsXz80###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618256&oauth_token=###&oauth_version=1.0
[03:57:37] foo_discogs: http://api.discogs.com/artists/728005?oauth_consumer_key=###&oauth_nonce=14306182574e45&oauth_signature=SjFx6Xp3ma4348rUZhPZkWpBW5o###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618257&oauth_token=###&oauth_version=1.0
[03:57:37] foo_discogs: http://api.discogs.com/artists/4026350?oauth_consumer_key=###&oauth_nonce=1430618257323b&oauth_signature=AY4rqRTCdYFrn7v9DelmyvXmp7o###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618257&oauth_token=###&oauth_version=1.0
[03:57:38] foo_discogs: Networking Error: Invalid data, full line expected -- Waiting a little... (try 1)
[03:57:39] foo_discogs: Networking Error: Invalid data, full line expected -- Waiting a little... (try 2)
[03:57:41] foo_discogs: http://api.discogs.com/artists/1933659?oauth_consumer_key=###&oauth_nonce=14306182612213&oauth_signature=0GcDxgF0siYyWVi4HvF14pAkg54###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618261&oauth_token=###&oauth_version=1.0
[03:57:41] foo_discogs: http://api.discogs.com/artists/1549490?oauth_consumer_key=###&oauth_nonce=1430618261260d&oauth_signature=9WE0RIXNKtLu3ZhgLSAw3NWKPhc###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618261&oauth_token=###&oauth_version=1.0
[03:57:42] foo_discogs: http://api.discogs.com/artists/225685?oauth_consumer_key=###&oauth_nonce=14306182626b89&oauth_signature=y35TX66zjBLWBbcaHwI1AlTTuS0###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618262&oauth_token=###&oauth_version=1.0
[03:57:42] foo_discogs: Networking Error: Invalid data, full line expected -- Waiting a little... (try 1)
[03:57:44] foo_discogs: http://api.discogs.com/artists/3973425?oauth_consumer_key=###&oauth_nonce=143061826430a&oauth_signature=Md7bA7uZ3bwk3s7Pf0w96gvAkBA###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618264&oauth_token=###&oauth_version=1.0
[03:57:44] foo_discogs: Networking Error: Invalid data, full line expected -- Waiting a little... (try 1)
[03:57:46] foo_discogs: http://api.discogs.com/artists/3973426?oauth_consumer_key=###&oauth_nonce=1430618266301c&oauth_signature=B76lvjAwEty3P0mkfw7tnYVbFXo###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618266&oauth_token=###&oauth_version=1.0
[03:57:46] foo_discogs: Networking Error: Invalid data, full line expected -- Waiting a little... (try 1)
[03:57:48] foo_discogs: http://api.discogs.com/artists/1423175?oauth_consumer_key=###&oauth_nonce=1430618268bdb&oauth_signature=5dG0eOAnFzFUXZskE8vysU0BLIw###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618268&oauth_token=###&oauth_version=1.0
[03:57:48] foo_discogs: http://api.discogs.com/artists/106878?oauth_consumer_key=###&oauth_nonce=143061826856ae&oauth_signature=cir59bZV1B7BgIskZQFKxWFD38k###&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1430618268&oauth_token=###&oauth_version=1.0
[03:57:49] foo_discogs: http://api-img.discogs.com/lSwdvrL1kmryWRRvC53CkJ8NQkA=/fit-in/600x537/filters:strip_icc():format(jpeg):mode_rgb():quality(96)/discogs-images/R-6020033-1408993328-7682.jpeg.jpg
Title: foo_discogs
Post by: zoomorph on 2015-05-03 19:25:17
maybe we could just load the information which is needed for a selected track?

The upcoming version will work this way. The current version retrieves the information for all tracks even if you're only writing one of them.
Title: foo_discogs
Post by: shru on 2015-05-07 03:01:43
Remember when foo_discogs worked for like 4 years straight without being touched? It sure is cool that Discogs has decided that they would start adjusting their API every other day.
Title: foo_discogs
Post by: zoomorph on 2015-05-13 10:59:34
Hi all,

Here's the latest prototype of foo_discogs 2.0:  https://www.sendspace.com/file/8p1xnu (https://www.sendspace.com/file/8p1xnu)

Quite a few changes. Be sure to reset tags to "defaults" tags if upgrading from previous prototype version. Not well tested, so don't shoot me if it crashes.

Here is some basic documentation I've written up:
http://pastebin.com/P7nicTtq (http://pastebin.com/P7nicTtq)

The default tags provide good examples of using many of the fields and functions.

There is still much to be done. Formatting strings aren't well validated, functions aren't all implemented, etc.
Title: foo_discogs
Post by: 2tec on 2015-05-13 13:31:35
Here's the latest prototype of foo_discogs 2.0

Thank you, great job! :-)
Title: foo_discogs
Post by: alexinc on 2015-05-13 15:41:01
yeah, even before trying first a big THX for your hard work!
Title: foo_discogs
Post by: fuffi on 2015-05-13 20:34:46
Hi, is it possible to add a slider at the middle of the components window (between tracklist and files) ?
for some releases, its very hard to read the important information, w/o resizing the components window over 2 screens/monitors.

3033x1015 pixel image:
http://www.bilder-hochladen.net/i/hcyg-3x-7695.png (http://www.bilder-hochladen.net/i/hcyg-3x-7695.png)
Title: foo_discogs
Post by: zoomorph on 2015-05-13 21:26:23
Hi, is it possible to add a slider at the middle of the components window (between tracklist and files) ?
for some releases, its very hard to read the important information, w/o resizing the components window over 2 screens/monitors.

3033x1015 pixel image:
http://www.bilder-hochladen.net/i/hcyg-3x-7695.png (http://www.bilder-hochladen.net/i/hcyg-3x-7695.png)

Anything is possible in theory, but I don't know how to do that.
Title: foo_discogs
Post by: zoomorph on 2015-05-13 21:50:25
Updated the link above with some bug fixes, improved formatting string validation/error messages, and some additional functions ($flatten, $extend, $append).
(https://www.sendspace.com/file/8p1xnu)
Title: foo_discogs
Post by: SmirG3l on 2015-05-14 19:04:06
Quote
Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/database/search) (http://api.discogs.com/database/search))


damn it I hate this bug..I also forgot how I once fixed it myself.. 1.55v

Quote
(skipped) Error: Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/oauth/request_token) (http://api.discogs.com/oauth/request_token))

[ESCAPE to close]
Title: foo_discogs
Post by: zoomorph on 2015-05-16 21:16:38
Quote
Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/database/search) (http://api.discogs.com/database/search))


damn it I hate this bug..I also forgot how I once fixed it myself.. 1.55v

Quote
(skipped) Error: Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/oauth/request_token) (http://api.discogs.com/oauth/request_token))

[ESCAPE to close]


Maybe the issue is that the time is set wrongly on your computer? For some reason that seems to make OAuth setup fail....
Title: foo_discogs
Post by: paregistrase on 2015-05-17 02:32:57
First thanks for continuing the development of this plugin zoomorph 
I found some bugs, I hope you serve to improve it.
DISCOGS_ARTIST_ID, DISCOGS_ARTIST_NAME_VARIATIONS fields aren't written to the file.
Others fields like DISCOGS_ARTISTS_URLS, DISCOGS_ARTISTS_ALL_NAME_VARIATIONS, DISCOGS_ARTISTS_MEMBERS always leaves the fist song tag empty.
Two release i try "Amparanoia - La Vida Te Da" release_id 2485489 and "Amparanoia - Rebeldia Con Alegria" release_id 1240804 always crash foobar2000 when trying to write tags with this crash report
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 016C441Eh
Access violation, operation: read, address: 00000030h

Call path:
entry=>app_mainloop

Code bytes (016C441Eh):
016C43DEh:  73 01 89 46 04 89 46 08 FF 75 08 89 45 FC 89 46
016C43EEh:  0C E8 66 01 00 00 8B C6 E8 7B 1D 04 00 C2 04 00
016C43FEh:  55 8B EC 8B 45 08 56 8B F1 83 78 0C 00 76 05 8B
016C440Eh:  48 04 EB 05 B9 37 03 73 01 8B 06 6A FF 51 8B CE
016C441Eh:  FF 50 08 8B C6 5E 5D C2 04 00 6A 04 B8 6C D9 71
016C442Eh:  01 E8 74 1D 04 00 8B F1 89 75 F0 33 C9 C7 06 0C
016C443Eh:  03 73 01 89 4E 04 89 4E 08 8B 45 08 89 4D FC 89
016C444Eh:  4E 0C 39 48 0C 76 05 8B 40 04 EB 05 B8 37 03 73

Stack (0033F29Ch):
0033F27Ch:  016C6A88 00000002 188375E8 00000001
0033F28Ch:  0033F2A8 016C6AB5 00000002 1A292F40
0033F29Ch:  01730337 FFFFFFFF 00000010 0033F2D4
0033F2ACh:  016EE660 0EE16018 2015A77B 0ED75FA8
0033F2BCh:  01730337 0ED7602C 00000010 0033F38C
0033F2CCh:  0172342E 00000000 0033F398 016E7258
0033F2DCh:  0173030C 001F4510 00000026 00000015
0033F2ECh:  2015A75F 0ED75FA8 00000000 00000111
0033F2FCh:  7E97F000 1885F658 294F00AB 0033F338
0033F30Ch:  7E8EEA7A 001D1308 294F00AB 0173030C
0033F31Ch:  1A317F98 00000026 00000015 7EA74B7D
0033F32Ch:  7EAC1000 0ED75FA8 50010001 0033F358
0033F33Ch:  7EA7502F 00000004 00000001 0033F370
0033F34Ch:  7EAC1000 7EA71229 7EAC1000 0033F628
0033F35Ch:  7EA2C1DE 294F00AB 00010087 0033F3B8
0033F36Ch:  7E9FF348 0002007C 7BC3C6B6 0033F3A0
0033F37Ch:  7EAC1000 00000063 001000E6 0033F3B8
0033F38Ch:  0033F3CC 01721B7D 00000000 0033F3D8
0033F39Ch:  016E611E 7EB008A0 7E97F000 7E8E630D
0033F3ACh:  016E5F7A 2015A677 0ED75FA8 00000000

Registers:
EAX: 00000028, EBX: 0ED76000, ECX: 0EE16028, EDX: 00000000
ESI: 0EE16028, EDI: 188375E8, EBP: 0033F2A8, ESP: 0033F29C

Crash location:
Module: foo_discogs
Offset: 441Eh

Loaded modules:
explorerframe                    loaded at F6CB0000h - F6CC4000h
winepulse                        loaded at F71A0000h - F71C1000h
mmdevapi                         loaded at F71D0000h - F71E4000h
foo_unpack                       loaded at 03ED0000h - 03F1C000h
foo_dsp_dolbyhp                  loaded at 03D90000h - 03DB4000h
foo_jesus                        loaded at 03C60000h - 03C7A000h
foo_uie_lyrics3                  loaded at 03990000h - 03A45000h
foo_playcount                    loaded at 03840000h - 0387E000h
foo_uie_typefind                 loaded at 03700000h - 03730000h
foo_albumlist                    loaded at 03590000h - 035EB000h
foo_uie_albumlist                loaded at 03430000h - 03473000h
foo_dsp_fakegapless              loaded at 03400000h - 03421000h
foo_dsp_std                      loaded at 032B0000h - 032E7000h
foo_freedb2                      loaded at 03150000h - 031A0000h
foo_audioscrobbler               loaded at 03000000h - 03033000h
foo_cdda                         loaded at 02A50000h - 02AA1000h
foo_ui_std                       loaded at 02830000h - 0293E000h
foo_random_pools                 loaded at 027F0000h - 02828000h
foo_rgscan                       loaded at 02680000h - 026DF000h
foo_uie_console                  loaded at 02550000h - 0256A000h
foo_textdisplay                  loaded at 023F0000h - 0243B000h
foo_dsp_eq                       loaded at 022A0000h - 022D7000h
foo_simplaylist                  loaded at 02040000h - 0218C000h
usp10                            loaded at F71F0000h - F7227000h
mpr                              loaded at F7230000h - F724E000h
wininet                          loaded at F7260000h - F72C6000h
urlmon                           loaded at F72D0000h - F7362000h
foo_ui_columns                   loaded at 01EA0000h - 02033000h
foo_musicbrainz                  loaded at 01D30000h - 01D8B000h
msimg32                          loaded at F7370000h - F7376000h
foo_simplaylist_manager          loaded at 01B40000h - 01C18000h
foo_run                          loaded at 019D0000h - 01A2F000h
avutil-fb2k-54                   loaded at 6B540000h - 6B5CA000h
avcodec-fb2k-56                  loaded at 669C0000h - 66B9E000h
foo_input_std                    loaded at 01760000h - 018BC000h
foo_discogs                      loaded at 016C0000h - 01756000h
foo_infospect                    loaded at 01350000h - 01387000h
foo_stop_after_queue             loaded at 003D0000h - 003E8000h
foo_fileops                      loaded at 010E0000h - 0112E000h
foo_runcmd                       loaded at 00F90000h - 00FC3000h
foo_dsp_effect                   loaded at 00F40000h - 00F85000h
foo_converter                    loaded at 00340000h - 003C8000h
winex11                          loaded at 7DA10000h - 7DA95000h
imm32                            loaded at 7DAA0000h - 7DAB9000h
oleaut32                         loaded at 7DCC0000h - 7DDE2000h
jsproxy                          loaded at 7E110000h - 7E124000h
winhttp                          loaded at 7DDF0000h - 7DE1F000h
gdiplus                          loaded at 4EC50000h - 4EDFB000h
ws2_32                           loaded at 7DE30000h - 7DE58000h
iphlpapi                         loaded at 7DE60000h - 7DE7F000h
netapi32                         loaded at 7DE90000h - 7DEAE000h
secur32                          loaded at 7DEB0000h - 7DEDF000h
crypt32                          loaded at 7DEF0000h - 7DFAB000h
winspool                         loaded at 7DFB0000h - 7DFE9000h
comdlg32                         loaded at 7DFF0000h - 7E0CF000h
psapi                            loaded at 7E0D0000h - 7E0E3000h
dbghelp                          loaded at 7E130000h - 7E189000h
imagehlp                         loaded at 7E190000h - 7E1A3000h
shared                           loaded at 10000000h - 1002D000h
msvcrt                           loaded at 7E1C0000h - 7E25A000h
zlib1                            loaded at 62E80000h - 62E9F000h
shell32                          loaded at 7E290000h - 7E4BF000h
uxtheme                          loaded at 7E4D0000h - 7E4F6000h
shlwapi                          loaded at 7E500000h - 7E56D000h
dsound                           loaded at 7E570000h - 7E5B8000h
msacm32                          loaded at 7E5C0000h - 7E5E3000h
rpcrt4                           loaded at 7E5F0000h - 7E661000h
ole32                            loaded at 7E680000h - 7E793000h
winmm                            loaded at 7E7A0000h - 7E849000h
version                          loaded at 7EFF0000h - 7F000000h
advapi32                         loaded at 7E860000h - 7E8BF000h
gdi32                            loaded at 7E8D0000h - 7E9DA000h
user32                           loaded at 7E9F0000h - 7EB29000h
comctl32                         loaded at 7EB30000h - 7EC26000h
kernel32                         loaded at 7B810000h - 7BA5F000h
ntdll                            loaded at 7BC10000h - 7BCE6000h
foobar2000                       loaded at 00400000h - 005CD000h

Stack dump analysis:
Address: 01730337h (foo_discogs+70337h)
Address: 016EE660h (foo_discogs+2E660h)
Address: 01730337h (foo_discogs+70337h)
Address: 0172342Eh (foo_discogs+6342Eh)
Address: 016E7258h (foo_discogs+27258h)
Address: 0173030Ch (foo_discogs+7030Ch)
Address: 7E97F000h (gdi32+AF000h)
Address: 7E8EEA7Ah (gdi32+1EA7Ah)
Address: 0173030Ch (foo_discogs+7030Ch)
Address: 7EA74B7Dh (user32+84B7Dh)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA7502Fh (user32+8502Fh), symbol: "GetWindowLongW" (+1Fh)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA71229h (user32+81229h)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA2C1DEh (user32+3C1DEh), symbol: "HOOKPROC_wrapper" (+A7Eh)
Address: 7E9FF348h (user32+F348h)
Address: 7BC3C6B6h (ntdll+2C6B6h), symbol: "RtlEnterCriticalSection" (+16h)
Address: 7EAC1000h (user32+D1000h)
Address: 01721B7Dh (foo_discogs+61B7Dh)
Address: 016E611Eh (foo_discogs+2611Eh)
Address: 7EB008A0h (user32+1108A0h)
Address: 7E97F000h (gdi32+AF000h)
Address: 7E8E630Dh (gdi32+1630Dh)
Address: 016E5F7Ah (foo_discogs+25F7Ah)
Address: F75D12FFh (libpthread.so.0+C2FFh), symbol: "pthread_sigmask" (+3Fh)
Address: 017219F2h (foo_discogs+619F2h)
Address: 016C658Eh (foo_discogs+658Eh)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA820BAh (user32+920BAh), symbol: "WINPROC_wrapper" (+1Ah)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA8284Bh (user32+9284Bh)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA82819h (user32+92819h)
Address: 7E9FD579h (user32+D579h)
Address: 7EA711DEh (user32+811DEh)
Address: 7EB008A0h (user32+1108A0h)
Address: 7EA8280Bh (user32+9280Bh)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA850C3h (user32+950C3h)
Address: 7EA7120Eh (user32+8120Eh)
Address: 7E9FD801h (user32+D801h)
Address: 7EB008A0h (user32+1108A0h)
Address: 7EA8507Bh (user32+9507Bh)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA16904h (user32+26904h), symbol: "DefDlgProcW" (+74h)
Address: 7EA168EBh (user32+268EBh), symbol: "DefDlgProcW" (+5Bh)
Address: 7EA168A6h (user32+268A6h), symbol: "DefDlgProcW" (+16h)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA820BAh (user32+920BAh), symbol: "WINPROC_wrapper" (+1Ah)
Address: 7EA820BAh (user32+920BAh), symbol: "WINPROC_wrapper" (+1Ah)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA8272Ah (user32+9272Ah)
Address: 7EA16890h (user32+26890h), symbol: "DefDlgProcW" (+0h)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA826FCh (user32+926FCh)
Address: 7EA7262Dh (user32+8262Dh)
Address: 7BC3C7A6h (ntdll+2C7A6h), symbol: "RtlLeaveCriticalSection" (+16h)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA826EBh (user32+926EBh)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA84C69h (user32+94C69h)
Address: 7EA16890h (user32+26890h), symbol: "DefDlgProcW" (+0h)
Address: 7EA84C25h (user32+94C25h)
Address: 7EB00A58h (user32+110A58h)
Address: 7EA711C9h (user32+811C9h)
Address: 7BC3C6B6h (ntdll+2C6B6h), symbol: "RtlEnterCriticalSection" (+16h)
Address: 7EA84B8Bh (user32+94B8Bh)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA47FC0h (user32+57FC0h)
Address: 7BC3C7A6h (ntdll+2C7A6h), symbol: "RtlLeaveCriticalSection" (+16h)
Address: 7EA711C9h (user32+811C9h)
Address: 7EA7262Dh (user32+8262Dh)
Address: 7EA748A6h (user32+848A6h), symbol: "GetWindowThreadProcessId" (+16h)
Address: 7EA628FBh (user32+728FBh)
Address: 7EA4F37Ch (user32+5F37Ch)
Address: 7EA75143h (user32+85143h), symbol: "GetParent" (+63h)
Address: 7EA2E062h (user32+3E062h), symbol: "mouse_event" (+62h)
Address: 7EA2E062h (user32+3E062h), symbol: "mouse_event" (+62h)
Address: 7EA4F1BFh (user32+5F1BFh)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA4F60Dh (user32+5F60Dh), symbol: "SendMessageW" (+5Dh)
Address: 7EA2E015h (user32+3E015h), symbol: "mouse_event" (+15h)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA750F6h (user32+850F6h), symbol: "GetParent" (+16h)
Address: 7E9FEFCCh (user32+EFCCh)
Address: 7E9FEFCCh (user32+EFCCh)
Address: 7BCC9000h (ntdll+B9000h)
Address: 7BC50522h (ntdll+40522h), symbol: "RtlAllocateHeap" (+7B2h)
Address: 7BC50522h (ntdll+40522h), symbol: "RtlAllocateHeap" (+7B2h)
Address: 7BC4FDB7h (ntdll+3FDB7h), symbol: "RtlAllocateHeap" (+47h)
Address: 7BCC9000h (ntdll+B9000h)
Address: 7E9FEDDBh (user32+EDDBh)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA82140h (user32+92140h), symbol: "WINPROC_wrapper" (+A0h)
Address: 7EA82124h (user32+92124h), symbol: "WINPROC_wrapper" (+84h)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA820BAh (user32+920BAh), symbol: "WINPROC_wrapper" (+1Ah)
Address: 7EA820BAh (user32+920BAh), symbol: "WINPROC_wrapper" (+1Ah)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA8272Ah (user32+9272Ah)
Address: 7EA82110h (user32+92110h), symbol: "WINPROC_wrapper" (+70h)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA826FCh (user32+926FCh)
Address: 7EA7262Dh (user32+8262Dh)
Address: 7BC3C7A6h (ntdll+2C7A6h), symbol: "RtlLeaveCriticalSection" (+16h)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA826EBh (user32+926EBh)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA84C69h (user32+94C69h)
Address: 7EA82110h (user32+92110h), symbol: "WINPROC_wrapper" (+70h)
Address: 7EA84C25h (user32+94C25h)
Address: 7EB008A0h (user32+1108A0h)
Address: 7EAC1000h (user32+D1000h)
Address: 7EB00A40h (user32+110A40h)
Address: 7EA711C9h (user32+811C9h)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA84B8Bh (user32+94B8Bh)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA4A237h (user32+5A237h), symbol: "DispatchMessageW" (+97h)
Address: 7EA7120Eh (user32+8120Eh)
Address: 7EB008A0h (user32+1108A0h)
Address: 7EA711F9h (user32+811F9h)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA74C87h (user32+84C87h)
Address: 7BC4E60Dh (ntdll+3E60Dh)
Address: 7BC4F506h (ntdll+3F506h), symbol: "RtlFreeHeap" (+D6h)
Address: 7BC4F446h (ntdll+3F446h), symbol: "RtlFreeHeap" (+16h)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA75551h (user32+85551h), symbol: "IsChild" (+B1h)
Address: 7E9FD7ADh (user32+D7ADh)
Address: 7EA74B7Dh (user32+84B7Dh)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA51446h (user32+61446h), symbol: "TranslateMessage" (+16h)
Address: 7EA4A1BBh (user32+5A1BBh), symbol: "DispatchMessageW" (+1Bh)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA1CC35h (user32+2CC35h), symbol: "IsDialogMessageW" (+145h)
Address: 7EA1CC35h (user32+2CC35h), symbol: "IsDialogMessageW" (+145h)
Address: 7E9FD801h (user32+D801h)
Address: 7EB00920h (user32+110920h)
Address: 7EA711C9h (user32+811C9h)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA829BBh (user32+929BBh)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA480EBh (user32+580EBh)
Address: 7E9FD801h (user32+D801h)
Address: 7EA48054h (user32+58054h)
Address: 7EB008A0h (user32+1108A0h)
Address: 7EA711F9h (user32+811F9h)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA74C87h (user32+84C87h)
Address: F74D331Ch (libc.so.6+CF31Ch), symbol: "sched_yield" (+Ch)
Address: 7BC847AFh (ntdll+747AFh), symbol: "NtYieldExecution" (+1Fh)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA82A30h (user32+92A30h)
Address: 7E9FD98Dh (user32+D98Dh)
Address: 7EA82A30h (user32+92A30h)
Address: 7EB00920h (user32+110920h)
Address: 7EA829BBh (user32+929BBh)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA4B06Dh (user32+5B06Dh)
Address: 7EAC1000h (user32+D1000h)
Address: 7EA4E9D2h (user32+5E9D2h), symbol: "GetMessageW" (+142h)
Address: 7EA1CB06h (user32+2CB06h), symbol: "IsDialogMessageW" (+16h)
Address: 7EA1CB06h (user32+2CB06h), symbol: "IsDialogMessageW" (+16h)
Address: 0045F693h (foobar2000+5F693h)
Address: 0045F693h (foobar2000+5F693h)
Address: 7EA76F20h (user32+86F20h), symbol: "DestroyWindow" (+0h)
Address: 00524659h (foobar2000+124659h)
Address: 0045F70Ah (foobar2000+5F70Ah)
Address: 0046018Ah (foobar2000+6018Ah)
Address: 005134B8h (foobar2000+1134B8h)
Address: 7B8B6000h (kernel32+A6000h)
Address: 00548AB0h (foobar2000+148AB0h)
Address: 0054C738h (foobar2000+14C738h)
Address: 0054C738h (foobar2000+14C738h)
Address: 00557204h (foobar2000+157204h)
Address: 7BC3C7A6h (ntdll+2C7A6h), symbol: "RtlLeaveCriticalSection" (+16h)
Address: 7BCC9000h (ntdll+B9000h)
Address: 0051899Bh (foobar2000+11899Bh)
Address: 00515D10h (foobar2000+115D10h)
Address: 0051899Bh (foobar2000+11899Bh)
Address: 00516505h (foobar2000+116505h)
Address: 005134B8h (foobar2000+1134B8h)
Address: 10002846h (shared+2846h)
Address: 0054CA88h (foobar2000+14CA88h)
Address: 005134B8h (foobar2000+1134B8h)
Address: 00531D5Dh (foobar2000+131D5Dh)
Address: 004603AEh (foobar2000+603AEh)
Address: 00400000h (foobar2000+0h)
Address: 005134B8h (foobar2000+1134B8h)
Address: 7B8B6000h (kernel32+A6000h)
Address: 005156B6h (foobar2000+1156B6h)
Address: 005116A6h (foobar2000+1116A6h)
Address: 005116A0h (foobar2000+1116A0h)
Address: 0053BB54h (foobar2000+13BB54h)
Address: 0053BB58h (foobar2000+13BB58h)
Address: 7B8B6000h (kernel32+A6000h)
Address: 005389C3h (foobar2000+1389C3h)
Address: 00515D10h (foobar2000+115D10h)
Address: 005116A0h (foobar2000+1116A0h)
Address: 00532057h (foobar2000+132057h)
Address: 00513465h (foobar2000+113465h)
Address: 00400000h (foobar2000+0h)
Address: 005134B8h (foobar2000+1134B8h)
Address: 7B8B6000h (kernel32+A6000h)
Address: 00515D10h (foobar2000+115D10h)
Address: 7B85CEDCh (kernel32+4CEDCh), symbol: "call_process_entry" (+Ch)
Address: 7B8B6000h (kernel32+A6000h)
Address: 005134B8h (foobar2000+1134B8h)
Address: 7B85DF2Ah (kernel32+4DF2Ah)
Address: 005134B8h (foobar2000+1134B8h)
Address: 7B85DEE6h (kernel32+4DEE6h)
Address: 7BCC9000h (ntdll+B9000h)
Address: 7BC7CEE0h (ntdll+6CEE0h), symbol: "call_thread_func_wrapper" (+Ch)
Address: 7BC7CEE0h (ntdll+6CEE0h), symbol: "call_thread_func_wrapper" (+Ch)
Address: 7BCC9000h (ntdll+B9000h)
Address: 7BC7FE1Fh (ntdll+6FE1Fh)
Address: 7B85DED0h (kernel32+4DED0h), symbol: "ExitProcess" (+FF0h)
Address: 7B85DED0h (kernel32+4DED0h), symbol: "ExitProcess" (+FF0h)
Address: 7BC95E80h (ntdll+85E80h)
Address: 7BC95E80h (ntdll+85E80h)
Address: 7B83AFA0h (kernel32+2AFA0h), symbol: "UnhandledExceptionFilter" (+0h)
Address: 7BCC9000h (ntdll+B9000h)
Address: 7BC7FD59h (ntdll+6FD59h), symbol: "call_thread_func" (+9h)
Address: F77AB000h (libwine.so.1+1A3000h)
Address: 7BC7CEBEh (ntdll+6CEBEh), symbol: "RtlRaiseException" (+22h)
Address: 7B85DED0h (kernel32+4DED0h), symbol: "ExitProcess" (+FF0h)
Address: F77AB000h (libwine.so.1+1A3000h)
Address: 7BC53577h (ntdll+43577h), symbol: "call_dll_entry_point" (+3D7h)
Address: 7B85DED0h (kernel32+4DED0h), symbol: "ExitProcess" (+FF0h)
Address: F761133Dh (libwine.so.1+933Dh), symbol: "wine_call_on_stack" (+1Dh)
Address: 7B85DED0h (kernel32+4DED0h), symbol: "ExitProcess" (+FF0h)
Address: 10000000h (shared+0h)

Environment:
App: foobar2000 v1.3.8
UI: Default User Interface 0.9.5

Components:
Core (2015-03-26 07:45:52 UTC)
    foobar2000 core 1.3.8
foo_albumlist.dll (2015-03-26 07:42:40 UTC)
    Album List 4.5
foo_audioscrobbler.dll (2014-08-27 05:56:30 UTC)
    Audioscrobbler 1.4.7
foo_cdda.dll (2015-03-26 07:42:18 UTC)
    CD Audio Decoder 3.0
foo_converter.dll (2015-03-26 07:42:24 UTC)
    Converter 1.5
foo_discogs.dll (2015-05-13 20:59:29 UTC)
    Discogs Tagger 1.52
foo_dsp_dolbyhp.dll (2014-08-31 14:34:22 UTC)
    Dolby Headphone Wrapper 1.4.1
foo_dsp_effect.dll (2015-04-09 13:44:37 UTC)
    Effect DSP 0.16
foo_dsp_eq.dll (2015-03-07 10:19:44 UTC)
    Equalizer 1.0
foo_dsp_fakegapless.dll (2015-02-15 03:06:34 UTC)
    Fake Gapless DSP 0.3
foo_dsp_std.dll (2015-03-26 07:42:26 UTC)
    Standard DSP Array 1.3.1
foo_fileops.dll (2015-03-07 10:19:10 UTC)
    File Operations 2.2.1
foo_freedb2.dll (2015-03-07 10:19:36 UTC)
    Online Tagger 0.7
foo_infospect.dll (2014-08-27 05:56:42 UTC)
    Infospect 1.0.3
foo_input_std.dll (2015-03-26 07:45:52 UTC)
    Standard Input Array 1.0
foo_jesus.dll (2014-08-31 14:34:50 UTC)
    Autosave & Autobackup 10
foo_musicbrainz.dll (2014-07-30 13:53:04 UTC)
    MusicBrainz Tagger 0.3
foo_playcount.dll (2014-08-27 05:56:52 UTC)
    Playback Statistics 3.0.2
foo_random_pools.dll (2015-04-09 13:44:37 UTC)
    Random Pools 0.1.5
foo_rgscan.dll (2015-03-26 07:43:12 UTC)
    ReplayGain Scanner 2.2.1
foo_run.dll (2014-09-07 23:08:33 UTC)
    Run services 0.3.7
foo_runcmd.dll (2014-09-07 23:08:39 UTC)
    Run Command 1.1
foo_simplaylist.dll (2014-08-31 13:34:44 UTC)
    SimPlaylist 1.0
foo_simplaylist_manager.dll (2014-08-31 13:34:34 UTC)
    SimPlaylist Manager 1.0
foo_stop_after_queue.dll (2014-08-31 14:35:24 UTC)
    Stop After Queue 0.1
foo_textdisplay.dll (2014-08-27 05:57:06 UTC)
    Text Display UI Element 1.1 beta 1
foo_ui_columns.dll (2015-04-25 11:07:44 UTC)
    Columns UI 0.3.8.9
foo_ui_std.dll (2015-03-26 07:45:52 UTC)
    Default User Interface 0.9.5
foo_uie_albumlist.dll (2009-06-13 22:49:19 UTC)
    Album list panel 0.3.5
foo_uie_console.dll (2009-08-29 16:06:24 UTC)
    Console panel 0.4
foo_uie_lyrics3.dll (2015-02-22 04:12:21 UTC)
    Lyric Show Panel 3 0.4.5
foo_uie_typefind.dll (2007-10-22 21:30:44 UTC)
    Typefind 0.2 beta 2
foo_unpack.dll (2015-03-26 07:42:42 UTC)
    ZIP/GZIP/RAR Reader 1.7.1

Recent events:
Loading DLL: C:\users\xxxx\Application Data\foobar2000\user-components\foo_jesus\foo_jesus.dll
Loading DLL: C:\users\xxxx\Application Data\foobar2000\user-components\foo_dsp_dolbyhp\foo_dsp_dolbyhp.dll
Loading DLL: C:\Program Files\foobar2000\components\foo_unpack.dll
Components loaded in: 0:00.145177
Pre config read
Configuration read in: 0:00.023867
Starting playlist loading
Watching: C:\users\xxxx\Mi música
RegisterShellHookWindow failure
Album List refreshed in: 0:01.683754
User Interface initialized in: 0:02.369086
Processing commandline
initquit::init entry
Conf3 already initialized.
initquit::init exit
Startup time : 0:06.478670
Properties dialog refresh: 0:00.003547
Properties dialog display refresh: 0:00.025342
Autobackup: Backed up 35 items to autobackup.20150517-035536.zip
Properties dialog refresh: 0:00.007766
Properties dialog display refresh: 0:00.017723
Properties dialog refresh: 0:00.001915
Properties dialog display refresh: 0:00.013885
Properties dialog refresh: 0:00.002939
Properties dialog display refresh: 0:00.017823
foo_discogs: http://api.discogs.com/database/search?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=14318278903e78&oauth_signature=v0Q4g1nIgcNYqJ72zdd2G8kwiY0%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1431827890&oauth_token=xUpfpdlCrULArpknjAjrSXTiCjRxHyYfjCxKUZKX&oauth_version=1.0&per_page=100&q=Amparanoia&type=artist
foo_discogs: http://api.discogs.com/artists/588026?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=143182789029&oauth_signature=d4blITKfowtPxEygfTwH%2FfeEHn4%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1431827890&oauth_token=xUpfpdlCrULArpknjAjrSXTiCjRxHyYfjCxKUZKX&oauth_version=1.0
foo_discogs: http://api.discogs.com/artists/588026/releases?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=14318278914823&oauth_signature=cWPK9UWAZAjrv6jEZWilGC5O58c%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1431827891&oauth_token=xUpfpdlCrULArpknjAjrSXTiCjRxHyYfjCxKUZKX&oauth_version=1.0&per_page=100
foo_discogs: http://api.discogs.com/releases/1240804?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=143182799829&oauth_signature=fXzAqM42T7gyx3ris3sY7m7QbBY%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1431827998&oauth_token=xUpfpdlCrULArpknjAjrSXTiCjRxHyYfjCxKUZKX&oauth_version=1.0
foo_discogs: http://api-img.discogs.com/oh2mv62kB25dIAxquD4Tt-ra9JY=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb()/discogs-images/R-1240804-1203090787.jpeg.jpg


Machine specifications:
OS: wine-1.7.43, on: Linux / 3.19.0-17-generic
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4000+, features: 3DNow!ex MMX SSE SSE2 SSE3
CPU threads: 2
Audio: Pulseaudio

And last one I can see, In tag mapping DISCOGS_RELEASE_CREDITS field "$zip($join(%<<RELEASE_CREDITS_ROLES>>%),' - ',$join(%<<RELEASEK_CREDITS_ARTISTS_NAME>>%))" must be RELEASE_CREDITS_ARTISTS_NAME, right?
Title: foo_discogs
Post by: SmirG3l on 2015-05-17 15:16:48
Quote
Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/database/search) (http://api.discogs.com/database/search))


damn it I hate this bug..I also forgot how I once fixed it myself.. 1.55v

Quote
(skipped) Error: Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/oauth/request_token) (http://api.discogs.com/oauth/request_token))

[ESCAPE to close]


Maybe the issue is that the time is set wrongly on your computer? For some reason that seems to make OAuth setup fail....


Oh yes, I noticed the time was off then I setup it correctly and it worked. Wonder why it causes that if the time is "wrong"
Title: foo_discogs
Post by: roscar on 2015-05-22 11:52:09
I suppose if the letters are in capitals they could be treated as normal tracks, maybe?
That should work in this case.
Parsing the track positions isn't an exact science....
I believe horror is more accurate then science to describe track parsing ;-).

Maybe for hidden tracks it would make sense to have the option to not have the tags 'merged' with [+n hidden], for those who have cut the tracks into multiple files.


Seconded. That would be VERY nice
Title: foo_discogs
Post by: zoomorph on 2015-05-22 22:34:54
First thanks for continuing the development of this plugin zoomorph 
I found some bugs, I hope you serve to improve it.
DISCOGS_ARTIST_ID, DISCOGS_ARTIST_NAME_VARIATIONS fields aren't written to the file.
Others fields like DISCOGS_ARTISTS_URLS, DISCOGS_ARTISTS_ALL_NAME_VARIATIONS, DISCOGS_ARTISTS_MEMBERS always leaves the fist song tag empty.
Two release i try "Amparanoia - La Vida Te Da" release_id 2485489 and "Amparanoia - Rebeldia Con Alegria" release_id 1240804 always crash foobar2000 when trying to write tags with this crash report
And last one I can see, In tag mapping DISCOGS_RELEASE_CREDITS field "$zip($join(%<<RELEASE_CREDITS_ROLES>>%),' - ',$join(%<<RELEASEK_CREDITS_ARTISTS_NAME>>%))" must be RELEASE_CREDITS_ARTISTS_NAME, right?

Thank you for the reports! All of those bugs should be fixed in this build:

https://www.sendspace.com/file/9dm2vv (https://www.sendspace.com/file/9dm2vv)
Title: foo_discogs
Post by: paregistrase on 2015-05-23 02:25:25
Quote
Thank you for the reports! All of those bugs should be fixed in this build:

It does!!! 
Great job, fast and efficient 
Title: foo_discogs
Post by: zoomorph on 2015-05-23 04:29:09
Another build with some additional fixes:
https://www.sendspace.com/file/uju462 (https://www.sendspace.com/file/uju462)

Here are some examples using the tag formatting strings....

Start track numbers from 1 for each disc (default):
$num(%TRACK_DISC_TRACK_NUMBER%,2)

Do not start track numbers from 1 for each disc:
$num(%TRACK_NUMBER%,2)

Use master release date instead of release date, if applicable:
$if2(%MASTER_RELEASE_YEAR%,%RELEASE_YEAR%)

Replace "Various" with "VA" in album artist:
$join($multi_replace(%<RELEASE_ARTISTS_NAME>%,'Various','VA'),$multi_pad(%<RELEASE_ARTISTS_JOIN>%,' '))

Calculate percentage of track names from master release that exactly match track names from release:
$puts(a,$multi_count($put(x,$contains(%<RELEASE_TRACKS_TITLE>%,%<MASTER_RELEASE_TRACKS_TITLE>%))))$puts(b,$multi_length($get(x)))$div($add($mul($get(a),100),$div($get(b),2)),$get(b))'%'

If there's anything that can't be done that you want (requires different functions or fields to be defined), feel free to request it.
Title: foo_discogs
Post by: paregistrase on 2015-05-23 07:31:37
It would be cool if I could extract info for LYRICIST (Lyrics By), COMPOSER (Written-By, Written By, Composed By, Music By), CONDUCTOR (Conductor, Arranged By), PRODUCER (Producer, Co-producer) and PERFORMER (Performer, Recorded By) from DISCOGS_TRACK_CREDITS to independent tags.Like DISCOGS_CREDIT_FEATURING and DISCOGS_CREDIT_VOCALS tags.
Also include Mixed By in REMIXED_BY
Title: foo_discogs
Post by: zoomorph on 2015-05-23 09:22:07
It would be cool if I could extract info for LYRICIST (Lyrics By), COMPOSER (Written-By, Written By, Composed By, Music By), CONDUCTOR (Conductor, Arranged By), PRODUCER (Producer, Co-producer) and PERFORMER (Performer, Recorded By) from DISCOGS_TRACK_CREDITS to independent tags.Like DISCOGS_CREDIT_FEATURING and DISCOGS_CREDIT_VOCALS tags.
Also include Mixed By in REMIXED_BY

Thanks for the challenge.

Update: https://www.sendspace.com/file/i0fzos (https://www.sendspace.com/file/i0fzos)
- Fixed how those credit tags were defined. (Note: they still don't use the "join" field for multiple names, which they probably should.)
- Support more than 2 arguments to $multi_or().
- Allow deeper array params in $multi_if() and $multi_or().

Here is how the DISCOGS_CREDIT_FEATURING tag is (now) defined:
$multi_if($multi_strcmp(%<<TRACK_CREDITS_ROLES>>%,'Featuring'),$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%),)

You can replace "Featuring" with any other role that you want, to make a similar tag of your own.

If you want to check multiple roles, you can use $multi_or() like so:
$multi_if($multi_or($multi_strcmp(%<<TRACK_CREDITS_ROLES>>%,'Written-By'),$multi_strcmp(%<<TRACK_CREDITS_ROLES>>%,'Written By'),$multi_strcmp(%<<TRACK_CREDITS_ROLES>>%,'Composed By'),$multi_strcmp(%<<TRACK_CREDITS_ROLES>>%,'Music By')),$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%),)

Or you can use this, which is shorter:
$multi_if($multi_any($contains(%<<TRACK_CREDITS_ROLES>>%,$append('Written-By','Written By','Composed By','Music By'))),$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%),)
Title: foo_discogs
Post by: paregistrase on 2015-05-23 13:31:36
It would be cool if I could extract info for LYRICIST (Lyrics By), COMPOSER (Written-By, Written By, Composed By, Music By), CONDUCTOR (Conductor, Arranged By), PRODUCER (Producer, Co-producer) and PERFORMER (Performer, Recorded By) from DISCOGS_TRACK_CREDITS to independent tags.Like DISCOGS_CREDIT_FEATURING and DISCOGS_CREDIT_VOCALS tags.
Also include Mixed By in REMIXED_BY

Thanks for the challenge.

Update: https://www.sendspace.com/file/i0fzos (https://www.sendspace.com/file/i0fzos)
- Fixed how those credit tags were defined. (Note: they still don't use the "join" field for multiple names, which they probably should.)
- Support more than 2 arguments to $multi_or().
- Allow deeper array params in $multi_if() and $multi_or().

Here is how the DISCOGS_CREDIT_FEATURING tag is (now) defined:
$multi_if($multi_strcmp(%<<TRACK_CREDITS_ROLES>>%,'Featuring'),$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%),)

You can replace "Featuring" with any other role that you want, to make a similar tag of your own.

If you want to check multiple roles, you can use $multi_or() like so:
$multi_if($multi_or($multi_strcmp(%<<TRACK_CREDITS_ROLES>>%,'Written-By'),$multi_strcmp(%<<TRACK_CREDITS_ROLES>>%,'Written By'),$multi_strcmp(%<<TRACK_CREDITS_ROLES>>%,'Composed By'),$multi_strcmp(%<<TRACK_CREDITS_ROLES>>%,'Music By')),$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%),)

Or you can use this, which is shorter:
$multi_if($multi_any($contains(%<<TRACK_CREDITS_ROLES>>%,$append('Written-By','Written By','Composed By','Music By'))),$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%),)

I get this strange result using code like this: $if(%CONDUCTOR%,'Conducted by '%CONDUCTOR%,), $if(%DISCOGS_CREDIT_FEATURING%,'Featuring '%DISCOGS_CREDIT_FEATURING%,),etc... for columns display.<DISCOGS_RELEASE_ID> : 6550679
(http://s3.postimg.org/60zpj8hvz/discogs.jpg) (http://postimg.org/image/60zpj8hvz/)
It seems to write the tag even when it should be empty.
Similar behavior occurs with DISCOGS_FORMAT when release is only CD
(http://s11.postimg.org/bil9nzz6n/discogs2.jpg) (http://postimg.org/image/bil9nzz6n/)
Title: foo_discogs
Post by: zoomorph on 2015-05-23 20:52:16
Hi paregistrase,

Interesting. I don't have that problem when using the m-TAGS component (it must filter out empty tags), so I missed it.

New build: https://www.sendspace.com/file/limoil (https://www.sendspace.com/file/limoil)

Updates:
- Do not write empty tag values. (Remove them, instead.) -- fixes your problem
- Parse release credits that are for specific tracks (multiple or a range of tracks) as track credits instead of release credits.
- Update the default vocal/featuring/remix credits tags to support the "join" field if it's ever defined (couldn't find any examples to test where it was used).
- Update the default vocal/featuring/remix credits tags to also include credits defined at the release level.

Sadly, the formatting strings for pulling out these credits are getting quite long and ugly. Perhaps I can define better functions to shorten them....

This gathers all "Written-By" for the track, from both track or release level credits:

$extend($flatten($multi_if($multi_any($multi_strcmp(%<<TRACK_CREDITS_ROLES>>%,'Written-By')),$multi_if(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%,$multi_pad(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,' ')),%<<TRACK_CREDITS_ARTISTS_NAME>>%),)),$flatten($multi_if($multi_any($multi_strcmp(%<<RELEASE_CREDITS_ROLES>>%,'Written-By')),$multi_if(%<<RELEASE_CREDITS_ARTISTS_JOIN>>%,$join(%<<RELEASE_CREDITS_ARTISTS_NAME>>%,$multi_pad(%<<RELEASE_CREDITS_ARTISTS_JOIN>>%,' ')),%<<RELEASE_CREDITS_ARTISTS_NAME>>%),)))

Here's a string analogous to above that should gather "Written-By", "Written By", "Composed By", and "Music By":

$extend($flatten($multi_if($multi_any($contains(%<<TRACK_CREDITS_ROLES>>%,$append('Written-By','Written By','Composed By','Music By'))),$multi_if(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%,$multi_pad(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,' ')),%<<TRACK_CREDITS_ARTISTS_NAME>>%)),$flatten($multi_if($multi_any($contains(%<<RELEASE_CREDITS_ROLES>>%,$append('Written-By','Written By','Composed By','Music By'))),$multi_if(%<<RELEASE_CREDITS_ARTISTS_JOIN>>%,$join(%<<RELEASE_CREDITS_ARTISTS_NAME>>%,$multi_pad(%<<RELEASE_CREDITS_ARTISTS_JOIN>>%,' ')),%<<RELEASE_CREDITS_ARTISTS_NAME>>%)))


Edit: Added $sextend() function (shallow version of extend) and shortened the above to this:

$flatten($multi_if($multi_any($multi_strcmp($sextend(%<<TRACK_CREDITS_ROLES>>%,%<<RELEASE_CREDITS_ROLES>>%),'Written-By')),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$join($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$multi_pad($get(aj),' ')),$get(an)),))

$flatten($multi_if($multi_any($contains($sextend(%<<RELEASE_CREDITS_ROLES>>%,%<<TRACK_CREDITS_ROLES>>%),$append('Written-By','Written By','Composed By','Music By'))),$multi_if($put(aj,$sextend(%<<RELEASE_CREDITS_ARTISTS_JOIN>>%,%<<TRACK_CREDITS_ARTISTS_JOIN>>%)),$join($put(an,$sextend(%<<RELEASE_CREDITS_ARTISTS_NAME>>%,%<<TRACK_CREDITS_ARTISTS_NAME>>%)),$multi_pad($get(aj),' ')),$get(an)),))
Title: foo_discogs
Post by: Hydroc on 2015-05-25 12:21:46
Here's a string analogous to above that should gather "Written-By", "Written By", "Composed By", and "Music By":

$extend($flatten($multi_if($multi_any($contains(%<<TRACK_CREDITS_ROLES>>%,$append('Written-By','Written By','Composed By','Music By'))),$multi_if(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%,$multi_pad(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,' ')),%<<TRACK_CREDITS_ARTISTS_NAME>>%)),$flatten($multi_if($multi_any($contains(%<<RELEASE_CREDITS_ROLES>>%,$append('Written-By','Written By','Composed By','Music By'))),$multi_if(%<<RELEASE_CREDITS_ARTISTS_JOIN>>%,$join(%<<RELEASE_CREDITS_ARTISTS_NAME>>%,$multi_pad(%<<RELEASE_CREDITS_ARTISTS_JOIN>>%,' ')),%<<RELEASE_CREDITS_ARTISTS_NAME>>%)))


Edit: Added $sextend() function (shallow version of extend) and shortened the above to this:

$flatten($multi_if($multi_any($multi_strcmp($sextend(%<<TRACK_CREDITS_ROLES>>%,%<<RELEASE_CREDITS_ROLES>>%),'Written-By')),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$join($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$multi_pad($get(aj),' ')),$get(an)),))


Hi zoomorph,

I am also very interested in this new/extended plugin, so I am testing a lot with it now.
Your above mentioned multi-selection for Written-By, Written By, ... actually doesn't work here in my implementation. Did you try this one out?

How would it look like with the new sextend you mentioned later, I tried it this way :
$flatten($multi_if($multi_any($contains($sextend(%<<TRACK_CREDITS_ROLES>>%,%<<RELEASE_CREDITS_ROLES>>%),$append('Producer','Arranged By','Recorded By')),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$join($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$multi_pad($get(aj),' ')),$get(an)),))

But this also doesn't work, also like the long version, it seems maybe something wrong with contains or append?!??

This one works, but there we have only one string to compare which is not ideal :

$flatten($multi_if($multi_any($multi_strcmp($sextend(%<<TRACK_CREDITS_ROLES>>%,%<<RELEASE_CREDITS_ROLES>>%),'Producer')),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$join($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$multi_pad($get(aj),' ')),$get(an)),))

Would appreciate some feedback

Thanks!
Title: foo_discogs
Post by: zoomorph on 2015-05-25 19:49:02
Hi Hydroc,

You're right... my above string only worked by accident on the release I was testing, sorry. Please try this fix:
https://www.sendspace.com/file/qr0yjw (https://www.sendspace.com/file/qr0yjw)

As you can see, I'm still working out some details of the implementation of the arrays feature. It gets quite tricky when dealing arrays nested to arbitrary levels. The various operations performed between arrays only make sense in a limited number of conditions.
Title: foo_discogs
Post by: Hydroc on 2015-05-25 19:57:29
I tried this

$extend($flatten($multi_if($multi_any($contains(%<<TRACK_CREDITS_ROLES>>%,$append('Written-By','Written By','Composed By','Music By'))),$multi_if(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%,$multi_pad(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,' ')),%<<TRACK_CREDITS_ARTISTS_NAME>>%)),$flatten($multi_if($multi_any($contains(%<<RELEASE_CREDITS_ROLES>>%,$append('Written-By','Written By','Composed By','Music By'))),$multi_if(%<<RELEASE_CREDITS_ARTISTS_JOIN>>%,$join(%<<RELEASE_CREDITS_ARTISTS_NAME>>%,$multi_pad(%<<RELEASE_CREDITS_ARTISTS_JOIN>>%,' ')),%<<RELEASE_CREDITS_ARTISTS_NAME>>%)))

and this

$flatten($multi_if($multi_any($contains($sextend(%<<TRACK_CREDITS_ROLES>>%,%<<RELEASE_CREDITS_ROLES>>%),$append('Composed By','Score','Written-By','Written By','Music By','Programmed By','Songwriter')),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$join($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$multi_pad($get(aj),' ')),$get(an)),))

Both are not working...
Title: foo_discogs
Post by: zoomorph on 2015-05-25 20:13:49
Hydroc,

In the second one, you're missing a single closing parenthesis after "'Songwriter'))".

Try this instead...
$flatten($multi_if($multi_any($contains($sextend(%<<TRACK_CREDITS_ROLES>>%,%<<RELEASE_CREDITS_ROLES>>%),$append('Composed By','Score','Written-By','Written By','Music By','Programmed By','Songwriter'))),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$join($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$multi_pad($get(aj),' ')),$get(an)),))
Title: foo_discogs
Post by: Hydroc on 2015-05-25 20:18:01
Now this leads to a nice error

It seems I can't upload pictures here?!?!?

So I copy it :

(skipped) Error: Error writing tag TEST_COMPOSER [Corrupted array string: missing start byte] for file  E:\FLAC Rips\Alpha Blondy - Apartheid Is Nazism\01 - Afriki.flac
(skipped) Error: Error writing tag TEST_COMPOSER [Corrupted array string: missing start byte] for file  E:\FLAC Rips\Alpha Blondy - Apartheid Is Nazism\02 - Jah Houphouet.flac
(skipped) Error: Error writing tag TEST_COMPOSER [Corrupted array string: missing start byte] for file  E:\FLAC Rips\Alpha Blondy - Apartheid Is Nazism\03 - Apartheid Is Nazism.flac
(skipped) Error: Error writing tag TEST_COMPOSER [Corrupted array string: missing start byte] for file  E:\FLAC Rips\Alpha Blondy - Apartheid Is Nazism\04 - Idjidja.flac
(skipped) Error: Error writing tag TEST_COMPOSER [Corrupted array string: missing start byte] for file  E:\FLAC Rips\Alpha Blondy - Apartheid Is Nazism\05 - Sahel.flac
(skipped) Error: Error writing tag TEST_COMPOSER [Corrupted array string: missing start byte] for file  E:\FLAC Rips\Alpha Blondy - Apartheid Is Nazism\06 - Sebe Allah Y'e.flac
(skipped) Error: Error writing tag TEST_COMPOSER [Corrupted array string: missing start byte] for file  E:\FLAC Rips\Alpha Blondy - Apartheid Is Nazism\07 - Kiti.flac
(skipped) Error: Error writing tag TEST_COMPOSER [Corrupted array string: missing start byte] for file  E:\FLAC Rips\Alpha Blondy - Apartheid Is Nazism\08 - Come Back Jesus.flac
(skipped) Error: Error writing tag TEST_COMPOSER [Corrupted array string: missing start byte] for file  E:\FLAC Rips\Alpha Blondy - Apartheid Is Nazism\09 - Djinamory.flac

[ESCAPE to close]

I also counted the parenthesis, they were right before, one more is one too much
Title: foo_discogs
Post by: zoomorph on 2015-05-25 20:32:57
Here is the string I'm using without errors...

$flatten($multi_if($multi_any($contains($sextend(%<<TRACK_CREDITS_ROLES>>%,%<<RELEASE_CREDITS_ROLES>>%),$append('Composed By','Score','Written-By','Written By','Music By','Programmed By','Songwriter'))),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$join($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$multi_pad($get(aj),' ')),$get(an)),))

Same string as in my above post. Please compare with yours to figure out how it differs (I thought it was missing 1 parenthesis).

If this doesn't work... please give me a release id. Also, are you using the latest version?
Title: foo_discogs
Post by: Hydroc on 2015-05-25 21:04:54
Yes, this seems to work now, maybe there was something wrong with my copy/paste before.

Using your last version you just posted today. So my work can go on now  Because I have a lot tags like these were I have to check for more key-words for extracting from Release credits

Thanks!
Title: foo_discogs
Post by: Hydroc on 2015-05-25 21:17:49
So I am cutting out a lot of values from the release credits in the given way. Is there a practical way to exclude these values from the DISCOGS_RELEASE_CREDITS ?? I don't want to have them in single Tags and also in the Release credits...
That would be great...
Title: foo_discogs
Post by: zoomorph on 2015-05-25 21:54:10
Proposed solution: Add a new function, $filter(A,x), which is like $contains(A,x) but returns the first param with x replaced with empty strings (instead of returning a boolean array of shape x, as $contains does). If x is an array, any values in the array will be filtered. If x is a string, the result is the same as $multi_replace(A,x,).

You can then use the following string to get the remaining track credits:

$zip($join($filter(%<<TRACK_CREDITS_ROLES>>%,$append('Composed By','Score','Written-By','Written By','Music By','Programmed By','Songwriter'))),' - ',$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%))

Note: This works because $join() returns empty string if first parameter is an empty string, regardless of other parameters.

Alternate ideas are welcome. Please keep posing these questions as it helps flesh out the functions that should be defined. :-)

https://www.sendspace.com/file/lquxhj (https://www.sendspace.com/file/lquxhj)

I understand this stuff is probably confusing... I will work on a better documentation including examples and description of each function.

P.S. - One other thing that may simplify writing formatting strings is writing partial strings to tags, then overwriting the tags with tags of the same name defined further down. Trivial example:
(http://i.imgur.com/KJtdE57.png)
Title: foo_discogs
Post by: paregistrase on 2015-05-26 08:38:42
Hi paregistrase,

Interesting. I don't have that problem when using the m-TAGS component (it must filter out empty tags), so I missed it.

New build: https://www.sendspace.com/file/limoil (https://www.sendspace.com/file/limoil)

Updates:
- Do not write empty tag values. (Remove them, instead.) -- fixes your problem
- Parse release credits that are for specific tracks (multiple or a range of tracks) as track credits instead of release credits.
- Update the default vocal/featuring/remix credits tags to support the "join" field if it's ever defined (couldn't find any examples to test where it was used).
- Update the default vocal/featuring/remix credits tags to also include credits defined at the release level.


Works perfect.
Thank you

Title: foo_discogs
Post by: Hydroc on 2015-05-26 17:09:19
Proposed solution: Add a new function, $filter(A,x), which is like $contains(A,x) but returns the first param with x replaced with empty strings (instead of returning a boolean array of shape x, as $contains does). If x is an array, any values in the array will be filtered. If x is a string, the result is the same as $multi_replace(A,x,).

You can then use the following string to get the remaining track credits:

$zip($join($filter(%<<TRACK_CREDITS_ROLES>>%,$append('Composed By','Score','Written-By','Written By','Music By','Programmed By','Songwriter'))),' - ',$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%))

Note: This works because $join() returns empty string if first parameter is an empty string, regardless of other parameters.

Alternate ideas are welcome. Please keep posing these questions as it helps flesh out the functions that should be defined. :-)

https://www.sendspace.com/file/lquxhj (https://www.sendspace.com/file/lquxhj)

I understand this stuff is probably confusing... I will work on a better documentation including examples and description of each function.

P.S. - One other thing that may simplify writing formatting strings is writing partial strings to tags, then overwriting the tags with tags of the same name defined further down. Trivial example:
(http://i.imgur.com/KJtdE57.png)


I like this idea, just try the new version out now to see if it works as expected. It's really great that you are extending this plugin, and it seems you are really open to also somewhat complex tasks, thanks!!
Title: foo_discogs
Post by: Hydroc on 2015-05-26 17:40:43
@zoomorph :

So, there seems to be some problems with this function, lets try to explain :

Starting point we have is
DISCOGS_TRACK_CREDITS : Remix - DJ La Monde; Written-By, Producer - Bolz Bolz

Now you do the following :
REMAINING_TRACK_CREDITS : $zip($join($filter(%<<TRACK_CREDITS_ROLES>>%,$append('Composed By','Score','Written-By','Written By','Music By','Programmed By','Songwriter'))),' - ',$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%))

The result is :
Remix - DJ La Monde; Producer - Bolz Bolz  --> THIS IS EXPECTED

------------------------------------------------------------------------------------------
If you do the following :
REMAINING_TRACK_CREDITS : $zip($join($filter(%<<TRACK_CREDITS_ROLES>>%,$append('Composed By','Score','Written-By','Written By','Music By','Programmed By','Songwriter','Remix'))),' - ',$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%))

The result is :
Producer - Bolz Bolz  --> THIS IS EXPECTED

-----------------------------------------------------------------------------------
BUT ; If you just want to cut out the producer additionally like :
REMAINING_TRACK_CREDITS : $zip($join($filter(%<<TRACK_CREDITS_ROLES>>%,$append('Composed By','Score','Written-By','Written By','Music By','Programmed By','Songwriter','Producer'))),' - ',$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%))

The result is :
Remix  ->> THIS IS NOT EXPECTED, it cutted out the " - DJ La Monde"



Please let me know if you find this bug in the code...
Title: foo_discogs
Post by: Hydroc on 2015-05-26 18:06:54
Another thing :

We have :
REMAINING_TRACK_CREDITS : Remix - DJ La Monde; Producer - Bolz Bolz
DISCOGS_RELEASE_CREDITS : DJ Mix, Compiled By - Christian Weber

Now we want to have these 2 together in :
INVOLVED_PEOPLE_TEST : $zip(%DISCOGS_RELEASE_CREDITS%,'; ',%REMAINING_TRACK_CREDITS%)

But this brings out the following :
DJ Mix, Compiled By - Christian Weber; Remix - DJ La Monde, Producer - Bolz Bolz 
I would expect
DJ Mix, Compiled By - Christian Weber; Remix - DJ La Monde; Producer - Bolz Bolz

Also, can we achieve that we separate the roles in the credits :
eg not
DJ Mix, Compiled By - Christian Weber;
but
DJ Mix - Christian Weber; Compiled By - Christian Weber;

Would be great. I am a hardcore tagger and this customizable plugin seems to be a dream come true because in all the other discogs taggers you are somehow nailed down to what the developer thinks...

Cheers
Title: foo_discogs
Post by: Hydroc on 2015-05-26 20:27:03
One more request : Can we achieve to get an original date for the release tagged? As this is no own field in discogs normally that would be somehow the date (or year) of the master release. As I have many re-releases or remasters that would be of great benefit, too.

Hope I am not bombing you too much 
Title: foo_discogs
Post by: zoomorph on 2015-05-26 20:42:02
Hydroc,

Please provide a Discogs release ID for the release you are testing, so I can reproduce the problem, then find the bug. Big thanks!
Title: foo_discogs
Post by: Hydroc on 2015-05-26 20:53:31
It's 13179
Title: foo_discogs
Post by: zoomorph on 2015-05-26 20:54:03
One more request : Can we achieve to get an original date for the release tagged? As this is no own field in discogs normally that would be somehow the date (or year) of the master release. As I have many re-releases or remasters that would be of great benefit, too.

Hope I am not bombing you too much 

%MASTER_RELEASE_YEAR% is available, when applicable. Unfortunately, I haven't yet figured out how to detect if a release is a re-issue or not. Sometimes remix releases are in a Discogs master release with all different tracks that would be incorrect to use the original release date.
Title: foo_discogs
Post by: Hydroc on 2015-05-26 21:02:36
One more request : Can we achieve to get an original date for the release tagged? As this is no own field in discogs normally that would be somehow the date (or year) of the master release. As I have many re-releases or remasters that would be of great benefit, too.

Hope I am not bombing you too much 

%MASTER_RELEASE_YEAR% is available, when applicable. Unfortunately, I haven't yet figured out how to detect if a release is a re-issue or not. Sometimes remix releases are in a Discogs master release with all different tracks that would be incorrect to use the original release date.


Well, if correct entry in discogs, what surely is not always the case, you will find Reissue or Repress in Format, see 6218644 for instance.

Essentially everything released after the master release is a reissue. Wikipedia pretty much nails it : "A reissue (also known as a re-release or re-edition) is the repeated issue of a published work. In common usage, it refers to an album which has been released at least once before and is released again, sometimes with alterations or additions."

Sometimes there are a lot versions also in the same country of one release, sometimes from different labels also, especially from albums that had great success. As I am always trying to get the exact release and discogs encourages the people to always use the date of the release itself (which is correct btw), it is always interesting when the original version was released.
Title: foo_discogs
Post by: zoomorph on 2015-05-26 21:04:15
Here is some initial documentation I've written. It's a first draft, untested, so it might not be completely accurate, but it should be helpful.
https://www.sendspace.com/file/ggvrd0 (https://www.sendspace.com/file/ggvrd0)

Your first issue, with the empty Remix credit, is a bug that I'm looking into. Both issues are likely related to the $join() used. That is what causes the ", " join between roles, instead of the "; " join (multi-value tag). I will figure out the changes necessary and get back to you.
Title: foo_discogs
Post by: Hydroc on 2015-05-26 21:06:28
This has a ZIP error when opening?!?
Title: foo_discogs
Post by: Hydroc on 2015-05-26 21:25:21
. Sometimes remix releases are in a Discogs master release with all different tracks that would be incorrect to use the original release date.


How has a remix release all different tracks? Do you have an example?? If not the tracks of the master release are remixed then it shouldn't be in there. If there are remixes of original versions the original date of the original date might be of interest. Someone doesn't need to use it if he doesn't like it. But this really depends on a personal POV I think.
Title: foo_discogs
Post by: zoomorph on 2015-05-26 21:34:41
. Sometimes remix releases are in a Discogs master release with all different tracks that would be incorrect to use the original release date.


How has a remix release all different tracks? Do you have an example?? If not the tracks of the master release are remixed then it shouldn't be in there. If there are remixes of original versions the original date of the original date might be of interest. Someone doesn't need to use it if he doesn't like it. But this really depends on a personal POV I think.

Something like this: remixes made 8 years later, so it wouldn't be considered a re-issue or re-release, but it's in the same master release.
http://www.discogs.com/3-Phase-Feat-Dr-Mot...d/release/53141 (http://www.discogs.com/3-Phase-Feat-Dr-Motte-Der-Klang-Der-Familie-Revisited/release/53141)

You're right about the reissue tag in the format on Discogs. However, from what I've seen there are many, many re-issues that don't have that tag, so it doesn't seem like an accurate way to tell if something is a reissue. But of course the right thing would be for us to edit the database and add that tag as we go.... :-)

Try this file..
https://www.sendspace.com/file/iwjl82 (https://www.sendspace.com/file/iwjl82)
Title: foo_discogs
Post by: Hydroc on 2015-05-26 21:40:54
WTF "Der Klang der Familie", remembering my techno time

But for me I would also add the original release date of the track to this release. As I said, it's a point-of-view-thing. For me it's enough to have just possibility to access the year of the master release, I will decide on a release basis if I use it or not as I have to revisit every release, it's no auto-tag and forget process for me...

Yes, we should do that, but I have to re-tag 800+ releases, I won't 

This file works now, great thanks!
Title: foo_discogs
Post by: zoomorph on 2015-05-26 21:51:00
Of course, it's a matter of preference. Personally, I would like to know when a release is a re-issue and the original date, excluding the original date of master release of remix-releases. :-P

Discogs is a bit tricky because they usually go with "whatever the release says", rather than following a strict formula for determining all information about the release. So we will never have complete accuracy.

Cheers
Title: foo_discogs
Post by: Hydroc on 2015-05-26 22:11:54
Nothing in life will ever be perfect, I had a hard time learning that and this process is still not finished...
Title: foo_discogs
Post by: zoomorph on 2015-05-26 22:59:08
-----------------------------------------------------------------------------------
BUT ; If you just want to cut out the producer additionally like :
REMAINING_TRACK_CREDITS : $zip($join($filter(%<<TRACK_CREDITS_ROLES>>%,$append('Composed By','Score','Written-By','Written By','Music By','Programmed By','Songwriter','Producer'))),' - ',$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%))

The result is :
Remix  ->> THIS IS NOT EXPECTED, it cutted out the " - DJ La Monde"

Nice catch. I found the bug, and it should be fixed in this build:
https://www.sendspace.com/file/fcp8vo (https://www.sendspace.com/file/fcp8vo)

Another thing :

We have :
REMAINING_TRACK_CREDITS : Remix - DJ La Monde; Producer - Bolz Bolz
DISCOGS_RELEASE_CREDITS : DJ Mix, Compiled By - Christian Weber

Now we want to have these 2 together in :
INVOLVED_PEOPLE_TEST : $zip(%DISCOGS_RELEASE_CREDITS%,'; ',%REMAINING_TRACK_CREDITS%)

But this brings out the following :
DJ Mix, Compiled By - Christian Weber; Remix - DJ La Monde, Producer - Bolz Bolz 
I would expect
DJ Mix, Compiled By - Christian Weber; Remix - DJ La Monde; Producer - Bolz Bolz

First of all, I don't think $zip is the function you want. More likely you want $extend, to combine the two lists into a single list made of all of their elements.

The problem, however, is that when you load a multi-value tag via %DISCOGS_RELEASE_CREDITS%, titleformatting joins the multiple values into a string (since normal titleformatting doesn't have a concept of arrays), separated by ", ".

You could use $split(%DISCOGS_RELEASE_CREDITS%) to attempt to split them into an array. The problem with this is that it might split at the wrong parts. If we have a credit like "Written-By, Producer - Laurent Collat", it would be split it into [Written-By,Producer - Laurent Collat].

So, I think you simply can't/shouldn't do this.

If you really want to write arrays to intermediate tags and load them back for other tags, you could $join() them with a very nique delimiter that won't accidentally occur, then $split() with the same delimiter when re-loading them, to get your array back.

But really what I SHOULD do, so as a function like $multi_meta(), similar to builtin $meta, which can be used to load a multi-value tag as an array instead of as a string. I'll add this to the TODO list.

Also, can we achieve that we separate the roles in the credits :
eg not
DJ Mix, Compiled By - Christian Weber;
but
DJ Mix - Christian Weber; Compiled By - Christian Weber;

Let's break down what the original DISCOGS_TRACK_CREDITS tag does:
$zip($join(%<<TRACK_CREDITS_ROLES>>%),' - ',$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%))

In this case,
%<<TRACK_CREDITS_ROLES>>% = [[DJ Mix,Compiled By]]
%<<TRACK_CREDITS_ARTISTS_NAME>>% = [[Christian Weber]]

We call $join() on both, resulting in:
['DJ Mix, Compiled By'] and
[Christian Weber]

Then we call $zip(['DJ Mix, Compiled By'],' - ',[Christian Weber]), resulting in:
DJ Mix, Compiled By - Christian Weber

But you don't want to call $join() on [[DJ Mix,Compiled By]].

Instead, how about if we $zip directly on %<<TRACK_CREDITS_ROLES>>%., like so:
$zip(%<<TRACK_CREDITS_ROLES>>%,' - ',$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%))

The result will now be:
[[DJ Mix - Christian Weber,Compiled By - Christian Weber]]

If we left it at that, it would be implicitly $joined when written to the tag, because array depth is > 1, and it would write "DJ Mix - Christian Weber, Compiled By - Christian Weber".

Instead, we can call $flatten on it to reduce the depth to 1. So, this should do what you desire:

$flatten($zip(%<<TRACK_CREDITS_ROLES>>%,' - ',$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%)))

Nothing in life will ever be perfect, I had a hard time learning that and this process is still not finished...

Since perfect is a relative term, it's meaningless to say that nothing is perfect. Equally meaningless to say that everything is perfect. And that is the difference between an optimist and a pessimist. Strangely, I rarely hear anyone say that the world is perfect, and I frequently hear them complaining about problems or imperfections with the everything. 
Title: foo_discogs
Post by: Hydroc on 2015-05-27 07:58:23
-----------------------------------------------------------------------------------
BUT ; If you just want to cut out the producer additionally like :
REMAINING_TRACK_CREDITS : $zip($join($filter(%<<TRACK_CREDITS_ROLES>>%,$append('Composed By','Score','Written-By','Written By','Music By','Programmed By','Songwriter','Producer'))),' - ',$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%))

The result is :
Remix  ->> THIS IS NOT EXPECTED, it cutted out the " - DJ La Monde"

Nice catch. I found the bug, and it should be fixed in this build:
https://www.sendspace.com/file/fcp8vo (https://www.sendspace.com/file/fcp8vo)


This is working now, thanks!

Another thing :

We have :
REMAINING_TRACK_CREDITS : Remix - DJ La Monde; Producer - Bolz Bolz
DISCOGS_RELEASE_CREDITS : DJ Mix, Compiled By - Christian Weber

Now we want to have these 2 together in :
INVOLVED_PEOPLE_TEST : $zip(%DISCOGS_RELEASE_CREDITS%,'; ',%REMAINING_TRACK_CREDITS%)

But this brings out the following :
DJ Mix, Compiled By - Christian Weber; Remix - DJ La Monde, Producer - Bolz Bolz 
I would expect
DJ Mix, Compiled By - Christian Weber; Remix - DJ La Monde; Producer - Bolz Bolz

First of all, I don't think $zip is the function you want. More likely you want $extend, to combine the two lists into a single list made of all of their elements.

The problem, however, is that when you load a multi-value tag via %DISCOGS_RELEASE_CREDITS%, titleformatting joins the multiple values into a string (since normal titleformatting doesn't have a concept of arrays), separated by ", ".

You could use $split(%DISCOGS_RELEASE_CREDITS%) to attempt to split them into an array. The problem with this is that it might split at the wrong parts. If we have a credit like "Written-By, Producer - Laurent Collat", it would be split it into [Written-By,Producer - Laurent Collat].

So, I think you simply can't/shouldn't do this.

If you really want to write arrays to intermediate tags and load them back for other tags, you could $join() them with a very nique delimiter that won't accidentally occur, then $split() with the same delimiter when re-loading them, to get your array back.

But really what I SHOULD do, so as a function like $multi_meta(), similar to builtin $meta, which can be used to load a multi-value tag as an array instead of as a string. I'll add this to the TODO list.


Well, I tried that because that was what you proposed a few posts before in your example witth TESTXXX, TESTYYY, ...

Also, can we achieve that we separate the roles in the credits :
eg not
DJ Mix, Compiled By - Christian Weber;
but
DJ Mix - Christian Weber; Compiled By - Christian Weber;

Let's break down what the original DISCOGS_TRACK_CREDITS tag does:
$zip($join(%<<TRACK_CREDITS_ROLES>>%),' - ',$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%))

In this case,
%<<TRACK_CREDITS_ROLES>>% = [[DJ Mix,Compiled By]]
%<<TRACK_CREDITS_ARTISTS_NAME>>% = [[Christian Weber]]

We call $join() on both, resulting in:
['DJ Mix, Compiled By'] and
[Christian Weber]

Then we call $zip(['DJ Mix, Compiled By'],' - ',[Christian Weber]), resulting in:
DJ Mix, Compiled By - Christian Weber

But you don't want to call $join() on [[DJ Mix,Compiled By]].

Instead, how about if we $zip directly on %<<TRACK_CREDITS_ROLES>>%., like so:
$zip(%<<TRACK_CREDITS_ROLES>>%,' - ',$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%))

The result will now be:
[[DJ Mix - Christian Weber,Compiled By - Christian Weber]]

If we left it at that, it would be implicitly $joined when written to the tag, because array depth is > 1, and it would write "DJ Mix - Christian Weber, Compiled By - Christian Weber".

Instead, we can call $flatten on it to reduce the depth to 1. So, this should do what you desire:

$flatten($zip(%<<TRACK_CREDITS_ROLES>>%,' - ',$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%)))

Nothing in life will ever be perfect, I had a hard time learning that and this process is still not finished...

Since perfect is a relative term, it's meaningless to say that nothing is perfect. Equally meaningless to say that everything is perfect. And that is the difference between an optimist and a pessimist. Strangely, I rarely hear anyone say that the world is perfect, and I frequently hear them complaining about problems or imperfections with the everything. 


This also works, thanks for your support.
Title: foo_discogs
Post by: Hydroc on 2015-05-30 10:39:50
Hi zoomorph,

would it be possible to display the barcode in the relase search dialog???

That would be great an a lot of help...

And a possibility that would save the window size of the select screen etc. until the next call would also be really helpful
Title: foo_discogs
Post by: zoomorph on 2015-05-30 19:40:27
would it be possible to display the barcode in the relase search dialog???

It's not possible without doing additional API loading for every release.
I'm looking into the possibility of using a formatting string to control what info is displayed there.

And a possibility that would save the window size of the select screen etc. until the next call would also be really helpful

What is the select screen??

Latest build: https://www.sendspace.com/file/udk4y5 (https://www.sendspace.com/file/udk4y5)
Documentation: https://www.sendspace.com/file/m3x8mu (https://www.sendspace.com/file/m3x8mu) (open in foobar2000 folder)

Changes:
- Added more functions. Particularly, $multi_ versions of more builtin functions.
- Renamed some functions. $multi_ prefix removed from a bunch of array functions.
- Renamed $multi_pad to $multi_wrap, as $pad was a builtin function with different meaning.
- Added $multi_meta() for loading multi-value tag as array.
- Added $pput(), $pputs(), $pget() as persistent versions of put and get which can be used across multiple tag formatting strings (in the order defined).
Title: foo_discogs
Post by: Hydroc on 2015-05-30 19:56:59
I meant the "find release" dialog with the select screen, sorry!

Some great extensions with $pput, ... thumbs up!
Title: foo_discogs
Post by: mnbrecher on 2015-05-31 11:03:47
Hello.

I am running the latest version of your Discogs Tagger add-on (1.55), on the latest Foobar V1.3.8, and I can't seem to get it working.

For instance when I try to get the information for the David Bowie's Ziggy Stardust album I get the following error when it runs the Fetching release process:

Code: [Select]
Unhandled exception in "Connecting to discogs"
Error reading network response. - (url: [url=http://api.discogs.com/artists/10263/releases)]http://api.discogs.com/artists/10263/releases)[/url]


Edit: reading back I see that this exact issue has already been reported...also using Bowie as an example: http://www.hydrogenaud.io/forums/index.php...st&p=896753 (http://www.hydrogenaud.io/forums/index.php?s=&showtopic=50523&view=findpost&p=896753)
Title: foo_discogs
Post by: zoomorph on 2015-05-31 19:32:31
Hello.

I am running the latest version of your Discogs Tagger add-on (1.55), on the latest Foobar V1.3.8, and I can't seem to get it working.

For instance when I try to get the information for the David Bowie's Ziggy Stardust album I get the following error when it runs the Fetching release process:

Code: [Select]
Unhandled exception in "Connecting to discogs"
Error reading network response. - (url: [url=http://api.discogs.com/artists/10263/releases)]http://api.discogs.com/artists/10263/releases)[/url]

Edit: reading back I see that this exact issue has already been reported...also using Bowie as an example: http://www.hydrogenaud.io/forums/index.php...st&p=896753 (http://www.hydrogenaud.io/forums/index.php?s=&showtopic=50523&view=findpost&p=896753)
The problem is actually on Discogs' side. Try manually opening this in your browser:
http://api.discogs.com/artists/10263/releases (http://api.discogs.com/artists/10263/releases)

It doesn't work. This is something that should be reported to Discogs. Unfortunately, I'm banned from posting in their Help forums, so I can't, but you are welcome to:
http://www.discogs.com/forum/topic/1082 (http://www.discogs.com/forum/topic/1082)
(I think I may have opened an SR about this before but they obviously didn't fix it.)
Title: foo_discogs
Post by: Hydroc on 2015-06-02 10:35:03
Hi,

I really need some help before getting mad about this, sometimes the easiest things are not getting to work :(loadExtr


I have 2 tags :
REMAINING_RELEASE_CREDITS : $zip($join($filter(%<<RELEASE_CREDITS_ROLES>>%,$append('Lyrics By','Words By','Composed By','Score','Written-By','Written By','Music By','Programmed By','Songwriter','Producer','Arranged By','Recorded By'))),' - ',$join(%<<RELEASE_CREDITS_ARTISTS_NAME>>%))

REMAINING_TRACK_CREDITS : $zip($join($filter(%<<TRACK_CREDITS_ROLES>>%,$append('Lyrics By','Words By','Composed By','Score','Written-By','Written By','Music By','Programmed By','Songwriter','Producer','Arranged By','Recorded By'))),' - ',$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%))


Now I tried every possible combination that came to my mind 2 concatenate them into a new tag with the use of $multi_meta() for both. I am getting either errors or no values at all.

Can you please give me an example for that. Maybe this helps understanding.
Thanks!!!
Title: foo_discogs
Post by: zoomorph on 2015-06-02 17:07:47
Hi Hydroc,

The answer should be:
$sextend($multi_meta(REMAINING_RELEASE_CREDITS),$multi_meta(REMAINING_TRACK_CREDITS))

However, I discovered that this caused errors on some tracks because of a bug in $multi_meta not returning an array. Please try this patched version:
https://www.sendspace.com/file/akt9pa (https://www.sendspace.com/file/akt9pa)

Thanks!
Title: foo_discogs
Post by: Hydroc on 2015-06-02 17:17:18
Hi Hydroc,

The answer should be:
$sextend($multi_meta(REMAINING_RELEASE_CREDITS),$multi_meta(REMAINING_TRACK_CREDITS))

However, I discovered that this caused errors on some tracks because of a bug in $multi_meta not returning an array. Please try this patched version:
https://www.sendspace.com/file/akt9pa (https://www.sendspace.com/file/akt9pa)

Thanks!


Wow, glad to realize that I am not dumb at least...

I had this solution also but it did not work, with the fix it is working now for the release I am testing.

Thanks a lot
Title: foo_discogs
Post by: Hydroc on 2015-06-04 11:19:51
Hi,

I am getting errors when loading release 576867
There are also a few others but I have to look for the numbers, they can be normally opened in discogs...

Cheers
Title: foo_discogs
Post by: Hydroc on 2015-06-04 17:26:49
Also release 543366, 6580886
540973 not only brings up an error, it crashes foobar completely
Title: foo_discogs
Post by: paregistrase on 2015-06-04 17:29:32
Hi,

I found some problematic releases:
In
Bucketheadland - Racks (http://www.discogs.com/release/4099273)
Bucketheadland - March Of The Slunks (http://www.discogs.com/release/4099295)
DISCOGS_SERIES_NUMBER always returns 2 when must be 8 and 9.
Also DATE with $if2(%MASTER_RELEASE_YEAR%,%RELEASE_YEAR%) returns empty but DISCOGS_RELEASE_YEAR=%RELEASE_YEAR% is 2012.

With
Benjamin Lew / Controlled Bleeding - Les Nouvelles Musiques De Chambre #1 (http://www.discogs.com/release/541950)
Controlled Bleeding / Maybe Mental ‎– Halved (http://www.discogs.com/release/216568)
and others I get
Code: [Select]
(FATAL) Error: Error loading release 216568: JSON Parser ExceptionUnable to parse credit track position

when pressing Next>> in Find Release window.

And last a crash report with
A Perfect Circle - aMOTION (http://www.discogs.com/release/1388491)
Code: [Select]
Illegal operation:  
  Code: C0000005h, flags: 00000000h, address: 026C80E8h  
  Access violation, operation: read, address: 00000070h  
  
  Call path:  
  entry=>app_mainloop  
  
  Code bytes (026C80E8h):  
  026C80A8h:  89 43 7C FF D7 BE 47 33 71 02 89 83 80 00 00 00  
  026C80B8h:  56 8D 4C 24 74 E8 F5 C3 FD FF 83 A4 24 D0 00 00  
  026C80C8h:  00 00 8D 4C 24 50 56 E8 E3 C3 FD FF C6 84 24 D0  
  026C80D8h:  00 00 00 01 33 C9 8B 83 84 00 00 00 89 4C 24 18  
  026C80E8h:  8B 40 70 48 0F 84 BD 00 00 00 8B 83 84 00 00 00  
  026C80F8h:  8D 39 8D 8C 24 A4 00 00 00 51 8B 40 6C 8B 0C F8  
  026C8108h:  E8 A7 FC FE FF 8B C8 C6 84 24 D0 00 00 00 02 E8  
  026C8118h:  9B EC FD FF 8B F0 56 E8 7C B4 01 00 59 50 56 8D  
  
  Stack (0033ECF4h):  
  0033ECD4h:  211B7830 0033ED44 0033EDBC 026FFFCC  
  0033ECE4h:  00000000 026A44EB 026C80D4 02713347  
  0033ECF4h:  3CD0CF99 211B7830 00000000 00000110  
  0033ED04h:  7BC3C6C6 0033ED30 00000000 000000E4  
  0033ED14h:  000101E8 0033ED48 7EA701CE 000000E4  
  0033ED24h:  7BC3C6C6 0033ED50 7EAC0000 000000E4  
  0033ED34h:  000101E8 0033ED68 7EA701CE 7EA701B9  
  0033ED44h:  0271331C 210DE6C8 00000011 00000000  
  0033ED54h:  7BC3C6C6 0033ED80 7EAC0000 000000E4  
  0033ED64h:  0271331C 210DE6A8 00000011 00000000  
  0033ED74h:  00000001 0000000F 00000002 0000002D  
  0033ED84h:  02716488 0033F058 00000001 7EA701B9  
  0033ED94h:  7EAC0000 0033EDB8 7EA7163D 7EAFF8A0  
  0033EDA4h:  7BC3C6C6 0033EDD0 7EAC0000 000000AE  
  0033EDB4h:  0001017C 0033EDE8 0033EDFC 0270447D  
  0033EDC4h:  00000001 0033EE08 026C7A31 7EAFF8A0  
  0033EDD4h:  50020000 0033EE88 026C7A0D 3CD0CD69  
  0033EDE4h:  211B7830 00000000 00000110 00000000  
  0033EDF4h:  211B7830 0033EDE0 0033F5C8 027043E2  
  0033EE04h:  00000000 0033EE58 026A667E 0001017C  
  
  Registers:  
  EAX: 00000000, EBX: 211B7830, ECX: 00000000, EDX: 02713347  
  ESI: 02713347, EDI: 7EA18970, EBP: 0033EDC8, ESP: 0033ECF4  
  
  Crash location:  
  Module: foo_discogs  
  Offset: 280E8h  
  
  Loaded modules:  
  cryptnet                         loaded at F0140000h - F014F000h  
  rsaenh                           loaded at F0160000h - F0191000h  
  schannel                         loaded at F6760000h - F6770000h  
  msxml3                           loaded at F2510000h - F25FF000h  
  msxml                            loaded at F67E0000h - F67F8000h  
  scrrun                           loaded at 6CDF0000h - 6CE16000h  
  wshom                            loaded at 21060000h - 2107C000h  
  jscript                          loaded at 6FE80000h - 6FEF8000h  
  winepulse                        loaded at F6BC0000h - F6BDD000h  
  mmdevapi                         loaded at F6BE0000h - F6C00000h  
  foo_simplaylist_manager          loaded at 04790000h - 04868000h  
  foo_cdda                         loaded at 04620000h - 04671000h  
  foo_uie_console                  loaded at 044F0000h - 0450A000h  
  foo_audioscrobbler               loaded at 043A0000h - 043D3000h  
  foo_bpm                          loaded at 04240000h - 04281000h  
  foo_customdb                     loaded at 04080000h - 04125000h  
  foo_unpack                       loaded at 03F20000h - 03F6C000h  
  foo_uie_lyrics3                  loaded at 03E60000h - 03F15000h  
  foo_random_pools                 loaded at 03E20000h - 03E58000h  
  foo_stop_after_queue             loaded at 03CF0000h - 03D08000h  
  foo_uie_wsh_panel_mod            loaded at 038E0000h - 039CA000h  
  foo_ui_std                       loaded at 036C0000h - 037CE000h  
  foo_playcount                    loaded at 03570000h - 035AE000h  
  foo_infospect                    loaded at 03420000h - 03457000h  
  foo_runcmd                       loaded at 032D0000h - 03303000h  
  usp10                            loaded at F6D20000h - F6D5D000h  
  mpr                              loaded at F6D60000h - F6D84000h  
  wininet                          loaded at F6D90000h - F6DFC000h  
  urlmon                           loaded at F6E10000h - F6E98000h  
  foo_ui_columns                   loaded at 03130000h - 032C3000h  
  foo_dsp_effect                   loaded at 030E0000h - 03125000h  
  foo_converter                    loaded at 02F40000h - 02FC8000h  
  foo_textdisplay                  loaded at 02DE0000h - 02E2B000h  
  foo_simplaylist                  loaded at 02740000h - 0288C000h  
  foo_discogs                      loaded at 026A0000h - 0273A000h  
  foo_uie_albumlist                loaded at 02540000h - 02583000h  
  foo_fileops                      loaded at 023E0000h - 0242E000h  
  avutil-fb2k-54                   loaded at 6B540000h - 6B5CA000h  
  avcodec-fb2k-56                  loaded at 669C0000h - 66B9E000h  
  foo_input_std                    loaded at 02170000h - 022CC000h  
  foo_dsp_fakegapless              loaded at 02140000h - 02161000h  
  foo_run                          loaded at 01FD0000h - 0202F000h  
  foo_freedb2                      loaded at 01C50000h - 01CA0000h  
  foo_musicbrainz                  loaded at 01AE0000h - 01B3B000h  
  msimg32                          loaded at F6EA0000h - F6EAC000h  
  foo_facets                       loaded at 01810000h - 019C5000h  
  foo_albumlist                    loaded at 016A0000h - 016FB000h  
  foo_rgscan                       loaded at 01530000h - 0158F000h  
  foo_dsp_std                      loaded at 013E0000h - 01417000h  
  foo_dsp_dolbyhp                  loaded at 012A0000h - 012C4000h  
  foo_uie_typefind                 loaded at 01050000h - 01080000h  
  foo_uie_biography                loaded at 003A0000h - 003F8000h  
  foo_jesus                        loaded at 00380000h - 0039A000h  
  foo_dsp_eq                       loaded at 00340000h - 00377000h  
  winex11                          loaded at 7DA10000h - 7DA8F000h  
  imm32                            loaded at 7DAA0000h - 7DAB3000h  
  oleaut32                         loaded at 7DCC0000h - 7DDE4000h  
  jsproxy                          loaded at 7DDF0000h - 7DE02000h  
  winhttp                          loaded at 7DE10000h - 7DE40000h  
  gdiplus                          loaded at 4EC50000h - 4EDFB000h  
  ws2_32                           loaded at 7DE50000h - 7DE79000h  
  iphlpapi                         loaded at 7E100000h - 7E121000h  
  netapi32                         loaded at 7DE80000h - 7DEA8000h  
  secur32                          loaded at 7DEB0000h - 7DED9000h  
  crypt32                          loaded at 7DEE0000h - 7DFA5000h  
  winspool                         loaded at 7DFB0000h - 7DFE3000h  
  comdlg32                         loaded at 7DFF0000h - 7E0CB000h  
  psapi                            loaded at 7E0D0000h - 7E0DF000h  
  dbghelp                          loaded at 7E130000h - 7E186000h  
  imagehlp                         loaded at 7E190000h - 7E1A0000h  
  shared                           loaded at 10000000h - 1002D000h  
  msvcrt                           loaded at 7E1C0000h - 7E257000h  
  zlib1                            loaded at 62E80000h - 62E9F000h  
  shell32                          loaded at 7E290000h - 7E4BD000h  
  uxtheme                          loaded at 7E4C0000h - 7E4F4000h  
  shlwapi                          loaded at 7E500000h - 7E56B000h  
  dsound                           loaded at 7E570000h - 7E5B6000h  
  msacm32                          loaded at 7E5C0000h - 7E5E1000h  
  rpcrt4                           loaded at 7E5F0000h - 7E65F000h  
  ole32                            loaded at 7E680000h - 7E792000h  
  winmm                            loaded at 7E7A0000h - 7E848000h  
  version                          loaded at 7EFF0000h - 7F000000h  
  advapi32                         loaded at 7E850000h - 7E8BE000h  
  gdi32                            loaded at 7E8D0000h - 7E9D9000h  
  user32                           loaded at 7E9F0000h - 7EB28000h  
  comctl32                         loaded at 7EB30000h - 7EC25000h  
  kernel32                         loaded at 7B810000h - 7BA5E000h  
  ntdll                            loaded at 7BC10000h - 7BCE6000h  
  foobar2000                       loaded at 00400000h - 005CD000h  
  
  Stack dump analysis:  
  Address: 7BC3C6C6h (ntdll+2C6C6h), symbol: "RtlEnterCriticalSection" (+16h)  
  Address: 7EA701CEh (user32+801CEh)  
  Address: 7BC3C6C6h (ntdll+2C6C6h), symbol: "RtlEnterCriticalSection" (+16h)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA701CEh (user32+801CEh)  
  Address: 7EA701B9h (user32+801B9h)  
  Address: 0271331Ch (foo_discogs+7331Ch)  
  Address: 7BC3C6C6h (ntdll+2C6C6h), symbol: "RtlEnterCriticalSection" (+16h)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 0271331Ch (foo_discogs+7331Ch)  
  Address: 02716488h (foo_discogs+76488h)  
  Address: 7EA701B9h (user32+801B9h)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA7163Dh (user32+8163Dh)  
  Address: 7EAFF8A0h (user32+10F8A0h)  
  Address: 7BC3C6C6h (ntdll+2C6C6h), symbol: "RtlEnterCriticalSection" (+16h)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 0270447Dh (foo_discogs+6447Dh)  
  Address: 026C7A31h (foo_discogs+27A31h)  
  Address: 7EAFF8A0h (user32+10F8A0h)  
  Address: 026C7A0Dh (foo_discogs+27A0Dh)  
  Address: 027043E2h (foo_discogs+643E2h)  
  Address: 026A667Eh (foo_discogs+667Eh)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA810AAh (user32+910AAh), symbol: "WINPROC_wrapper" (+1Ah)  
  Address: 7EA73476h (user32+83476h), symbol: "IsWindow" (+16h)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA8183Bh (user32+9183Bh)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA81809h (user32+91809h)  
  Address: F75A02FFh (libpthread.so.0+C2FFh), symbol: "pthread_sigmask" (+3Fh)  
  Address: 7E9FC579h (user32+C579h)  
  Address: 7EA701CEh (user32+801CEh)  
  Address: 7EAFF8A0h (user32+10F8A0h)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA817FBh (user32+917FBh)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA840B3h (user32+940B3h)  
  Address: 7EA701FEh (user32+801FEh)  
  Address: 7E9FC801h (user32+C801h)  
  Address: 7EAFF8A0h (user32+10F8A0h)  
  Address: 7EA8406Bh (user32+9406Bh)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA158C4h (user32+258C4h), symbol: "DefDlgProcW" (+74h)  
  Address: 7EA158ABh (user32+258ABh), symbol: "DefDlgProcW" (+5Bh)  
  Address: 7EA15866h (user32+25866h), symbol: "DefDlgProcW" (+16h)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA810AAh (user32+910AAh), symbol: "WINPROC_wrapper" (+1Ah)  
  Address: 7EA810AAh (user32+910AAh), symbol: "WINPROC_wrapper" (+1Ah)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA8171Ah (user32+9171Ah)  
  Address: 7EA15850h (user32+25850h), symbol: "DefDlgProcW" (+0h)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA816ECh (user32+916ECh)  
  Address: 7EA7161Dh (user32+8161Dh)  
  Address: 7BC3C7B6h (ntdll+2C7B6h), symbol: "RtlLeaveCriticalSection" (+16h)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA816DBh (user32+916DBh)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA83C59h (user32+93C59h)  
  Address: 7EA15850h (user32+25850h), symbol: "DefDlgProcW" (+0h)  
  Address: 7EA83C15h (user32+93C15h)  
  Address: 7EAFFA58h (user32+10FA58h)  
  Address: 7EA83B7Bh (user32+93B7Bh)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA46FB0h (user32+56FB0h)  
  Address: 7EA73896h (user32+83896h), symbol: "GetWindowThreadProcessId" (+16h)  
  Address: 7EA618EBh (user32+718EBh)  
  Address: 7EA4E36Ch (user32+5E36Ch)  
  Address: 7EA73FEFh (user32+83FEFh), symbol: "GetWindowLongA" (+1Fh)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA18509h (user32+28509h)  
  Address: 7EA4E1AFh (user32+5E1AFh)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA4E5FDh (user32+5E5FDh), symbol: "SendMessageW" (+5Dh)  
  Address: 7EA183EBh (user32+283EBh)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7B845136h (kernel32+35136h), symbol: "MulDiv" (+16h)  
  Address: 7EA1A96Fh (user32+2A96Fh)  
  Address: 7EA1A96Fh (user32+2A96Fh)  
  Address: 7EA8C580h (user32+9C580h)  
  Address: 026A63F1h (foo_discogs+63F1h)  
  Address: 026A0000h (foo_discogs+0h)  
  Address: 027303F4h (foo_discogs+903F4h)  
  Address: 02720190h (foo_discogs+80190h)  
  Address: 02730C58h (foo_discogs+90C58h)  
  Address: 7EA8C5A8h (user32+9C5A8h)  
  Address: 7BC5544Dh (ntdll+4544Dh), symbol: "RtlImageNtHeader" (+4Dh)  
  Address: 7BC6D5E0h (ntdll+5D5E0h), symbol: "LdrAccessResource" (+3D0h)  
  Address: 7BCC9000h (ntdll+B9000h)  
  Address: 7BC95F40h (ntdll+85F40h)  
  Address: 026A0000h (foo_discogs+0h)  
  Address: 7BC95F40h (ntdll+85F40h)  
  Address: 7BCC9000h (ntdll+B9000h)  
  Address: 026A0000h (foo_discogs+0h)  
  Address: 0272F168h (foo_discogs+8F168h)  
  Address: 7BC95F40h (ntdll+85F40h)  
  Address: 7BCC9000h (ntdll+B9000h)  
  Address: 7BC95F40h (ntdll+85F40h)  
  Address: 004E0000h (foobar2000+E0000h)  
  Address: 7BC3C7B6h (ntdll+2C7B6h), symbol: "RtlLeaveCriticalSection" (+16h)  
  Address: 7BCC9000h (ntdll+B9000h)  
  Address: 7BC504E2h (ntdll+404E2h), symbol: "RtlAllocateHeap" (+7B2h)  
  Address: 7BC504E2h (ntdll+404E2h), symbol: "RtlAllocateHeap" (+7B2h)  
  Address: 7BCC9000h (ntdll+B9000h)  
  Address: 7BC555FBh (ntdll+455FBh), symbol: "RtlImageDirectoryEntryToData" (+4Bh)  
  Address: 7BC555FBh (ntdll+455FBh), symbol: "RtlImageDirectoryEntryToData" (+4Bh)  
  Address: 026A0000h (foo_discogs+0h)  
  Address: 7BC6DD16h (ntdll+5DD16h), symbol: "LdrFindResource_U" (+16h)  
  Address: 7BC555C6h (ntdll+455C6h), symbol: "RtlImageDirectoryEntryToData" (+16h)  
  Address: 7BCC9000h (ntdll+B9000h)  
  Address: 026A0000h (foo_discogs+0h)  
  Address: 0272F168h (foo_discogs+8F168h)  
  Address: 7BC6DF8Ch (ntdll+5DF8Ch), symbol: "access_resource" (+BCh)  
  Address: F73FED99h (libc.so.6+2BD99h)  
  Address: 7BCC9000h (ntdll+B9000h)  
  Address: 026A0000h (foo_discogs+0h)  
  Address: 7BC6DF8Ch (ntdll+5DF8Ch), symbol: "access_resource" (+BCh)  
  Address: 026A0000h (foo_discogs+0h)  
  Address: 026A0000h (foo_discogs+0h)  
  Address: 026A0000h (foo_discogs+0h)  
  Address: 0272F168h (foo_discogs+8F168h)  
  Address: 7BC95F40h (ntdll+85F40h)  
  Address: 7BC95F40h (ntdll+85F40h)  
  Address: 7BCC9000h (ntdll+B9000h)  
  Address: 026A0000h (foo_discogs+0h)  
  Address: 0272F168h (foo_discogs+8F168h)  
  Address: F73FED99h (libc.so.6+2BD99h)  
  Address: 7BCC9000h (ntdll+B9000h)  
  Address: 7BC95F40h (ntdll+85F40h)  
  Address: 7BC6F8CDh (ntdll+5F8CDh), symbol: "RtlInterlockedPopEntrySList" (+6Dh)  
  Address: 7BC95F40h (ntdll+85F40h)  
  Address: 7EA19CCDh (user32+29CCDh)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 026A0000h (foo_discogs+0h)  
  Address: 7EA1B917h (user32+2B917h), symbol: "CreateDialogIndirectParamAorW" (+37h)  
  Address: 026A63F1h (foo_discogs+63F1h)  
  Address: 0272F168h (foo_discogs+8F168h)  
  Address: 7BC6D22Ah (ntdll+5D22Ah), symbol: "LdrAccessResource" (+1Ah)  
  Address: 026A0000h (foo_discogs+0h)  
  Address: 7EA1BA22h (user32+2BA22h), symbol: "CreateDialogIndirectParamW" (+32h)  
  Address: 026A4970h (foo_discogs+4970h)  
  Address: 7B86C806h (kernel32+5C806h), symbol: "FindResourceExW" (+16h)  
  Address: 7EA1BA22h (user32+2BA22h), symbol: "CreateDialogIndirectParamW" (+32h)  
  Address: 026A0000h (foo_discogs+0h)  
  Address: 027303C0h (foo_discogs+903C0h)  
  Address: 026A63F1h (foo_discogs+63F1h)  
  Address: 027303C0h (foo_discogs+903C0h)  
  Address: 7EA1BA04h (user32+2BA04h), symbol: "CreateDialogIndirectParamW" (+14h)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA1BA91h (user32+2BA91h), symbol: "CreateDialogParamW" (+61h)  
  Address: 026A0000h (foo_discogs+0h)  
  Address: 7EA1BA91h (user32+2BA91h), symbol: "CreateDialogParamW" (+61h)  
  Address: 026A0000h (foo_discogs+0h)  
  Address: 027303C0h (foo_discogs+903C0h)  
  Address: 026A63F1h (foo_discogs+63F1h)  
  Address: 0272F168h (foo_discogs+8F168h)  
  Address: 7B862C2Fh (kernel32+52C2Fh), symbol: "FlushInstructionCache" (+1Fh)  
  Address: 026A63F1h (foo_discogs+63F1h)  
  Address: 7EA1BA46h (user32+2BA46h), symbol: "CreateDialogParamW" (+16h)  
  Address: 026CDEB2h (foo_discogs+2DEB2h)  
  Address: 026A68A1h (foo_discogs+68A1h)  
  Address: 0272D024h (foo_discogs+8D024h)  
  Address: 026CDEB2h (foo_discogs+2DEB2h)  
  Address: 026A0000h (foo_discogs+0h)  
  Address: 026A63F1h (foo_discogs+63F1h)  
  Address: 02705613h (foo_discogs+65613h)  
  Address: 026CF65Eh (foo_discogs+2F65Eh)  
  Address: 02715438h (foo_discogs+75438h)  
  Address: 0270592Eh (foo_discogs+6592Eh)  
  Address: 026CDF25h (foo_discogs+2DF25h)  
  Address: 004BDBA1h (foobar2000+BDBA1h)  
  Address: 004BD144h (foobar2000+BD144h)  
  Address: 004BDF58h (foobar2000+BDF58h)  
  Address: 005534E0h (foobar2000+1534E0h)  
  Address: 004BDEC9h (foobar2000+BDEC9h)  
  Address: 004BDE83h (foobar2000+BDE83h)  
  Address: 005534E0h (foobar2000+1534E0h)  
  Address: 00521E28h (foobar2000+121E28h)  
  Address: 0056DB60h (foobar2000+16DB60h)  
  Address: 00402120h (foobar2000+2120h)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA810AAh (user32+910AAh), symbol: "WINPROC_wrapper" (+1Ah)  
  Address: 7BC4E0F1h (ntdll+3E0F1h)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA8183Bh (user32+9183Bh)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA81809h (user32+91809h)  
  Address: 7E9FC579h (user32+C579h)  
  Address: 7EA701CEh (user32+801CEh)  
  Address: 7EAFF8A0h (user32+10F8A0h)  
  Address: 7EA817FBh (user32+917FBh)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA840B3h (user32+940B3h)  
  Address: 7EA701FEh (user32+801FEh)  
  Address: 7E9FC801h (user32+C801h)  
  Address: 7EAFF8A0h (user32+10F8A0h)  
  Address: 7EA8406Bh (user32+9406Bh)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA158C4h (user32+258C4h), symbol: "DefDlgProcW" (+74h)  
  Address: 7EA158ABh (user32+258ABh), symbol: "DefDlgProcW" (+5Bh)  
  Address: 7EA15866h (user32+25866h), symbol: "DefDlgProcW" (+16h)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA810AAh (user32+910AAh), symbol: "WINPROC_wrapper" (+1Ah)  
  Address: 7EA810AAh (user32+910AAh), symbol: "WINPROC_wrapper" (+1Ah)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA8171Ah (user32+9171Ah)  
  Address: 7EA15850h (user32+25850h), symbol: "DefDlgProcW" (+0h)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA816ECh (user32+916ECh)  
  Address: 7EAFF8A0h (user32+10F8A0h)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA7161Dh (user32+8161Dh)  
  Address: 7BC3C7B6h (ntdll+2C7B6h), symbol: "RtlLeaveCriticalSection" (+16h)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA816DBh (user32+916DBh)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA83C59h (user32+93C59h)  
  Address: 7EA15850h (user32+25850h), symbol: "DefDlgProcW" (+0h)  
  Address: 7EA83C15h (user32+93C15h)  
  Address: 7EAFF8A0h (user32+10F8A0h)  
  Address: 7EAFFA58h (user32+10FA58h)  
  Address: 7EA701B9h (user32+801B9h)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA83B7Bh (user32+93B7Bh)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA7161Dh (user32+8161Dh)  
  Address: 7EA49227h (user32+59227h), symbol: "DispatchMessageW" (+97h)  
  Address: 7EA701FEh (user32+801FEh)  
  Address: 7EAFF8A0h (user32+10F8A0h)  
  Address: 7EA7161Dh (user32+8161Dh)  
  Address: 7EA701E9h (user32+801E9h)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA73C77h (user32+83C77h)  
  Address: 0043A26Ah (foobar2000+3A26Ah)  
  Address: 0049D80Eh (foobar2000+9D80Eh)  
  Address: 00582998h (foobar2000+182998h)  
  Address: 7EA73B6Dh (user32+83B6Dh)  
  Address: 7EA73B6Dh (user32+83B6Dh)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA7401Fh (user32+8401Fh), symbol: "GetWindowLongW" (+1Fh)  
  Address: 7EA2B17Bh (user32+3B17Bh), symbol: "HOOKPROC_wrapper" (+A5Bh)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA73B6Dh (user32+83B6Dh)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA7161Dh (user32+8161Dh)  
  Address: 7EA50436h (user32+60436h), symbol: "TranslateMessage" (+16h)  
  Address: 7EA491ABh (user32+591ABh), symbol: "DispatchMessageW" (+1Bh)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA1BBF5h (user32+2BBF5h), symbol: "IsDialogMessageW" (+145h)  
  Address: 7EA7161Dh (user32+8161Dh)  
  Address: 7EA1BBF5h (user32+2BBF5h), symbol: "IsDialogMessageW" (+145h)  
  Address: 7EA7161Dh (user32+8161Dh)  
  Address: 7BC3C7B6h (ntdll+2C7B6h), symbol: "RtlLeaveCriticalSection" (+16h)  
  Address: 7EA816DBh (user32+916DBh)  
  Address: 004621E2h (foobar2000+621E2h)  
  Address: 7EA83C15h (user32+93C15h)  
  Address: 7EAFFB78h (user32+10FB78h)  
  Address: 7EA61EEBh (user32+71EEBh)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA75F10h (user32+85F10h), symbol: "DestroyWindow" (+0h)  
  Address: 7EA49254h (user32+59254h), symbol: "DispatchMessageW" (+C4h)  
  Address: F74A231Ch (libc.so.6+CF31Ch), symbol: "sched_yield" (+Ch)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA81A20h (user32+91A20h)  
  Address: 7E9FC98Dh (user32+C98Dh)  
  Address: 7EA81A20h (user32+91A20h)  
  Address: 7EAFF920h (user32+10F920h)  
  Address: 7DA27D36h (winex11+17D36h)  
  Address: 7EA819ABh (user32+919ABh)  
  Address: 7EA4A05Dh (user32+5A05Dh)  
  Address: 7EA4A05Dh (user32+5A05Dh)  
  Address: 7EAC0000h (user32+D0000h)  
  Address: 7EA4D9C2h (user32+5D9C2h), symbol: "GetMessageW" (+142h)  
  Address: 7EA1BAC6h (user32+2BAC6h), symbol: "IsDialogMessageW" (+16h)  
  Address: 7EA1BAC6h (user32+2BAC6h), symbol: "IsDialogMessageW" (+16h)  
  Address: 0045F693h (foobar2000+5F693h)  
  Address: 0045F693h (foobar2000+5F693h)  
  Address: 7EA75F10h (user32+85F10h), symbol: "DestroyWindow" (+0h)  
  Address: 00524659h (foobar2000+124659h)  
  Address: 0045F70Ah (foobar2000+5F70Ah)  
  Address: 0043A26Ah (foobar2000+3A26Ah)  
  Address: 0046018Ah (foobar2000+6018Ah)  
  Address: 005134B8h (foobar2000+1134B8h)  
  Address: 7B8B5000h (kernel32+A5000h)  
  Address: 00548AB0h (foobar2000+148AB0h)  
  Address: 0054C738h (foobar2000+14C738h)  
  Address: 0054C738h (foobar2000+14C738h)  
  Address: 00557204h (foobar2000+157204h)  
  Address: 00393631h (foo_jesus+13631h)  
  Address: 7BC3C7B6h (ntdll+2C7B6h), symbol: "RtlLeaveCriticalSection" (+16h)  
  Address: 7BCC9000h (ntdll+B9000h)  
  Address: 0051899Bh (foobar2000+11899Bh)  
  
  Environment:  
  App: foobar2000 v1.3.8  
  UI: Default User Interface 0.9.5  
  
  Components:  
  Core (2015-03-26 07:45:52 UTC)  
      foobar2000 core 1.3.8  
  foo_albumlist.dll (2015-03-26 07:42:40 UTC)  
      Album List 4.5  
  foo_audioscrobbler.dll (2014-08-27 05:56:30 UTC)  
      Audioscrobbler 1.4.7  
  foo_bpm.dll (2015-05-29 17:20:49 UTC)  
      BPM Analyser 0.2.4.6  
  foo_cdda.dll (2015-03-26 07:42:18 UTC)  
      CD Audio Decoder 3.0  
  foo_converter.dll (2015-03-26 07:42:24 UTC)  
      Converter 1.5  
  foo_customdb.dll (2015-05-29 17:21:07 UTC)  
      Custom Database 0.1.0_beta1  
  foo_discogs.dll (2015-06-02 18:15:28 UTC)  
      Discogs Tagger 1.52  
  foo_dsp_dolbyhp.dll (2014-08-31 14:34:22 UTC)  
      Dolby Headphone Wrapper 1.4.1  
  foo_dsp_effect.dll (2015-04-09 13:44:37 UTC)  
      Effect DSP 0.16  
  foo_dsp_eq.dll (2015-03-07 10:19:44 UTC)  
      Equalizer 1.0  
  foo_dsp_fakegapless.dll (2015-02-15 03:06:34 UTC)  
      Fake Gapless DSP 0.3  
  foo_dsp_std.dll (2015-03-26 07:42:26 UTC)  
      Standard DSP Array 1.3.1  
  foo_facets.dll (2011-08-18 18:06:16 UTC)  
      Facets 1.0  
  foo_fileops.dll (2015-03-07 10:19:10 UTC)  
      File Operations 2.2.1  
  foo_freedb2.dll (2015-03-07 10:19:36 UTC)  
      Online Tagger 0.7  
  foo_infospect.dll (2014-08-27 05:56:42 UTC)  
      Infospect 1.0.3  
  foo_input_std.dll (2015-03-26 07:45:52 UTC)  
      Standard Input Array 1.0  
  foo_jesus.dll (2014-08-31 14:34:50 UTC)  
      Autosave & Autobackup 10  
  foo_musicbrainz.dll (2014-07-30 13:53:04 UTC)  
      MusicBrainz Tagger 0.3  
  foo_playcount.dll (2014-08-27 05:56:52 UTC)  
      Playback Statistics 3.0.2  
  foo_random_pools.dll (2015-04-09 13:44:37 UTC)  
      Random Pools 0.1.5  
  foo_rgscan.dll (2015-03-26 07:43:12 UTC)  
      ReplayGain Scanner 2.2.1  
  foo_run.dll (2014-09-07 23:08:33 UTC)  
      Run services 0.3.7  
  foo_runcmd.dll (2014-09-07 23:08:39 UTC)  
      Run Command 1.1  
  foo_simplaylist.dll (2014-08-31 13:34:44 UTC)  
      SimPlaylist 1.0  
  foo_simplaylist_manager.dll (2014-08-31 13:34:34 UTC)  
      SimPlaylist Manager 1.0  
  foo_stop_after_queue.dll (2014-08-31 14:35:24 UTC)  
      Stop After Queue 0.1  
  foo_textdisplay.dll (2014-08-27 05:57:06 UTC)  
      Text Display UI Element 1.1 beta 1  
  foo_ui_columns.dll (2015-04-25 11:07:44 UTC)  
      Columns UI 0.3.8.9  
  foo_ui_std.dll (2015-03-26 07:45:52 UTC)  
      Default User Interface 0.9.5  
  foo_uie_albumlist.dll (2009-06-13 22:49:19 UTC)  
      Album list panel 0.3.5  
  foo_uie_biography.dll (2010-12-11 06:47:22 UTC)  
      Biography View 0.4.2.4  
  foo_uie_console.dll (2009-08-29 16:06:24 UTC)  
      Console panel 0.4  
  foo_uie_lyrics3.dll (2015-02-22 04:12:21 UTC)  
      Lyric Show Panel 3 0.4.5  
  foo_uie_typefind.dll (2007-10-22 21:30:44 UTC)  
      Typefind 0.2 beta 2  
  foo_uie_wsh_panel_mod.dll (2015-05-29 17:20:36 UTC)  
      WSH Panel Mod 1.5.10  
  foo_unpack.dll (2015-03-26 07:42:42 UTC)  
      ZIP/GZIP/RAR Reader 1.7.1  
  
  Recent events:  
  RegisterShellHookWindow failure  
  Album List refreshed in: 0:02.337608  
  WSH Panel Mod (Last.fm Playcount Sync by marc2003): Parsing file "C:\users\xxxx\Application Data\foobar2000\marc2003\common7.js"  
  Last.fm Playcount Sync: Unable to use your default font. Using Segoe UI instead.  
  Custom Database: Initialize  
  Custom Database: table quicktag already exists (1)  
  Custom Database: table database_version already exists (1)  
  Custom Database: index url_idx already exists (1)  
  Custom Database: Completed  
  WSH Panel Mod (Last.fm Playcount Sync by marc2003): initialized in 62 ms  
  WSH Panel Mod (Web Links by marc2003. Images by komodomedia.com and mjm716): Parsing file "C:\users\xxxx\Application Data\foobar2000\marc2003\common7.js"  
  Web Links: Unable to use your default font. Using Segoe UI instead.  
  WSH Panel Mod (Web Links by marc2003. Images by komodomedia.com and mjm716): initialized in 29 ms  
  WSH Panel Mod (Last.fm Charts by marc2003): Parsing file "C:\users\xxxx\Application Data\foobar2000\marc2003\common7.js"  
  Last.fm Charts: Unable to use your default font. Using Segoe UI instead.  
  WSH Panel Mod (Last.fm Charts by marc2003): initialized in 41 ms  
  WSH Panel Mod (Last.fm Similar Artists by marc2003): Parsing file "C:\users\xxxx\Application Data\foobar2000\marc2003\common7.js"  
  Last.fm Similar Artists: Unable to use your default font. Using Segoe UI instead.  
  WSH Panel Mod (Last.fm Similar Artists by marc2003): initialized in 30 ms  
  WSH Panel Mod (Musicbrainz by marc2003): Parsing file "C:\users\xxxx\Application Data\foobar2000\marc2003\common7.js"  
  Musicbrainz: Unable to use your default font. Using Segoe UI instead.  
  WSH Panel Mod (Musicbrainz by marc2003): initialized in 31 ms  
  User Interface initialized in: 0:10.052371  
  Processing commandline  
  initquit::init entry  
  Conf3 already initialized.  
  initquit::init exit  
  Startup time : 0:15.018169  
  Autobackup: Backed up 35 items to autobackup.20150604-180533.zip  
  foo_discogs: http://api.discogs.com/releases/1388491?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=1433433942458a&oauth_signature=AZusa86mfLJms2wOHza1I%2F%2FBcUI%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1433433942&oauth_token=NpAkpGxwHtbjdeMTjAsOyfDiDAORpTOqlogtkuHC&oauth_version=1.0  
  
  
  Machine specifications:  
  OS: wine-1.7.44, on: Linux / 3.19.0-20-generic  
  CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4000+, features: 3DNow!ex MMX SSE SSE2 SSE3  
  CPU threads: 2  
  Audio: Pulseaudio
Title: foo_discogs
Post by: Hydroc on 2015-06-04 21:03:39
The list goes on, also getting JSON errors with all the releases I mentioned except the one that crashed...

4596138
Title: foo_discogs
Post by: Hydroc on 2015-06-05 09:18:34
Next one : 5907602

It seems to be there are mostly errors when the tracks are not named 1,2,...  but CD-1, CD1, CD-2,...

Mostly used when there is an additional DVD in the set
Title: foo_discogs
Post by: Hydroc on 2015-06-05 15:52:59
Another JSON error

1161448
Title: foo_discogs
Post by: Hydroc on 2015-06-05 20:42:14
again a JSON error, again a Video section in it, can this please be fixed? Would be great...
430762

and this one, again, crashes foobar totally
521830
Title: foo_discogs
Post by: fuffi on 2015-06-06 04:19:55
Hi, a shortish feedback (not on the new functions):


Find release window:

-It would be nice to see the version number (with alpha/beta status, or date) in the titlebar. just to know, what version is running.



edit tag mappings-window:

-It would be nice if the window would save its position/size. (and ofcourse the sizes/positions of the column-headers/row-seperators, because fiddeling them on each invocation is quite a fiddeling work :-)

-It woult be nice, if the "help file" (copied into the f2k folder) could be opened with F1 or clicking a "?" button

-A maximize button would be great, to maximize the window on one click.

-Marking i.e. line 4 (DATE) and right-clicking on the columns-heading to change the "write/update..." setting, changes the first entry (ARTIST), but not the selected one.


Addon itself:

-I played around and recognized, that I needed to empty the cache with the "clear cache"-button sometimes, because no releases were shown anymore from an artist. it worked all normal, but somethow the addon swallowed the releases which were shown before and did not showed any release until I emptied the cache. Then the releases were fetched again and shown again as expected.

-I had repeatable foobar-crashes with these releases: 6088138 7026811 3381267 6871267 1438836 892808 1912661 6312502 4359614 4253278
do you need the crashlogs?


Me:
I had some of the above mentioned "JSON Parser ExceptionUnable to parse Discogs tracklist." errors (i.e. 5132403). Mainly on master releases (marked with an *) or while clicking on the "[master] album, year"-link by mistake.

Therefore, I'd like to ask/wish for a maybe "dumb-user-helper-function":

Because not all releases are shown via the api-calls of the addon, so I often browse the discoGS website for releases too and often find them, while the addon is not showing them (for may reasons, which I don't blame the addon for).
When I find a release for tagging, I just copy the release-id from the URL of my browser, like 5132403 of http://www.discogs.com/Guido-Moods-Of-Futu...release/5132403 (http://www.discogs.com/Guido-Moods-Of-Future-Joy/release/5132403). Sometimes, I do not copy correctly and have a ending space, or leading slash in the clipboard, while pasting it to the addons "release id or url:"-field, which gives the following error: (FATAL) Error: Error loading release 5132403  : HTTP Error (400)(url: http://api.discogs.com/releases/5132403 (http://api.discogs.com/releases/5132403)  )
While this errror is correct, because I did not enter a valid ID, I'd like to ask, if you could strip leading/trailing spaces from the users input :-)


Title: foo_discogs
Post by: zoomorph on 2015-06-06 08:00:07
The list goes on, also getting JSON errors with all the releases I mentioned except the one that crashed...

4596138

Tricky one. foo_discogs currently fails to parse the tracklist for this, because the two discs don't have numbering like 1.1, 1.2, ..., 2.1, 2.2, ...., and because the number of heading titles (3) is different than the number of discs reported by Discogs (2). Some additional logic could be added to detect "discs" where the same track number ("1") is repeated multiple times but that would surely detect 3 discs rather than 2. I'm pretty sure this release isn't entered properly in the database. At the least, the last 2 tracks should be numbered 9 and 10, no? I'm not sure about prefixes for the 2 discs being required when one is a CD and the other a DVD.
Title: foo_discogs
Post by: zoomorph on 2015-06-06 08:10:44
I found some problematic releases:
In
Bucketheadland - Racks (http://www.discogs.com/release/4099273)
Bucketheadland - March Of The Slunks (http://www.discogs.com/release/4099295)
DISCOGS_SERIES_NUMBER always returns 2 when must be 8 and 9.
Also DATE with $if2(%MASTER_RELEASE_YEAR%,%RELEASE_YEAR%) returns empty but DISCOGS_RELEASE_YEAR=%RELEASE_YEAR% is 2012.

Good catches! The series number contained the wrong info. I removed series catalog number, which is actually the series number.

I've modified things to play better with $if2, as well, so the above should work now. Unfortunately, $multi_if2 and $if2 are a bit different (and impossible to rectify this). The "truth" of $if and $if2 is based on the return value from some function, whereas the "truth" of $multi_if is based on the actual value of the string. In this case, %MASTER_RELEASE_YEAR% was returning true even though it was an empty string, so $if used the empty string although $multi_if treated it as false. Just FYI.
Title: foo_discogs
Post by: zoomorph on 2015-06-06 08:18:02
Here is a new build that should fix all the other JSON errors and crashes:
https://www.sendspace.com/file/j39f7l (https://www.sendspace.com/file/j39f7l)

It uses a different method to parse the release "credits" and match them to tracks. Non-numeric numbered tracks were causing these errors.

FYI, crash reports aren't necessary if it's a reproducible issue just knowing the release id, which is usually always the case.

Hi, a shortish feedback (not on the new functions):

All good feedback, thanks. I'd like to incorporate most of that.
Title: foo_discogs
Post by: Hydroc on 2015-06-06 10:32:04
The list goes on, also getting JSON errors with all the releases I mentioned except the one that crashed...

4596138

Tricky one. foo_discogs currently fails to parse the tracklist for this, because the two discs don't have numbering like 1.1, 1.2, ..., 2.1, 2.2, ...., and because the number of heading titles (3) is different than the number of discs reported by Discogs (2). Some additional logic could be added to detect "discs" where the same track number ("1") is repeated multiple times but that would surely detect 3 discs rather than 2. I'm pretty sure this release isn't entered properly in the database. At the least, the last 2 tracks should be numbered 9 and 10, no? I'm not sure about prefixes for the 2 discs being required when one is a CD and the other a DVD.


I'll have a look at that and will edit if necessary

*EDIT* You're right this is surely not entered correctly

*EDIT* This is corrected now in discogs but sometimes it takes some time for the API to read out the correct version
Title: foo_discogs
Post by: Hydroc on 2015-06-06 11:27:33
Here is a new build that should fix all the other JSON errors and crashes:
https://www.sendspace.com/file/j39f7l (https://www.sendspace.com/file/j39f7l)

It uses a different method to parse the release "credits" and match them to tracks. Non-numeric numbered tracks were causing these errors.

FYI, crash reports aren't necessary if it's a reproducible issue just knowing the release id, which is usually always the case.

Hi, a shortish feedback (not on the new functions):

All good feedback, thanks. I'd like to incorporate most of that.


Hi but the track matching seems to not working a 100% with the different method.

eg release 521830

You have
Producer – Lacuna Coil (tracks: 2-1 to 2-9)
Producer, Engineer – Waldemar Sorychta (tracks: 1-1 to 1-13)

but Lacuna Coil also appears as producer in tracks 1-1 to 1-13 as Waldemar Sorychta is appearing in tracks 2-1 to 2-9
Title: foo_discogs
Post by: zoomorph on 2015-06-06 19:48:57
Hi Hydroc,

This should fix it:
https://www.sendspace.com/file/tljo3q (https://www.sendspace.com/file/tljo3q)

Thanks
Title: foo_discogs
Post by: Hydroc on 2015-06-06 21:46:26
That's still not a 100%, it did it for the mentioned release but here

Release : 650207 we have

Music By, Lyrics By – Letzte Instanz (tracks: 1 to 10,12), Wolfram Huschke (tracks: 11)

and in track 11 there is still Music By and Lyrics By -> Wolfram Huschke AND Letzte Instanz
Title: foo_discogs
Post by: zoomorph on 2015-06-07 03:48:33
That's still not a 100%, it did it for the mentioned release but here

Release : 650207 we have

Music By, Lyrics By – Letzte Instanz (tracks: 1 to 10,12), Wolfram Huschke (tracks: 11)

and in track 11 there is still Music By and Lyrics By -> Wolfram Huschke AND Letzte Instanz

Technically, that's entered wrongly in the database since there's no space between "10," and "12", which is required in the guidelines. However, I have modified foo_discogs not to require a space there. 

https://www.sendspace.com/file/u6vrms (https://www.sendspace.com/file/u6vrms)
Title: foo_discogs
Post by: Hydroc on 2015-06-07 07:06:27
That's still not a 100%, it did it for the mentioned release but here

Release : 650207 we have

Music By, Lyrics By – Letzte Instanz (tracks: 1 to 10,12), Wolfram Huschke (tracks: 11)

and in track 11 there is still Music By and Lyrics By -> Wolfram Huschke AND Letzte Instanz

Technically, that's entered wrongly in the database since there's no space between "10," and "12", which is required in the guidelines. However, I have modified foo_discogs not to require a space there. 

https://www.sendspace.com/file/u6vrms (https://www.sendspace.com/file/u6vrms)


Ah ok, that's something I did not really realize yesterday, maybe "discogging" too much in the last days. I wondered why it is not working here...

Thanks for modifiying anyway, testing the remaining JSON errors today if they really are gone, but it looks very good so far
Title: foo_discogs
Post by: fuffi on 2015-06-07 09:12:40
Hi zoomorph,
the beta tags the album artists with "various" instead of the given preference in the settings "various artists"
[a href="http://www.bilder-hochladen.net/i/hcyg-3y-07e3.png" target="_blank"]
Title: foo_discogs
Post by: zoomorph on 2015-06-08 08:45:40
Updates:
- New method of saving settings/config which will make it easy to add new settings as required.
- Save window size and column widths of edit_tag_mappings dialog.
- Syntax help link on edit_tag_mappings dialog opens the HTML help file, now bundled with the component.

https://www.sendspace.com/file/lys60d (https://www.sendspace.com/file/lys60d)
Title: foo_discogs
Post by: zoomorph on 2015-06-08 19:56:31
Hi zoomorph,
the beta tags the album artists with "various" instead of the given preference in the settings "various artists"
...
Maybe it would be easier to understand for the user when u delete the settings entry and just enhance the formatting string to take care of the "various artists" tag?

From the examples in the help doc:
ALBUM ARTIST = $join($multi_replace(%<RELEASE_ARTISTS_NAME%>,'Various','VA'),$multi_pad(%<RELEASE_ARTISTS_JOIN%>,' '))

Replace VA with whatever you want. Of course if you want the same behavior for other tags (track artist, etc) then you should do something similar for them as well. :-)

feature wish: I'd like to have some way of sorting the entries in the "tag mappings" list, in a nice&easy way. Just to have them in a useful, coherent and fast reachable order for my personal needs

Not sure how much sense that would make, since the order that tags are defined in can matter (if the $pput functions are used or same tag is defined twice).
Title: foo_discogs
Post by: fuffi on 2015-06-08 20:36:34
feature wish: I'd like to have some way of sorting the entries in the "tag mappings" list, in a nice&easy way. Just to have them in a useful, coherent and fast reachable order for my personal needs
Not sure how much sense that would make, since the order that tags are defined in can matter (if the $pput functions are used or same tag is defined twice).

Oh, I only meant the order for displaying the tags in the edit-tags-window. Not inside the mediafile. The list now is really long and looking for a special tag is quite painstaking.
I.e. I just like the STYLE tag under the GENRE Tag. So its easier to edit both directly.

- Save window size and column widths of edit_tag_mappings dialog.

Great, thank you. Could you please save the position too? now, a big sized window needs to be moved to the top of the screen every time, to be shown all at once 8-)


From the examples in the help doc:
...
- Syntax help link on edit_tag_mappings dialog opens the HTML help file, now bundled with the component.

I don't get it. Is there a button? If yes, where? Is there a key to be pressed? If yes, which?

I saw a link, anywhere inside the list, placed somehow strange and glitchy,
(http://www.bilder-hochladen.net/files/thumbs/hcyg-43-21d0.png) (http://www.bilder-hochladen.net/i/hcyg-43-21d0.png)
but now its gone...
(http://www.bilder-hochladen.net/files/thumbs/hcyg-41-c262.png) (http://www.bilder-hochladen.net/i/hcyg-41-c262.png)



Anyways, just to inform all other users:
I had made a backup from the non beta version, just in case, in the components folder (X:/foobar2000/user-components/discogs/) while copied the file "discogs.dll" to "discogs.dll.bak".
Now, after executing the foo_discogs.fb2k-component file, which is like an installer for components of foobar2000, all the files inside that folder (user-components/discogs) are gone. Thats a feature of foobar2000, which I forgot about....
So IF you have backupfiles in the components folder, backup them anywhere else ;-)
Title: foo_discogs
Post by: simcut on 2015-06-10 13:36:16
Hi all!

Wondered if you could please help me with an issue I'm having with the plugin.

I'm trying to use the plugin to tag some stuff, and its having issues with a couple of multi-disc releases.

http://www.discogs.com/Various-Energetic-H...release/5149402 (http://www.discogs.com/Various-Energetic-Hardcore-Monsters/release/5149402)

for some reason it's showing up like this below:-

(http://i.gyazo.com/7995fac6f0ccef732b67d29ac35f243d.png)

I have no idea why, it's also doing the same thing on another discogs entry:-

http://www.discogs.com/Various-A-Remix-Nat...release/6612909 (http://www.discogs.com/Various-A-Remix-Nation-12/release/6612909)

Any ideas what is causing this to happen and how I can resolve it?

Thanks!
Title: foo_discogs
Post by: fuffi on 2015-06-10 15:32:30
any ideas what is causing this to happen and how I can resolve it?

This feature is still in development.

What version of the component are u using?

U may try an older version (not the betas here in the last 20-30 posts) from the links here in the thread (good luck soldier, because this thread is extremly long....u may skip some months) or try the one downloadable from the f2k-components website. http://www.foobar2000.org/components (http://www.foobar2000.org/components)
its v1.55, but I dunno if its working on that feature. (so u may look for a version <v1.55)

If u find a working version, please link it here ;-)
Title: foo_discogs
Post by: simcut on 2015-06-11 00:29:03
any ideas what is causing this to happen and how I can resolve it?

This feature is still in development.

What version of the component are u using?

U may try an older version (not the betas here in the last 20-30 posts) from the links here in the thread (good luck soldier, because this thread is extremly long....u may skip some months) or try the one downloadable from the f2k-components website. http://www.foobar2000.org/components (http://www.foobar2000.org/components)
its v1.55, but I dunno if its working on that feature. (so u may look for a version <v1.55)

If u find a working version, please link it here ;-)


Hiya!

It's a shame it's still in development as it used to work fine in the old format (vaguely remember you had to choose number of discs and so on, like disc 1 of 2), strange thing is it used to work fine until recently, now I keep having this issue with "hidden" showing up in the results, like the image I showed you.

perhaps its a bug with the numbering format? because I did a test on a multi-disc release that is numbered below:-

1-01
1-02
1-03
1-04

(I realise that release is wrong and should be 1-1,1-2) but it worked, and I was able to see all the listed tracks.

So perhaps its the 1-1, 1-2, 1-3 etc that is somehow confusing the plugin?

I'm using v1.55 yes

hope zoomorph is able to fix this problem asap, as at present I have no way of using the plugin for multi-disc releases unless I roll back to an earlier version of the plugin

It seems v1.40 was the last version using the old system for multi-disc releases, I've searched the forum but all the sendspace links for 1.40 are now expired, would much appreciate if someone could please upload v1.40 if they still use it?

Thanks in advance!
Title: foo_discogs
Post by: alexinc on 2015-06-11 07:32:25
simon,

try checking this thread for the latest update of his component. he is updating it quite regularly, but as its in beta it doesnt get updated through foobar components. maybe this problem is already solved.

LATEST HERE (http://www.hydrogenaud.io/forums/index.php?showtopic=50523&view=findpost&p=900539)
Title: foo_discogs
Post by: simcut on 2015-06-11 08:25:17
simon,

try checking this thread for the latest update of his component. he is updating it quite regularly, but as its in beta it doesnt get updated through foobar components. maybe this problem is already solved.

LATEST HERE (http://www.hydrogenaud.io/forums/index.php?showtopic=50523&view=findpost&p=900539)


Hey mate! Hope your well, drop me a PM, would be good to catch up  you remove your FB?

And yeah, I tried the latest beta version but the same thing still happened unfortunately

Thanks anyway
Title: foo_discogs
Post by: fuffi on 2015-06-11 19:12:35
I gladly report an error, I encountered right now :-)
This release: 2672205

My ALBUM ARTIST: $join($multi_replace(%<RELEASE_ARTISTS_NAME%>,'Various','Various Artists'),$multi_pad(%<RELEASE_ARTISTS_JOIN%>,' '))

Code: [Select]
(skipped) Error: Error writing tag ALBUM ARTIST [Error processing function $multi_pad : Invalid numeric parameter:  ] for file 
(skipped) Error: Error writing tag ALBUM ARTIST [Error processing function $multi_pad : Invalid numeric parameter:  ] for file
(skipped) Error: Error writing tag ALBUM ARTIST [Error processing function $multi_pad : Invalid numeric parameter:  ] for file
(skipped) Error: Error writing tag ALBUM ARTIST [Error processing function $multi_pad : Invalid numeric parameter:  ] for file
(skipped) Error: Error writing tag ALBUM ARTIST [Error processing function $multi_pad : Invalid numeric parameter:  ] for file
(skipped) Error: Error writing tag ALBUM ARTIST [Error processing function $multi_pad : Invalid numeric parameter:  ] for file
(skipped) Error: Error writing tag ALBUM ARTIST [Error processing function $multi_pad : Invalid numeric parameter:  ] for file
(skipped) Error: Error writing tag ALBUM ARTIST [Error processing function $multi_pad : Invalid numeric parameter:  ] for file
(skipped) Error: Error writing tag ALBUM ARTIST [Error processing function $multi_pad : Invalid numeric parameter:  ] for file
(skipped) Error: Error writing tag ALBUM ARTIST [Error processing function $multi_pad : Invalid numeric parameter:  ] for file
(skipped) Error: Error writing tag ALBUM ARTIST [Error processing function $multi_pad : Invalid numeric parameter:  ] for file


Aditionally, I found this strange placed help-link again...
(http://www.bilder-hochladen.net/files/thumbs/hcyg-44-cae9.png) (http://www.bilder-hochladen.net/i/hcyg-44-cae9.png)
Title: foo_discogs
Post by: fuffi on 2015-06-11 19:35:42
Updates:
- New method of saving settings/config which will make it easy to add new settings as required.

How is this possible?
This sounds exactly, what I'm looking for, because switching between the beta and the old mostly "solid working" version is quite inconvenient (restoring files with my backup: foo_discogs.dll.cfg.bak back to foo_discogs.dll.cfg or foo_discogs.dll.bak to foo_discogs.dll, or, when I want to test the beta again, copying foo_discogs.dll.beta to foo_discogs.dll and the config too...

Title: foo_discogs
Post by: zoomorph on 2015-06-11 20:01:32
Hi all!

Wondered if you could please help me with an issue I'm having with the plugin.

I'm trying to use the plugin to tag some stuff, and its having issues with a couple of multi-disc releases.

http://www.discogs.com/Various-Energetic-H...release/5149402 (http://www.discogs.com/Various-Energetic-Hardcore-Monsters/release/5149402)

for some reason it's showing up like this below:-

(http://i.gyazo.com/7995fac6f0ccef732b67d29ac35f243d.png)

I have no idea why, it's also doing the same thing on another discogs entry:-

http://www.discogs.com/Various-A-Remix-Nat...release/6612909 (http://www.discogs.com/Various-A-Remix-Nation-12/release/6612909)

Any ideas what is causing this to happen and how I can resolve it?

Thanks!

Parsing the tracklist is quite difficult, because it is so flexible. The problem here is that the format is 38 x File yet the tracklist is entered as though it's a 2 CD release. Weird. I'm not sure whether this is technically correct from the database point of view (sadly, it may be because they favor entering track positions as they are on the release, rather than in a logical manner) or an error (and the tracks should really be numbered consecutively from 1 to 38).

I have made a slight patch to foo_discogs (the new alpha version) that fixes parsing these releases. Note that it's a band-aid patch that won't catch everything. In fact, it may be impossible to parse every possible tracklist. I'd like to parse as many as possible, though, so if you discover more releases that aren't parsed correctly, posting them here is the right thing to do. :-)

https://www.sendspace.com/file/7wgw83 (https://www.sendspace.com/file/7wgw83)
Title: foo_discogs
Post by: zoomorph on 2015-06-11 20:16:57
I gladly report an error, I encountered right now :-)
This release: 2672205

My ALBUM ARTIST: $join($multi_replace(%<RELEASE_ARTISTS_NAME%>,'Various','Various Artists'),$multi_pad(%<RELEASE_ARTISTS_JOIN%>,' '))

$multi_pad() got renamed to $multi_wrap(). New $multi_pad() is an array version of the built-in function $pad().
Title: foo_discogs
Post by: simcut on 2015-06-12 13:28:06
Parsing the tracklist is quite difficult, because it is so flexible. The problem here is that the format is 38 x File yet the tracklist is entered as though it's a 2 CD release. Weird. I'm not sure whether this is technically correct from the database point of view (sadly, it may be because they favor entering track positions as they are on the release, rather than in a logical manner) or an error (and the tracks should really be numbered consecutively from 1 to 38).

I have made a slight patch to foo_discogs (the new alpha version) that fixes parsing these releases. Note that it's a band-aid patch that won't catch everything. In fact, it may be impossible to parse every possible tracklist. I'd like to parse as many as possible, though, so if you discover more releases that aren't parsed correctly, posting them here is the right thing to do. :-)

https://www.sendspace.com/file/7wgw83 (https://www.sendspace.com/file/7wgw83)


Thank you very much for the fast reply and the update, it's a bit of a tricky one, because a lot of web releases show up as "disc 1" and "disc 2" so they should be added as such in my opinion, so I think this problem is only going to be for multi-disc releases that are digital only, is that correct?

Going to test this new alpha build now and let you know how I get on

Regards
Title: foo_discogs
Post by: fuffi on 2015-06-12 15:16:41
any ideas what is causing this to happen and how I can resolve it?

This feature is still in development.

What version of the component are u using?

U may try an older version (not the betas here in the last 20-30 posts) from the links here in the thread (good luck soldier, because this thread is extremly long....u may skip some months) or try the one downloadable from the f2k-components website. http://www.foobar2000.org/components (http://www.foobar2000.org/components)
its v1.55, but I dunno if its working on that feature. (so u may look for a version <v1.55)

If u find a working version, please link it here ;-)

Just wanted to quote myself and add, that all the older (maybe working or better-working, with whatever-feature) are not available anymore via sendspace. they're all deleted.
so anybody, which has no backup of an older version anymore (like the unlucky me), has to go with v1.55 or the beta.

actually, I don't really care (only a little bit...), because using only the beta (and reporting bugs) will hopefully speed up the development of great old and new features! thank you zoomorph!
Title: foo_discogs
Post by: fuffi on 2015-06-12 19:35:57
I gladly report an error, I encountered right now :-)
This release: 2672205

My ALBUM ARTIST: $join($multi_replace(%<RELEASE_ARTISTS_NAME%>,'Various','Various Artists'),$multi_pad(%<RELEASE_ARTISTS_JOIN%>,' '))

$multi_pad() got renamed to $multi_wrap(). New $multi_pad() is an array version of the built-in function $pad().

Well, simply replacing $multi_pad with $multi_wrap did not work. It just wrote "?>" to the album artists tag.

I have read your html-help (wasnt it coloured and nicely formatted in earlier versions? now it seems pretty plain) and I find it very ... interesting ;-)
Although I think, I know what arrays are, and I think, I understood your very clearly and good elaborated words and explanaitions, I only found the solution accidentially, while writing this post ;-)

The % in the album artists example were wrongly placed in the help file:
they should be like this:
Code: [Select]
$join($multi_replace(%<RELEASE_ARTISTS_NAME>%,'Various','Various Artists'),$multi_wrap(%<RELEASE_ARTISTS_JOIN>%,' '))


Its good for me to find errors, because it helps me understanding what I am doing 8-)

anyways, I guess, I need to read the help again and again to understand the new concept of array-tagging...
Title: foo_discogs
Post by: zoomorph on 2015-06-12 22:18:24
Good catch on the mistakes in the help docs "examples" section! I'll update that. Yes, it is colored nicely if the CSS sheet is present.
Title: foo_discogs
Post by: simcut on 2015-06-13 08:17:39
Hi zoomorph

quick request, on this alpha version that you uploaded for me, would it please be possible to add back in the ability to change Various to Various Artists please, as the option has disappeared from the configuration section?

Thanks
Title: foo_discogs
Post by: fuffi on 2015-06-13 10:14:15
quick request, on this alpha version that you uploaded for me, would it please be possible to add back in the ability to change Various to Various Artists please, as the option has disappeared from the configuration section?

Just read back the latest posts, mate! ...and learn your lesson ;-)
starting from here: http://www.hydrogenaud.io/forums/index.php...st&p=900482 (http://www.hydrogenaud.io/forums/index.php?s=&showtopic=50523&view=findpost&p=900482)
Title: foo_discogs
Post by: simcut on 2015-06-13 10:18:13
quick request, on this alpha version that you uploaded for me, would it please be possible to add back in the ability to change Various to Various Artists please, as the option has disappeared from the configuration section?

Just read back the latest posts, mate! ...and learn your lesson ;-)
starting from here: http://www.hydrogenaud.io/forums/index.php...st&p=900482 (http://www.hydrogenaud.io/forums/index.php?s=&showtopic=50523&view=findpost&p=900482)


Oh balls, I completely missed that post, cheers!
Title: foo_discogs
Post by: ImAlive on 2015-06-13 13:34:08
Hi there, great to see such a powerful plugin being developed.
I'm mainly interested in the 'album art' feature to tag some legacy files (Sampler CDs, old digitized vinyl...) with album art from discogs.

Now while 'full-auto' mode most probably isn't realistic, I would love to see the feature to not download the album art to files in the folder, but to instead embed it inside the file. This would be a major time saver! Maybe it is even possible using advanced title formatting syntax...?
Title: foo_discogs
Post by: fuffi on 2015-06-13 14:01:16
I would love to see the feature to not download the album art to files in the folder, but to instead embed it inside the file. This would be a major time saver!
yeah, we all (ok, most of us) like to have such a comfortable and useful time saving feature ;-)
Unfortunately, I never found and easy way to do this in f2k, nor a developer had done something so far.

There are other tools/programs (use search here: embed cover art) ppl use to accomplish what u want, but they're all external, means, not usable inside f2k, which is, for me, a show-stopper.

Maybe this post helps a little bit?
http://www.hydrogenaud.io/forums/index.php...st&p=894812 (http://www.hydrogenaud.io/forums/index.php?showtopic=50523&view=findpost&p=894812)
Title: foo_discogs
Post by: zoomorph on 2015-06-14 00:13:13
New build:  https://www.sendspace.com/file/srno6y (https://www.sendspace.com/file/srno6y)

Updates:
- Some interface improvements.
- New option to remove any extra meta tags after writing tags (plus a semi-colon separated list of exceptions).
Title: foo_discogs
Post by: fuffi on 2015-06-14 12:50:40
Hi zoomorph,

1)
when I try to update a single file, which is already tagged by your component the last days), I got this:
Code: [Select]
(skipped) Error [release 2672204]: Unable to map file to Discogs tracklist.


Its track 6 (Soul Suckers) on release 2672204, which I'd like to update,
which is already tagged with:
Code: [Select]
Artist Name : Amos Lee
Track Title : Soul Suckers
Album Title : Amos Lee
Date : 2005
Genre : Rock
Composer :
Performer :
Album Artist :
Track Number : 06
Total Tracks : 11
Disc Number :
Total Discs :
Comment :
Rating : 0
<DISCOGS_ALBUM_ARTIST_MULTI> : Amos Lee
<DISCOGS_ARTIST_ALIASES> : Ryan Anthony Massaro
<DISCOGS_ARTIST_ID> : 314211
<DISCOGS_ARTIST_MULTI> : Amos Lee
<DISCOGS_ARTIST_REALNAME> : Ryan Anthony Massaro
<DISCOGS_CATALOG> : 7243 5 97350 1 6
<DISCOGS_COUNTRY> : US
<DISCOGS_FORMAT> : Vinyl, LP, Album
<DISCOGS_LABEL> : Classic Records
<DISCOGS_LABEL_ID> : 22206
<DISCOGS_MASTER_RELEASE_ID> : 305520
<DISCOGS_ORIGINAL_TRACK_NUMBER> : 06
<DISCOGS_RATING> : 5.0
<DISCOGS_RELEASE_ID> : 2672204
<DISCOGS_RELEASE_NOTES> : Courtesy of Blue Note Records, a division of Capitol Records, Inc., under exclusive license from EMI-Capitol Special Markets.
<DISCOGS_RELEASED> : 01 Mar 2005
<DISCOGS_RELEASED_RAW> : 2005-03-01
<STYLE> : Folk Rock; Indie Rock
<VINYLTRACK> : B1



2)
Link "Syntax Help" is now visible on the same place, but after clicking, nothing happens. (my default browser is set to firefox, which opens on other links I click in other programs)
Can somebody pleas test/click this link to make sure, its not my systems config which messes up. thanks.

3)
Can u change the position of the update/writable row like in the mock-up, please? its easier to see what line has what status as when the "enabled" row is at the last position.
also, the  staus won't disapear, when doubleclicking on the "Format String"-row, to resize it automaticly to see the most longest/visible information.
(http://www.bilder-hochladen.net/files/thumbs/hcyg-45-827c.png) (http://www.bilder-hochladen.net/i/hcyg-45-827c.png)
Title: foo_discogs
Post by: fuffi on 2015-06-14 14:15:52
4)
Was there a important/special reason, the tag "DISCOGS_CREDIT_REMIX" was replaced by "REMIXED_BY" in Edit-Tag-Mappings-window?
I'd like to keep it the old way, but didnt read  on the discogs site for more information. Was it removed?

Anyways, while working with the newest version of the component, it is a pleasure to use! So many things are working proper now with the UI. Grrrreat :-)

5)
can we have a "Defaults"-Button on Tag basis, too?
Now, the "Defaults"-Button reverts ALL tags to its defaults, which could be useful,
but if the user has made only one mistake on one single tag line and wish to default it, its not possible.

Feature Request: Add new Default-Tag Button, which defaults only the selected line


6)
can u add a $multi_istrcmp(A,X) in addition to $multi_strcmp(A,X), which ignores the case?


7)
Using the old component, I have configured (in ColumnsUI) the track title with this script:
Code: [Select]
[%TITLE%][ <feat. %DISCOGS_CREDIT_FEATURING%>]
which showed the Title of the Track like "Never Knew Love Like This <feat. Cherrelle>"
(for track no. 3 of this (http://www.discogs.com/release/1830100) release)

precondition for showing the "<feat. Cherrelle>" was the filled tag DISCOGS_CREDIT_FEATURING, which were autoamticly filled by the component.


Now, I don't get it to work again ;-/

The DISCOGS_TRACK_CREDITS-Tag of the mentioned release (http://www.discogs.com/release/1830100) shows "Vocals [Featuring] - Cherrelle; Producer - Jimmy Jam And Terry Lewis; Written-By - J. Harris III/T. Lewis"

So I guess, I only need to split or cut or grab the "[Featuring] - Cherrelle"-part of the whole string, but I have no clue how&where to implement this in the two scripts I used:
Code: [Select]
$multi_if($multi_strcmp(%<<TRACK_CREDITS_ROLES>>%,'Featuring'),$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%),)
or
Code: [Select]
$flatten($multi_if($any($multi_strcmp($sextend(%<<TRACK_CREDITS_ROLES>>%,%<<RELEASE_CREDITS_ROLES>>%),'Featuring')),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$join($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$multi_wrap($get(aj),' ')),$get(an)),))

Another tricky part for me is, that some releases, got more than one Featuring Artists, like this release track 8 (http://www.discogs.com/Jay-Z-In-My-Lifetime-Vol-1/release/3377797) which is not "[Featuring]", but "Featureing - ": Featuring - Foxy Brown; Featuring - Babyface; Keyboards [Additional Keys] - George Fontenette; Producer - Daven "Prestige" Vanderpool

Now, I'm looking for a way to script all the special cases, but the old component had done it correctly, so I guess, there must be an easier way, but actually, I'm not able to solve the problem ;-/
(I also tried with $append, but wasnt successful so far)

Any help is very appreciated!



8)
JSON error on: http://www.discogs.com/Jay-Z-In-My-Lifetim.../release/753411 (http://www.discogs.com/Jay-Z-In-My-Lifetime-Vol-1/release/753411)
Title: foo_discogs
Post by: mnogo9 on 2015-06-14 18:16:38
Hi There!
I have error:
"(skipped) Error: Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/oauth/request_token) (http://api.discogs.com/oauth/request_token))[ESCAPE to close]"

I have Discogs account. I tried to get a token logged in Discogs or not.
I tried to create a token in Discogs profile and paste this to plugin, I tried to change foo_discogs.dll (official/beta).
Nothing helps.
Any idea?
TNX!
ps. maybe plugin needs update? 
Discogs ask https, but plugin send http requests only?
Title: foo_discogs
Post by: zoomorph on 2015-06-14 19:24:00
Hi There!
I have error:
"(skipped) Error: Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/oauth/request_token) (http://api.discogs.com/oauth/request_token))[ESCAPE to close]"

I have Discogs account. I tried to get a token logged in Discogs or not.
I tried to create a token in Discogs profile and paste this to plugin, I tried to change foo_discogs.dll (official/beta).
Nothing helps.
Any idea?
TNX!
ps. maybe plugin needs update? 
Discogs ask https, but plugin send http requests only?

Is the clock on your system set correctly? Incorrect clock seems to cause an error from Discogs when configuring OAuth.
Title: foo_discogs
Post by: zoomorph on 2015-06-15 00:26:26
fuffi,

1) Update tags is a problem since it requires automatically matching files to the tracklist. Old method was unreliable, new method is better but still not perfect. I haven't decided what to do with it yet.
2) Is foo_discogs_help.html in the foo_discogs component folder?
3) I find that unnatural on the left. Maybe you can make the "formatting string" column very narrow to see enabled beside the tag names? Sorry, I don't understand your second point.
4) It looks liked it used to be "REMIXED BY" (by default). It got accidentally changed to "REMIXED_BY". But, for consistency with other tags, I'd be happy to rename it (by default) something like "DISCOGS_CREDIT_REMIXED_BY".
5) I'll consider if there's a way to do this.
6) I'll add multi_istrcmp to the next version.
7) Did you see the "DISCOGS_CREDIT_FEATURING" tag? It seems to be what you're requesting.
8) This is a bug... I will fix it soon. Thanks!
Title: foo_discogs
Post by: fuffi on 2015-06-15 19:50:19
2) Is foo_discogs_help.html in the foo_discogs component folder?
now it is, thank you!


1) Update tags is a problem since it requires automatically matching files to the tracklist. Old method was unreliable, new method is better but still not perfect. I haven't decided what to do with it yet.
What are you technicially thinking about, when u try to decide?


3) I find that unnatural on the left. Maybe you can make the "formatting string" column very narrow to see enabled beside the tag names?
We all have different perception, I guess. Do you mind, making the columns movable, so the user can change their position when needed.
For me, the "formatting string" column needs to be the widest, because its lines are not multiline, only one single line, which is hard to read all at once.


7) Did you see the "DISCOGS_CREDIT_FEATURING" tag? It seems to be what you're requesting.
Yes, but it did not work here with the mentioned release (http://www.discogs.com/Jay-Z-In-My-Lifetime-Vol-1/release/3377797). That was the reason, I wrote about my unsuccessful attempts. I defaulted the settings but did not get a tag.


4) It looks liked it used to be "REMIXED BY" (by default). It got accidentally changed to "REMIXED_BY". But, for consistency with other tags, I'd be happy to rename it (by default) something like "DISCOGS_CREDIT_REMIXED_BY".
This reminds me on another question: are those tags, which were written to the file defined by the discoGS-Crew, or are they just "made up" by the components developers? I always thought, there were specified by the discoGS-Crew, so they can't be renamed or changed....

Title: foo_discogs
Post by: zoomorph on 2015-06-15 21:02:40
1) Update tags is a problem since it requires automatically matching files to the tracklist. Old method was unreliable, new method is better but still not perfect. I haven't decided what to do with it yet.
What are you technicially thinking about, when u try to decide?

Haven't decided how to balance accuracy (make sure that you're updating the right track from the tracklist) vs. automation (no requiring any manual work).

One possibility is to make "update tags" automated whenever it can match tracks, but fall back to manual confirmation if tracks can't be matched with enough accuracy.

Then, there is the question of how to match tracks. Traditionally, it used the track number and just went with it. More recently, it uses the track index in the Discogs tracklist (untested, may not work lol) which is slightly more reliable. Another possibility (only works ~50% of the time) is automatic matching via durations. So, a combination of various methods could be used to try to automatically match files to the tracklist....

7) Did you see the "DISCOGS_CREDIT_FEATURING" tag? It seems to be what you're requesting.
Yes, but it did not work here with the mentioned release (http://www.discogs.com/Jay-Z-In-My-Lifetime-Vol-1/release/3377797). That was the reason, I wrote about my unsuccessful attempts. I defaulted the settings but did not get a tag.

I see.. because the credits are "Featuring [...]", they don't match "Featuring". I'm sure this can be solved. For one, replacing $multi_strcmp() with $multi_strstr() should work, but this might accept credits that you don't want, such as "Whatever [Featuring]". Another solution would be to use $multi_left() to get the left 9 characters before doing the $multi_strcmp(). This would accept anything that starts with "Featuring". Another solution, maybe the best?, would be to expose another tag, say CREDIT_TYPE ("Featuring") vs. CREDIT_NAME ("Featuring [Unlisted]").

4) It looks liked it used to be "REMIXED BY" (by default). It got accidentally changed to "REMIXED_BY". But, for consistency with other tags, I'd be happy to rename it (by default) something like "DISCOGS_CREDIT_REMIXED_BY".
This reminds me on another question: are those tags, which were written to the file defined by the discoGS-Crew, or are they just "made up" by the components developers? I always thought, there were specified by the discoGS-Crew, so they can't be renamed or changed....

Just made up by the component developers. :-P
Title: foo_discogs
Post by: zoomorph on 2015-06-17 06:35:01
Here is a fix for the tracklist parsing bug:
https://www.sendspace.com/file/8h7uvk (https://www.sendspace.com/file/8h7uvk)
Title: foo_discogs
Post by: simcut on 2015-06-17 10:15:42
Here is a fix for the tracklist parsing bug:
https://www.sendspace.com/file/8h7uvk (https://www.sendspace.com/file/8h7uvk)


Is this the thing I had reported with the "hidden" tracks? if so, thank you so much! very much appreciated
Title: foo_discogs
Post by: alexinc on 2015-06-17 11:00:03
Is this the thing I had reported with the "hidden" tracks? if so, thank you so much! very much appreciated


try it!  btw. u got pm'ed
Title: foo_discogs
Post by: simcut on 2015-06-17 13:41:33
Works fantastic, cheers zoomorph!

One request though, I have disabled style from the list (infact, have removed the entry out) but in the new interface it still shows the Style field where you can enter in text, instead of being greyed out like how it used to if you unticked the 'write tag' option for Style.

Very minor issue but wanted to flag it up to you, also if you untick the "all" tickbox it doesnt remember the setting for the next time you use it, in the past this used to be unticked and stay unticked.

Regards!

P.S. alexinc, yes mate, thanks, I'll reply to you this evening (just finishing lunch break at work now)
Title: foo_discogs
Post by: slcc2c on 2015-06-20 19:00:56
My foobar_discogs_help.html file is missing from the user-components folder for some reason. Would someone be willing to do me a favor and upload it?
Title: foo_discogs
Post by: mnogo9 on 2015-06-20 21:13:46
Is the clock on your system set correctly? Incorrect clock seems to cause an error from Discogs when configuring OAuth.

Thankyou, zoomorph, for fast answer.
Hmm... Time was correct, but time-sync service was off. I'd enable service - and authorization get successful!
Thank You!
Title: foo_discogs
Post by: fuffi on 2015-06-20 22:59:34
7) Did you see the "DISCOGS_CREDIT_FEATURING" tag? It seems to be what you're requesting.
Yes, but it did not work here with the mentioned release (http://www.discogs.com/Jay-Z-In-My-Lifetime-Vol-1/release/3377797). That was the reason, I wrote about my unsuccessful attempts. I defaulted the settings but did not get a tag.
I see.. because the credits are "Featuring [...]", they don't match "Featuring". I'm sure this can be solved. For one, replacing $multi_strcmp() with $multi_strstr() should work, but this might accept credits that you don't want, such as "Whatever [Featuring]". Another solution would be to use $multi_left() to get the left 9 characters before doing the $multi_strcmp(). This would accept anything that starts with "Featuring". Another solution, maybe the best?, would be to expose another tag, say CREDIT_TYPE ("Featuring") vs. CREDIT_NAME ("Featuring [Unlisted]").

Thanks for explanation and suggestions, I did'nt understood the last suggestion and how it can be achieved.
I will check that later, atm I don't have time to experiment ;-) I'll just use the old component, which worked in 100% for the featuring-tag.
In fact, I cannot remember, when or why it not worked exctracting the featuring artists from the releases. Maybe this was before the track index were invented or just old releases? dunno.

1) Update tags is a problem since it requires automatically matching files to the tracklist. Old method was unreliable, new method is better but still not perfect. I haven't decided what to do with it yet.
What are you technicially thinking about, when u try to decide?
Haven't decided how to balance accuracy (make sure that you're updating the right track from the tracklist) vs. automation (no requiring any manual work).

One possibility is to make "update tags" automated whenever it can match tracks, but fall back to manual confirmation if tracks can't be matched with enough accuracy.

Then, there is the question of how to match tracks. Traditionally, it used the track number and just went with it. More recently, it uses the track index in the Discogs tracklist (untested, may not work lol) which is slightly more reliable. Another possibility (only works ~50% of the time) is automatic matching via durations. So, a combination of various methods could be used to try to automatically match files to the tracklist....

Ok. Like the above subject, I never had problems with updating tracks with the old component. (But I never update track-title or album name or artists, so maybe, I never recognized the problems...just updated the "background" informaiton, like all the discoGS tags which facillitate the searching inside my music database via foobar)

Only, when autoamtic matching with track-length was activated, then the old component had a 70% failure in matching the correct tracks (for various reasons, which I'm not gonna type down now).

Just for curiosity, do you have an example release, where the old coding for updating tracks does not work?

For me, I would prefer to easily switch from the newcoming version of updating tracks to the old one. Maybe via an user chosen config-setting, if applicable.

Moving around or drag'n'drop the tracks would be an acceptable situation too (assumed, the user knows where to move the tracks).
Maybe marking tracks, which the component is not sure about with a diferent colour?
Or popping up a new window where the user can choose from n different sortings the component had gathered ? hmmm...actually, I understand, why u did not concluded this subject ;-)


Title: foo_discogs
Post by: zoomorph on 2015-06-22 03:41:13
Thanks for explanation and suggestions, I did'nt understood the last suggestion and how it can be achieved.
I will check that later, atm I don't have time to experiment ;-) I'll just use the old component, which worked in 100% for the featuring-tag.
In fact, I cannot remember, when or why it not worked exctracting the featuring artists from the releases. Maybe this was before the track index were invented or just old releases? dunno.

Yes, the old version worked fine. So will the new version, it's just a question of getting the right formatting string. In the meanwhile, of course you can continue to use the old version.

Ok. Like the above subject, I never had problems with updating tracks with the old component. (But I never update track-title or album name or artists, so maybe, I never recognized the problems...just updated the "background" informaiton, like all the discoGS tags which facillitate the searching inside my music database via foobar)

Only, when autoamtic matching with track-length was activated, then the old component had a 70% failure in matching the correct tracks (for various reasons, which I'm not gonna type down now).

Just for curiosity, do you have an example release, where the old coding for updating tracks does not work?

For me, I would prefer to easily switch from the newcoming version of updating tracks to the old one. Maybe via an user chosen config-setting, if applicable.

Moving around or drag'n'drop the tracks would be an acceptable situation too (assumed, the user knows where to move the tracks).
Maybe marking tracks, which the component is not sure about with a diferent colour?
Or popping up a new window where the user can choose from n different sortings the component had gathered ? hmmm...actually, I understand, why u did not concluded this subject ;-)

The old method of updating tags would likely continue to work in the majority of cases, although new features like parsing Disc # and hidden tracks make it more difficult. The main issue is of accuracy. If you're OK with, maybe, 99% accuracy and 1% silent mistakes, then the old version is OK. If, like me, you desire as much accuracy as possible, then I think we can do better and that the old version is not good enough.

Examples where the old version method would match tracks wrongly when updating tags:
- Order of tracks was changed on Discogs database
- Track # tag was changed manually by user
- Hidden track was treated as a non-hidden track
- Disc # doesn't match the disc # by the new parsing method

The issue is of accuracy. Using the old version method, maybe 99% would be correct but 1% silently matched to the wrong tracks on the tracklist. Maybe some users are OK with that, but I desire to do better. But I haven't figured out how to do better, yet, so until then it will be broken. :-)
Title: foo_discogs
Post by: zoomorph on 2015-06-29 03:28:55
I'm currently thinking of removing "Update Tags" altogether and replacing it with the following options:

1. Skip "find release" dialog if DISCOGS_RELEASE_ID tag is already present.
2. Skip "release" dialog if files are successfully matched to Discogs tracklist.

So, to update tags would be basically the same as to write tags, with these options enabled. Maybe I'd leave "Update Tags" in foo_discogs, but it would just enable those two options behind the scenes and then do the same thing as "Write Tags".

Writing tags would sort all selected files by release id, if present, and operate on them in groups.

Additionally, I'm thinking of adding more options on how to match files to the tracklist: duration, track number, title/artist metadata tags, assume sorted order. These methods can be enabled or disabled, and if any give conflicting results, or none of the enabled methods give valid results, then matching tracks would fail. If matching tracks fails, the "release" dialog would necessarily be shown for review.

This will be another major change to how the plugin currently works with respect to writing & updating tags, so it will take some time to implement.

Finally, I am thinking of removing some other features like selecting style/genre on the "release" dialog. My thought is that if it can't be automated or controlled via a tag formatting string, and info needs to be manually changed by the user, then it should probably be done outside of foo_discogs altogether.
Title: foo_discogs
Post by: simcut on 2015-07-02 00:54:48
Finally, I am thinking of removing some other features like selecting style/genre on the "release" dialog. My thought is that if it can't be automated or controlled via a tag formatting string, and info needs to be manually changed by the user, then it should probably be done outside of foo_discogs altogether.


Hi Zoo, really appreciate all you do with this plugin, but please dont remove the ability to change the genre/style on the release dialog, it's a real timesaver having it editable in the release dialog.

Cheers
Title: foo_discogs
Post by: romprod on 2015-07-11 14:46:16
Hi,

Great plugin so far.

Is it somehow possible that I can set the search results to show the amount of tracks in each result?

Seems the majority of the albums that I have in my collection seem to have extra's in them, so they don't match the basic albums.

At the moment to use this plugin i would have to check each version of the discog result to check for the correct album.

Thanks.
Title: foo_discogs
Post by: fuffi on 2015-07-11 20:19:52
Is it somehow possible that I can set the search results to show the amount of tracks in each result?

This is something, I always wanted to have too ;-)
so +1 if the DG-Api supports that.
Title: foo_discogs
Post by: fuffi on 2015-07-11 23:07:04
Finally, I am thinking of removing some other features like selecting style/genre on the "release" dialog. My thought is that if it can't be automated or controlled via a tag formatting string, and info needs to be manually changed by the user, then it should probably be done outside of foo_discogs altogether.
Hi Zoo, really appreciate all you do with this plugin, but please dont remove the ability to change the genre/style on the release dialog, it's a real timesaver having it editable in the release dialog.

yes, from here too, this is -not very often used, but when used- a real cool feature. removing it would not lead to a more userful component, I think.
The great advantage of this feature is to quickly add some information to the tagged files in just one go with the DiscoGS tagging.

Please don't remove it. Or maybe I did not understood why it can't be automated?
Title: foo_discogs
Post by: dantheham on 2015-07-11 23:57:04
I can't get discogs to tag anything nor can I get freedb to tag anything.

Bare in mind i am new to foobar, discogs, freedb, to this forum and I havn't been able to tag anything so do not understand fully understand what these taggers can do nor what the correct result looks like. please assume I only know plain english and don't know any foobar or audiophile terminology because i probably do.

All I am trying to do is set foobar or discogs (whichever fits) up to automatically rename/retag all my music with correct artist, song name, album, year, track number, artist and album art  and change all this in my source folder also and correct my folder structure or if this is not possible find out how to do this with the least amount of effort.

I have the latest foobar release

Freedb:

I right click on all music in album list, go to tagging get tags from freedb. I get an error message that it can't find any tags fro anything.

when i choose individual albums it does the same or shows me a box to choose selections from. the selections are always completely unrelated to anything in the song or artist name.

sometimes often non english european names when almost all of my music is in english.

the latest discogs install: right clicking on anything going to tagging then to discogs brings up a list with everything greyed out apart from write tags, edit tag mapping and configuration. if i use the write tags function then search for the correct artist it brings an error message.

"Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/database/search)" (http://api.discogs.com/database/search)&quot;)

When i first installed discogs it asked me to register with the website and get a code and then told me "oauth" is working.

a google search or youtube search or wikipedia search for most of my music could tell me all the information I need to tag so why can't a dedicated database figure it out or is just the programming in discogs and foobar?

all the setting for both are on the default apart from the "oauth" information that they prompted me and told me what to do. both foobar and discogs are updated

the files are mostly all named with the correct artist and song and album. they may contain extra stuff in the title and not be formatted in the "correct" way but all the information is there and the task should be pretty fucking simple for a tagger.

I switched to using foobar from itunes cus it seamed more functional than itunes. if i have to manually enter tagging info I would let the extra functionality of this go and go back to itunes cus itunes can tag everything how I want even if it is limited in so many ways.

all my music is downloaded rather than from cds, perhaps because they are missing the track numbers it is not working. track numbers should be pretty simple for a tagger given the correct artist album and song name info to work with.

itunes can do what i want can foobar too?

sorry if this is already posted I couldn't find it with the search bar.

thanks for any advice.

cheers
Title: foo_discogs
Post by: zoomorph on 2015-07-12 06:49:05
Is it somehow possible that I can set the search results to show the amount of tracks in each result?

This is something, I always wanted to have too ;-)
so +1 if the DG-Api supports that.

Definitely possible. The problem is that the search results from the API have a limited amount of info (most of it is already shown in the info string on the find_release dialog). To get more information, like the # of tracks for each release, would require an extra API call for every release in the find_release dialog. This would be substantial overhead (extra loading time).
Title: foo_discogs
Post by: zoomorph on 2015-07-12 06:54:12
I switched to using foobar from itunes cus it seamed more functional than itunes. if i have to manually enter tagging info I would let the extra functionality of this go and go back to itunes cus itunes can tag everything how I want even if it is limited in so many ways.

foo_discogs is not designed to automatically get tags for your music. It is designed to assist with manually tagging your files using the Discogs database. This will have more precision and accuracy than anything that automatically tags your music, as the latter aren't aware of things like different pressings/versions of the same release, tracks taken from different releases, etc.

I can't speak to what iTunes or freedb do as I don't use them.

In my opinion, foobar2000 is a great music player because of its customizability. But there's always a trade-off between that and ease of use. foobar2000 has many components. I'm not sure if any exist that will automatically tag your music files for you. I'm sure that there are plenty of 3rd party applications that can be used to do it.
Title: foo_discogs
Post by: fuffi on 2015-07-12 09:12:15
Is it somehow possible that I can set the search results to show the amount of tracks in each result?
This is something, I always wanted to have too ;-)so +1 if the DG-Api supports that.
Definitely possible. The problem is that the search results from the API have a limited amount of info (most of it is already shown in the info string on the find_release dialog). To get more information, like the # of tracks for each release, would require an extra API call for every release in the find_release dialog. This would be substantial overhead (extra loading time).

That sounds like it should/could be an option which is deactivated by default and must be activated in the preferences of the compontent by the user.
Or, -which is "more work" for the user, but will safe bandwith and overhead each time- must be requested with a click on the "get # of tracks"-button, which will be only visible, when the first datablock is retrieved and shown.
this way, every user can decide, if he needs that additional data and the DG-Database is not overstrained by each search of the component.
don't know, if the idea with the second-button will be feasible or intuitive...
Title: foo_discogs
Post by: Grilinctus on 2015-07-12 11:08:56
Thanks for this! There seem to be so many moving parts involved; it’s impressive how well the plugin works.  Would it be possible to make the search window resizable (right now it seems to be locked at a very small size) and to allow moving multiple tracks up/down at once when tagging an album (right now the buttons have no effect if more than one track is selected)?
Title: foo_discogs
Post by: zoomorph on 2015-07-16 00:58:00
Is it somehow possible that I can set the search results to show the amount of tracks in each result?
This is something, I always wanted to have too ;-)so +1 if the DG-Api supports that.
Definitely possible. The problem is that the search results from the API have a limited amount of info (most of it is already shown in the info string on the find_release dialog). To get more information, like the # of tracks for each release, would require an extra API call for every release in the find_release dialog. This would be substantial overhead (extra loading time).

That sounds like it should/could be an option which is deactivated by default and must be activated in the preferences of the compontent by the user.
Or, -which is "more work" for the user, but will safe bandwith and overhead each time- must be requested with a click on the "get # of tracks"-button, which will be only visible, when the first datablock is retrieved and shown.
this way, every user can decide, if he needs that additional data and the DG-Database is not overstrained by each search of the component.
don't know, if the idea with the second-button will be feasible or intuitive...

I got a prototype of that working:
http://i.imgur.com/SLFqTSF.png (http://i.imgur.com/SLFqTSF.png)

Still needs some work before public release. The overhead for loading extra data for every release will make it impractical to include such information, IMO.
Title: foo_discogs
Post by: fuffi on 2015-07-16 08:16:22
8-)
I'm very excited!
Screenshot looks promising to me.
Also the sneakpreview of the settings window show some nice things!
keep up the good work!! ;-)

Title: foo_discogs
Post by: alexinc on 2015-07-16 09:57:35
looks great!
Title: foo_discogs
Post by: romprod on 2015-07-17 23:41:16
Is it somehow possible that I can set the search results to show the amount of tracks in each result?
This is something, I always wanted to have too ;-)so +1 if the DG-Api supports that.
Definitely possible. The problem is that the search results from the API have a limited amount of info (most of it is already shown in the info string on the find_release dialog). To get more information, like the # of tracks for each release, would require an extra API call for every release in the find_release dialog. This would be substantial overhead (extra loading time).

That sounds like it should/could be an option which is deactivated by default and must be activated in the preferences of the compontent by the user.
Or, -which is "more work" for the user, but will safe bandwith and overhead each time- must be requested with a click on the "get # of tracks"-button, which will be only visible, when the first datablock is retrieved and shown.
this way, every user can decide, if he needs that additional data and the DG-Database is not overstrained by each search of the component.
don't know, if the idea with the second-button will be feasible or intuitive...

I got a prototype of that working:
http://i.imgur.com/SLFqTSF.png (http://i.imgur.com/SLFqTSF.png)

Still needs some work before public release. The overhead for loading extra data for every release will make it impractical to include such information, IMO.


Brilliant thankyou!

This will speed up matching releases sooooooooo much.
Title: foo_discogs
Post by: fuffi on 2015-07-18 19:29:52
Hello,
a small feature request:

while I'm just tagging very long albums with very much titles/files in it, I'd love to have something useful like the number of total tracks on the tracklist side and the total number of files on the files side.
maybe, they change their color to red when they're not equal or some kind of visual indicating that the two sides have unequal number of entries.

while this is simple to check when albums has only <10 tracks on discogs and locally, it is hard to count when there are releases with >30 or >50 tracks. like i.e. 953151

would be a little timesaver.  ;-)

EDIT:
added a little mock-up
http://www.bilder-hochladen.net/i/hcyg-46-0aed.png (http://www.bilder-hochladen.net/i/hcyg-46-0aed.png)
Title: foo_discogs
Post by: kl@p on 2015-07-23 23:07:10
hi, recently updated foo_discogs and i can't authtorize :
Quote
(skipped) Error: Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/oauth/request_token) (http://api.discogs.com/oauth/request_token))
[ESCAPE to close]

console log:
Quote
foo_discogs: http://api.discogs.com/oauth/request_token...uth_version=1.0 (http://api.discogs.com/oauth/request_token?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=1437684519129e&oauth_signature=0EIv54fHrBuutrJxkOwBbl5fMng2025686822&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1437684519&oauth_version=1.0)
foo_discogs: HTTP error status: HTTP/1.1 401 Unauthorized
foo_discogs: Exception handling: http://api.discogs.com/oauth/request_token...uth_version=1.0 (http://api.discogs.com/oauth/request_token?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=1437684519129e&oauth_signature=0EIv54fHrBuutrJxkOw%2Bbl5fMng%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1437684519&oauth_version=1.0)

foo_discogs version:
Authors:  Michael Pujos (aka bubbleguuum) (v1.32), zoomorph (v1.33+)
Version: 1.55
Compiled: Mar 24 2015

any suggestion?
i don't have firewall & etc.
Title: foo_discogs
Post by: zoomorph on 2015-07-24 07:02:16
Check that your system clock is set right, that seems to be the cause of that error message.
Title: foo_discogs
Post by: dumbnumbscum on 2015-07-26 13:36:18
I'm currently thinking of removing "Update Tags" altogether and replacing it with the following options:

[..]

So, to update tags would be basically the same as to write tags, with these options enabled. Maybe I'd leave "Update Tags" in foo_discogs, but it would just enable those two options behind the scenes and then do the same thing as "Write Tags".

I use "Update Tags" to update files in batch. There have been cases where I decided to add a new field to my files using the tag mappings. After I enable "refresh tag on update" for the new field and disable it for all other fields, I can update all files that already have been tagged using foo_discogs by using the "update tags" function using "write only tags update-enabled", but in such a way that it reduces the duration and traffic load.
Although the interface to this update functionality could be improved ( it would be nice for example if the update function would show me what fields will be updated and let me change it if necessary ), I find it a valuable tool.

Quote
1. Skip "find release" dialog if DISCOGS_RELEASE_ID tag is already present.

That a good idea, even if you don't remove the "Update Tags" function.

Quote
Additionally, I'm thinking of adding more options on how to match files to the tracklist: duration, track number, title/artist metadata tags, assume sorted order. These methods can be enabled or disabled, and if any give conflicting results, or none of the enabled methods give valid results, then matching tracks would fail. If matching tracks fails, the "release" dialog would necessarily be shown for review.

Sounds great.
Title: foo_discogs
Post by: fuffi on 2015-07-26 18:12:07
it would be nice for example if the update function would show me what fields will be updated and let me change it if necessary
I can not imagine a nice, clean and fast way now, to show those information, but that sounds like a great addition! ;-)
+1
Title: foo_discogs
Post by: dumbnumbscum on 2015-07-27 17:45:48
(https://dl.dropboxusercontent.com/u/2679998/mockup.png)
Title: foo_discogs
Post by: zoomorph on 2015-08-09 03:32:01
Update: https://www.sendspace.com/file/qej9dt (https://www.sendspace.com/file/qej9dt)

Changes:
* Configurable strings in the find_release dialog. I would advise against adding additional data fields to these strings, as it would most likely require extra API calls to every release/master release, which would be quite slow.
* Change to which artist art is written. The artist IDs whose art is downloaded are now determined by a formatting string (%<RELEASE_ARTISTS_ID>% by default). It used to be that release artist ids were used unless it was a "compilation", then track artist ids were used. Also, only the first artist was used even if there were multiple. I didn't like how inflexible all of this was, and the definition of a "compilation" isn't clear and is being removed from the internals. Also, the filename string ought to be changed (new default: artist%ARTIST_ID%).
* Options to skip find_release dialog if release id is known and to skip release dialog if track orders are matched.
* Slight concept changes to automatic track ordering - using different methods rather than just durations. I'm still thinking about whether something along these lines is feasible or not, and how I'd make it more easily configurable.
* Fixed a handful of bugs.

"Update Tags" feature needs a lot of work yet. I haven't tested it at all, FYI. I'm planning for it to sort all files by release id and then use a similar process to writing tags when updating them (including track matching). To see which ones are written in the update, you'll have to continue using the tag_mappings dialog for now, as I can't see the above being added in the near term?
Title: foo_discogs
Post by: zoomorph on 2015-08-10 02:20:16
Update: https://www.sendspace.com/file/0xeair (https://www.sendspace.com/file/0xeair)
Help doc: https://www.sendspace.com/file/911rd5 (https://www.sendspace.com/file/911rd5)

Changes:
* Formatting strings for saving artwork vastly improved. Both of the file prefix strings now have a custom field, %IMAGE_NUMBER%, which is the count of the image being saved. This replaces the old method of appending "_2", etc, to the image names. The formatting string also has access (in addition to the relevant ARTIST_ or RELEASE_ object) to the IMAGE_ object of the current image being saved. The IMAGE_ object exposes fields TYPE, URL, and THUMBNAIL_URL.
New default "file prefix" settings:
Code: [Select]
cover$ifequal(%IMAGE_NUMBER%,1,,_%IMAGE_NUMBER%)

artist%ARTIST_ID%$ifequal(%IMAGE_NUMBER%,1,,_%IMAGE_NUMBER%)

* The "release" dialog strings for the Discogs Tracks and Files are now based on formatting strings and are exposed via the settings. The Discogs track formatting string draws from the release, disc, track, artists, etc. It also has custom fields %REPLACE_ANVS% and %DISPLAY_ANVS%. The File track formatting string draws from the file info only.
Default settings:
Code: [Select]
$ifgreater(%RELEASE_TOTAL_DISCS%,1,%DISC_NUMBER%-,)$num(%TRACK_DISC_TRACK_NUMBER%,2) - $multi_if($multi_and(%ARTISTS_NAME_VARIATION%,$multi_not(%REPLACE_ANVS%)),%ARTISTS_NAME_VARIATION%$multi_if(%DISPLAY_ANVS%,*,),%ARTISTS_NAME%) - %TRACK_TITLE%$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0,,'   [+'%TRACK_TOTAL_HIDDEN_TRACKS%' HIDDEN]')

$if($strcmp($ext(%path%),tags), $info(@), %path%)

* Parsing of index/sub-tracks now sets the index track's duration as the track's duration. The sub-track's duration is now exposed separately via %TRACK_SUBTRACK_DURATION_RAW% and %TRACK_SUBTRACK_DURATION_SECONDS% fields (ie. from the track and its subsequent hidden tracks). (TODO: do the same with other stuff, such as credits)
* Fix for matching tracks by existing track numbers for multi-disc releases if tracks per disc are numbered starting from 1.
* Last config tab open is remembered.
Title: foo_discogs
Post by: paregistrase on 2015-08-21 13:34:59
Hi zoomorph !

I'm having a little bug with last update and the blocked field DISCOGS_TRACKLIST_INDEX:
Code: [Select]
<DISCOGS_TRACKLIST_INDEX> : «multiple values» 1/?; 2/?; 3/?; 4/?; 5/?; 6/?; 7/?; 8/?; 9/?; 10/?

and the update tag feature does not work.

Also I find some problematic releases, mostly related with hidden tracks:
Code: [Select]
<DISCOGS_RELEASE_ID> : 6939
<DISCOGS_RELEASE_ID> : 17435

How can I get all tracks from this kind of releases?
Title: foo_discogs
Post by: zoomorph on 2015-08-24 00:58:04
Hi zoomorph !

I'm having a little bug with last update and the blocked field DISCOGS_TRACKLIST_INDEX:
Code: [Select]
<DISCOGS_TRACKLIST_INDEX> : «multiple values» 1/?; 2/?; 3/?; 4/?; 5/?; 6/?; 7/?; 8/?; 9/?; 10/?

and the update tag feature does not work.

Yup. DISCOGS_TRACKLIST_INDEX got removed. The direction I was heading with this update was in matching tracks via a variety of methods, not relying on DISCOGS_TRACKLIST_INDEX (which is just one method, and not a very user-friendly one). Update tags feature is still under development, and doesn't use these methods yet.

Also I find some problematic releases, mostly related with hidden tracks:
Code: [Select]
<DISCOGS_RELEASE_ID> : 6939
<DISCOGS_RELEASE_ID> : 17435

How can I get all tracks from this kind of releases?

Thanks for providing these examples. This is an unfortunate case where Discogs goes by what is written on the release instead of following a logical method of generating track numbers, hence it becomes impossible to perfectly parse the track list. In cases like this, the tracklist will happen to look like something else, just because it was written that way on the sleeve. I'll have to think about whether anything can be done to improve this.
Title: foo_discogs
Post by: TheEmpathicEar on 2015-08-26 19:14:06
I just installed Windows 10 and installed Foobar with plug-ins. I seem to remember there was some kind of initialization required with this plug-in? Some kind of Username and Password?
Title: foo_discogs
Post by: fuffi on 2015-09-13 20:17:10
hi,
just a small glitch in the newest version.
(http://www.bilder-hochladen.net/files/thumbs/hcyg-47-59ec.png) (http://www.bilder-hochladen.net/i/hcyg-47-59ec.png)
I'm still trying to figure out how all the magic works, so no hardcore testing form my side atm. I'm deeply sorry ;-/
Title: foo_discogs
Post by: fuffi on 2015-09-19 01:04:24
Hi zoomorph,
I got some time to play around, but cannot say anything in detail about the great flexibility you now gave us, BUT
what I miss very much in the GUI:

-the possibility to reset a default for *each* tag, not only defaulting *all* tags (via right click menu?). this would facilitate the finetuning a lot, becaue users do not have to store the original config anywhere in notepad to get them back when needed.

-save/load (extra buttons?) all the formatting strings to a file, because sometimes, the config is screwed up completely and I'd like to go back to yesterdays working configs.

Cheers,


Title: foo_discogs
Post by: fuffi on 2015-09-23 12:11:44
Hi zoomorph,

I found a "bad behaviour", which could also be a feature... but I personally would call this an undesirable effect, which is not expected by the user (me)

When having an empty formatting string and the write/update is enabled, the component empties that tag from the file while updating all the tags.

That way the component deleted all the maybe filled tags from the file, which the user maybe does not realize, or way too late, like me.

I sadly deleted a lot of my composer/performer tags while betatesting. (my fault, no blame goes to anybody but me...)


Can you please skip the deleting/erasing of a tag, when the string is not set? that would prevent users from erasing their tags without knowing it.

Cheers
Title: foo_discogs
Post by: fuffi on 2015-09-23 12:32:28
Hi zoomorph,

a minor one:
when entering a URL in the "Release id / url" field in the "Find Release"-Window,

http://www.discogs.com/Metallsp%C3%BCrhund...release/1722388 (http://www.discogs.com/Metallsp%C3%BCrhunde-B%C3%B6se-Wetter/release/1722388)

is accepted,

www.discogs.com/Metallsp%C3%BCrhunde-B%C3%B6se-Wetter/release/1722388

is not accepted. (only the protocol is missing)
Title: foo_discogs
Post by: fuffi on 2015-09-23 13:44:30
Hi zoomorph,

I've got

"Unhandled exception in "Updating tags..."
invalid stoi argument


when trying to update some/all/one tags  from an album.

Is there anything, I can try to not get this error but update the files? (I remember there was an issue, but not exactly what issue...)


also,
for the useful matching tracks feature:

when unsuccessully matching tracks, the message "FAILED TO MATCH..." is red.

when successully matching tracks, the message is just plain. I would prefer to have it i.e. green, because then the user recognized, something was done.

if nothing was matched, the message should be plain, imho.
Title: foo_discogs
Post by: alexinc on 2015-09-23 13:51:10
i guess the problem is that zoomorph mentioned more than once, that the update-feature isnt implemented as of yet. this is why i'm not using the component for now. want to rebuild my database on a solid system while of course keeping some of the tags i wrote with bubblegums plugin.
Title: foo_discogs
Post by: fuffi on 2015-09-23 15:26:08
i guess the problem is that zoomorph mentioned more than once, that the update-feature isnt implemented as of yet. this is why i'm not using the component for now. want to rebuild my database on a solid system while of course keeping some of the tags i wrote with bubblegums plugin.
I remember, it was experimental, but implemented ;-) but I guess, u're right, because its not possible in any contellation of selected tracks to update anything.

for me, the update-feature is a very important feature, because its would allow me to quickly update a lot of albums all at once.

Now, when I want to "update" any old information in, say, 5 albums,  I need to select each of the 5 albums at once and write the tags to the files. this is, of course, for 5 albums nothing big, but imagine 20 or more...
With the update feature working, I just could select the 5 albums and press my keyboad shortcut to magicially get them updated in one single flush.

For me, its important to update a single track, as well as a whole album.

Anyways, its not usable by now ;-)
Hopefully zoomorph has some ideas to implement this.







another glitch found: (http://www.bilder-hochladen.net/files/thumbs/hcyg-48-1cef.png) (http://www.bilder-hochladen.net/i/hcyg-48-1cef.png)
the components cuts off the end of the formatting string and so does not show the complete formatting string.
Title: foo_discogs
Post by: alexinc on 2015-09-23 15:29:25
i hear you!
Title: foo_discogs
Post by: fuffi on 2015-09-23 17:23:10
Hi zoomorph,

for this (http://www.discogs.com/release/776211) relase, track 3, the default formatting string for DISCOGS_CREDIT_VOCALS did not work, because there is a nasty space in the TRACK_CREDITS_SHORT_ROLES.

I fixeed it quickly with some $multi_trims, but I'm pretty sure, I can be done smarter...

default:
Code: [Select]
$flatten($multi_if($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),'Vocals')),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$join($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$multi_wrap($get(aj),' ')),$get(an)),))

now working:
Code: [Select]
$flatten($multi_if($any($multi_strcmp($sextend($multi_trim(%<<TRACK_CREDITS_SHORT_ROLES>>%),$multi_trim(%<<RELEASE_CREDITS_SHORT_ROLES>>%)),'Vocals')),$multi_if($put(aj,$sextend($multi_trim(%<<TRACK_CREDITS_ARTISTS_JOIN>>%),$multi_trim(%<<RELEASE_CREDITS_ARTISTS_JOIN>>%))),$join($put(an,$sextend($multi_trim(%<<TRACK_CREDITS_ARTISTS_NAME>>%),$multi_trim(%<<RELEASE_CREDITS_ARTISTS_NAME>>%))),$multi_wrap($get(aj),' ')),$get(an)),))


Maybe you want to add a smarter way to ignore "whitespaces", like I did? Otherwise, we need to put the $multi_trims in every formatting string, I guess, which will make them even more unreadable ;-)
Title: foo_discogs
Post by: fuffi on 2015-09-24 17:38:07
Hi zoomorph,

a Bug:

when removing a track from the "files", the tagging is not correct, and the removed track is tagged.

the screenshot shows:
-untagged files (top of screen) in f2k
-selected track on the right, which is removed while pressing DELETE, in the next screenshot.
(http://www.bilder-hochladen.net/files/thumbs/hcyg-49-1d9a.png) (http://www.bilder-hochladen.net/i/hcyg-49-1d9a.png)

this screenshot is taken, after removing the file.
Left and right are showing both the "same" tracks:
(http://www.bilder-hochladen.net/files/hcyg-4a-ebc1.png) (http://www.bilder-hochladen.net/i/hcyg-4a-ebc1.png)

after tagging, the result is this:
(http://www.bilder-hochladen.net/files/hcyg-4b-718a.png) (http://www.bilder-hochladen.net/i/hcyg-4b-718a.png)

wrong: not tagged track 6, track 5 tagged as track 6
expected: removed track not tagged, track 6 tagged.

have fun :-)
Title: foo_discogs
Post by: fuffi on 2015-09-24 22:24:44
Hi zoomorph,

for this (http://www.discogs.com/release/361534) release, I always get this error while tagging:
Quote
(skipped) Error: Error writing tag DISCOGS_ARTISTS_ALIASES [Error processing field ARTISTS_ALIASES :  Too many triangle brackets.] for file
(skipped) Error: Error writing tag DISCOGS_ARTISTS_ALIASES [Error processing field ARTISTS_ALIASES :  Too many triangle brackets.] for file

[ESCAPE to close]

regardless, of what formatting string I use, i.e. :
%RELEASE_ARTISTS_NAME%, <%RELEASE_ARTISTS_NAME%>, $join($multi_replace(%<RELEASE_ARTISTS_NAME>%,'Various','Various Artists'),$multi_wrap(%<RELEASE_ARTISTS_JOIN>%,' ')), or the default one

is it me, or the component which causes the error? other releases are working fine the last days of testing.

some other releases with the same error:
1438836
1912661
4253278
892808
3381267
Title: foo_discogs
Post by: fuffi on 2015-09-24 23:22:07
Hi zoomorph,

in addition to this (https://www.hydrogenaud.io/forums/index.php?showtopic=50523&view=findpost&p=907602) post:

could you implement something which removes anchors from the url given in the "release id/url" textbox?

Quote
(FATAL) Error: Error loading release history?release=739629#latest: Page Deleted or Missing (404)(url: http://api.discogs.com/releases/history?re...=739629#latest) (http://api.discogs.com/releases/history?release=739629#latest))


Anyways, I tested the last days and need to say, that it is -beside some glitches and things which don't work right now- it is a pleasure to work with your adapted component of bubblegum.

-inserting an url or the plain release id is pretty cool. just add, whats in the clipboard and you're fine.
-resizing the windows to my viewing needs. its possible after all these years! (although it seems the resizing is not remembered and the position is wrongly remembered, but the most important thing is to size the windows...)
-configuring my own release formatting string (configuration->searching) is very useful.
-my expericence with track matching was ....not that good, so i deactivated it. need to play with all the preferences in the configuration, when I start again with testing.
-playing with the formatting strings is fun (as long as I get usable results), though, I don't really understand the very well written help. you could add more examples for dumb users like me, just to give them something to play and get interested.
-navigating inside the componens via the buttons or with keyboad-shortcuts makes is very fast to use.
-the release-caching problem I had the last versions seems to be gone. fine.
-no crashes anymore!

well and a lot more, I can't recall right now.

t-h-a-n-k you!!
Title: foo_discogs
Post by: zoomorph on 2015-09-25 10:54:33
Hi fuffi,

Thanks for all the feedback/reports. I wasn't around for awhile and I haven't read all of your posts yet, but I will read them and incorporate your feedback & reply to the rest when I get a chance. :-)

hi,
just a small glitch in the newest version.
(http://www.bilder-hochladen.net/files/thumbs/hcyg-47-59ec.png) (http://www.bilder-hochladen.net/i/hcyg-47-59ec.png)
I'm still trying to figure out how all the magic works, so no hardcore testing form my side atm. I'm deeply sorry ;-/

I'm not sure what causes this, but sometimes the same releases are shown twice under the master release (seems to be the case in the top picture).

-the possibility to reset a default for *each* tag, not only defaulting *all* tags (via right click menu?). this would facilitate the finetuning a lot, becaue users do not have to store the original config anywhere in notepad to get them back when needed.

Very good idea. Right click option to restore default (when applicable).

-save/load (extra buttons?) all the formatting strings to a file, because sometimes, the config is screwed up completely and I'd like to go back to yesterdays working configs.

I've thought of that. For the time being at least, you can back up the foo_discogs.dll.cfg file which includes all the format strings, in case of a problem so that you can restore them.

Hi zoomorph,

I found a "bad behaviour", which could also be a feature... but I personally would call this an undesirable effect, which is not expected by the user (me)

When having an empty formatting string and the write/update is enabled, the component empties that tag from the file while updating all the tags.

...

Can you please skip the deleting/erasing of a tag, when the string is not set? that would prevent users from erasing their tags without knowing it.

This is actually a feature. There needs to be some way to erase a tag if desired, and setting the value to an empty is the logical way to do that. If you want to possibly modify the tag, possibly not, then in your formatting string you should be able to do something like: $if(condition,new value,%ORIGINAL_TAG_VALUE%). Tags that you don't want to modify should be disabled!

http://www.discogs.com/Metallsp%C3%BCrhund...release/1722388 (http://www.discogs.com/Metallsp%C3%BCrhunde-B%C3%B6se-Wetter/release/1722388)

is accepted,

www.discogs.com/Metallsp%C3%BCrhunde-B%C3%B6se-Wetter/release/1722388

is not accepted. (only the protocol is missing)

Thanks, fixed for future versions.

I've got

"Unhandled exception in "Updating tags..."
invalid stoi argument


when trying to update some/all/one tags  from an album.

Sorry, updating tags isn't figured out yet. (Partly because I never used that feature so it doesn't bother me personally, partly because it's quite difficult to decide what to do and there's no easy solution. :-p)

I suggest using an old version of the plugin for now if you need to update tags.
Title: foo_discogs
Post by: zoomorph on 2015-09-25 11:39:59
Hi zoomorph,

for this (http://www.discogs.com/release/776211) relase, track 3, the default formatting string for DISCOGS_CREDIT_VOCALS did not work, because there is a nasty space in the TRACK_CREDITS_SHORT_ROLES.

I fixeed it quickly with some $multi_trims, but I'm pretty sure, I can be done smarter...

Maybe you want to add a smarter way to ignore "whitespaces", like I did? Otherwise, we need to put the $multi_trims in every formatting string, I guess, which will make them even more unreadable ;-)

Nice catch! I've changed it so that the SHORT_ROLES are trimmed of whitespace internally, which should fix this issue going forward. :-)

Hi zoomorph,

for this (http://www.discogs.com/release/361534) release, I always get this error while tagging:
Quote
(skipped) Error: Error writing tag DISCOGS_ARTISTS_ALIASES [Error processing field ARTISTS_ALIASES :  Too many triangle brackets.] for file
(skipped) Error: Error writing tag DISCOGS_ARTISTS_ALIASES [Error processing field ARTISTS_ALIASES :  Too many triangle brackets.] for file

[ESCAPE to close]

regardless, of what formatting string I use, i.e. :
%RELEASE_ARTISTS_NAME%, <%RELEASE_ARTISTS_NAME%>, $join($multi_replace(%<RELEASE_ARTISTS_NAME>%,'Various','Various Artists'),$multi_wrap(%<RELEASE_ARTISTS_JOIN>%,' ')), or the default one

is it me, or the component which causes the error? other releases are working fine the last days of testing.

some other releases with the same error:
1438836
1912661
4253278
892808
3381267

Hmmm, interesting, all of these releases have no artists. I see what causes this error. The check for triangle brackets was meant to be helpful but it doesn't work these cases so it will have to go. Removing that check, things work as expected.
Title: foo_discogs
Post by: fuffi on 2015-09-25 16:17:25
When having an empty formatting string and the write/update is enabled, the component empties that tag from the file while updating all the tags.
This is actually a feature. There needs to be some way to erase a tag if desired

Short question: Why (should there a way to delete a tag in the component, while writting tags is the reason, I started the component)?

My thinking (until now) is:
If the user likes to delete a tag/any tags, it is easier to open the properties of the file(s) and just delete the tag(s) by hand, than to start your fine component and update all the tags just because he likes to delete a single tag which is left empty in the formatting string.

But knowing this, user can simply disable the empty tag(s) (assumes, he bears that in mind).

Also while working with the fomatting strings on a 24" monitor, I found it very hard to check the state of a string (enabled/disabled...),because its at the right outer space of the window and mostly minimized/shrunken so that the important formatting stings gets more space to read.

It would be great, to just move the column to the left like in the screenshot/mockup:
(http://www.bilder-hochladen.net/files/thumbs/hcyg-4c-af97.jpg) (http://www.bilder-hochladen.net/i/hcyg-4c-af97.jpg)


I suggest using an old version of the plugin for now if you need to update tags.

I guess, the old component will only update the "old" tags, no the new ones introduced by your changings?

Also, could you please explain to me, whats so difficult about updating tracks?

My thinking is very rudimentary here: the component get a release-id and a tracknumber, so it fetches all the infos for all the selected tracks which the user has checked as "updateable"

but it seems its not that easy... :-)


Thanks for your work+time!
Title: foo_discogs
Post by: zoomorph on 2015-09-25 20:16:41
Short question: Why (should there a way to delete a tag in the component, while writting tags is the reason, I started the component)?

My thinking (until now) is:
If the user likes to delete a tag/any tags, it is easier to open the properties of the file(s) and just delete the tag(s) by hand, than to start your fine component and update all the tags just because he likes to delete a single tag which is left empty in the formatting string.

But knowing this, user can simply disable the empty tag(s) (assumes, he bears that in mind).

Two reasons:
1. It's more flexible. No way to delete a tag (write an empty string to a tag) when writing tags, would limit the abilities of tagging with foo_discogs.
2. It's more correct. Imagine something like REMIXED_BY was originally written to the tag, but upon updating tags the REMIXED_BY credit is gone or moved to a different track instead. Shouldn't the tag be erased from the old track? User won't manually delete tags in these cases.

I guess, the old component will only update the "old" tags, no the new ones introduced by your changings?

Also, could you please explain to me, whats so difficult about updating tracks?

My thinking is very rudimentary here: the component get a release-id and a tracknumber, so it fetches all the infos for all the selected tracks which the user has checked as "updateable"

but it seems its not that easy... :-)

There are a few problems, like....

1. What if the track number tag is wrong? (It could have changed on Discogs?) The old method of updating tracks treats the track number tag as infallible.
2. What if the tracklist is parsed incorrectly, or the user manually "deleted" Discogs tracks when tagging the first time? The old method treats tracklist parsing as infallible (and yet is much dumber about parsing track lists, not supporting sub-tracks, hidden tracks, etc).

So my thoughts for the new version are...
- Is it possible to match tracks based on more things than just the track number? If matching can be done based on multiple things, then we'll have higher confidence in the results. If matching conflicts for different methods, the user should be prompted to intervene and match the tracks manually.
- However, I'm not sure if matching can be done on anything other than track number and durations (when available; often not). I haven't implemented any of these yet.
- One issue with this is that all the tags (even track number) can now be written very arbitrarily by the plugin. A likely good solution (haven't tried it yet) is to compute all tags for all tracks for the release, then compare those tags to the existing tags in the tracks, and match tracks based on which tracks have the most existing matching tags.
- Matching a single track is less reliable than a whole release, by the way. A matching option to assume all tracks are present would be very useful for detecting if the parsed tracklist has more tracks than files (ie. if the user "deleted" some tracks when tagging the first time, or something else is not right).

As you can see, I have a lot of ideas. The next thing I should implement is matching tracks based on existing tags (maybe which tags are used for this purpose should ultimately be configurable). Then I need to change how "update tags" works internally, to update a whole release at once instead of track by track. Then, I just have to figure out what options to put in the settings to allow the user to configure the behavior of their choice. Some users will only care to match based on track numbers, while others will want more reliability. :-)
Title: foo_discogs
Post by: zoomorph on 2015-09-25 21:52:42
Hi zoomorph,

a Bug:

when removing a track from the "files", the tagging is not correct, and the removed track is tagged.

Good catch. Fixed.

Hi zoomorph,

in addition to this (https://www.hydrogenaud.io/forums/index.php?showtopic=50523&view=findpost&p=907602) post:

could you implement something which removes anchors from the url given in the "release id/url" textbox?

Quote
(FATAL) Error: Error loading release history?release=739629#latest: Page Deleted or Missing (404)(url: http://api.discogs.com/releases/history?re...=739629#latest) (http://api.discogs.com/releases/history?release=739629#latest))

I've added that.

Anyways, I tested the last days and need to say, that it is -beside some glitches and things which don't work right now- it is a pleasure to work with your adapted component of bubblegum.

Thank you very much for the feedback!

P.S. - In case of interest, here is an updated build with all of the above fixes/updates. As well, the way tracklists are parsed should be improved as I encountered a few more cases that were parsed incorrectly before. https://www.sendspace.com/file/r7y3g2 (https://www.sendspace.com/file/r7y3g2)
Title: foo_discogs
Post by: fuffi on 2015-09-26 14:45:46
Hi zoomorph,
I copied the new beta and will continue to test with that version. Thank you for the quick fixes!

Meanwhile, a little bug:

when loading a huge release-list from artist (A) and canceling the "find release"-window (not the fetchging-process-window, just the "find release"-window), to search for another artist (B), the release-list from the artist A shows up, although the name of artist B is typed in the Artist field.

Try to reproduce (maybe clear cache first):

1) open the "find release"-window, search for artists "Faith No More" 12937 (or any other with huge discography)
2) press "cancel"-button in the "find release"-window, (let the download fetching process window do its work in the background. don't touch it.)
3) open the "find release"-window, search for artist "Feder (3)"  2638565 (or any other with tiny discography)

result is, that the list from artist A is shown instead of artists B's list.

I couldnt reproduce it every time, you need to find the "right" time to open the "find release"-window a second time.

Anyways, its not bad, just a little iritating sometimes, and I could live with that, because:
its a great feature to let the artist list fetched in the background, while doing other work with the component. therefore, we save a lot of time, instead of waiting for each fetch-process to be completed.



another bug:
an empty tag name is possible, but never shows up in the properties window of the file:
(http://www.bilder-hochladen.net/files/thumbs/hcyg-4e-a3db.png) (http://www.bilder-hochladen.net/i/hcyg-4e-a3db.png)


Short question: Why (should there a way to delete a tag in the component, while writting tags is the reason, I started the component)?
Two reasons:
1. It's more flexible. No way to delete a tag (write an empty string to a tag) when writing tags, would limit the abilities of tagging with foo_discogs.
2. It's more correct. Imagine something like REMIXED_BY was originally written to the tag, but upon updating tags the REMIXED_BY credit is gone or moved to a different track instead. Shouldn't the tag be erased from the old track? User won't manually delete tags in these cases.

hmmm.... I don't see its more flexible that way, I think its more dangerous then.

Second point, I'm not quite sure, I understood: the REMIXED_BY tag would always be ereased with an empty formatting string, never updated. So all files get their (filled or not filled) REMIXED_BY tag removed. What, when I have playlist-view-scripts in f2k which rely on the content of that (old) tag? The component just deleted my information.
(I don't talk for the REMIXED_BY tag only, also COMPOSER/PERFORMER and any other I could create in the component)

My optinion:
When the REMIXED_BY tag is delivered empty by discoGS Api (or emptied by the users custom string), then its fine&correct to write an empty tag to the file, or erase the tag).
The tag should not be removed when the formatting string field is left empty.

Idea: Maybe you implement another Status? Say "--REMOVED--" in addition to "Write/Update/Disabled", so the user needs to click explicit on "remove" to let the component erase the tag?

Well, I guess, I'll see what will happen in the future. Until then, I try to remember to disable empty formatting string, to not get important tags erased by accident.


As with the updating-tags-thing: I see you have great ideas! and I'm looking forward to test them ;-)  I would prefer the simple and fast solution first: update the tracks, identified by the tracknumber, because this simple task worked reliable for years with the "old" component.
Title: foo_discogs
Post by: fuffi on 2015-09-26 15:31:27
Hi,

I don't quite understand why the Artist Name Variation only gives a single hit "Large Pro" on this (http://www.discogs.com/release/7103851) release.

Artists Website (http://www.discogs.com/artist/40445-Large-Professor) shows:
Extra P, Larde Professor, Large Pro, Large Pro*, Large Prof, Large Prof., Large Professor, The, Large Proffessor, The Large Prof., The Large Professor, Xtra P


My settings in the components formatting strings:
DISCOGS_ARTIST_NAME_VARIATIONS: %<ARTISTS_NAME_VARIATION>%
Shows only: Large Pro

DISCOGS_ARTISTS_ALL_NAME_VARIATIONS: %<<ARTISTS_ALL_NAME_VARIATIONS>>%
Shows (same as website): Extra P, Larde Professor, Large Pro, Large Pro*, Large Prof, Large Prof., Large Professor, The, Large Proffessor, The Large Prof., The Large Professor, Xtra P

Why are those two contents differ? shouldnt they be the same?

Anybody can explain or help?
Title: foo_discogs
Post by: fuffi on 2015-09-26 15:55:14
Hi zoomorph,

in your last beta (btw, pls add something like a versionnumber to the find release window, or update the internal version of the component so we know, what version we are testing) you did change something with the HIDDEN tracks, I guess? ;-)

for this (http://www.discogs.com/release/522681) release:

the working tracklist
(http://www.bilder-hochladen.net/files/thumbs/hcyg-4f-2157.png) (http://www.bilder-hochladen.net/i/hcyg-4f-2157.png)
changed to something way too trimmed:
(http://www.bilder-hochladen.net/files/thumbs/hcyg-4g-fd1b.png) (http://www.bilder-hochladen.net/i/hcyg-4g-fd1b.png)

Can you please change it (back), so its working again like expected (showing all tracks)?
Title: foo_discogs
Post by: komhst on 2015-09-26 17:06:46
I have a problem about album art. Although the configuration of the plugin is File prefix: %album% the filename of the image saved in folder is: _.jpg
How can I fix this?
Title: foo_discogs
Post by: fuffi on 2015-09-26 17:26:34
How can I fix this?
dunno,
this it how it looks here and its working fine:
(http://www.bilder-hochladen.net/files/thumbs/hcyg-4h-b8ab.png) (http://www.bilder-hochladen.net/i/hcyg-4h-b8ab.png)
Title: foo_discogs
Post by: zoomorph on 2015-09-26 21:33:07
Hi zoomorph,
I copied the new beta and will continue to test with that version. Thank you for the quick fixes!

Meanwhile, a little bug:

when loading a huge release-list from artist (A) and canceling the "find release"-window (not the fetchging-process-window, just the "find release"-window), to search for another artist (B), the release-list from the artist A shows up, although the name of artist B is typed in the Artist field.

Wow you're good at finding bugs! Fixed this one and a couple similar.

another bug:
an empty tag name is possible, but never shows up in the properties window of the file:
(http://www.bilder-hochladen.net/files/thumbs/hcyg-4e-a3db.png) (http://www.bilder-hochladen.net/i/hcyg-4e-a3db.png)

Yes, the component doesn't stop you from putting an empty tag name. It probably should as I don't think this is valid. :-)

hmmm.... I don't see its more flexible that way, I think its more dangerous then.

Same thing! With great power comes great responsibility.

Second point, I'm not quite sure, I understood: the REMIXED_BY tag would always be ereased with an empty formatting string, never updated. So all files get their (filled or not filled) REMIXED_BY tag removed. What, when I have playlist-view-scripts in f2k which rely on the content of that (old) tag? The component just deleted my information.
(I don't talk for the REMIXED_BY tag only, also COMPOSER/PERFORMER and any other I could create in the component)

My optinion:
When the REMIXED_BY tag is delivered empty by discoGS Api (or emptied by the users custom string), then its fine&correct to write an empty tag to the file, or erase the tag).
The tag should not be removed when the formatting string field is left empty.

I see, you're saying that tags should be erased by formatting strings that resolve to an empty string, as long as they aren't a blank formatting string?

In the settings, I added an option to remove existing tags from tracks before writing tags (with a possible list of exclusions). I see this ability to erase individual tags with a blank formatting string as being complementary; it allows deletion in advance of a specific tag, instead of everything but a specific tag.

Yes, I could ignore tags that have a blank formatting string, and then people would have to set it to something like "$if(,,,)" instead for this to work, but I find that quite odd. In my view, the user should just not set a blank tag formatting string if that's not what they want. :-\

Idea: Maybe you implement another Status? Say "--REMOVED--" in addition to "Write/Update/Disabled", so the user needs to click explicit on "remove" to let the component erase the tag?

Overly confusing.

Well, I guess, I'll see what will happen in the future. Until then, I try to remember to disable empty formatting string, to not get important tags erased by accident.

Why would you even create tags with an empty formatting string? I think some are there by default (COMMENT, etc) because they are in the foobar2000 properties window, but they are disabled. The intent was that users could enable and specify those tags if they desired, but by default foo_discogs didn't write them.

Hi,

I don't quite understand why the Artist Name Variation only gives a single hit "Large Pro" on this (http://www.discogs.com/release/7103851) release.

Artists Website (http://www.discogs.com/artist/40445-Large-Professor) shows:
Extra P, Larde Professor, Large Pro, Large Pro*, Large Prof, Large Prof., Large Professor, The, Large Proffessor, The Large Prof., The Large Professor, Xtra P


My settings in the components formatting strings:
DISCOGS_ARTIST_NAME_VARIATIONS: %<ARTISTS_NAME_VARIATION>%
Shows only: Large Pro

DISCOGS_ARTISTS_ALL_NAME_VARIATIONS: %<<ARTISTS_ALL_NAME_VARIATIONS>>%
Shows (same as website): Extra P, Larde Professor, Large Pro, Large Pro*, Large Prof, Large Prof., Large Professor, The, Large Proffessor, The Large Prof., The Large Professor, Xtra P

Why are those two contents differ? shouldnt they be the same?

Anybody can explain or help?

%<ARTISTS_NAME_VARIATION>% returns an array of name variations for the artist(s) for each track. This means either the track artist(s), if defined in the tracklist, or the release artist(s) defined at the release level. The name variation is the one used on the specific release, if applicable.

%<<ARTISTS_ALL_NAME_VARIATIONS>>% returns an array containing an array of ALL name variations available on the profile page, for the artist(s) for each track.

The latter one loads its info from the artist profile page, while the former loads from the release page only. They are returning quite different data. :-)

Hi zoomorph,

in your last beta (btw, pls add something like a versionnumber to the find release window, or update the internal version of the component so we know, what version we are testing) you did change something with the HIDDEN tracks, I guess? ;-)

for this (http://www.discogs.com/release/522681) release:

the working tracklist
(http://www.bilder-hochladen.net/files/thumbs/hcyg-4f-2157.png) (http://www.bilder-hochladen.net/i/hcyg-4f-2157.png)
changed to something way too trimmed:
(http://www.bilder-hochladen.net/files/thumbs/hcyg-4g-fd1b.png) (http://www.bilder-hochladen.net/i/hcyg-4g-fd1b.png)

Can you please change it (back), so its working again like expected (showing all tracks)?

Yes, I changed the tracklist parsing algorithm. I have a list of about 20 odd cases that I want it to parse correctly. I found 2-3 cases that weren't working in the last release. Now it seems you've found a new case that isn't working. I'll add this to my list and see if I can get it parsing correctly, thanks!
Title: foo_discogs
Post by: fuffi on 2015-09-26 21:42:28
Hi zoomorph,

I encountered an interesting phenomen:

this (http://www.discogs.com/release/490747) release has 3 tracks.
when I select the 3 tracks in f2k and rightclick -> tagging -> discogs -> write tags... (or press the shortcut I selected) the files will be immediately tagged. (dialogs pop up, but get magicially answered/confirmed)
when I sonly select 1 or 2 tracks, then the "release"-window pops up as expected.
I have activated
Title: foo_discogs
Post by: zoomorph on 2015-09-26 21:50:29
Hi zoomorph,
for this (http://www.discogs.com/release/522681) release:

...

Can you please change it (back), so its working again like expected (showing all tracks)?

Yes, I changed the tracklist parsing algorithm. I have a list of about 20 odd cases that I want it to parse correctly. I found 2-3 cases that weren't working in the last release. Now it seems you've found a new case that isn't working. I'll add this to my list and see if I can get it parsing correctly, thanks!

Technically, this release is not following the Discogs guidelines (it should be 1-1 instead of 1.01, and so on). The problem is that the Discogs guidelines say that using the "dot" is for hidden tracks, not for multiple CDs, yet many old releases are using the wrong notation.

The best solution would be to update the database to fix this. I don't know if that will fly with foo_discogs users, so I may need to add extra logic to catch that case.

Hi zoomorph,

I encountered an interesting phenomen:

this (http://www.discogs.com/release/490747) release has 3 tracks.
when I select the 3 tracks in f2k and rightclick -> tagging -> discogs -> write tags... (or press the shortcut I selected) the files will be immediately tagged. (dialogs pop up, but get magicially answered/confirmed)
when I sonly select 1 or 2 tracks, then the "release"-window pops up as expected.
I have activated
  • skip find_release dialog, which is skipped, but the "release"-window is also skipped and "write tags" seems to be pressed automaticly.

This must also be enabled (on matching tab): "Skip release dialog if tracks are matched successfully" :-)
Title: foo_discogs
Post by: fuffi on 2015-09-26 22:08:09
I have activated
  • skip find_release dialog, which is skipped, but the "release"-window is also skipped and "write tags" seems to be pressed automaticly.
This must also be enabled (on matching tab): "Skip release dialog if tracks are matched successfully" :-)

Aah 8-) Thank you. I thought that would affect the track matching only, but now I realise, the lower part of the config-window is for track matching only...

btw:
yesterday I tried to understand that "discogs formatting string" script, but I have problems reading/understanding it completely.

Can you pleae explain what exactly it does (or should do) ?

The $multi ifs and ands and nots are confusing me. Also, I don't understand the minus in %DISC_NUMBER%-
Actually, my brain stopped working after the %REPLACE_ANVS%...and I only read the rest of the string in trance %-/
The Hidden_tracks-parts seem interesting too, but what are they doing?

Quote
$ifgreater(%RELEASE_TOTAL_DISCS%,1,%DISC_NUMBER%-,)$num(%TRACK_DISC_TRACK_NUMBER%,2) - $multi_if($multi_and(%ARTISTS_NAME_VARIATION%,$multi_not(%REPLACE_ANVS%)),%ARTISTS_NAME_VARIATION%$multi_if(%DISPLAY_ANVS%,*,),%ARTISTS_NAME%) - %TRACK_TITLE%$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0,,'  [+'%TRACK_TOTAL_HIDDEN_TRACKS%' HIDDEN]')
Title: foo_discogs
Post by: zoomorph on 2015-09-26 22:19:35
yesterday I tried to understand that "discogs formatting string" script, but I have problems reading/understanding it completely.

Can you pleae explain what exactly it does (or should do) ?

The $multi ifs and ands and nots are confusing me. Also, I don't understand the minus in %DISC_NUMBER%-
Actually, my brain stopped working after the %REPLACE_ANVS%...and I only read the rest of the string in trance %-/
The Hidden_tracks-parts seem interesting too, but what are they doing?

Quote
$ifgreater(%RELEASE_TOTAL_DISCS%,1,%DISC_NUMBER%-,)$num(%TRACK_DISC_TRACK_NUMBER%,2) - $multi_if($multi_and(%ARTISTS_NAME_VARIATION%,$multi_not(%REPLACE_ANVS%)),%ARTISTS_NAME_VARIATION%$multi_if(%DISPLAY_ANVS%,*,),%ARTISTS_NAME%) - %TRACK_TITLE%$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0,,'  [+'%TRACK_TOTAL_HIDDEN_TRACKS%' HIDDEN]')


That formatting string is what generates the entries in the "Discogs" side of the tracklist. Yes, these things are complex, lol.

IF more than 1 disc on the release, print %DISC_NUMBER%- (the dash comes after the disc number and before the track number)
print %TRACK_DISC_TRACK_NUMBER% (the track number starting at 1 for each disc)
...

All those ifs and ands are basically figuring out whether to show the ANV replaced or a * beside the ANVs.

Finally, if hidden tracks are available, it prints [+ N HIDDEN] at the end.
Title: foo_discogs
Post by: zoomorph on 2015-09-26 22:44:25
More fixes: https://www.sendspace.com/file/sca1l2 (https://www.sendspace.com/file/sca1l2)
- Fix tasks outliving parent window on find_release dialog.
- Fix sub-track name parsing.
- Sub-track durations now parsed to track durations and index track duration set to INDEXTRACK_DURATION fields, instead of vice versa. Makes it possible to match tracks on duration with subtracks, now.
- Fix crash when changing replace/display ANV buttons on release dialog.
Title: foo_discogs
Post by: fuffi on 2015-09-27 00:31:54
Hi zoomorph,

Quote
(skipped) Error: Error writing tags.

[ESCAPE to close]

is it possible to skip this error message, when the updating-tags dialog is canceled (by the user, via pressing the cancel button) ?
because, when the user presses cancel, he knows that the writing will be canceled and its not an error, imho.
so no additional message for confirmation is needed here.



More fixes:
- Fix sub-track name parsing.

should those tracks (http://www.discogs.com/release/921805) not be fixed with this new version?  Or are "Sub-tracks" something completely different as normal track numbering?



Now, a maybe very special feature-request:

fetching and saving album artwork is a very useful feature and I use it frequently.

I save the files with $directory_path(%path%) to the folder where the release is saved, BUT thats only nicely working IF the album lives in only one single folder.
IF a release has more than CD1, or its a CD+DVD, or maybe has bonus tracks (mostly on CD2 or CD3...), then the artwork is only saved in that folder, where the first selected file lives.

So, my feature request would be:
if I have selected 10 files, where 5 live in folder CD1 and 5 in folder CD2, I'd like to save the album art in both folders with the component.
Not to copy the saved artwork files from folder CD1 to CD2 by hand, is my wish :-)

Is this maybe already possible, maybe with something like $directory_path(<%path%>)?
(I did'nt tested it, because I don't want to accidentially nuke my harddrive playing around with < > ...)
Title: foo_discogs
Post by: fuffi on 2015-09-27 02:06:03
My optinion: When the REMIXED_BY tag is delivered empty by discoGS Api (or emptied by the users custom string), then its fine&correct to write an empty tag to the file, or erase the tag). The tag should not be removed when the formatting string field is left empty.
I see, you're saying that tags should be erased by formatting strings that resolve to an empty string, as long as they aren't a blank formatting string?
yes.

In the settings, I added an option to remove existing tags from tracks before writing tags (with a possible list of exclusions). I see this ability to erase individual tags with a blank formatting string as being complementary; it allows deletion in advance of a specific tag, instead of everything but a specific tag.
i have seen this and wondered: what tags would I remove...and my guess was: any old doublettes or tags which have been renamed. In my case I would delete i.e. DISCOGS_ARTIST_ANVS, because its now DISCOGS_ARTISTS_ALL_NAME_VARIATIONS.  I also decided, that this is a very useful feature, but I'll won't use it the next months, because tag names can change with every new beta and I'm still learning and going deeper into the discogs thing ;-)
also, why should I remove an "old" tag which is in 98% of my files and the "new" tag is only in 2%? I'll think about that again, when "updating tags" is ready to test.

In my view, the user should just not set a blank tag formatting string if that's not what they want.
Why would you even create tags with an empty formatting string? I think some are there by default (COMMENT, etc) because they are in the foobar2000 properties window, but they are disabled. The intent was that users could enable and specify those tags if they desired, but by default foo_discogs didn't write them.
Well,
You wrote "With great power comes great responsibility", but I would say: "With great knowledge comes great responsibility".
The formatting strings were empty by default (and disabled), so it seems, I had enabled them, not knowing what would happen.
So the power is in your hand to give the user a nice and easy hand to delete tags (good*: with your option "remove any pre-existing tags") by activating a checkbox with a helping understandable text, or...bad*: just assume the user knows what you know and think like you think...which will fail. always :-)

*good/bad are meant technically, not personal ;-)

now, the component has 2 ways to erase tags. one in the configuration with a helping text and one in the "edit tags mapping"-window without any (contextual) help for the user, which is -for me- confusing.

but I have learned my lesson and hopefully won't delete any important tags the next time ;-)


Yes, I changed the tracklist parsing algorithm. I have a list of about 20 odd cases that I want it to parse correctly. I found 2-3 cases that weren't working in the last release. Now it seems you've found a new case that isn't working. I'll add this to my list and see if I can get it parsing correctly, thanks!

can you add this (http://www.discogs.com/release/2632447) tracknumbering too, please?
(http://www.bilder-hochladen.net/files/thumbs/hcyg-4i-b8a6.png) (http://www.bilder-hochladen.net/i/hcyg-4i-b8a6.png)
Title: foo_discogs
Post by: TheEmpathicEar on 2015-09-27 03:25:41
[I have installed Windows 10 and reinstalled Foobar and Discogs]
1. Do I need to re-initialize something before being able to use Discogs?
2. How can I use this in Foobar to rip CDs?
Title: foo_discogs
Post by: zoomorph on 2015-09-27 04:22:45
i have seen this and wondered: what tags would I remove...and my guess was: any old doublettes or tags which have been renamed. In my case I would delete i.e. DISCOGS_ARTIST_ANVS, because its now DISCOGS_ARTISTS_ALL_NAME_VARIATIONS.  I also decided, that this is a very useful feature, but I'll won't use it the next months, because tag names can change with every new beta and I'm still learning and going deeper into the discogs thing ;-)
also, why should I remove an "old" tag which is in 98% of my files and the "new" tag is only in 2%? I'll think about that again, when "updating tags" is ready to test.

I think this ability is mostly useful for users who are downloading files before tagging them, or whose files are tagged by other software, or such. They may want to delete tags like COMMENT or others that are sometimes are set.

If you want to rename a tag like DISCOGS_ARTIST_ANVS to DISCOGS_ARTISTS_ALL_NAME_VARIATIONS in all tracks, you could just select all files in foobar2000 then use the properties window to make that change all at once.

Or, if you prefer to use the old tag name, you could change the new default tag name from DISCOGS_ARTISTS_ALL_NAME_VARIATIONS to DISCOGS_ARTIST_ANVS in the tag mapping settings, if you prefer it. :-)

now, the component has 2 ways to erase tags. one in the configuration with a helping text and one in the "edit tags mapping"-window without any (contextual) help for the user, which is -for me- confusing.

You are right, maybe there's a way to make it more intuitive.

Yes, I changed the tracklist parsing algorithm. I have a list of about 20 odd cases that I want it to parse correctly. I found 2-3 cases that weren't working in the last release. Now it seems you've found a new case that isn't working. I'll add this to my list and see if I can get it parsing correctly, thanks!

can you add this (http://www.discogs.com/release/2632447) tracknumbering too, please?
(http://www.bilder-hochladen.net/files/thumbs/hcyg-4i-b8a6.png) (http://www.bilder-hochladen.net/i/hcyg-4i-b8a6.png)

Is there a problem there? The way the tracks are numbered, it seems like CD2 is a single file with 29 tracks hidden inside it. If that's not actually the case, if it's supposed to be 29 separate files, they should be numbered like 2-1, 2-2, etc, instead.
Title: foo_discogs
Post by: zoomorph on 2015-09-27 04:26:12
[I have installed Windows 10 and reinstalled Foobar and Discogs]
1. Do I need to re-initialize something before being able to use Discogs?
2. How can I use this in Foobar to rip CDs?

1. You'll need to configure OAuth before using foo_discogs. (It will prompt you the first time you try to use it.)
2. foo_discogs does not rip CDs, it tags audio files. You should use an external program such as Exact Audio Copy for ripping CDs.
Title: foo_discogs
Post by: zoomorph on 2015-09-27 04:30:56
More fixes:
- Fix sub-track name parsing.

should those tracks (http://www.discogs.com/release/921805) not be fixed with this new version?  Or are "Sub-tracks" something completely different as normal track numbering?

No, there was a bug parsing actual subtrack names in Discogs tracklist. This release you linked doesn't have any subtracks, only headings and regular tracks.

The problem with this release is that the track positions are entered incorrectly on Discogs. 1.01 should be changed to 1-1, and so on.

fetching and saving album artwork is a very useful feature and I use it frequently.

I save the files with $directory_path(%path%) to the folder where the release is saved, BUT thats only nicely working IF the album lives in only one single folder.
IF a release has more than CD1, or its a CD+DVD, or maybe has bonus tracks (mostly on CD2 or CD3...), then the artwork is only saved in that folder, where the first selected file lives.

So, my feature request would be:
if I have selected 10 files, where 5 live in folder CD1 and 5 in folder CD2, I'd like to save the album art in both folders with the component.
Not to copy the saved artwork files from folder CD1 to CD2 by hand, is my wish :-)

Is this maybe already possible, maybe with something like $directory_path(<%path%>)?
(I did'nt tested it, because I don't want to accidentially nuke my harddrive playing around with < > ...)

Ah, you've pointed out a good problem. Currently the directory is formed based on the first track, only. I should change this to provide a way to return multiple directories and allow saving the artwork in all of them.
Title: foo_discogs
Post by: komhst on 2015-09-27 09:00:36
How can I fix this?
dunno,
this it how it looks here and its working fine:
(http://www.bilder-hochladen.net/files/thumbs/hcyg-4h-b8ab.png) (http://www.bilder-hochladen.net/i/hcyg-4h-b8ab.png)


No, it doesn't work this way. If you put %filename%_cover it saves filename_cover.jpg (whatever filename is) and foobar doesn't find the album art.
Foobar needs album.jpg
It seems that the new version of the plugin doesn't recognize the variable %album% This is the problem.
Title: foo_discogs
Post by: fuffi on 2015-09-27 22:57:23
No, it doesn't work this way. If you put %filename%_cover it saves filename_cover.jpg (whatever filename is) and foobar doesn't find the album art.
Foobar needs album.jpg
It seems that the new version of the plugin doesn't recognize the variable %album% This is the problem.

it does work here, nearly perfectly, because I have set up foobar to show every imagefile, with this mask *_cover.*
you can set up more things like a filemask for frontcover, backcover, artist-images, etc. very flexible.
i'm unsure right now, if i have done this with a artwork-component, or if its a foobar internal feature, because computer is off atm :-)

and its not a problem of the discogs component. the component just saves the image file it fetches to a location you choose, with a filename you choose. its up to you, to set the artwork-reading-component or foobar to this location and customize the filenames to check correctly.

please check the forum search with words like: album art panel image file location path
or just type album art now shown ;-)
Title: foo_discogs
Post by: fuffi on 2015-09-30 09:38:20
Hi zoomorph,
can you add this (http://www.discogs.com/release/2632447) tracknumbering too, please?(http://www.bilder-hochladen.net/files/thumbs/hcyg-4i-b8a6.png) (http://www.bilder-hochladen.net/i/hcyg-4i-b8a6.png)
Is there a problem there? The way the tracks are numbered, it seems like CD2 is a single file with 29 tracks hidden inside it. If that's not actually the case, if it's supposed to be 29 separate files, they should be numbered like 2-1, 2-2, etc, instead.

Yes, there is a problem, because, as you wrote, those are individual files (at least at my HD) and imho, there must be an option for the user to expand those hidden files to "real" tracks.
Otherwise we cannot tag releases, where we have splitted a CD-MIX into seperate files, according the tracklist of the discogs release.

A lot of releases of DJ Mixes or ambient music for instance come as a big file, but with a .cue file which acts as a "playlist", when opened in foobar. But you can split the big file into separate tracks too in foobar, to have them ... separate from the mix :-)

I'd like to be able to tag all the spearated single files like in the release-list from discogs, independed wether they are marked as hidden or not.

So, for the above release, when a user has 29 single tracks for CD2 then he cannot tag them, because the component merged information for each single tack it gets from the API to a single (useless hidden) track.

In addition to that, now, only the first file of the second CD will be updated with poor information, because the updated file does not contain any tag with all the tracknames of the CD-MIX. (at least here with my testing, maybe I did something wrong.)

So I conclude:  :-)
The component should offer 2 methods for hidden tracks:

-write all hidden tracknames in the big single file (maybe as a new tag)
or
-split the hidden track into single tracks and tag all the single files accordingly.

Of course, the user should have the choice to chose what he needs for his local file or files.
Title: foo_discogs
Post by: fuffi on 2015-09-30 09:57:23
Hi zoomorph,

this (http://www.discogs.com/release/6298153) release shows tracks 2, 3, 5, 8 fine on the website:
(http://www.bilder-hochladen.net/files/hcyg-4l-d1ab.png) (http://www.bilder-hochladen.net/i/hcyg-4l-d1ab.png)

but after tagging with the component, its looks this way in foobar2000:
(http://www.bilder-hochladen.net/files/hcyg-4j-0edb.png) (http://www.bilder-hochladen.net/i/hcyg-4j-0edb.png)
(name space comma space name
instead of
name comma space name)

the properties show:
(http://www.bilder-hochladen.net/files/hcyg-4k-9c2c.png) (http://www.bilder-hochladen.net/i/hcyg-4k-9c2c.png)

I guess the names should be separated with a ; semicolon, instead of an , comma?

I remember, there was a advanced setting in the preferences in foobar, where the use could set the semicolon as a field separator, which is the default in foobar2000, but I cannot find it at the moment...

When I change "Bruno Cardoso , Lydie Barbara" to "Bruno Cardoso; Lydie Barbara" by hand in the properties, it looks correct.

Is there any chance to separate the artists with a semicolon instead of a comma? It seems, the formatting string does not offer something like that, but I'm not sure.
Title: foo_discogs
Post by: GaryG45 on 2015-10-06 20:58:33
Hi,
I'm new to foobar and started to use foo_discogs yesterday.  My first album, The Rocky Horror Picture Show, encountered the HIDDEN tracks problem.  It was the Ode Records, vinyl album, 1975, US, OSV-21653, and Discogs ID: 5576539.  Discogs shows tracks [B3a], [B3b], [B3c], [B4], etc.  After the Find Release window the Release window tracklist lists track [B3a] and says +2 HIDDEN at the end then lists track [B4].  I hope this helps to find a fix.

Is there a feature that allows only specific tags to be written?  For example, I'd only want the artist to be written for some soundtrack albums.  It doesn't appear that Edit Tag Mapping would do it.  Thanks.

Gary
Title: foo_discogs
Post by: fuffi on 2015-10-12 20:20:49
Hi zoomorph,
the newer releases show always the master release, when double-clicking on releases.
Is this correct? IMHO the component should open the corresponding release pages.
(http://www.bilder-hochladen.net/files/thumbs/hcyg-4m-c7f5.png) (http://www.bilder-hochladen.net/i/hcyg-4m-c7f5.png)
the releases in the screenshot always opens http://www.discogs.com/master/612904 (http://www.discogs.com/master/612904)
or http://www.discogs.com/master/418791 (http://www.discogs.com/master/418791)
Title: foo_discogs
Post by: fuffi on 2015-10-12 20:27:07
Hi zoomorph,
here is another release (http://www.discogs.com/James-Last-Swinging-%C3%84nnchen-Von-Tharau-2/release/4705447), which shows wrong HIDDEN tracks:
(http://www.bilder-hochladen.net/files/thumbs/hcyg-4n-cbfe.png) (http://www.bilder-hochladen.net/i/hcyg-4n-cbfe.png)

Is it possible to implement an
Title: foo_discogs
Post by: fuffi on 2015-10-12 21:33:54
Hi zoomorph,
here are two (1 (http://www.discogs.com/James-Last-Swing-Mit-%C3%84nnchen-Von-Tharau-26-Swingende-Volkslieder-Mit-James-Last-/release/1268546), 2 (http://www.discogs.com/James-Last-%C3%84nnchen-Von-Tharau-Bittet-Zum-Tanz/release/5933845)) examples which I can imagine, it is difficult/complex to implement a "correct" listing (AND tagging) of the tracks.
For me, I wish something like a merging of the tracknames, like (from example 1)

Code: [Select]
"A1a, A1b, A1c" ("Wem Gott Will Rechte Gunst Erweisen, Üb' Immer Treu' Und Redlichkeit, Ein Männlein Steht Im Walde")

or
Code: [Select]
"A1a / A1b / A1c" ("Wem Gott Will Rechte Gunst Erweisen / Üb' Immer Treu' Und Redlichkeit / Ein Männlein Steht Im Walde")

Which would be the resulting trackname for A1

I guess, this way, the tracknames could be very (too?) long, but no information would be cutted out or missing. (which is very needful, while searching for particular tracks in the f2k search)

This is what I do by hand right now: copy all the single tracknames of each track and seperate them with " - " or " / " or ";" and take the track-header (if any) and copy it before or after the resulting trackname. i.e. Foxtrott: Wem Gott Will ....

I could imagine something like keep only the first trackname in the resulting track, but that just a bad compromise on the tag-length
Code: [Select]
"A1a..." ("Wem Gott Will Rechte Gunst Erweisen...")


I guess, there will be no "best" way to realise an automated taggin mechanism which covers all the whiches/needs, so I would prefer several different methods, choosable by the user :-)
If method A is not satisfying the user, he can try method B or C or even D. (the methods may be no complete themselfes, but testable anyways)

I really hope, you will give us the chance to test any code you have written ;-))

p.s. another HIDDEN (http://www.discogs.com/James-Last-%C3%84nnchen-Von-Tharau-Bittet-Zum-Tanz-2/release/909431) variant.
Title: foo_discogs
Post by: fuffi on 2015-10-23 15:29:14
Hi zoomorph,

a minor thing:

Artists searching for " Kelis" will not return results for "Kelis" as expected, but results for "Rick Kelis".

Is it possible to trim the searchterm (" Kelis" -> "Kelis") before submitting the search?
Title: foo_discogs
Post by: fuffi on 2015-10-25 23:31:55
Hi zoomorph,
in addition to this post (https://www.hydrogenaud.io/forums/index.php?s=&showtopic=50523&view=findpost&p=908774),
here is another example. clicking any release (for "moving pictures") will always go to the master release.
(http://www.bilder-hochladen.net/files/thumbs/hcyg-4p-19ac.png) (http://www.bilder-hochladen.net/i/hcyg-4p-19ac.png)
cheers,
Title: foo_discogs
Post by: atagal on 2015-11-06 03:21:05
Bug with some multi-disc releases

http://www.discogs.com/release/880847 (http://www.discogs.com/release/880847)
http://www.discogs.com/release/863175 (http://www.discogs.com/release/863175)
etc.

Tagger show only first track from disc [+HIDDEN]
I suppose it can be related to dots in tracklisting (1.01, 1.02) because usually all fine without dots (1-01).


v1.52 (latest beta though)
Title: foo_discogs
Post by: Lee James on 2015-11-10 01:20:14
Hi, I've just started using this excellent plugin once again (been a few years since I tidied up my music collection).

I have three questions about the album art:

1. All the art it downloads seems to be very low resolution (eg 600x600 pixels). That seems a little small, and it's hard to even read text sometimes at that resolution. Is there any easy way to achieve higher resolution images? (Without scanning the artwork myself, obviously.)

2. "Back" artwork is being named "cover_2" or "cover_3" etc. To me, the back artwork is almost as important as the cover and I like it to be specially titled so that I can easily click the cover to see the back. Can anything be done about this?

3. Sometimes there aren't even images of the back, not even for very famous artists. Can anything be done about this?

I may be wrong, but I seem to remember using the Discogs plugin a few years ago and there being a lot more choice in terms of images, and larger images. Though maybe I'm thinking of some other plugin?

By the way, when I use the plugin to search for an album, there's usually an asterisk next to the "right" album. What is this asterisk supposed to represent, just out of interest?

Thanks
Title: foo_discogs
Post by: a3aan on 2015-11-15 23:15:44
Might have been asked before but I would appreciate that files are not rewritten while updating when no tag has changed, on a per file bases. Cheers.
Title: foo_discogs
Post by: atagal on 2015-11-16 10:01:58
"Removing pre-existing tags" option do not clear itune or comment tags. Would be nice to remove everything.
Also plugin deadly need embedded cover option!
Title: foo_discogs
Post by: fuffi on 2015-11-18 17:19:27
Hi zoomorph,

another release (http://www.discogs.com/release/2115217), with mixed numbers in the tracklist. No idea how to correct them on the DG site, to solve this in the component.

Code: [Select]
5     Marrakesh Express     
6     Long Time Gone     
7A     Critical Mass     
7B     Wind On The Water     
8     Try To Find Me


cheers!
Title: foo_discogs
Post by: zoomorph on 2015-11-20 15:50:33
Bug with some multi-disc releases

http://www.discogs.com/release/880847 (http://www.discogs.com/release/880847)
http://www.discogs.com/release/863175 (http://www.discogs.com/release/863175)
etc.

Tagger show only first track from disc [+HIDDEN]
I suppose it can be related to dots in tracklisting (1.01, 1.02) because usually all fine without dots (1-01).


v1.52 (latest beta though)

Track lists are entered wrongly on Discogs. They should be updated to use the new style (eg. 1-1, 1-2, 1-3, ..., 2-1, 2-2, etc).
Title: foo_discogs
Post by: zoomorph on 2015-11-20 15:51:52
Hi, I've just started using this excellent plugin once again (been a few years since I tidied up my music collection).

I have three questions about the album art:

1. All the art it downloads seems to be very low resolution (eg 600x600 pixels). That seems a little small, and it's hard to even read text sometimes at that resolution. Is there any easy way to achieve higher resolution images? (Without scanning the artwork myself, obviously.)

2. "Back" artwork is being named "cover_2" or "cover_3" etc. To me, the back artwork is almost as important as the cover and I like it to be specially titled so that I can easily click the cover to see the back. Can anything be done about this?

3. Sometimes there aren't even images of the back, not even for very famous artists. Can anything be done about this?

I may be wrong, but I seem to remember using the Discogs plugin a few years ago and there being a lot more choice in terms of images, and larger images. Though maybe I'm thinking of some other plugin?

By the way, when I use the plugin to search for an album, there's usually an asterisk next to the "right" album. What is this asterisk supposed to represent, just out of interest?

Thanks

1. No. Discogs max size is 600x600 pixels.
2. Discogs doesn't provide any way to distinguish front vs back cover.
3. You could scan and upload them to Discogs. :-)
Title: foo_discogs
Post by: zoomorph on 2015-11-20 15:54:32
Hi zoomorph,

another release (http://www.discogs.com/release/2115217), with mixed numbers in the tracklist. No idea how to correct them on the DG site, to solve this in the component.

Code: [Select]
5     Marrakesh Express     
6     Long Time Gone     
7A     Critical Mass     
7B     Wind On The Water     
8     Try To Find Me


cheers!

Hard for me to say how they should be entered. Current (7A, 7B) they're entered as a hidden track (eg. 2 tracks in 1 file). On another version, I see they're entered as subtracks.
Title: foo_discogs
Post by: zoomorph on 2015-11-20 15:57:38
Hi zoomorph,
in addition to this post (https://www.hydrogenaud.io/forums/index.php?s=&showtopic=50523&view=findpost&p=908774),
here is another example. clicking any release (for "moving pictures") will always go to the master release.
(http://www.bilder-hochladen.net/files/thumbs/hcyg-4p-19ac.png) (http://www.bilder-hochladen.net/i/hcyg-4p-19ac.png)
cheers,

Attached file fixes this issue. It also opens releases in the browser as discogs.com/x/release/RELEASE_ID instead of discogs.com/release/RELEASE_ID since Discogs appears to be biased against the latter (it's very slow, and often times out).

[attachment=8455:foo_discogs.zip]
Title: foo_discogs
Post by: zoomorph on 2015-11-20 18:37:01
Artists searching for " Kelis" will not return results for "Kelis" as expected, but results for "Rick Kelis".

Is it possible to trim the searchterm (" Kelis" -> "Kelis") before submitting the search?

This will be fixed in next update, thanks.

Yes, there is a problem, because, as you wrote, those are individual files (at least at my HD) and imho, there must be an option for the user to expand those hidden files to "real" tracks.
Otherwise we cannot tag releases, where we have splitted a CD-MIX into seperate files, according the tracklist of the discogs release.

The problem is that you split the files from the CD into different files on your harddrive. Any user in theory could split the files into any number that he wants, and it would be impossible for foo_discogs to know how to put them back together in the proper way so as to tag them all correctly. But, the case you're mentioning here is probably the most common one: that hidden tracks are split into individual files.

Unfortunately, foo_discogs doesn't currently have a feature to expand hidden tracks or ignore them. I agree that such a feature should be implemented. For the time being, you won't be able to tag such files using foo_discogs unless you manually copy and modify the tags outside of foo_discogs. :-(
Title: foo_discogs
Post by: zoomorph on 2015-11-20 18:39:50
Hi zoomorph,

this (http://www.discogs.com/release/6298153) release shows tracks 2, 3, 5, 8 fine on the website:
(http://www.bilder-hochladen.net/files/hcyg-4l-d1ab.png) (http://www.bilder-hochladen.net/i/hcyg-4l-d1ab.png)

but after tagging with the component, its looks this way in foobar2000:
(http://www.bilder-hochladen.net/files/hcyg-4j-0edb.png) (http://www.bilder-hochladen.net/i/hcyg-4j-0edb.png)
(name space comma space name
instead of
name comma space name)

the properties show:
(http://www.bilder-hochladen.net/files/hcyg-4k-9c2c.png) (http://www.bilder-hochladen.net/i/hcyg-4k-9c2c.png)

I guess the names should be separated with a ; semicolon, instead of an , comma?
.....

The problem here is the formatting string that I created, which puts that space there when it shouldn't. I will have to momentarily think of the best way to change the formatting string to prevent doing that with a comma join.
Title: foo_discogs
Post by: zoomorph on 2015-11-20 23:34:43
Changes:
* Joining artist names now done via special function $joinnames() instead of the old method, to fix the problem mentioned above.
* The following default tags changed: ARTIST, ALBUM ARTIST, DISCOGS_CREDIT_FEATURING, DISCOGS_CREDIT_VOCALS, and REMIXED_BY
* Right clicking a tag in the edit tag mappings dialog has a new option to restore default value. You can use this option to restore the above tags.

[attachment=8457:foo_discogs.zip]
Title: foo_discogs
Post by: atagal on 2015-11-21 14:04:23
Punctuation forbidden as prefixes/suffixes only. For example (CD-1.) or (.1-01.)
Whatever is around 10% such releases on discogs. I have doubt that someone will update all releases according to discogs tagger...
Also ", The" suffix in tagger is obsolete after latest discogs update.

Bug with some multi-disc releases

http://www.discogs.com/release/880847 (http://www.discogs.com/release/880847)
http://www.discogs.com/release/863175 (http://www.discogs.com/release/863175)
etc.

Tagger show only first track from disc [+HIDDEN]
I suppose it can be related to dots in tracklisting (1.01, 1.02) because usually all fine without dots (1-01).


v1.52 (latest beta though)

Track lists are entered wrongly on Discogs. They should be updated to use the new style (eg. 1-1, 1-2, 1-3, ..., 2-1, 2-2, etc).
Title: foo_discogs
Post by: zoomorph on 2015-11-22 01:59:25
Punctuation forbidden as prefixes/suffixes only. For example (CD-1.) or (.1-01.)
Whatever is around 10% such releases on discogs. I have doubt that someone will update all releases according to discogs tagger...

Discogs Guidelines:

Quote
* Multiple CDs etc: 1-1, 1-2…, 2-1, 2-2…
* Sub tracks, for example DJ mixes that comprise one track on a CD: Separate songs or tunes that are rolled into one track on a CD, LP etc should be listed using a point and then a number: 1, 2, 3.1, 3.2, 3.3, 4… Letters can also be used, with or without a point; A3.a A3.b, or A3a, A3b…

http://www.discogs.com/help/doc/submission...rk#Tracklisting (http://www.discogs.com/help/doc/submission-guidelines-release-trk#Tracklisting)

I'm aware that many releases are entered wrongly (the guidelines on this subject changed some years ago). Maybe foo_discogs should accept the incorrect format, but currently it doesn't so users are encouraged to edit the release on Discogs to fix it. In cases where all tracks on the CD are actually a single file on the CD, the two conflict.

Also ", The" suffix in tagger is obsolete after latest discogs update.

Please explain... thanks.
Title: foo_discogs
Post by: Forfit on 2015-11-22 06:26:13
Changes:
* Joining artist names now done via special function $joinnames() instead of the old method, to fix the problem mentioned above.
* The following default tags changed: ARTIST, ALBUM ARTIST, DISCOGS_CREDIT_FEATURING, DISCOGS_CREDIT_VOCALS, and REMIXED_BY
* Right clicking a tag in the edit tag mappings dialog has a new option to restore default value. You can use this option to restore the above tags.

Result 1.52 version.
Title: foo_discogs
Post by: atagal on 2015-11-22 10:58:51
http://www.discogs.com/forum/thread/690591 (http://www.discogs.com/forum/thread/690591)
Quote
2.4.2. Artist names beginning with 'The' are now entered as "The Artist". In the past, we used to enter them as "Artist, The", but this data entry method is now defunct.




Discogs use normal "The" prefix now. Tagger still moves "The" to the end of string, and search result is not perfect, and in some cases very difficult to find correct artist.

Example with The Cake:

(http://i68.tinypic.com/e0gx8i.jpg)
http://www.discogs.com/artist/777597 (http://www.discogs.com/artist/777597)

Should be like this:
(http://i65.tinypic.com/316rzvq.jpg)
Title: foo_discogs
Post by: atagal on 2015-11-22 11:16:34
Also some problem with flac files with embedded cue sheet.
Is very hard to compare tracks by title.

(http://i67.tinypic.com/98soc7.jpg)

BTW "Matched track order" is handy in most situation but it can lead to trouble if discogs release do not have any duration but tagger gives positive result.
I would recomend false result if release is without duration.
Title: foo_discogs
Post by: zoomorph on 2015-11-22 20:15:48
Discogs use normal "The" prefix now. Tagger still moves "The" to the end of string, and search result is not perfect, and in some cases very difficult to find correct artist.

Ah, OK, I will remove that. Thanks.

Also some problem with flac files with embedded cue sheet.
Is very hard to compare tracks by title.

You could probably improve that by changing the "File formatting string" in the Matching settings.

BTW "Matched track order" is handy in most situation but it can lead to trouble if discogs release do not have any duration but tagger gives positive result.
I would recomend false result if release is without duration.

That should already be the case. If it gives a false positive result, that would be a bug.
Title: foo_discogs
Post by: atagal on 2015-11-22 21:06:04
(http://i63.tinypic.com/2jb2w7b.jpg)

in this example absolutelly different releases gives positive matching result if is checked both "by track number" and "by duration". I suppose "by track number" takes over empty "by duration".
Title: foo_discogs
Post by: fuffi on 2015-11-23 13:34:25
Hi zoomorph,

it seems, an old bug has come back to the new release, which was fixed, some time ago (or a new constellation shows a new bug...)

this release (http://www.discogs.com/Various-Shackle-Me-Not/release/155431) has lesser tracks, than the music tracks, I ripped:
(http://www.bilder-hochladen.net/files/thumbs/hcyg-4r-c11b.png) (http://www.bilder-hochladen.net/i/hcyg-4r-c11b.png)

So I remove the files, to have a correct relationship of tracks and files for later tagging:
(http://www.bilder-hochladen.net/files/thumbs/hcyg-4s-a0f8.png) (http://www.bilder-hochladen.net/i/hcyg-4s-a0f8.png)

Which results in wrongly applied tags: (B2+B4)
(http://www.bilder-hochladen.net/files/hcyg-4t-c6f2.png) (http://www.bilder-hochladen.net/i/hcyg-4t-c6f2.png)






concerning the hidden tracks issue:

would it be possible to just skip this hidden track preparation in the component?

I guess, the DG-API sends plain tracks with (any correct or wrongly entered) tracknumbers and the component just interpretes the tracknumbers for further processing.
This would mostly reflect the situation of the tacks in the release and the files on my HD, correctly.

But sadly, in about 50% of my cases, the pre-processing of tracks from the component will result in exausting manual tagging.
And thats not because the files on my HD differ from the tracks of the releases on the DG-website, its only because the component tries to think for me :-)

I would prefer to have a button to deactivate that hidden-track-processing and just have the pure tracks from the DG-API shown. Moving the tracks around in the correct position, if needed, should be no problem, becasue the comnponent offers this useful feature.

I also doubt, that more than a handful of users will update the DG-releases to the correct tracknumbering, just becasue the component refuses to help the user. It'll get better and better, but it'll take years...

That said, I'd like to say thanks again for developing and improving this very useful component for us! You earned a lot of Karma :-)


Title: foo_discogs
Post by: fuffi on 2015-11-23 19:56:57
...in addition to my posting about the hidden tracks, I found another nice release (http://www.discogs.com/Steve-Roach-The-Magnificent-Void/release/15062)...
(http://www.bilder-hochladen.net/files/thumbs/hcyg-4x-a6c9.png) (http://www.bilder-hochladen.net/i/hcyg-4x-a6c9.png)
Title: foo_discogs
Post by: zoomorph on 2015-11-23 21:26:47
in this example absolutelly different releases gives positive matching result if is checked both "by track number" and "by duration". I suppose "by track number" takes over empty "by duration".

Yea... currently if you select multiple matching methods and one returns N/A (eg. track durations missing on Discogs), then others will work. This should be enhanced in the future to specify whether N/A should be considered a FALL ("hard" matching criteria) or not.
Title: foo_discogs
Post by: Porcus on 2015-11-26 17:31:25
This one fails: http://www.discogs.com/Felix-Mendelssohn-T...release/5425851 (http://www.discogs.com/Felix-Mendelssohn-The-Best-Of-Mendelssohn/release/5425851)
(Not sure if it is entered as it should!)
Title: foo_discogs
Post by: zoomorph on 2015-11-26 20:58:34
Here is a preview of the next set of changes I'm working on.... Busy for awhile so not sure when I'll get them finalized.

(http://i.imgur.com/lSEe2B0.png)
(http://i.imgur.com/ASGNRiX.png)

Goals:
- Remove the useless information from the "release" dialog, since tags are now arbitrary and completely customized.
- Keep the ability for users to change things like Genre/Style if they wish (they can now edit the tags before writing them to file).
- Allow users to preview the tags they'll be writing. (Should add an option to exclude any tag values that are not changed.)
- Allow users to skip any/all of these dialogs if they aren't interested.

Once this is in, I hope to fix up "update tags" using the new methods, fix the tracklist mapping, and figure out a way to map hidden tracks as well.
Title: foo_discogs
Post by: zoomorph on 2015-11-26 21:05:37
it seems, an old bug has come back to the new release, which was fixed, some time ago (or a new constellation shows a new bug...)

It may be because I had a harddrive failure and hadn't backed up all changes. I've noticed a couple weird things that I thought I had changed...

This one fails: http://www.discogs.com/Felix-Mendelssohn-T...release/5425851 (http://www.discogs.com/Felix-Mendelssohn-The-Best-Of-Mendelssohn/release/5425851)
(Not sure if it is entered as it should!)

I don't think that using "1-1, 1-2, ..." for subtracks is correct. foo_discogs, at least, parses those numbers as multiple discs, although the parsing could probably be made smarter for cases like this....
Title: foo_discogs
Post by: fuffi on 2015-11-26 21:06:20
Hi zoomorph,
looks very interesting to me 8-)
suggestion: please include a "write tags"-button also in the "Match tracks"-window, so users can write the tags w/o previewing directly, because they trust their settings :-)
Title: foo_discogs
Post by: Forfit on 2015-11-28 13:18:22
this (http://www.discogs.com/Frank-Sinatra-Nothing-But-The-Best/release/4279630) crash.
Title: foo_discogs
Post by: zoomorph on 2015-11-28 18:23:18
this (http://www.discogs.com/Frank-Sinatra-Nothing-But-The-Best/release/4279630) crash.

Thanks, this bug will be fixed in the next version. Note that an error in the tracklist numbering on discogs ("CD1-21" should be "1-21") may have to be fixed as well for foo_discogs to parse the tracks accurately.
Title: foo_discogs
Post by: fuffi on 2015-12-04 20:21:57
Hi zoomorph,

a feature request, if possible:

could it be implemented to (optionally, if activated in the components settings) play the song, which is doubleclicked in the Release-Window on the right side (files) ?

(http://www.bilder-hochladen.net/files/thumbs/hcyg-52-b4a6.png) (http://www.bilder-hochladen.net/i/hcyg-52-b4a6.png)

sometimes the naming of a track is not matching and playing this track easy and fastly via doubleclick could help the user to manually check if its the right song or not.
Title: foo_discogs
Post by: Porcus on 2015-12-04 20:40:01
Now I am getting confused about versions and the like.  I think one of the newer here had a version number lower than the 1.55, and I "upgraded".  Never mind, it still works (the reason was to test whether my previous report was version-dependent).
Title: foo_discogs
Post by: tapedeck on 2015-12-05 21:07:42
Howdy
In previous versions, the Album Artist field would only be written on compilation albums. Is there a way to restore this functionality? Maybe via tag-remapping or something?
I can't find a master list of all discos tags, besides what is in the tag remapping screen, so I'm not sure if there is a 'compilation' tag.

Thanks
Title: foo_discogs
Post by: zoomorph on 2015-12-06 06:54:57
Howdy
In previous versions, the Album Artist field would only be written on compilation albums. Is there a way to restore this functionality? Maybe via tag-remapping or something?
I can't find a master list of all discos tags, besides what is in the tag remapping screen, so I'm not sure if there is a 'compilation' tag.

Thanks

Good question. What was considered a "compilation" was very arbitrary in the old version so I opted to remove it entirely. It's perfectly possible to skip writing the ALBUM ARTIST field under certain criteria, if you can define those criteria....
Title: foo_discogs
Post by: fuffi on 2015-12-06 10:47:27
It's perfectly possible to skip writing the ALBUM ARTIST field under certain criteria, if you can define those criteria....

Hi,
its a bit vague....are you talking about something like this?

for the tag DATE:
Code: [Select]
$if(%RELEASE_YEAR%,%RELEASE_YEAR%,[%DATE%])

(This code checks, if the release has a date (some have not), and if, the component writes that date. If the release has no date, it keeps the current date. With the defaul string, it would always delete the date tag, which is -in my case- not so nice, because for most albums/tracks in my library I have set the release date by hand and don't want it to be deleted, if no date was entered from the discoGS staff/community)

Title: foo_discogs
Post by: a3aan on 2015-12-06 11:34:13
Just played a bit with the latest release from last Novmeber. The foo_discogs_help.html was not in the downloaded zip. Is it available somewhere else? Cheers.
Title: foo_discogs
Post by: fuffi on 2015-12-06 12:35:09
Just played a bit with the latest release from last Novmeber. The foo_discogs_help.html was not in the downloaded zip. Is it available somewhere else? Cheers.

I found a help doc in this post (https://www.hydrogenaud.io/forums/index.php?s=&showtopic=50523&view=findpost&p=904704).

Now I am getting confused about versions and the like.  I think one of the newer here had a version number lower than the 1.55, and I "upgraded".  Never mind, it still works (the reason was to test whether my previous report was version-dependent).

When you take a look at the release-date (screenshot), you see an older date and this component is released by the former developer bubleguum. The new component is now developed by zoomorph.
But nobody which is reading here constantly knows about that ;-)

I agree, that without any user-readable version info in those beta-releases, its very hard to keep track of which version we are actually using. (because I often roll back an older release, because it better works than the newest version)
The components .dll sometimes comes within a ZIP-file, so you could always check the date of the .dll to know if its oder or newer than your current installed version.
but, very inconvenient, of course, and not very reliable too.

(http://www.bilder-hochladen.net/files/thumbs/hcyg-53-2e2b.png) (http://www.bilder-hochladen.net/i/hcyg-53-2e2b.png)
Title: foo_discogs
Post by: a3aan on 2015-12-06 20:52:42
Run into this:
Code: [Select]
(FATAL) Error: Error loading release 2504972: JSON Parser ExceptionError parsing release credits.
Cheers.
Title: foo_discogs
Post by: tapedeck on 2015-12-06 21:27:26
Howdy
In previous versions, the Album Artist field would only be written on compilation albums. Is there a way to restore this functionality? Maybe via tag-remapping or something?
I can't find a master list of all discos tags, besides what is in the tag remapping screen, so I'm not sure if there is a 'compilation' tag.

Thanks

Good question. What was considered a "compilation" was very arbitrary in the old version so I opted to remove it entirely. It's perfectly possible to skip writing the ALBUM ARTIST field under certain criteria, if you can define those criteria....

Thanks for your reply.
Would it make sense to compare track artist to release artist, and if at any point they don't make, set a boolean positive for 'is compilation'? Something like that.

That is how I wish I could do it in foobar, but of course title formatting is per-track instead of groups of tracks so I can't really do that.

This would satisfy me at least, because if a track artist and a release artist are always the same, we could be confident it is NOT a compilation.
Title: foo_discogs
Post by: tapedeck on 2015-12-07 06:42:41
Would it make sense to compare track artist to release artist, and if at any point they don't match, set a boolean positive for 'is compilation'? Something like that.

Typo and I can't edit my post... this is what I meant.
Title: foo_discogs
Post by: a3aan on 2015-12-07 20:27:03
Is fetching album art supposed to work with the latest release from last November?
I have the overwrite existing files box ticked.

Cheers.
Title: foo_discogs
Post by: tapedeck on 2015-12-07 20:33:39
Is fetching album art supposed to work with the latest release from last November?
  • It seems that the first file doesn't get overwritten on writing tags. When I remove the art files all seems working fine.
  • Updating album art only works when I remove art first.
I have the overwrite existing files box ticked.

Cheers.

From my experience, it does NOT write the art to the tags. It saves it as 'cover.jpg', and it was NOT overwriting this file with the new artwork.
I had this set to save it as cover-%release id%.jpg but I had to reset this with the new version.
That way, I do all my tagging then do a batch attach album art, and it finds the art with the release id.

I would not mind if it wrote the first found artwork to the file though - would save a step.
Title: foo_discogs
Post by: a3aan on 2015-12-07 20:41:07
From my experience, it does NOT write the art to the tags. It saves it as 'cover.jpg', and it was NOT overwriting this file with the new artwork.
I meant writing jpg files while writing tags (first menu option) and updating those files with the third menu options. I'm on Windows 10, btw.
Title: foo_discogs
Post by: fuffi on 2015-12-15 20:27:05
hi,
I got error in those releases:
http://www.discogs.com/release/4400425 (http://www.discogs.com/release/4400425)
http://www.discogs.com/release/4498560 (http://www.discogs.com/release/4498560)
http://www.discogs.com/release/6937438 (http://www.discogs.com/release/6937438)

Code: [Select]
(FATAL) Error: Error loading release 4400425: JSON Parser ExceptionError parsing release credits.

[ESCAPE to close]
Title: foo_discogs
Post by: fuffi on 2015-12-16 14:14:09
Hi zoomorph,

it seems, the cache is not working smoothely...

I tag alot with same artists (first Artist A, then Artist B, C, D, ...), but after some minutes, when searching for Artist A again, the component loads the whole releases again and does not get the infos from the cache. (within a minute or so, it gets the info from the cache, but not after several minutes OR after leaving the components window)

I tried with "very long" Artists, like Earth Wind & Fire, Rod Steward, etc. also with "short" Artists...no difference. Cache is being ignored after closing the component or waiting some minutes.

I can see in the console's log, that the component is retrieving the infos all again.

Code: [Select]
[15:06:56] foo_discogs: http://api.discogs.com/artists/22164/releases?oauth_consumer_key=kQEsVfZTDvOdz&oauth_nonce=145027481699&oauth_signature=XP%2BbQAAw%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1450274816&oauth_token=refcKcOQQJZgvzMrCNEaaZntsOCy&oauth_version=1.0&page=23&per_page=100
[15:06:58] foo_discogs: http://api.discogs.com/artists/22164/releases?oauth_consumer_key=kQEsVfZTDvOdz&oauth_nonce=1450274818124&oauth_signature=aEUPg18h6E%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1450274818&oauth_token=refcKcOQQJZgvzMrCNEaaZntsOCy&oauth_version=1.0&page=24&per_page=100
[15:07:00] foo_discogs: http://api.discogs.com/artists/22164/releases?oauth_consumer_key=kQEsVfZTDvOdz&oauth_nonce=1450274820305e&oauth_signature=cplyB4F5FDa6M%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1450274820&oauth_token=refcKcOQQJZgvzMrCNEaaZntsOCy&oauth_version=1.0&page=25&per_page=100
[15:07:01] foo_discogs: http://api.discogs.com/artists/22164/releases?oauth_consumer_key=kQEsVfZTDvOdz&oauth_nonce=1450274821440d&oauth_signature=Ri8CjEKEMwD7I%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1450274821&oauth_token=refcKcOQQJZgvzMrCNEaaZntsOCy&oauth_version=1.0&page=26&per_page=100

Title: foo_discogs
Post by: fuffi on 2015-12-16 15:19:11
Hi all,

I got an Error on a default string with this release (http://www.discogs.com/release/3270480):
Code: [Select]
(skipped) Error: Error writing tag DISCOGS_ARTISTS_ALIASES [] for file file://C:\XMAS\1997 - Kevin & Bean's A Family Chrismtas In Your Ass\10. Kevin & Bean - Christmastime In The LBC.mp3

[ESCAPE to close]


The String for DISCOGS_ARTISTS_ALIASES is %<<ARTISTS_ALIASES>>% and its not defaultable (greyed out).

Other releases are working well...any idea anybody, what I can/have to change?


Title: foo_discogs
Post by: Gapkiller on 2015-12-18 20:07:13
Hi, OAuth seems broken:

http://i.imgur.com/LX7PYBI.png (http://i.imgur.com/LX7PYBI.png)

Please Help, Thanks
Title: foo_discogs
Post by: fuffi on 2015-12-19 18:26:04
hi,
a "bug":
when  in the find release window, clicking on an artist, the "connecting..." window pops up. if - while the window is still loading - the user clicks on another artists, another "connecting..." window opens, which is a great thing, because it saves time, if not sure, which of the artists (n) might be the correct one.
*but* unless the "connecting..." window for one artists isnt finished, its possible to start the same "connecting..." window again with clicking on the artist again. then switch to another artist and right back to the artists before. so you can open a lot of  "connecting..." windows for just a single artists.
if the "connecting..." window has finished, its not possible to open multiple "connecting..." windows, thats the correct behavior, i guess.
Title: foo_discogs
Post by: fuffi on 2015-12-21 14:17:04
hi zoomorph,

for this release 4078704
I got this error:
Code: [Select]
(FATAL) Error: HTTP Error (503)(url: http://api-img.discogs.com/ZHHYLDjYZD9HRXks7vgUPqjg344=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb()/discogs-images/R-4078704-1354514975-8822.jpeg.jpg)

[ESCAPE to close]


I guess, its ok to just deactivate the fetch album art option in the settings, but it'd be more pleasure for the user (me!) if the component would simply skip that message and displays a "the cover is broken"-image (or so), so we can just go over and continue to tag the files.

(sounds like a feature request ,-) )
Title: foo_discogs
Post by: fuffi on 2015-12-21 18:49:26
Hi zoomorph,

on release 2656358, I got this error:
Code: [Select]
(FATAL) Error: Error loading release 2656358: JSON Parser ExceptionError parsing release credits.

[ESCAPE to close]
Title: foo_discogs
Post by: fuffi on 2015-12-22 12:34:25
Hi zoomorph,

another error while fetching this release: 2656358

Code: [Select]
(FATAL) Error: Error loading release 2656358: JSON Parser ExceptionError parsing release credits.

[ESCAPE to close]
Title: foo_discogs
Post by: tapedeck on 2015-12-23 18:31:44
Code: [Select]
(FATAL) Error: Network exceptionInvalid URL (url: )

[ESCAPE to close]

This is the most recent error I am getting. If I don't fetch album art, it works fine. So it must be an error with the art.

Is there one single place where we can get this component? Right now I am just scanning through this thread and never sure which is most recent.
Could you not offer binaries at https://bitbucket.org/zoomorph/foo_discogs (https://bitbucket.org/zoomorph/foo_discogs) ?
Thank you
Title: foo_discogs
Post by: frogworth on 2015-12-24 05:52:45
Yes, I haven't updated for a while because I'm not sure where it's up to now. I'd like to try out the new features but since it doesn't autoupdate and it's hard to find out what the latest version is, I've sort of lost track :/
Title: foo_discogs
Post by: fuffi on 2016-01-01 20:39:33
hello and a happy new year :-)

question:

this release: http://www.discogs.com/Yolanda-Kondonassis...release/5362402 (http://www.discogs.com/Yolanda-Kondonassis-Salzedos-Harp-Music-Of-Carlos-Salzedo/release/5362402)

Tracknumbering seems not correct.

While the track "Bolero" is Number 2
(http://www.bilder-hochladen.net/files/thumbs/hcyg-55-c489.png) (http://www.bilder-hochladen.net/i/hcyg-55-c489.png)


It is Number 3 here:
(http://www.bilder-hochladen.net/files/thumbs/hcyg-54-887e.png) (http://www.bilder-hochladen.net/i/hcyg-54-887e.png)
(hidden track was deleted by me for better comparing the tracks)

is it possible to have correct tracknumbering via the component?
Title: Re: foo_discogs
Post by: fuffi on 2016-01-14 13:19:08
Hi zoomorph,

Code: [Select]
(FATAL) Error: HTTP Error (503)(url: http://api-img.discogs.com/5HE2keSAWX61Wi94JfcgrEsFQlg=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb()/discogs-images/R-263419-1102444978.jpg.jpg)

[ESCAPE to close]
for this (http://www.discogs.com/release/263419) release, I got the above error, regardless, if fetching album art is en- or disabled. (I only can guess, from the errormessage, that it is related to the jpeg...so I tried to disable the fetching)

after this message, the dialogue for tagging won't display.

can we have some option in the component to just skip this errormessage and try to continue to fetch the related information for the tracks instead of canceling the whole process?
Title: Re: foo_discogs
Post by: Sandrine on 2016-01-22 12:32:45
I've also consistently been getting the above mentioned api error on the last few albums I've been trying to tag. The problem seems to be related to previewing the cover. If you uncheck "Display preview in release dialogue" under Configuration you can at least get past the error and tag your files, but the art will still not be downloaded due to the next error which can only be circumvented by configuring the plug-in to not download art as well.
Title: Re: foo_discogs
Post by: fuffi on 2016-01-22 12:51:21
THANK YOU!
I stumbled across this the last hours, but forgot about the solution :-) ... I just disabled the album fetching, but that did not help!
Now, its working as you described. Fair enough!
Title: Re: foo_discogs
Post by: fuffi on 2016-01-22 14:28:31
Hi zoomorph,
(http://www.bilder-hochladen.net/files/hcyg-5d-c177.png) (http://www.bilder-hochladen.net/i/hcyg-5d-c177.png)
in addition to the above, I found out, that when the option "[ ] Fetch" (for Album art) is disabled, the "[ ] Fetch all available art" should be greyed out or not selectable, because nothing is done, when fetching is disabled ;-)
cheers,
Title: Re: foo_discogs
Post by: SmirG3l on 2016-01-25 10:03:19
Hi zoomorph,
in addition to this post (https://www.hydrogenaud.io/forums/index.php?s=&showtopic=50523&view=findpost&p=908774),
here is another example. clicking any release (for "moving pictures") will always go to the master release.
(http://www.bilder-hochladen.net/files/thumbs/hcyg-4p-19ac.png) (http://www.bilder-hochladen.net/i/hcyg-4p-19ac.png)
cheers,
Attached file fixes this issue. It also opens releases in the browser as discogs.com/x/release/RELEASE_ID instead of discogs.com/release/RELEASE_ID since Discogs appears to be biased against the latter (it's very slow, and often times out).

[attachment=8455:foo_discogs.zip]

is this official release or beta or what? if I check updates on foobar nothing, foobar component page nothing? why are the updates only sneakingly updated here in the forum? what's going on? I remember how discogs plugin had updates every month or so but for MONTHS nothing?

Current version
1.55, released on 2015-03-25


almost 2 years ago? so please explain what is going on? what is the official latest release? 1.55?
Title: Re: foo_discogs
Post by: fuffi on 2016-01-25 12:16:17
The Version I'm using is unknown, because there is no version info in it. 

But its a BETA, downloaded from the forum here in one of the posts above from zoomorph.
I guess, its the latest beta, but who knows ;-)

Zoomorph seems to enjoy the new year and the good weather. He did quite a great work on this component, so now its time for us to beta-test the software, which is running ok, but still need some improvement, tough.

We write our problems or whiches/feature-requests here so he can read them, when he has time. I guess, he's a guy like us, who does help us out in his spare time and needs to earn money the way we do ;-)

So lets hope, he finds some time the next months ;-))

enojy.
Title: Re: foo_discogs
Post by: mjm716 on 2016-01-31 17:41:47
The DISCOGS_RELEASE_NOTES tag does not seem to get written properly - it strips out anything in parenthesis.

e.g.
    Flute [Alto] – Mwile Bennie Maupin* (tracks: C1 to C3)
    Guitar – Ray Parker Jr. (tracks: D1, D2)
becomes
Flute [Alto] – Mwile Bennie Maupin*; Guitar – Ray Parker Jr.

Is there a way to get the full details?
Title: Re: foo_discogs
Post by: fuffi on 2016-01-31 20:21:50
just my 2 cents:

    Flute [Alto] – Mwile Bennie Maupin* (tracks: C1 to C3)
    Guitar – Ray Parker Jr. (tracks: D1, D2)

Assuming, you are refering to this release: http://www.discogs.com/Herbie-Hancock-The-Warner-Bros-Years-1969-1972/release/7215373

For me, after tagging some files with the release above, all the DISCOGS_RELEASE_NOTES tags look the same:
Quote
Box set. Discs are housed in cardboard sleeve vinyl replicas. Includes 32-page booklet.

Mastered [...] at Wolf Studios

Fat Albert Rotunda:
Hancock Music Co.
Tracks 1-8 & 1-9: Warner Bros. Single 7358
Recorded at Van Gelder Studios, Englewood Cliffs, New Jersey
℗ & © 1969 Warner Bros. Records

Mwandishi:
Hancock Music Co.
Tracks 2-4 & 2-5: Used for promotion only. Previously unreleased.
Produced [...] for Fillmore Corporation - a Hancock Records, Inc. Production
Recorded at Wally Heider Recording Studios, San Francisco, California
℗ & © 1971 Warner Bros. Records

Crossings:
Tracks 3-1 & 3-4 Hancock Music Co.
Tracks 3-2, 3-3 & 3-5 Benpin Music
Tracks 3-4 & 3-5: Warner Bros. Single 7598
Recorded at Pacific Recording Studios, San Mateo
Moog and Mellotron recorded at Different Fur Trading Company, San Francisco
A product of [l614455], San Francisco
℗ & © 1972 Warner Bros. Records

Box:
This compilation ℗ & © 2014 Warner Bros. Records
Made in the EU.
The setting for DISCOGS_RELEASE_NOTES in the "Edit mappings dialogue" here is the default: %RELEASE_NOTES%

Is there a way to get the full details?

Please note, that you might be referring not only to the release *notes*, but to the release *credits* as well (bold headers on the dg-website, like companies, credits, notes, barcode, reviews), which will be written to the DISCOGS_CREDIT_* tags via the component for *each* track the info belongs to, AFAIR, so it writes the credit tags only to track C1, C2, C3, and D1, D2. Take a look at the DISCOGS_TRACK_CREDITS Tag, for the corresponding tracknumbers, too.




Title: Re: foo_discogs
Post by: mjm716 on 2016-02-03 02:48:13
sorry, my last post was wrong and confusing - my %DISCOGS_RELEASE_NOTES% is written just as it displays on the Discogs page (with linebreaks and formatting); same as your Hancock example above.

What I meant was <DISCOGS_RELEASE_CREDITS> which I have mapped to %DISCOGS_RELEASE_CREDITS%

example: http://www.discogs.com/Jimi-Hendrix-Experience-Electric-Ladyland/release/399579

The actual data:
    Art Direction – Ed Thrasher
    Engineer – Eddie Kramer, Gary Kellgren
    Liner Notes – Jimi Hendrix
    Photography By [Back Cover Photo] – Karl Ferris
    Photography By [Black-and-white Photos] – Linda Eastman
    Photography By [Liner Photography In Part By] – David Sygall
    Producer, Directed By – Jimi Hendrix
    Written-By – Noel Redding (tracks: B1)
    Written-By, Arranged By – Jimi Hendrix (tracks: A1 to A4, B2, B4 to D2, D4)


What gets written to %DISCOGS_RELEASE_CREDITS%:
Art Direction - Ed Thrasher;Engineer - Eddie Kramer;Engineer - Gary Kellgren;Liner Notes - Jimi Hendrix;Photography By [Back Cover Photo] - Karl Ferris;Photography By [Black-and-white Photos] - Linda Eastman;Photography By [Liner Photography In Part By] - David Sygall;Producer, Directed By - Jimi Hendrix;Written-By - Noel Redding;Written-By, Arranged By - Jimi Hendrix

I'm hoping to have it written just as it displays in the actual data (with linebreaks etc)?
Title: Re: foo_discogs
Post by: a3aan on 2016-02-07 11:01:33
It seem to me that the free text field(s?) in the Format section are not collected (and not written to RELEASE_FORMATS_DESCRIPTIONS) with the beta version.
Title: Re: foo_discogs
Post by: BoraBora on 2016-02-18 17:03:26
Hi,

I have a hard time with the new scripting. :-[ I want to multivalue all the people tags (artist, album artist, in group etc.). Right now, with what I think is the latest version (posted last november by Zoomorph), I only have the various credits tags multivalued. How can I extend this to any tag?
Title: Re: foo_discogs
Post by: onirwai on 2016-03-03 16:27:53
How could I tag single files that have no metadata? Some of my tracks have the album field wrong, or missing entirely. If I try to tag them with foo_discogs I have to open the web browser, go to the artist's page, and use the brilliantly amazing recently-introduced Artist Search Form to look for the song. Then I eventually find which releases this track is on, so that I can return to the foo_discogs dialog and shamefully copy-paste a long number. Like it's the 30s and the telephone system is the hottest thing around.  :(

Maybe there's a good reason why this feature isn't already in foo_discogs, of course, and I don't know about it. If there isn't, please think about putting it in.

Thanks, and I apologise for my frustration!
Title: Re: foo_discogs
Post by: Pollux88 on 2016-03-15 03:14:27
The plugin gives me (skipped) Error: Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/oauth/request_token)
Probably because discogs API updated and is now https only.
Title: Re: foo_discogs
Post by: hxz393 on 2016-03-15 03:32:20
The plugin gives me (skipped) Error: Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/oauth/request_token)
Probably because discogs API updated and is now https only.

yeah: https://www.discogs.com/forum/thread/347984
waiting for the update.
Title: Re: foo_discogs
Post by: frogworth on 2016-03-16 02:34:05
It's inconvenient, but you can circumvent this by searching for the release on the Discogs site, then copying and pasting the release id into the tagging interface. It's only search which has been affected by the change to enforcing https.

If zoomorph is AWOL, is there anyone else who could branch his code and make a usable copy of the plugin?
Title: Re: foo_discogs
Post by: Just_Addict on 2016-03-16 12:31:39
@frogworth

I tried your method but I still get the authentication error after getting the ID myself and pasting it in the ID field.


PS. All? I read there was one or more updates posted beyond 1.55 in this thread but all of the links turn up dead. Anyone know if there's a newer version and where to get it?
Title: Re: foo_discogs
Post by: blausand on 2016-03-17 08:29:15
Erik-Martijn Kasimier (https://bitbucket.org/nouveaumedia/) has already the correct pull request to zoomorph (https://bitbucket.org/zoomorph)'s bitbucket repository. (It's a difference of three bytes 8) )
An update is available as soon as somebody manages to compile.
Me personally, i downloaded the repo and tried to open the solution file in VS2013 yielding this error:
Code: [Select]
C:\Temp\foo_discogs\foo_discogs.vcxproj : error  : Unable to read the project file "foo_discogs.vcxproj". 
C:\Temp\foo_discogs\foo_discogs.vcxproj(39,5): The imported project "C:\foo_discogs.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
I'm too busy to get all dependencies satisfied in my VS and even then i'm a noob who would need another day to get a grip on what was once "make & install". Your help much appreciated.

Meanwhile,
@frogworth,
thanks for the tip!
Title: Re: foo_discogs
Post by: Gmous2001 on 2016-03-17 08:55:07
Hello ,

I am trying to tag music files using the Discogs component but I receive the following error :

" OAuth is now required to use most of the Discogs API. Please confiqure OAuth. "

Do you know what I must to do ?


Thanks,
George
Title: Re: foo_discogs
Post by: Der Internet on 2016-03-17 10:25:45
Hello ,

I am trying to tag music files using the Discogs component but I receive the following error :

" OAuth is now required to use most of the Discogs API. Please confiqure OAuth. "

Do you know what I must to do ?


Thanks,
George

u should read the last 5 posts
Title: Re: foo_discogs
Post by: frogworth on 2016-03-17 12:02:51
@frogworth
I tried your method but I still get the authentication error after getting the ID myself and pasting it in the ID field.

Hm, do you have OAuth already setup? I'm on version 1.55 myself and it's still working for me - including fetching album art. I don't have artist art enabled...

Hopefully someone can compiled the plugin with Erik-Martijn Kasimier's pull request included soon :)
Title: Re: foo_discogs
Post by: zoomorph on 2016-03-18 08:47:23
Hi all,

The old version, 1.55, has been increased to 1.56 with the fix for HTTPS.

The new beta version with a fix for HTTPS is attached to this post.
Title: Re: foo_discogs
Post by: garudaishaya on 2016-03-18 10:23:58
thanks; the new versión is working very well
Title: Re: foo_discogs
Post by: Gmous2001 on 2016-03-18 12:14:19
I install the new version but the problem is still remain.
Title: Re: foo_discogs
Post by: Just_Addict on 2016-03-18 13:53:55
nvrmind.... got it working... thanks very much for the update
Title: Re: foo_discogs
Post by: drbeachboy on 2016-03-18 14:44:17
Having an issue here. I have an account and can generate and authorize the PIN CODE, but I cannot get step 2 to generate the token and Secret. Any help would be most appreciated. Using Version 1.56 Compiled Mar 18 2016.

Edit: I got it working. I think what I was doing was pressing the Authorize button after the PIN CODE was copied in the box. When all I needed to do was place the PIN CODE in the box, then go to the next step to generate the TOKEN.
Title: Re: foo_discogs
Post by: Just_Addict on 2016-03-18 15:47:41
Need some help, I'm trying to avoid duplicating of Artist artwork and run into the following problems

1.  I cannot get the artwork to go to the specified folder (hardcoded, no use of formatting strings, just a plain path). Instead it always goes to the same location as the cover i.e. $directory_path(%path%)

2 And for the life of me I cannot seem to capture the artist names... I've tried every variable I can think of

%artist%
%<ARTISTS_NAME>%
%<RELEASE_ARTISTS_NAME>%

but all I get is an underscore even though the same variables are already present as tags...

And a general question: What on earth are those variables in the middle column of the Tag Mapping dialog supposed to do?
I've left everything as default but when I examine the tags that get added all I see is the names that are in the 1st column of said dialog. I don't see the names of the middle column appear anywhere else apart from those in the formatting strings for artwork.

So my question is basically, how to use them?
Title: Re: foo_discogs
Post by: Just_Addict on 2016-03-18 17:52:49
OK, From what I understand from the help file, the middle column is supposed to format the values as they will be written to the ones in the first column.

However, the 'new' defaults seem to create a totally different format from what I have as old formats.
None of the arrays are present as arrays anymore, they all get formatted as a single string where each value is just separated by a comma. As a result my track info pane no longer shows any of the information for Discogs info retrieved with the new version.

Also, even with the newly gleaned knowledge, I still cannot manage to capture the artist name in creating the Artwork name, nor will it go anywhere else if I hardcode a path but in the same folder as where the album art gets saved.

EDIT: Also have a slight problem with the tag mappings dialog. It remembers its size in the same session, but not the position, so most of it appears off-screen at the bottom when I re-open that dialog because it opens with its top in the center again. The buttons have a Z-order problem too. When the dialog opens and I haven't yet moved the mouse, the groupbox border covers the buttons in the top-right. Only after hovering over these do they come to the top of the Z-order

EDIT2: And what appears to be a bug(?) when I use the "Update Tags" context entry on a newly retrieved set of tags with only two tags set to Write+Update I get the following error dialog

"invalid stoi argument"

Title: Re: foo_discogs
Post by: zoomorph on 2016-03-18 19:06:50
Hi Just_Addict,

Remembering position is something that should be added.

Updating tags is currently not implemented in foo_discogs 2.0 version.

I will look into the artist art issue. It could be a bug.

Not sure I understand your problem with the default tag formats. They roughly match the defaults from foo_discogs 1.x, but if you changed the defaults there you'll have to change them in 2.0 as well.

The best thing to do for creating your own tag formatting string is look at defaults as examples. If you need to use additional fields or functions, check the help guide but be warned it's a bit tricky.
Title: Re: foo_discogs
Post by: Just_Addict on 2016-03-18 19:32:55
Well, as far as I can remember I haven't changed anything in the 1.x defaults. I was rather daunted by the number of things I could change so I mostly set everything to only write if not present and left the remainder of the settings as they were.

What I know is that there were many tags that got returned as
Code: [Select]
 
[ "string", "string", ... ]
which now get written as
Code: [Select]
"String, String, ..."
and I've not yet found out how to format the result so it gets written in the 'old' way. So that I don't need to completely rewrite my track info panel (which was a pain to begin with so I rather don't want to have to if it can be avoided).
It will already be a lot of work to rename tags that now have a different name.

Tricky you said ... can say that again...
Title: Re: foo_discogs
Post by: Just_Addict on 2016-03-18 20:52:12
Think I ran into another nigglet in my trials to get it written the way it used to.

There's this entry written named "DISCOGS_TRACKLIST_INDEX" which is composed of  the combo "%TRACK_DISCOGS_TRACKLIST_INDEX%/%RELEASE_DISCOGS_TRACKLIST_COUNT%"
The part after the "/" always gets written as "?". The tag "TOTALTRACKS" however receives the total track count from "%RELEASE_TOTAL_TRACKS%" and is always filled correctly.

And wouldn't you know, this one can't be edited to make it write the total tracks :p

EDIT: Ok, I give up, I've been focusing on DISCOGS_ARTISTS_MEMBERS and DISCOGS_ARTISTS_URLS.

No matter how I format the strings in the middle column, whether it be %TAGNAME% or %<TAGNAME>%  or as in the default %<<TAGNAME>>% for these two tags, the value always gets written as a single, comma separated string instead of as an array of strings separated by a comma.
Title: Re: foo_discogs
Post by: Sea Monkey on 2016-03-18 21:35:11
Thanks for the update, zoomorph!

*edit* Uh-oh.  It crashes if I try to modify the tags in the 'preview tags' pane.

Title: Re: foo_discogs
Post by: zoomorph on 2016-03-18 22:02:31
Well, as far as I can remember I haven't changed anything in the 1.x defaults. I was rather daunted by the number of things I could change so I mostly set everything to only write if not present and left the remainder of the settings as they were.

What I know is that there were many tags that got returned as
Code: [Select]
 
[ "string", "string", ... ]
which now get written as
Code: [Select]
"String, String, ..."
and I've not yet found out how to format the result so it gets written in the 'old' way. So that I don't need to completely rewrite my track info panel (which was a pain to begin with so I rather don't want to have to if it can be avoided).
It will already be a lot of work to rename tags that now have a different name.

Tricky you said ... can say that again...
[a,b,c] represents a list of 3 values: a, b, and c. They are written as a multi-value tag. foobar2000 displays them by default joined with commas. If you look in the "properties" for the metadata, they are separated with a semicolon there.

If you don't want them written as multiple values, but as a single string, you need to use $joinnames() (as in the default tag "Artist Name") or $join().

I don't know what your "old way" was so I don't know what exactly you want to do.
Title: Re: foo_discogs
Post by: zoomorph on 2016-03-18 23:00:01
Fixes:
* "Remove any pre-existing tags" feature wasn't working correctly.
* Artist artwork was being saved to Album artwork location.
* Throw OAuth error if trying to download image that is unavailable (= not authenticated).
Title: Re: foo_discogs
Post by: Just_Addict on 2016-03-18 23:20:09
Well, as far as I can remember I haven't changed anything in the 1.x defaults. I was rather daunted by the number of things I could change so I mostly set everything to only write if not present and left the remainder of the settings as they were.

What I know is that there were many tags that got returned as
Code: [Select]
 
[ "string", "string", ... ]
which now get written as
Code: [Select]
"String, String, ..."
and I've not yet found out how to format the result so it gets written in the 'old' way. So that I don't need to completely rewrite my track info panel (which was a pain to begin with so I rather don't want to have to if it can be avoided).
It will already be a lot of work to rename tags that now have a different name.

Tricky you said ... can say that again...
[a,b,c] represents a list of 3 values: a, b, and c. They are written as a multi-value tag. foobar2000 displays them by default joined with commas. If you look in the "properties" for the metadata, they are separated with a semicolon there.

If you don't want them written as multiple values, but as a single string, you need to use $joinnames() (as in the default tag "Artist Name") or $join().

I don't know what your "old way" was so I don't know what exactly you want to do.

My 'old way' was as in the top example, multiple strings enclosed in double quotes, separated by commas and the whole enclosed with brackets. i.e as an array.  For the exact tags I mentioned later, e.g. DISCOGS_ARTISTS_MEMBERS and DISCOGS_ARTISTS_URLS.

What I get now is a single string where each name is separated by comma and the whole enclosed within double quotes instead of as an array of strings.

And I'm looking at raw output here, so that I don't get blasted out of the water by under-the-hood formatting FB might apply, such as your example of ";" getting replaced by "," if using the properties dialog.

Which brings me to the reason I came back.
If in the tags DISCOGS_RELEASE_CREDITS and DISCOGS_TRACK_CREDITS there appears text in the raw JSON input enclosed with right-angled brackets, it gets stripped from the resulting value.,,

E.G, for  RELEASE ID: 4549423
the raw release credits extracted from the JSON output, contains for instance the following two lines in the "extraartists" section
Code: [Select]
    {"join": "", "name": "WCI Record Group", "anv": "", "tracks": "", "role": "Mastered By [CDD Pre-mastering]", "resource_url": "https://api.discogs.com/artists/577832", "id": 577832}, 
    {"join": "", "name": "Bobby Hata", "anv": "", "tracks": "", "role": "Mastered By [LP Originally Mastered By]", "resource_url": "https://api.discogs.com/artists/384610", "id": 384610},
In the old version foo_Discogs (1.55), those were nicely written to the tags. In this version they are stripped out.

This may happen in other tag values too, I only noticed it in these two since there they were present before.
Title: Re: foo_discogs
Post by: zoomorph on 2016-03-19 00:01:21
My 'old way' was as in the top example, multiple strings enclosed in double quotes, separated by commas and the whole enclosed with brackets. i.e as an array.  For the exact tags I mentioned later, e.g. DISCOGS_ARTISTS_MEMBERS and DISCOGS_ARTISTS_URLS.
So you actually want the tag value to be, for example, this?
Code: [Select]
["artist1", "artist2", "artist3"]

Try this formatting string:
Code: [Select]
'['$join($multi_wrap(%<ARTISTS_NAME>%,"))']'

Which brings me to the reason I came back.
If in the tags DISCOGS_RELEASE_CREDITS and DISCOGS_TRACK_CREDITS there appears text in the raw JSON input enclosed with right-angled brackets, it gets stripped from the resulting value.,,
Good catch, this was a bug (in release credits only). Fixed in the attached build.
Title: Re: foo_discogs
Post by: Just_Addict on 2016-03-19 00:20:34
Thanks, that formatting string produces the result I was looking for, but at the same time I'm now completely floored and wondering what the heck is happening.

Ok, could you please explain this? As I cannot wrap my head around it. Use the same Release ID as in my previous post if you want to compare with what I get.

Given the following 4 Discogs tags with their respective formatting strings (as I have them now).
Code: [Select]
DISCOGS_ARTISTS_MEMBERS		%<ARTISTS_MEMBERS>%
DISCOGS_ARTISTS_URLS %<ARTISTS_URLS>%
TEST_RELEASE_CREDITS_ROLES %<RELEASE_CREDITS_ROLES>%
TEST_RELEASE_CREDITS_NAMES %<RELEASE_CREDITS_NAMES>%
The last two I defined myself to see what happens without changing the defaults (other than that I changed the << >> to < > in the first two.

In the preview dialog, ALL FOUR, show their value as
Code: [Select]
DISCOGS_ARTISTS_MEMBERS		[Magne Furuholmen, Morten Harket, Paul Waaktaar-Savoy]	
DISCOGS_ARTISTS_URLS [http://www.a-ha.com, http://www.myspace.com/aha, http://www.darsu.btinternet.co.uk/discography/a-ha.htm, http://en.wikipedia.org/wiki/A-ha, https://www.facebook.com/officialaha?fref=ts, http://a-ha-live.com/, http://www.allmusic.com/artist/a-ha-mn0000480108]
TEST_RELEASE_CREDITS_ROLES [Art Direction,Art Direction,Design,Management,Mastered By,Mastered By,Photography By,Remix,Written-By]
TEST_RELEASE_CREDITS_NAMES [Jeffrey Kent Ayeroff,Jeri McManus,Jeri McManus,T.J. Management,WCI Record Group,Bobby Hata,Just Loomis,John Ratcliff,Pl Waaktaar]
Yet when this get written to the tags, the first two end up as a string, whereas the bottom two end up as an array. Yet all four have the exact same formatting string syntax and all 4 are multi value fields.

Now, what I cannot for the life of me follow is why with the last two user-defined tags, I get exactly what I wanted, but in the two native DISCOGS tags, the same formatting produced a totally different result? And if I want the same format I have to use
Code: [Select]
'['$join($multi_wrap(%<ARTISTS_MEMBERS>%,"))']'
to get the desired result?
Title: Re: foo_discogs
Post by: Just_Addict on 2016-03-19 00:39:09
Sorry, couldn't edit anymore...

Question: Got a hunch this isn't (yet?) possible but in which object would I need to look for the identifiers section?

I found a couple of cases where the barcode was written to the tags (presumably by previous version), but I see that this is no longer so. Would be nice if this (and the other ones like matrix / runout codes) could be retrieved as well.
Title: Re: foo_discogs
Post by: zoomorph on 2016-03-19 00:57:36
The help html file should explain this. It's all about the depth of the arrays. %<<X>>%  is an array of depth 2, or an array of arrays. If you change it to %<X>%, it will automatically reduce the depth of the array to 1 by joining the inside arrays (using ", ").

When writing tags to file, any deep arrays are reduced to depth 1. And any empty values are discarded.

The preview dialog syntax is something I did last minute, and may be changed yet. Currently it does not do the same thing as when writing tags to file. It just shows the result as is, using brackets to represent the array structure. Similar to what is done in the help file. It also has a bug/limitation: [,] symbols are not escaped, which may cause an error if trying to modify a value that contains one of these symbols. I will probably change it to just show the final result... I'm only skeptical because it can be useful for modifying/understanding the tag formatting strings to see this representation. Maybe I'll make an option for which is shown.

RELEASE_BARCODE is available (see the help html file). Others I don't think are available yet but could be added.
Title: Re: foo_discogs
Post by: zoomorph on 2016-03-19 08:13:34
Updates:
* Replace ANVs button on preview dialog is now functional.
* Preview dialog now shows the actual results that will be written, analogous to what's shown in the "properties" dialog, by default.
* New "Preview raw" option to display the underlying list representation, which can be helpful for debugging  formatting strings.
Title: Re: foo_discogs
Post by: zoomorph on 2016-03-19 11:07:03
The DISCOGS_RELEASE_NOTES tag does not seem to get written properly - it strips out anything in parenthesis.

e.g.
    Flute [Alto] – Mwile Bennie Maupin* (tracks: C1 to C3)
    Guitar – Ray Parker Jr. (tracks: D1, D2)
becomes
Flute [Alto] – Mwile Bennie Maupin*; Guitar – Ray Parker Jr.

Is there a way to get the full details?
Since those credits only apply to specific tracks (C1, C3, D1, D2), foo_discogs treats them as Track credits instead of Release credits.

How could I tag single files that have no metadata?
foo_discogs is mainly meant for tagging complete releases, not individual tracks.

Fixes:
* Some small bugs reported by fuffi
Title: Re: foo_discogs
Post by: Just_Addict on 2016-03-19 18:01:36
This one still happens.
Think I ran into another nigglet in my trials to get it written the way it used to.

There's this entry written named "DISCOGS_TRACKLIST_INDEX" which is composed of  the combo "%TRACK_DISCOGS_TRACKLIST_INDEX%/%RELEASE_DISCOGS_TRACKLIST_COUNT%"
The part after the "/" always gets written as "?". The tag "TOTALTRACKS" however receives the total track count from "%RELEASE_TOTAL_TRACKS%" and is always filled correctly.

And wouldn't you know, this one can't be edited to make it write the total tracks :p

Also, as mentioned before, I am trying to capture the artist name in the filename pattern for artist artwork, but none of the available variables seem to work here. I always get an underscore as a result.

tried:
the default fb version: %ARTIST%
the variable from objec:t %ARTISTS_NAME%
the formatting string as found in the tagmapping; $joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%)
and several other ways I can't remember right now...

I'm likely doing something wrong but at this point I'm clueless. How to capture artist name into filename pattern?
Title: Re: foo_discogs
Post by: zoomorph on 2016-03-19 20:11:48
I'm likely doing something wrong but at this point I'm clueless. How to capture artist name into filename pattern?
Try: %ARTIST_NAME%
Title: Re: foo_discogs
Post by: zoomorph on 2016-03-19 22:17:07
Updates:
* Remove DISCOGS_TRACKLIST_INDEX stuff
* Fix artist release caching on find release dialog
* Fix filtering of master releases on find release dialog
Title: Re: foo_discogs
Post by: frogworth on 2016-03-20 05:56:24
Hi, I have this request, plz. add Catalog # and Country to releases info in release list.
It's important to pick the rite album issue.
Unfortunately, that information isn't available without loading the full release pages. This would mean loading all releases when expanding the master release. Not sure that this is feasible (probably slow).

I realise this is from ages ago, but I just updated to the latest version and the release country has disappeared from the search listings. It's invaluable for tagging the correct release.
I added it back as %RELEASE_COUNTRY% and it does work, but for an artist with heaps of releases (I'm tagging Kanye right now, sue me) it takes forever, possibly crashing. I guess that's just how it is? No way of paginating, or (ideally) re-fetching countries after I select the master release perhaps?
Title: Re: foo_discogs
Post by: zoomorph on 2016-03-20 08:39:17
I added it back as %RELEASE_COUNTRY% and it does work, but for an artist with heaps of releases (I'm tagging Kanye right now, sue me) it takes forever, possibly crashing. I guess that's just how it is?
Crashing is not right, that would be a bug. Actually, it is possible. :-)

Updates:
* Show release country (by default) for expanded master releases on search dialog
Title: Re: foo_discogs
Post by: frogworth on 2016-03-20 08:47:27
Crashing is not right, that would be a bug. Actually, it is possible. :-)

Updates:
* Show release country (by default) for expanded master releases on search dialog

Well, it may not have been crashing, just taking a verrrrry long time 'cause I chose an artist with a huge discography.

@zoomorph you're amazing, thanks for the swift update!
Title: Re: foo_discogs
Post by: zoomorph on 2016-03-20 12:23:56
Updates:
* Fix master release titles in search dialog sometimes wrong
* Fix functionality of "Find deleted releases"
* Automatically retry when API rate limiting occurs (max 20 times)
* Remove unused zlib decompression
Title: Re: foo_discogs
Post by: mjm716 on 2016-03-20 16:54:03
Is there a way to disable/ignore errors or force over ride.
e.g. (FATAL) Error: Unable to map index to Discogs tracklist.

One of the previous version's valuable 'features' was to be able to select a different release (which I often do if it has more complete information, e.g. LP release with credits/notes instead of CD with none) and then adjust the tags manually afterwards.

I have all "automatic matching options" unchecked.
Title: Re: foo_discogs
Post by: zoomorph on 2016-03-20 18:24:08
Is there a way to disable/ignore errors or force over ride.
e.g. (FATAL) Error: Unable to map index to Discogs tracklist.
That was a bug. Should be fixed below.

One of the previous version's valuable 'features' was to be able to select a different release (which I often do if it has more complete information, e.g. LP release with credits/notes instead of CD with none) and then adjust the tags manually afterwards.
I would recommend updating the Discogs database with the correct information before tagging instead of manually adjusting the tags.

Fixes:
* Fixed above error when you "remove" files on matching dialog
* Fixed memory leak
Title: hiddden tracks
Post by: a3aan on 2016-03-20 21:16:33
With the new version of the plugin I'm trying to create a mapping for hidden tracks, starting with titles. I'm able to get the track titles with %<TRACK_HIDDEN_TRACKS_TITLE>%. However this gives only the 'hidden' tracks as the name suggests, not the 'first' track.
My goal for the track title in the following example
track numbertrack title
1.1First
1.2Second
1.3Third
is to map track number and track title into
track numbertrack title
1First / Second / Third
Any hints? Cheers.
Title: Re: foo_discogs
Post by: zoomorph on 2016-03-21 00:54:00
I would try putting the track title in an array then extending it with the hidden track titles, and finally joining it with " / ".
Title: Re: foo_discogs
Post by: frogworth on 2016-03-21 10:48:03
Hi @zoomorph, problem with current version (not sure when it goes back to) when tagging multiple-disc releases.
Actually, the tagging is fine, but when it shows the tracks for matching, it is currently showing the last disc for all overlapping track numbers.
e.g. https://www.discogs.com/x/release/1236790
For disc 1, I see tracks
2-1
2-2
2-3
1-4
However, when I go on to preview tags and then actually tag, it correctly gave me tracks 1-1 to 1-4. Still confusing :)
Title: Re: foo_discogs
Post by: frogworth on 2016-03-21 11:00:07
Oops, nope. On tagging the second disc I'm getting disc 1's first 3 tracks even though I removed the first four tracks in the list. So this is a bit broken :/
Title: Re: foo_discogs
Post by: frogworth on 2016-03-21 11:25:30
Updates:
* Fix master release titles in search dialog sometimes wrong
* Fix functionality of "Find deleted releases"
* Automatically retry when API rate limiting occurs (max 20 times)
* Remove unused zlib decompression

Reverting to this version fixes the multiple disc previewing & tagging.
(FWIW it's not even precisely mixing up the disc numbers but something more complicated, looking at another release now.)
Title: Re: foo_discogs
Post by: paregistrase on 2016-03-21 13:47:14
Thank you very much Zoomorph for continuing development of the plugin.

I run foobar2000 on a linux (ubuntu) environment through wine.

The latest updates makes foobar2000 crash every time I try to use the plugin.

This happens both in the preview as trying to authentication in the preferences window.

Have there been any changes to prevent run on Linux?

Here is the crash report when trying to test Oauth.

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 7BC525EEh
Access violation, operation: write, address: 00000009h

Call path:
threaded_process thread

Code bytes (7BC525EEh):
7BC525AEh:  3A FF FF FF 2B 7D E8 C1 EF 02 85 FF 89 7D F0 0F
7BC525BEh:  84 29 FF FF FF 8B 75 F0 8B 7D E8 8D 34 B7 89 75
7BC525CEh:  F0 90 C7 07 EE FE EE FE 83 C7 04 39 F7 75 F3 8B
7BC525DEh:  30 E9 08 FF FF FF 8D 74 26 00 8B 71 08 8B 79 0C
7BC525EEh:  89 7E 04 8B 71 0C 8B 79 08 89 3E 8B 31 8B 7D 08
7BC525FEh:  83 E6 FC F6 45 EC 40 8D 7C 37 10 89 7D 08 74 1B
7BC5260Eh:  C7 01 EE FE EE FE C7 41 04 EE FE EE FE C7 41 08
7BC5261Eh:  EE FE EE FE C7 41 0C EE FE EE FE 8B 4D 08 8B 30

Stack (0FBED7A0h):
0FBED780h:  19DC68E8 000740D0 0FBED7EC 19F06138
0FBED790h:  0FBED7B0 7BCD9DB0 0FBED808 7BC524B1
0FBED7A0h:  19F1D8C8 00000002 19F4EE80 7BCD9DB0
0FBED7B0h:  19930000 19F1D8B8 0FBED808 7BC5277F
0FBED7C0h:  000315C8 F73B9510 F73B5DA9 7BC3F9D3
0FBED7D0h:  00110000 00000000 19F06118 7BC521FE
0FBED7E0h:  F6A005D8 000315C8 0FBED84C 19F367B0
0FBED7F0h:  00000002 19F367A0 0FBED868 7BCD9DB0
0FBED800h:  00000002 19F367A0 0FBED868 7BC52EAF
0FBED810h:  19F36798 7DF2C9D8 7DF0EBFD 7DF2C9D8
0FBED820h:  19F367A0 19F367A0 0FBED868 7DF18303
0FBED830h:  00110000 00000000 19F36798 00110000
0FBED840h:  0FBED850 0FBED8E8 0000000C 19930000
0FBED850h:  E06D7363 00000003 0FBED880 7DF2C9D8
0FBED860h:  80090301 19F367A0 0FBED8B8 7DF21A68
0FBED870h:  00000000 F7706ED0 7DF0EBFD 7DF21A68
0FBED880h:  00110000 00000000 19F367A0 7DF2C9D8
0FBED890h:  00000000 19F367A0 0FBED8E8 7DF21A68
0FBED8A0h:  00000002 1261ADA8 0FBED8CC 00000000
0FBED8B0h:  00000000 126192B8 0FBED8E8 0042270E

Registers:
EAX: 19930000, EBX: 7BCD9DB0, ECX: 19F4EE80, EDX: 19F1D8B8
ESI: 00000005, EDI: 451A4578, EBP: 0FBED7B8, ESP: 0FBED7A0

Crash location:
Module: ntdll
Offset: 425EEh

Loaded modules:
schannel                         loaded at F6D10000h - F6D1B000h
windowscodecs                    loaded at F63B0000h - F6456000h
winepulse                        loaded at F70A0000h - F70BB000h
mmdevapi                         loaded at F70C0000h - F70DD000h
foo_uie_lyrics3                  loaded at 06140000h - 061FB000h
foo_masstag                      loaded at 05FD0000h - 06024000h
foo_dsp_dolbyhp                  loaded at 05E90000h - 05EB4000h
foo_uie_console                  loaded at 054E0000h - 054FA000h
foo_uie_biography                loaded at 05370000h - 053C8000h
foo_bpm                          loaded at 05210000h - 05251000h
foo_rgscan                       loaded at 05090000h - 050F1000h
foo_run                          loaded at 04F20000h - 04F7F000h
foo_unpack                       loaded at 04DC0000h - 04E0C000h
foo_uie_panel_splitter           loaded at 04C50000h - 04CA9000h
foo_dsp_eq                       loaded at 04B00000h - 04B37000h
foo_quicktag                     loaded at 049B0000h - 049E4000h
foo_dsp_std                      loaded at 04850000h - 04892000h
foo_albumlist                    loaded at 046E0000h - 0473B000h
foo_uie_albumlist                loaded at 04580000h - 045C3000h
foo_discogs                      loaded at 044E0000h - 0457E000h
foo_freedb2                      loaded at 04380000h - 043D0000h
foo_facets                       loaded at 040B0000h - 04265000h
foo_uie_elplaylist               loaded at 03F20000h - 03F93000h
foo_textdisplay                  loaded at 03DC0000h - 03E0B000h
foo_texttools                    loaded at 03C70000h - 03CA4000h
foo_uie_lyrics3_minilyrics       loaded at 03B10000h - 03B56000h
foo_simplaylist_manager          loaded at 03920000h - 039F8000h
foo_audioscrobbler               loaded at 037D0000h - 03803000h
foo_playcount                    loaded at 03680000h - 036BE000h
foo_converter                    loaded at 034E0000h - 03568000h
foo_uie_typefind                 loaded at 033A0000h - 033D0000h
foo_cdda                         loaded at 03230000h - 03281000h
foo_runcmd                       loaded at 030E0000h - 03113000h
foo_uie_tagger_mod               loaded at 02F80000h - 02FCF000h
foo_lrc_metalarchives            loaded at 02E00000h - 02E70000h
foo_infospect                    loaded at 02CB0000h - 02CE7000h
foo_fileops                      loaded at 02B50000h - 02B9E000h
foo_jscript_panel                loaded at 02600000h - 02709000h
foo_uie_esplaylist               loaded at 02480000h - 024EA000h
foo_input_monkey                 loaded at 02320000h - 02368000h

And here in the preview window when searching:

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 7BC525EEh
Access violation, operation: write, address: 00000014h

Call path:
threaded_process thread

Code bytes (7BC525EEh):
7BC525AEh:  3A FF FF FF 2B 7D E8 C1 EF 02 85 FF 89 7D F0 0F
7BC525BEh:  84 29 FF FF FF 8B 75 F0 8B 7D E8 8D 34 B7 89 75
7BC525CEh:  F0 90 C7 07 EE FE EE FE 83 C7 04 39 F7 75 F3 8B
7BC525DEh:  30 E9 08 FF FF FF 8D 74 26 00 8B 71 08 8B 79 0C
7BC525EEh:  89 7E 04 8B 71 0C 8B 79 08 89 3E 8B 31 8B 7D 08
7BC525FEh:  83 E6 FC F6 45 EC 40 8D 7C 37 10 89 7D 08 74 1B
7BC5260Eh:  C7 01 EE FE EE FE C7 41 04 EE FE EE FE C7 41 08
7BC5261Eh:  EE FE EE FE C7 41 0C EE FE EE FE 8B 4D 08 8B 30

Stack (1A41D760h):
1A41D740h:  1B5F4288 00000018 1A41D7AC 001BEBC0
1A41D750h:  1A41D770 7BCD9DB0 1A41D7C8 7BC524B1
1A41D760h:  1B5F4288 00000002 1B5F42E0 7BCD9DB0
1A41D770h:  1A630000 1B5F4278 1A41D7C8 7BC5277F
1A41D780h:  00000068 F7446510 F7442DA9 7BC3F9D3
1A41D790h:  00110000 00000000 001BEBA8 7BC521FE
1A41D7A0h:  F6B00530 00000068 1A41D80C 1B5F42B8
1A41D7B0h:  00000002 1B5F4298 1A41D828 7BCD9DB0
1A41D7C0h:  00000002 1B5F4298 1A41D828 7BC52EAF
1A41D7D0h:  1B5F4290 7DF369D8 7DF18BFD 7DF369D8
1A41D7E0h:  1B5F4298 1B5F4298 1A41D828 7DF22303
1A41D7F0h:  00110000 00000000 1B5F4290 00110000
1A41D800h:  1A41D810 1A41D8A8 0000000C 1A630000
1A41D810h:  E06D7363 00000003 1A41D840 7DF369D8
1A41D820h:  80090301 1B5F4298 1A41D878 7DF2BA68
1A41D830h:  6A790E12 DFC16CDA 7DF18BFD 7DF2BA68
1A41D840h:  00110000 00000000 1B5F4298 7DF369D8
1A41D850h:  00000000 1B5F4298 1A41D8A8 7DF2BA68
1A41D860h:  00000002 12620BC0 1A41D88C 00000000
1A41D870h:  00000000 0646BCC8 1A41D8A8 0042270E

Registers:
EAX: 1A630000, EBX: 7BCD9DB0, ECX: 1B5F42E0, EDX: 1B5F4278
ESI: 00000010, EDI: 08455355, EBP: 1A41D778, ESP: 1A41D760

Crash location:
Module: ntdll
Offset: 425EEh

Loaded modules:
schannel                         loaded at F6E20000h - F6E31000h
windowscodecs                    loaded at F6450000h - F6504000h
winepulse                        loaded at F7120000h - F713B000h
mmdevapi                         loaded at F7140000h - F715D000h
foo_quicktag                     loaded at 060A0000h - 060D4000h
foo_stop_after_queue             loaded at 05F70000h - 05F88000h
avutil-fb2k-55                   loaded at 05540000h - 055DB000h
avcodec-fb2k-57                  loaded at 05330000h - 05534000h
foo_input_std                    loaded at 051D0000h - 0532D000h
foo_dsp_std                      loaded at 05070000h - 050B2000h
foo_audioscrobbler               loaded at 04F20000h - 04F53000h
foo_uie_biography                loaded at 04DB0000h - 04E08000h
foo_random_pools                 loaded at 04D70000h - 04DA8000h
foo_textdisplay                  loaded at 04C10000h - 04C5B000h
foo_texttools                    loaded at 04AC0000h - 04AF4000h
foo_facets                       loaded at 047F0000h - 049A5000h
foo_infospect                    loaded at 046A0000h - 046D7000h
foo_uie_elplaylist               loaded at 04510000h - 04583000h
foo_cdda                         loaded at 043A0000h - 043F1000h
foo_uie_typefind                 loaded at 04260000h - 04290000h
foo_ui_std                       loaded at 04040000h - 0414E000h
foo_uie_panel_splitter           loaded at 03ED0000h - 03F29000h
foo_jesus                        loaded at 03DA0000h - 03DBA000h
foo_unpack                       loaded at 03C40000h - 03C8C000h
foo_uie_lyrics3                  loaded at 03B80000h - 03C3B000h
foo_discogs                      loaded at 03AE0000h - 03B7E000h
foo_jscript_panel                loaded at 039D0000h - 03AD9000h
foo_uie_graphical_browser        loaded at 03820000h - 038B4000h
foo_bpm                          loaded at 036C0000h - 03701000h
foo_uie_console                  loaded at 03590000h - 035AA000h
foo_tfsandbox                    loaded at 03430000h - 03471000h

In last event there is a error in the foobar console, something about foobar_discogs networking error but crash is too far for reading.
Title: Re: foo_discogs
Post by: zoomorph on 2016-03-21 16:16:39
Thank you very much Zoomorph for continuing development of the plugin.

I run foobar2000 on a linux (ubuntu) environment through wine.

The latest updates makes foobar2000 crash every time I try to use the plugin.

This happens both in the preview as trying to authentication in the preferences window.

Have there been any changes to prevent run on Linux?
The only change that should affect OAuth was switching to HTTPS. You could verify this by going back a couple pages to the first build with HTTPS support -- nothing else at all was changed for that build.
Title: Re: foo_discogs
Post by: paregistrase on 2016-03-21 17:09:26
The only change that should affect OAuth was switching to HTTPS. You could verify this by going back a couple pages to the first build with HTTPS support -- nothing else at all was changed for that build.

Yeah, after this build begun the problem.

Code: [Select]
(FATAL) Error: Network exceptionSecurity error (url: https://api.discogs.com/database/search)
Title: Re: foo_discogs
Post by: zoomorph on 2016-03-21 17:15:41
The only change that should affect OAuth was switching to HTTPS. You could verify this by going back a couple pages to the first build with HTTPS support -- nothing else at all was changed for that build.

Yeah, after this build begun the problem.

Code: [Select]
(FATAL) Error: Network exceptionSecurity error (url: https://api.discogs.com/database/search)

Sorry, I don't know anything about Wine. But it seems like it could be a security certificate issue.
Title: Re: foo_discogs
Post by: paregistrase on 2016-03-21 17:36:47
Sorry, I don't know anything about Wine. But it seems like it could be a security certificate issue.

That was what I  thought too. The last message was after put api.discogs.com in Advanced->Networking->Supress HTTPS certificate...

Without this setting the console said
Code: [Select]
foo_discogs: NetworkingError:Security error--Waiting a little...(try1)

Don't know if this can help.

Anyway thanks for answer me
Title: Re: foo_discogs
Post by: zoomorph on 2016-03-21 18:05:27
This release may have some bugs (many changes were made & not tested too much) but I figured I'd upload it anyways: it's the first implementation of the Update Tags feature in foo_discogs 2.x. Very basic. Some features, polishing touches, and error checking will be added in the future.

Updates:
* Implemented Update Tags feature
* Implemented difference & original tag preview modes
* Fixed bug causing slowness
* Fixed some memory leaks
Title: Re: foo_discogs
Post by: Just_Addict on 2016-03-21 18:13:37
I would try putting the track title in an array then extending it with the hidden track titles, and finally joining it with " / ".
Is there some help info or documentation I'm still overlooking to handle 'hidden tracks' ?

I've got a CD that has a few of those and when I retrieve the info, the track matching window shows the tracks on the left with [+N HIDDEN] behind some of them.
I've tried encapsulating the tracks containing hidden tracks with cue files, numbering the sub track as x.1, x.2 etc. also tried the apparently older method of adding a, b, c, etc. But then I always get a track mismatch.

Do I understand from your post I should list those tracks as multi-value entries when tagging? i.e. titles separated by ";" ?

I'd preferably get the info in tags for each track (including the hidden) on per-track basis, which with the use of m-TAGS over a cue sheet for tracks with hidden tracks is very nicely done in FB2K but of course that don't fly when matching tracks to a discogs release
Title: Re: foo_discogs
Post by: zoomorph on 2016-03-21 18:24:26
Just_Addict,

Here was my suggestion:
Code: [Select]
$join($extend($array(%TRACK_TITLE%),%<TRACK_HIDDEN_TRACKS_TITLE>%),' / ')
But I'm not sure exactly what you're trying to do. Note that foo_discogs currently has no support for tagging hidden tracks as separate files.
Title: Re: foo_discogs
Post by: a3aan on 2016-03-21 19:00:24
I would try putting the track title in an array then extending it with the hidden track titles, and finally joining it with " / ".
That is exactly what I'm trying but having problems to get it right. When using the tracks example above
Code: [Select]
$join(%<TRACK_HIDDEN_TRACKS_TITLE>%,' / ')
results in Second / Third. But
Code: [Select]
$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0,%TRACK_TITLE%,$join($extend(%TRACK_TITLE%,%<TRACK_HIDDEN_TRACKS_TITLE>%),' / '))
or
Code: [Select]
$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0,%TRACK_TITLE%,$join($extend($array(%TRACK_TITLE%),%<TRACK_HIDDEN_TRACKS_TITLE>%),' / '))
results in just First. What is my mistake?
Title: Re: foo_discogs
Post by: fuffi on 2016-03-21 21:26:35
Wow! All those updates are a huge WIN! Thank you zoomorph!
Now it makes fun again, to try&test.
Title: Re: foo_discogs
Post by: zoomorph on 2016-03-21 22:27:14
That is exactly what I'm trying but having problems to get it right. When using the tracks example above
Code: [Select]
$join(%<TRACK_HIDDEN_TRACKS_TITLE>%,' / ')
results in Second / Third. But
Code: [Select]
$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0,%TRACK_TITLE%,$join($extend(%TRACK_TITLE%,%<TRACK_HIDDEN_TRACKS_TITLE>%),' / '))
or
Code: [Select]
$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0,%TRACK_TITLE%,$join($extend($array(%TRACK_TITLE%),%<TRACK_HIDDEN_TRACKS_TITLE>%),' / '))
results in just First. What is my mistake?
It works for me.
Title: Re: foo_discogs
Post by: frogworth on 2016-03-21 22:29:29
This release may have some bugs (many changes were made & not tested too much) but I figured I'd upload it anyways: it's the first implementation of the Update Tags feature in foo_discogs 2.x. Very basic. Some features, polishing touches, and error checking will be added in the future.

Updates:
* Implemented Update Tags feature
* Implemented difference & original tag preview modes
* Fixed bug causing slowness
* Fixed some memory leaks

Does this fix / revert the bugs I mentioned above with multi-disc tagging?
No need, I can wait for a later update :) Just checking.
Title: Re: foo_discogs
Post by: zoomorph on 2016-03-22 02:42:24
For people who wanted to tag compilations with "Various" as the artist as Discogs always used to, there's no exact solution but here an Album Artist tag string to approximate it:
Code: [Select]
$multi_if($multi_and($any($contains($first(%<<RELEASE_FORMATS_DESCRIPTIONS>>%),$array(Compilation,Mixed))),$multi_greater($length($unique($flatten(%<<RELEASE_TRACKS_ARTISTS_NAME>>%))),$div(%RELEASE_TOTAL_TRACKS%,2)),$multi_greater($length($unique($flatten(%<<RELEASE_TRACKS_ARTISTS_REAL_NAME>>%))),$div(%RELEASE_TOTAL_TRACKS%,2))),VA,$joinnames($multi_replace(%<RELEASE_ARTISTS_NAME>%,'Various','VA'),%<RELEASE_ARTISTS_JOIN>%))

Fixes:
* Crash when editing tag mappings with Preview dialog open
* Save size of Preview dialog
* $flatten() not working correctly
* Populate TRACK_ARTISTS for single artist releases
* Fix accessing of *_TRACK_ARTISTS_* causing error on some releases
* New $array() function, old one renamed to $arrayn()
Title: Re: foo_discogs
Post by: a3aan on 2016-03-22 07:53:57
It works for me.
I see. It works indeed. Only *not* in the preview..... Cheers.
Title: Re: foo_discogs
Post by: Just_Addict on 2016-03-22 14:12:34
Just_Addict,

Here was my suggestion:
Code: [Select]
$join($extend($array(%TRACK_TITLE%),%<TRACK_HIDDEN_TRACKS_TITLE>%),' / ')
But I'm not sure exactly what you're trying to do. Note that foo_discogs currently has no support for tagging hidden tracks as separate files.
Ok, that answers my question. I had seen so many posts about handling hidden tracks I thought I was overlooking something. Thanks for the clarification.
Title: completeness of object attributes list on the Syntax Help page
Post by: a3aan on 2016-03-22 17:41:46
I noticed the object attributes list on the Syntax Help page is not complete. I'm still using %TRACK_DISCOGS_TRACK_NUMBER% that give the 'position' (A, B1, B2 or 1, 2 or whatever) of the track, as it always did. Is more stuff missing? Cheers.
Title: Re: foo_discogs
Post by: nicht on 2016-03-23 10:07:54
The funny thing. Since the last update, when I click on Authorize button at OAuth Identity tab, I'm not redirected to the page with the token anymore. For some reason local IE cache is opened AppData/Local/Microsoft/Windows/INetCache/IE/78Z8FDLZ/authorize[1] in the browser (FF in my case).
Title: Re: foo_discogs
Post by: Anakunda on 2016-03-23 17:46:41
I'm getting errors on album lookup

Code: [Select]
Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/database/search)

When I try to re-authorize, I'm getting another error

Code: [Select]
(skipped) Error: Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/oauth/request_token)

[ESCAPE to close]

Anybody else meet the same error?
Title: Re: foo_discogs
Post by: nicht on 2016-03-23 17:57:19
I'm getting errors on album lookup

Code: [Select]
Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/database/search)

When I try to re-authorize, I'm getting another error

Code: [Select]
(skipped) Error: Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/oauth/request_token)

[ESCAPE to close]

Anybody else meet the same error?

AFAIK Discogs have changed their API to use HTTPS. You should update the plugin. And then you might run into the same problem as I have
Title: Re: foo_discogs
Post by: Just_Addict on 2016-03-23 19:02:45
About this hidden track stuff, and sorry if I am beating a dead horse but most all of the hidden track posts I found when searching were referring to hidden track(s) either in the pregap before track 1 or at the end of the CD and which mostly seem to consist of just silence.

I  mean the true hidden tracks where 2 or more songs exist within the one listed track on the sleeve.

for the less than a handful CD's I own with hidden tracks, if I examine the tracklisting section in the JSON data, I see there is an entry for each track, be it a regular one or hidden and that tracks with hidden tracks appended are numbered either as xA, xB etc or as x.1, x.2 etc. The tracklistings for these CD's also happen to be listed on the Discogs page for that release in the same numberscheme.

What I used to do before I started using Discogs (which is very recent) was to leave those tracks as they are (ripping to an image file with cue sheet) and after ripping, update the cue sheet to add separate entries for the hidden tracks, so that they show as individual tracks in FB2K when using the cue sheet as playlist. This had as disadvantage I could not add track specific meta data to those tracks because of the cue sheet. 

Now however with m-TAG in the mix, I can add/modify metadata for these sub tracks as much as I want when pointing an m-TAG to a cue sheet with hidden tracks. However, enter Discogs and the track matching goes hopelessly screwy because only the main tracks will show in the left pane of  the trackmatching window, with or without the [+x HIDDEN] and of course having m-TAG, my own listing has x tracks more.

After the post by @a3aan mentioning %TRACK_DISCOGS_TRACK_NUMBER% I found it contained the track numbers exactly as they are present on the release page in the returned JSON datablock (using Fiddler as a MITM approach to decrypt and view the returned JSON data) but only for the tracks that were originally listed in the left pane of the track matching dialog.

Now, my idea is very likely totally depending on how the track listing is entered on Discogs, but given that for the few CD's I own with hidden tracks, the number of tracks listed in the JSON data equaled the number of tracks it shows (including the hidden ones) when using the above method (m-TAG over cue sheet), would it be possible to have the plugin switch to using the extended(?) 1:1 track listing as returned in JSON, so that the number of tracks on the left matches the number of tracks on the right? Thus allowing the information for these sub-tracks to also be written to the m-TAG entries for those hidden tracks?

This would be particularly useful to display the sub track(s) specific track credits and would no longer require manual after-the-fact editing of m-TAG files or updating of spliced tracks (if not left as single track but spliced into separate tracks)

I don't know enough about Discogs API to be able to see if the presence of hidden tracks can be detected with certainty. So instead of an automatic switching, perhaps a checkbox toggle could be added to switch between condensed (without hidden tracks) and expanded track listing (including the hidden tracks)

EDIT: I did notice that in the cases where a track contains hidden tracks, the %TRACK_DISCOGS_DURATION_RAW% field returns only the duration of the first subtrack (usually the first one that is actually listed on the sleeve)
Title: Re: foo_discogs
Post by: oatmeal769 on 2016-03-24 13:47:36
Trying to use oauth for first time.
It says "oauth is required to use the discogs api.  it requires having a discogs account and authorizing the component."

I HAVE a Discogs account and profile, etc.

I can't figure out how to authorize something.  It says, "Step 1  Click authorize. You'll be required to log in to discogs and authorize the application. Copy the code discogs provides into the box below"

WHERE DO I FIND THIS PIN CODE!?!?!?!
I've looked EVERYWHERE for this information.  I can even generate a token number for the second step, but I can't find where to get this $ % @   PIN CODE in step 1!!

PLEASE help!!!
Title: Re: foo_discogs
Post by: Anakunda on 2016-03-25 06:30:16
AFAIK Discogs have changed their API to use HTTPS. You should update the plugin. And then you might run into the same problem as I have

How could I miss the update. Latest plugin confirmed that works.
Title: Re: foo_discogs
Post by: fuffi on 2016-03-25 16:10:53
for this release: 2538551

I got:

(FATAL) Error: Error loading release 2538551: JSON Parser ExceptionError parsing release credits.

[ESCAPE to close]

A lot of other releases worked normal.
Title: Re: foo_discogs
Post by: zoomorph on 2016-03-26 21:47:59
for this release: 2538551
I got:
(FATAL) Error: Error loading release 2538551: JSON Parser ExceptionError parsing release credits.
Release credits are not entered correctly. Probably this:
"tracks: 1 to 5, 6 to 9 to 12"
Title: Re: foo_discogs
Post by: fuffi on 2016-03-27 09:26:06
Hi,
for this release: 2538551 I got:
(FATAL) Error: Error loading release 2538551: JSON Parser ExceptionError parsing release credits.
Release credits are not entered correctly. Probably this: "tracks: 1 to 5, 6 to 9 to 12"
I'm not sure, I understand...
Does that mean, the data on DiscoGS is not correct?
You talk about the little word "to" instead of an comma or another separator?
If yes, if've seen this many times, and it does not caused an error yet. I.E. https://www.discogs.com/de/de/release/3070176 which is tagging fine here.

Could you please explain more?


Also,
I got a crash (very rarely), while opening more than one artists at once
(https://picload.org/image/wwlglpc/2016-03-2710-12-54_foobar2000.png)

Code: [Select]
http://pastebin.com/0huZDPTB
Title: Re: foo_discogs
Post by: audiophool on 2016-03-27 10:51:48
If yes, if've seen this many times, and it does not caused an error yet. I.E. https://www.discogs.com/de/de/release/3070176 which is tagging fine here.
And it should. The issue is not present on that release.
Title: Re: foo_discogs
Post by: zoomorph on 2016-03-29 03:12:10
Updates:
* Remove "back" button from preview dialog when updating tags
* Fix crash when press cancel on preview dialog when update tags
* Fix crash when delete a tag in preview dialog
* Fix crash when updating tags of file with no DISCOGS_RELEASE_ID tag
* Skip over releases if nothing changed when updating tags
Title: Re: foo_discogs
Post by: roscar on 2016-04-04 00:09:22
Hi Zoomorph

I realize that multi-disc tracklist parsing issues must be far from your favorite subject these days, but bear with me...

Simon & Garfunkel ‎– The Complete Albums Collection, https://www.discogs.com/release/6719102 (https://www.discogs.com/release/6719102), has an interesting and loopy result, where it seems to reset every disc to disc 1 track 01 for every heading inserted. I even went through the tracklist a while ago and changed all the dots to dashes, as that has solved problems with other multi-disc releases in the past, but no dice.
It seems possible that the number of headings being lower than the number of discs might trip up the probably already fairly convoluted tracklist parsing algorithm in foo_discogs, I thought of inserting dummy headings in order to try getting my tags fixed, but you ought to have a chance to look at it first, if you care to.  O:)

Title: Re: foo_discogs
Post by: drbeachboy on 2016-04-04 00:47:45
Updates:
* Remove "back" button from preview dialog when updating tags
* Fix crash when press cancel on preview dialog when update tags
* Fix crash when delete a tag in preview dialog
* Fix crash when updating tags of file with no DISCOGS_RELEASE_ID tag
* Skip over releases if nothing changed when updating tags

First off, thank you for all the work in updating the component. It is most appreciated. With that, is it possible to update the version from 1.52? With v1.56 being out there, every time I open up fb2k my update component keeps popping up to update foo_discogs.
Thanks again.
Title: Re: foo_discogs
Post by: zoomorph on 2016-04-04 03:44:03
Simon & Garfunkel ‎– The Complete Albums Collection, https://www.discogs.com/release/6719102 (https://www.discogs.com/release/6719102), has an interesting and loopy result, where it seems to reset every disc to disc 1 track 01 for every heading inserted. I even went through the tracklist a while ago and changed all the dots to dashes, as that has solved problems with other multi-disc releases in the past, but no dice.
Looks OK for me. Are you using the latest development version, or the officially released version?

With that, is it possible to update the version from 1.52?
Will do that for the next build, thx.
Title: Re: foo_discogs
Post by: roscar on 2016-04-04 13:58:29
Simon & Garfunkel ‎– The Complete Albums Collection, https://www.discogs.com/release/6719102 (https://www.discogs.com/release/6719102), has an interesting and loopy result, where it seems to reset every disc to disc 1 track 01 for every heading inserted. I even went through the tracklist a while ago and changed all the dots to dashes, as that has solved problems with other multi-disc releases in the past, but no dice.
Looks OK for me. Are you using the latest development version, or the officially released version?
The dev version. Attached a couple pics.

Edit: 1.56 from last year works fine for me too. I'd rather use the bleeding edge dev version though. :)
Title: Re: foo_discogs
Post by: zoomorph on 2016-04-04 15:19:17
Have you restarted foobar2000 or pressed "Clear cache" since updating the release on Discogs? I don't see that problem... :-)
Title: Re: foo_discogs
Post by: roscar on 2016-04-04 15:57:20
Have you restarted foobar2000 or pressed "Clear cache" since updating the release on Discogs? I don't see that problem... :-)
Yep. Several times over days and weeks actually, reboots too of course. Now I've tagged the files with 1.56 rel I can't reproduce the problem with newest "1.52" dev...
Maybe letting fb2k do the 1.56 update fixed something internally, and while I was at it I updated fb2k to 1.3.10 from 1.3.9, so...
I really have no idea what went wrong, or later right for that matter, but now you have some screenshots to entertain coders with. :P
Title: Re: foo_discogs
Post by: zoomorph on 2016-04-04 16:39:07
Updates:
* Window position is remembered for all dialogs (until restarted)
* Version string set to 2.0.1
Title: Re: foo_discogs
Post by: roscar on 2016-04-04 19:49:46
Have you restarted foobar2000 or pressed "Clear cache" since updating the release on Discogs? I don't see that problem... :-)
Yep. Several times over days and weeks actually, reboots too of course. Now I've tagged the files with 1.56 rel I can't reproduce the problem with newest "1.52" dev...
Maybe letting fb2k do the 1.56 update fixed something internally, and while I was at it I updated fb2k to 1.3.10 from 1.3.9, so...
I really have no idea what went wrong, or later right for that matter, but now you have some screenshots to entertain coders with. :P
Continuing the saga I suddenly had another release do the same trick. Only thing I've changed from default was the image-renaming, and that was just changing "cover" to "discogs", leaving the rest of the line the hell alone. But hitting he "Defaults"-button fixed it anyway. I'm at a loss here, probably my fault, but now I can at least get it to work. That was 1.52 dev, I'll swap it for 2.01 dev now. Fingers crossed...
Title: Re: foo_discogs
Post by: zoomorph on 2016-04-05 11:14:13
Lots more changes made... could be some new bugs. Getting close to the point where this version can be officially released.

Updates:
* Update tags "Prompt" option opens the track matching dialog for each release where automatic matching failed (these tracks/releases are silently ignored otherwise)
* Update tags feature is more robust with better error checking
* Fixed bug where track matching was incorrect if "assume tracks are in sorted order" was enabled
Title: Re: foo_discogs
Post by: hulkkar on 2016-04-06 01:16:22
hi,
suddendly discogs tagger stopped to work
I downloaded a new component, uodated foobar but I cant access to the "OAuth aothorization"

http://i.imgur.com/huzpT1Q.jpg (image)
also downloaded the foo discogs dll but still doesnt work
any help?
much thanks.
Title: Re: foo_discogs
Post by: zoomorph on 2016-04-06 01:31:47
Can you check what's logged on the foobar2000 console?
Title: Re: foo_discogs
Post by: hulkkar on 2016-04-06 09:08:52
Can you check what's logged on the foobar2000 console?
what is the foobar console?
Title: Re: foo_discogs
Post by: simcut on 2016-04-06 10:09:56
Can you check what's logged on the foobar2000 console?
what is the foobar console?

Go to the view menu within foobar and click console and it'll show logs from foobar.
Title: Re: foo_discogs and hidden tracks
Post by: Just_Addict on 2016-04-06 17:10:39
Ok, I got to touch on this again as it would make life much easier not having to manually update my m-TAGs to add the data for hidden tracks.
Otherwise I'd never be sure if there's a chance to get the component doing this. (or if it is even already possible ~wishful thinking~ )

Given the following release: https://www.discogs.com/Amy-Winehouse-Frank/release/7340147 (format is not uncommon)
and a playlist view produced with m-TAG pointing to a cue sheet (to split off the the hidden tracks, see screenshot).
and Discogs json data containing the track listing as in below code block (note: "extraartists" data removed to reduce size)
Code: [Select]
"tracklist": [
{"duration": "0:21", "position": "1a", "type_": "track", "extraartists": [...], "title": "Intro"},
{"duration": "3:34", "position": "1b", "type_": "track", "extraartists": [...], "title": "Stronger Than Me"},
{"duration": "5:17", "position": "2a", "type_": "track", "extraartists": [...], "title": "You Sent Me Flying"},
{"duration": "1:34", "position": "2b", "type_": "track", "extraartists": [...], "title": "Cherry"},
{"duration": "3:03", "position": "3", "type_": "track", "extraartists": [...], "title": "Know You Now"},
{"duration": "3:21", "position": "4", "type_": "track", "extraartists": [...], "title": "Fuck Me Pumps"},
{"duration": "2:10", "position": "5", "type_": "track", "extraartists": [...], "title": "I Heard Love Is Blind"},
{"duration": "2:49", "position": "6a", "type_": "track", "extraartists": [...], "title": "Moody's Mood For Love"},
{"duration": "0:40", "position": "6b", "type_": "track", "extraartists": [...], "title": "Teo Licks"},
{"duration": "2:09", "position": "7", "type_": "track", "extraartists": [...], "title": "(There Is) No Greater Love"},
{"duration": "5:17", "position": "8", "type_": "track", "extraartists": [...], "title": "In My Bed"},
{"duration": "3:20", "position": "9", "type_": "track", "extraartists": [...], "title": "Take The Box"},
{"duration": "3:25", "position": "10", "type_": "track", "extraartists": [...], "title": "October Song"},
{"duration": "3:30", "position": "11", "type_": "track", "extraartists": [...], "title": "What Is It About Men?"},
{"duration": "5:01", "position": "12", "type_": "track", "extraartists": [...], "title": "Help Yourself"},
{"duration": "4:15", "position": "13a", "type_": "track", "extraartists": [...], "title": "Amy Amy Amy"},
{"duration": "0:51", "position": "13b", "type_": "track", "extraartists": [...], "title": "Outro"},
{"duration": "4:13", "position": "13c", "type_": "track", "title": "Brother"},
{"duration": "3:57", "position": "13d", "type_": "track", "title": "Mr. Magic (Through The Smoke)"}
]
How much chance is there to get the discogs data mapped 1:1 to the playlist track listing (so as not to lose track credits and information stored in "extraartists" for the tracks considered 'hidden") ?

Since I'm using m-TAGS the tag data never reaches the actual media files. But even if someone has physically spliced the hidden tracks off to separate tracks, a 1:1 mapping would be very helpful when possible.
Title: Re: foo_discogs
Post by: Just_Addict on 2016-04-06 17:25:34
and a small buglet: "Edit Tag Mappings..." dialog doesn't remember window position in same session
Title: Re: foo_discogs
Post by: hulkkar on 2016-04-06 19:52:38
Can you check what's logged on the foobar2000 console?
sorry I can't find it :(
what is the foobar console?

Go to the view menu within foobar and click console and it'll show logs from foobar.
Title: Re: foo_discogs
Post by: alec.tron on 2016-04-07 09:41:24
Lots more changes made... could be some new bugs. Getting close to the point where this version can be officially released.

Updates:
* Update tags "Prompt" option opens the track matching dialog for each release where automatic matching failed (these tracks/releases are silently ignored otherwise)
* Update tags feature is more robust with better error checking
* Fixed bug where track matching was incorrect if "assume tracks are in sorted order" was enabled
Thanks a lot for all your work on this!
Tried this:
-----------------------
* foo_discogs.dll
617 KB
downloaded 53 times

Last Edit: 05 April, 2016, 06:16:06 AM by zoomorph
-----------------------

And can (also) report this does not like multi media releases... when trying to tag a multi CD rip from this:
https://www.discogs.com/Quasimoto-The-Unseen/release/697747
it seems to repeat the CD1 info/tags on to CD2 tracks. At a guess, my organization/structure might play into this where CD1 & CD2 files live in their own folders respectively.

And in case you want more feedback - the progress bar when fetching discogs info if stalling, or rather never actually progressing, but can sit a while 'progressing' (had had it up to 10-15 ish seconds), but probably due to discogs API getting slammed then, as many other times it's not even showing the matching progress bar...

Cheers.
c.
Title: Re: foo_discogs
Post by: alec.tron on 2016-04-07 22:48:09
I'm just re-tagging a LOT, so I came across 2 other 2-CD releases with peculiar behaviour with the tagger different to the one I described above which happened on a few multi CD releases. I had one that actually worked as expected, this:
https://www.discogs.com/Various-Mellow-Hip-Hop-Sessions/release/1964479
= which tagged the whole release perfectly over 2 folders, i.e. /CD1/ & /CD2/

This was even more bizarre though (lives in 2 folders, 1 per CD as well), than suggesting to simply rewriting CD1 content to CD2 tracks:
https://www.discogs.com/Beastie-Boys-Anthology-The-Sounds-Of-Science/release/2916601
when queried, it returned with a proposed match of:
01    Beastie Boys (+20 HIDDEN)
02    The Biz Vs. The Nuge (+20 HIDDEN)

So it seems to a mixture of things playing into this but I did not go ahead to see the outcome as it looked rather off...
If you need more info, sing out!
Cheers.
c.
Title: Re: foo_discogs
Post by: zoomorph on 2016-04-08 03:07:59
Ok, I got to touch on this again as it would make life much easier not having to manually update my m-TAGs to add the data for hidden tracks.
Otherwise I'd never be sure if there's a chance to get the component doing this. (or if it is even already possible ~wishful thinking~ )
Sorry, it's currently not supported. It could be added, but not trivial and not sure when I would find motivation to do that since I never split hidden tracks.

and a small buglet: "Edit Tag Mappings..." dialog doesn't remember window position in same session
It works for me.

And can (also) report this does not like multi media releases... when trying to tag a multi CD rip from this:
https://www.discogs.com/Quasimoto-The-Unseen/release/697747
it seems to repeat the CD1 info/tags on to CD2 tracks. At a guess, my organization/structure might play into this where CD1 & CD2 files live in their own folders respectively.
Hmmm... it works for me. You realize that the track titles on CD1 are the same as CD2 on this release, right?

This was even more bizarre though (lives in 2 folders, 1 per CD as well), than suggesting to simply rewriting CD1 content to CD2 tracks:
https://www.discogs.com/Beastie-Boys-Anthology-The-Sounds-Of-Science/release/2916601
when queried, it returned with a proposed match of:
01    Beastie Boys (+20 HIDDEN)
02    The Biz Vs. The Nuge (+20 HIDDEN)
Currently foo_discogs treats "X.Y" track positions as hidden tracks, as recommended by the Discogs guidelines. Normally multiple CD tracks are entered as "X-Y" where X is the disc and Y the track number.
Title: Re: foo_discogs
Post by: jmbylsma on 2016-04-08 03:18:48
@paregistrase

I was running Ubuntu 12.04 LTS and having the same issues with Wine. Not sure how to fix it there, but I checked out foo_discogs on Ubuntu 16.04 beta and it's working fine.
Title: Re: foo_discogs
Post by: paregistrase on 2016-04-08 05:53:22
@paregistrase

I was running Ubuntu 12.04 LTS and having the same issues with Wine. Not sure how to fix it there, but I checked out foo_discogs on Ubuntu 16.04 beta and it's working fine.

Thanks for the advice. Updated and running now. Moreover also pleasantly surprised with the stability of a beta release.
Title: Re: foo_discogs
Post by: alec.tron on 2016-04-08 06:54:21
This was even more bizarre though (lives in 2 folders, 1 per CD as well), than suggesting to simply rewriting CD1 content to CD2 tracks:
https://www.discogs.com/Beastie-Boys-Anthology-The-Sounds-Of-Science/release/2916601
when queried, it returned with a proposed match of:
01 Beastie Boys (+20 HIDDEN)
02 The Biz Vs. The Nuge (+20 HIDDEN)
Currently foo_discogs treats "X.Y" track positions as hidden tracks, as recommended by the Discogs guidelines. Normally multiple CD tracks are entered as "X-Y" where X is the disc and Y the track number.
Thanks for the info!

So"foo_discogs treats "X.Y" track positions" refers to the way the Tracklist info is semantically numbered on each track/ID/release-webpage ?
Meaning this (X-YY) works with discogs_foo:
https://www.discogs.com/Various-V-Records-Presents-Retrospect-Vol-1/release/1519162
Whereas (X.YY) like here:
https://www.discogs.com/Various-1-In-The-Jungle/release/535454
does not.... ?!
(what's with X/YY ? - which I remember seeing as well...)

I'd suggest an option to allow users to enable 'X.YY' so hidden tracks can get written/mapped as tags as:
- there's many old releases on discogs still with X.YY tracklist descriptors...
- even if a hidden track, I personally do extract these further, as to not have multiple single tracks inside a ginormeous file, in which case an option to 'unhide' these 'hidden' tracks, via X-YY / X.YY syntax (which would result in X-YY.ZZ syntax...? if there's hidden tracks on multi CD releases...?) would reqally help.

Cheerio.
c.
Title: Re: foo_discogs
Post by: frogworth on 2016-04-08 07:01:38
Agreed that there are a lot of albums with dots instead of dashes for multi-disc tracklistings.

I found one yesterday and took the advice of @zoomorph and edited the release.
For me, the edits went live immediately, so I was then able to use foo_discogs to successfully tag the album.

HOWEVER, I think this is because I have reached a certain threshhold of approved edits, isn't it? It wasn't that long ago that my edits required approval first.

So this works for me, but for a lot of more casual users I'd say that editing the release is not an immediate fix.
Some kind of solution for apparent hidden tracks (and acknowledged bad data in Discogs) would be helpful.
Title: Re: foo_discogs
Post by: alec.tron on 2016-04-08 08:38:56
And can (also) report this does not like multi media releases... when trying to tag a multi CD rip from this:
https://www.discogs.com/Quasimoto-The-Unseen/release/697747
it seems to repeat the CD1 info/tags on to CD2 tracks. At a guess, my organization/structure might play into this where CD1 & CD2 files live in their own folders respectively.
Hmmm... it works for me. You realize that the track titles on CD1 are the same as CD2 on this release, right?

Sorry, bad/confusing example...
Try this:
https://www.discogs.com/Alaska-Virtual-Virtuosos/release/357680
Same thing, first 10 are fine, then what should be displayed (based on the above release example - in the Match Tracks window) as:
2-01 Live 4 Deck Mix

gets displayed as:
1-01 Budhisava

But, no worries, since a picture tells a thousand words, here's a screenshot of what I see:
(http://i.imgur.com/bMAn5en.jpg)

Churs.
c.

ps. potentially found the source... i.e. from how it seems this occurs when multiple of the to-be-tagged files have a pre existing tag of Track Number as "1"...  Do pre-existing tracks play into determining the mapping/order by chance ?
Title: Re: foo_discogs
Post by: frogworth on 2016-04-08 09:06:02
Hm, just tried that Alaska release on a bunch of random tracks in my current playlist. Tracks 1-10 of one album and track 1 of another album.
Tags look just fine.
(http://www.frogworth.com/Screen Shot 2016-04-08 at 6.01.13 pm.png)

I was having this problem on an older version of the component, a couple of weeks ago. Do you definitely have the latest version?
Title: Re: foo_discogs
Post by: hulkkar on 2016-04-08 17:36:15
Go to the view menu within foobar and click console and it'll show logs from foobar.
sorry, I can't find it :(
Title: Re: foo_discogs
Post by: Jailhouse on 2016-04-08 18:50:38
@hulkkar Like so:
Title: Re: foo_discogs
Post by: hulkkar on 2016-04-08 20:51:34
ok :) here waht it says
"foo_discogs: Various Artists
foo_discogs: http://api.discogs.com/releases/2092481?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=146014491829&oauth_signature=F2u2vJXzTiteXueJ5374m8pNNPk191273794&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1460144918&oauth_version=1.0"
Title: Re: foo_discogs
Post by: zoomorph on 2016-04-09 15:38:04
Updates:
- If all track positions have a "." in them, it's treated as a multi disc release instead of hidden tracks.
- New configuration option to parse hidden tracks as regular tracks. (temporary solution... and you may have to clear cache after changing it)
Title: Re: foo_discogs
Post by: Just_Addict on 2016-04-09 15:48:15
WOOT! Thanks very much for adding the "hidden tracks as regular tracks" feature :D
Title: Re: foo_discogs
Post by: Just_Addict on 2016-04-09 17:07:15
shucks, my quick-edit started before the hour but it crossed the hour boundary when saving. :)

Ok, as for the option to treat hidden tracks as regular tracks, I've not yet ran into serious issues.

There is however one thing you DO need to be aware of when using m-TAGS.
Your track numbering as shown by the tags file MUST be sequential without any suffixes as may be showing on the Discogs page for that release.

IOW, it should just show as "1, 2, 3, etc" and not like either "1a, 1b, 2a, etc" or "1.1, 1.2, 2.1, etc" as the component will do track matching based on the sequence number, not on the track numbers as listed on the page or in the tags file (if you altered those to reflect they were 'hidden').
Title: Re: foo_discogs
Post by: hulkkar on 2016-04-09 20:25:53
@zoomorph
I cant' access OAuth identity
Components loaded in: 0:00.097858
Configuration read in: 0:00.002606
Watching: C:\Documents and Settings\hulkkar\My documents\My music
User Interface initialized in: 0:00.048439
Audioscrobbler: Loaded
Conf3 already initialized.
Startup time : 0:00.235969
Opening track for playback: "G:\L\DJ Cam - Liquid Hip Hop\08 - Kalimba Groove.flac"
foo_discogs: Various Artists
foo_discogs: https://api.discogs.com/oauth/request_token?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=14602297457953&oauth_signature=7GBNqOPMWf26dSuWBps3Vv3QpsI542651576&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1460229745&oauth_version=1.0
Title: Re: foo_discogs
Post by: fuffi on 2016-04-09 20:53:49
Hi, I got an Error here:

(FATAL) Error: Error loading release 1528944: Error parsing discs/tracks

[ESCAPE to close]


and



(FATAL) Error: Error loading release 3972022: JSON Parser ExceptionError parsing release credits.

[ESCAPE to close]



and


(FATAL) Error: Error loading release 7034945: JSON Parser ExceptionError parsing release credits.

[ESCAPE to close]
Title: Re: foo_discogs
Post by: lvqcl on 2016-04-09 21:04:30
I cant' access OAuth identity
Do you still use Windows XP?

From MP3tag forum (https://forums.mp3tag.de/index.php?showtopic=20977):
Quote
Discogs changed the API access to be HTTPS-only on March 14. [...] The Discogs servers use TLS 1.2 for SSL connections, which is unfortunately not available on Windows XP. It seems, that people who use [...] Windows XP cannot access the Discogs API as of March 14, 2016.

I suspect that it also explains your problem with foo_discogs.
Title: Re: foo_discogs
Post by: hulkkar on 2016-04-09 22:16:05
@lvqcl
thank you, I understant now!
I have also Windows 8 bit its 64 bit, and since I got a malware that I couldn't removed, I have been disgusted.
Title: Re: foo_discogs
Post by: zoomorph on 2016-04-09 22:51:56
From MP3tag forum (https://forums.mp3tag.de/index.php?showtopic=20977):
Quote
Discogs changed the API access to be HTTPS-only on March 14. [...] The Discogs servers use TLS 1.2 for SSL connections, which is unfortunately not available on Windows XP. It seems, that people who use [...] Windows XP cannot access the Discogs API as of March 14, 2016.
I suspect that it also explains your problem with foo_discogs.
Thanks for the info.

Updates:
- Better support for loading paginated stuff from Discogs API
- "Find releases not in collection" feature
Title: Re: foo_discogs
Post by: alec.tron on 2016-04-10 00:10:47
Updates:
- Better support for loading paginated stuff from Discogs API
- "Find releases not in collection" feature
Woohooo!
Thanks a ton, especially for the x.yy formatting for multi discs!

Also, a random question that has been bugging me, but can not find a satisfyting answer for...
With discogs, compilations always have the date set to that of the release of the compilation itself, eg here:
https://www.discogs.com/Various-Lee-Scratch-Perry-Born-In-The-Sky-Upsetter-At-The-Controls-1969-1975/release/1688045
where the compilation is from 2001, but each track has been released first in 1969-1975.... I would prefer these to be tagged with their original release year...this is not made possible on discogs from what I gather, only through comments/arbitrary-user-notes... I assume this has been discussed at length... has anyone looked into this feature-request and its' community history (as I assume I'm not alone with this and this has been discussed at length... searching the forums w 'date compilation' leads to 30k results... :/) ?
Cheers.
c.

Title: Re: foo_discogs
Post by: zoomorph on 2016-04-10 00:16:10
I think some people have suggested "master track" sort of Discogs pages for the same track on various releases, but I doubt that will ever happen. So original release date and creation date will probably always be stuck in custom notes.
Title: Re: foo_discogs
Post by: alec.tron on 2016-04-10 01:26:45
yea, that gave me a lead, there's tons of threads about this, all locked, none with a lead that this is intended to be addressed at some point :/
https://www.discogs.com/forum/thread/160357#2062039
https://www.discogs.com/forum/thread/272325#2961793
https://www.discogs.com/forum/thread/349734#3286038
https://www.discogs.com/forum/thread/366661#3399853

probably the most accurate wording, release (recording) VS manufacturing date:
https://www.discogs.com/forum/thread/343676#3226263

Guess I post a new thread to see where this is at... and done, in case anyone wants to chime in:
https://www.discogs.com/forum/thread/710721

Churs.
c.
Title: Re: foo_discogs
Post by: paregistrase on 2016-04-10 05:43:20
@jmbylsma

Sorry to bother you but since you are using ubuntu would ask you a question.

With the last release of foo_discogs when I click configuration the window does not appear. Instead the option write tags and edit tag mapping work perfectly.
Do you happen the same?
Title: Re: foo_discogs
Post by: Just_Addict on 2016-04-10 12:51:43
So, it seems that after June 30th this year, everything using SSL or TLS 1.0 will no longer work (see: Migrating from SSL and Early TLS (https://www.pcisecuritystandards.org/documents/Migrating_from_SSL_Early_TLS_Information Supplement_v1.pdf) )

Which means that a whole lot more will likely stop working on XP...
Title: Re: foo_discogs
Post by: fuffi on 2016-04-10 18:15:31
Hi, (sorry, if I miss something, but it seems, after this forum was updated, I don't receive any email-notification, although the notification settings are correct... darn technique...)

I'd like to suggest a "write" button next to the preview button. something like:
(https://picload.org/image/rgrgraop/1.jpg)
I really love the preview-function, but sometimes I just trust the component and just wanna write the tags fastly (i.e. when adding a lot of tags to my collection), but I don't want to go to the preferences and turn the preview off, because when I need it quickly, I need to turn it on again.
I think, things like "track order matching" or "preview" buttons need to go in the UI and should not be set up in the config as inflexible/rigid functions.
for my example, the user can quickly click "preview" when he/she/it wants to pre-view and write, if previewing is not needed. but he does not need to switch the preferences evey time. (which is a time-saver and a click-saver)

Title: Re: foo_discogs
Post by: joseph1212 on 2016-04-11 18:57:26
When I search for tags I get the following error:
Code: [Select]
Authorization Failed (401) [Is OAuth working?] - (url: https://api.discogs.com/database/search)

So I figured I would re-authorize the app. When I go to Tagging > Discogs > Configuration and click "Authorize", I get the following error:
Code: [Select]
(skipped) Error: Authorization Failed (401) [Is OAuth working?] - (url: https://api.discogs.com/oauth/request_token)

This is in the Console:
Code: [Select]
foo_discogs: HTTP error status: HTTP/1.1 401 UNAUTHORIZED
foo_discogs: Exception handling: https://api.discogs.com/oauth/request_token?oauth_consumer_key=XXXXXXXXXXXXXXXXXX&oauth_nonce=146039374329&oauth_signature=tdfgJ2DYycm%2FYxFknYQ%2BxpttosI%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1460393743&oauth_version=1.0

Any idea what's going on? I have updated to version 1.56
Title: Re: foo_discogs
Post by: nicht on 2016-04-11 21:50:06
The funny thing. Since the last update, when I click on Authorize button at OAuth Identity tab, I'm not redirected to the page with the token anymore. For some reason local IE cache is opened AppData/Local/Microsoft/Windows/INetCache/IE/78Z8FDLZ/authorize[1] in the browser (FF in my case).

it looks like I'm the only one who running into this issue. which is strange, since I can reproduce it on the other machine as well...
Title: Re: foo_discogs
Post by: zoomorph on 2016-04-11 22:05:46
Any idea what's going on? I have updated to version 1.56
Are you using Windows XP? Seems that it will no longer work with Discogs API. (Mentioned above.)
Title: Re: foo_discogs
Post by: demonboy on 2016-04-12 03:58:16
Any idea what's going on? I have updated to version 1.56
Are you using Windows XP? Seems that it will no longer work with Discogs API. (Mentioned above.)

I'm using Windows 10 and I have the same issue. I've literally built my foobar from new yesterday so all up to date. For starters there is no PIN number when I create the OAuth at discogs. At the discogs end I am getting this message:

Quote
Hello there!

This URL is an OAuth endpoint, but the request you made doesn't appear to
conform to the OAuth 1.0a protocol.

Please consult these resources:

    - Discogs OAuth docs: http://www.discogs.com/developers/#page:authentication
    - the OAuth specification: http://tools.ietf.org/html/rfc5849
    - the documentation for your OAuth library

for information on how to use this endpoint.

- Discogs
Title: Re: foo_discogs
Post by: tapedeck on 2016-04-12 07:19:58
Using the most current version of the plugin via wine on osx 10.11.4 (current foobar), I can't get to the configure window anymore. It just never renders - it acts like its about to switch windows, but nothing ever pops up. On the last official release, I can still get to the window.
I'm having the same OAuth and pin generation errors as other have mentioned as well.
Thanks
Title: Re: foo_discogs
Post by: paregistrase on 2016-04-12 08:52:47
Using the most current version of the plugin via wine on osx 10.11.4 (current foobar), I can't get to the configure window anymore. It just never renders - it acts like its about to switch windows, but nothing ever pops up. On the last official release, I can still get to the window.
I'm having the same OAuth and pin generation errors as other have mentioned as well.
Thanks

I have the same problem with wine in Ubuntu 16.04.

The problem begins with the version that promise to remember window position. Official release and previous development version works OK. At least I'm not alone with this problem.
Title: Re: foo_discogs
Post by: tapedeck on 2016-04-12 16:22:38
Using the most current version of the plugin via wine on osx 10.11.4 (current foobar), I can't get to the configure window anymore. It just never renders - it acts like its about to switch windows, but nothing ever pops up. On the last official release, I can still get to the window.
I'm having the same OAuth and pin generation errors as other have mentioned as well.
Thanks

I have the same problem with wine in Ubuntu 16.04.

The problem begins with the version that promise to remember window position. Official release and previous development version works OK. At least I'm not alone with this problem.
Thanks for pin-pointing which version it is that introduced this bug.
Title: Re: foo_discogs
Post by: zoomorph on 2016-04-13 01:22:07
Problems with OAuth are likely problems with SSL (eg. unsupported version by Windows XP; perhaps WINE has a problem with it too).

Odd that the OAuth tab on the dialog won't load for you. Here's a build with remembering window position disabled, but with the latest changes to the Configuration dialog (additional Parsing tab). Does it work here?
Title: Re: foo_discogs
Post by: paregistrase on 2016-04-13 01:38:13
Problems with OAuth are likely problems with SSL (eg. unsupported version by Windows XP; perhaps WINE has a problem with it too).

Odd that the OAuth tab on the dialog won't load for you. Here's a build with remembering window position disabled, but with the latest changes to the Configuration dialog (additional Parsing tab). Does it work here?

It does !!!!  8)

The problem with authentication in my case has been fixed with the update to ubuntu 16.04

Thank you very much for taking extra trouble to fix problems that are not your fault in principle.

A big hug for you
Title: Re: foo_discogs
Post by: zoomorph on 2016-04-13 02:05:42
Hmm.... This sounds like perhaps a problem in WINE (or my Win32 API abilities). What I'll do is disable saving window position for the configuration dialog and keep it for the others.

Updates:
* Fix rare bug parsing box set vinyl track positions
* Fix above problem in WINE
Title: Re: foo_discogs
Post by: paregistrase on 2016-04-13 02:21:22
Hmm.... This sounds like perhaps a problem in WINE (or my Win32 API abilities). What I'll do is disable saving window position for the configuration dialog and keep it for the others.

Updates:
* Fix rare bug parsing box set vinyl track positions
* Fix above problem in WINE


With this version seems to happen the same with update tags and update art options, the rest works ok
Title: Re: foo_discogs
Post by: frogworth on 2016-04-13 02:23:27
Sounds like possibly the windows are opening but off-screen? Could the locations be being misinterpreted by Wine in some way?
Title: Re: foo_discogs
Post by: paregistrase on 2016-04-13 02:27:58
Sounds like possibly the windows are opening but off-screen? Could the locations be being misinterpreted by Wine in some way?

Possibly. It's a strange situation ... when I press alt + tab I can partially see the button to close the windows but I find it impossible to select them.
On the desktop appears absolutely nothing.
Title: Re: foo_discogs
Post by: frogworth on 2016-04-13 02:30:38
Possibly. It's a strange situation ... when I press alt + tab I can partially see the button to close the windows but I find it impossible to select them.
On the desktop appears absolutely nothing.

Can you type Alt+Space (which usually gets up that menu from the top-left corner of a window), then down arrow (which gets you to the Move option), then Enter?
Then try using the arrow keys to move the window back on to the screen? (Try this with a visible window to see how it works)
Title: Re: foo_discogs
Post by: paregistrase on 2016-04-13 02:39:53
Possibly. It's a strange situation ... when I press alt + tab I can partially see the button to close the windows but I find it impossible to select them.
On the desktop appears absolutely nothing.

Can you type Alt+Space (which usually gets up that menu from the top-left corner of a window), then down arrow (which gets you to the Move option), then Enter?
Then try using the arrow keys to move the window back on to the screen? (Try this with a visible window to see how it works)

I've tried multiple ways, with alt + space, with alt + f7 or f8 to move them or resize them, I have even tried different window managers (Compiz, metacity and mutter), but without success.

They are like ghosts ... Untouchables  :P
Title: Re: foo_discogs
Post by: frogworth on 2016-04-13 02:41:03
They are like ghosts ... Untouchables  :P

Haha, well that's a shame :/
Title: Re: foo_discogs
Post by: paregistrase on 2016-04-13 02:42:52
They are like ghosts ... Untouchables  :P

Haha, well that's a shame :/

We better call...ghostsbusters  :))
Title: Re: foo_discogs
Post by: zoomorph on 2016-04-13 02:43:54
Try this.
Title: Re: foo_discogs
Post by: paregistrase on 2016-04-13 02:51:18
Try this.

Now shows all dialogs.

Update tags works perfectly but update art crash
Title: Re: foo_discogs
Post by: zoomorph on 2016-04-13 03:59:22
Updates:
* Fix crash on update art
Title: Re: foo_discogs
Post by: paregistrase on 2016-04-13 04:29:17
Updates:
* Fix crash on update art

Yeahhhh  8)

Outstanding customer care

You rocks !!!
Title: Re: foo_discogs
Post by: tapedeck on 2016-04-13 22:00:41
Updates:
* Fix crash on update art
This one seems to work for me. The first time I clicked on 'Authorize' in the discogs OAuth dialog, I got an error, but it still brought up the correct webpage and then everything worked.
Thank you
Title: Re: foo_discogs
Post by: alec.tron on 2016-04-14 11:53:15
Heya.
another odd one, this:
https://www.discogs.com/Digital-Mystikz-Urban-Ethics/release/2585657
produces this (constant, CD version of the same works with the same files to-be-tagged):
---------------------------
(FATAL) Error: Error loading release 2585657: Error parsing discs/tracks

[ESCAPE to close]
---------------------------

with:
foo_discogs
Version: 2.01
Compiled: Apr  9 2016

Churs.
c.
Title: Re: foo_discogs
Post by: Lee James on 2016-04-14 20:07:12
Zoomorph, thank you again for this great plugin. I have two minor problems and perhaps you could advise me…

1. I normally only use your plugin to get album art, not for tagging. That's because the Freedb tags usually have less errors so I just go with Freedb for the tags. For this reason, I always have every tag set not to write in the settings, so no tags will be written.

However there are of course times when I do want to use Discogs for tagging (like when Freedb has no data for an album). This means I have to go into the Edit Tag Mappings and turn on all the tags I want each time, then turn them back off again afterwards. That's a little bit of a nuisance. I was thinking that this would all be so much easier if you simply made a new button next to "Write Tags" which said "Download Album Art Only".

2. My second (minor) problem is this: lately I have been ripping a huge amount of CDs and using your plugin to get the album art for them all. The trouble is, it can be very slow waiting for all the art to download. I can't do anything while the art is downloading so I have to just sit there and wait. It would be SO much quicker and better if I could start a new Discogs search while the art was still downloading for the last album. Or alternatively if I could somehow "queue" the art to download it all later.

By the way, is there a better way to download album art other than to use Discogs? I heard great things about Biography View and tried it, but just couldn't get it to download album art no matter what I did - Discogs seems so much better.
Title: Re: foo_discogs
Post by: Just_Addict on 2016-04-14 23:40:44
By the way, is there a better way to download album art other than to use Discogs? I heard great things about Biography View and tried it, but just couldn't get it to download album art no matter what I did - Discogs seems so much better.
This one might be better suited for batch work: https://sourceforge.net/projects/album-art/
Title: Re: foo_discogs
Post by: zoomorph on 2016-04-15 01:55:45
Heya.
another odd one, this:
https://www.discogs.com/Digital-Mystikz-Urban-Ethics/release/2585657
The track positions are entered as what what written on the release, not following the standard logical structure. When parsed logically, they mean something quite different. It will never be possible to handle these cases. The only way around it would be to edit the database with logical track positions (in this case: A1, A2, B1, B2, etc).
Title: Re: foo_discogs
Post by: Lee James on 2016-04-15 02:20:05
This one might be better suited for batch work: https://sourceforge.net/projects/album-art/
I've used that program before but I didn't know there was a way to automate it from within Foobar? Do you know how this can be done?

Biography View is not an option!
By the way, I have just tried using the Biography View plugin once again (to download album art) and this time I got it working - but I found that it is useless compared to Discogs, for three reasons:

1) With Biography View, you have to download all images individually and tell it where to save each one!
2) It only provides 2 images and no back covers!
3) Worst of all, the images are only 300x300! I find that shocking! What use are the images at that size? They're no more than thumbnails. (And I thought Discogs images were low res!!)

In other words, I appreciate Discogs all the more now. If only it had a button for "art only" instead of tags, and it could download art in the background… I would be totally happy :)
Title: Re: foo_discogs
Post by: frogworth on 2016-04-15 02:32:44
Heya.
another odd one, this:
https://www.discogs.com/Digital-Mystikz-Urban-Ethics/release/2585657
The track positions are entered as what what written on the release, not following the standard logical structure. When parsed logically, they mean something quite different. It will never be possible to handle these cases. The only way around it would be to edit the database with logical track positions (in this case: A1, A2, B1, B2, etc).

The difficulty here is that the tracks are clearly credited on the sides of the three EPs as 1a, 1b, 2a, 2b, 3a, 3b (it's a three-disc "LP" that collects three distinct 12" EPs). So I can see why people are not keen to rename them as sides A, B, C, D, E, F.

I have edited the release as 1-A1, 1-B1, 1-B2, 2-A1 etc. The logic would be that the numbers before the hyphens are the disc number (a la multiple CD releases), and after the hyphens are the side and track numbers a la individual vinyl tracknumbers.

Just tried and the tagger had no problem with them like this.
Title: Re: foo_discogs
Post by: fuffi on 2016-04-15 03:33:34
Hi zoomorph,

f2k v1.3.10, component Compiled: Apr  9 2016

I have no steps to reproduce this, but it happened sometimes (very rarely), after tagging a lot of albums.

After working quite a lot of time, suddenly, I cannot use the shortcut SHIFT+D, nor can I use the "Write Tags..." menu entry, because its greyed out. (see screenshot)

BUT there is NO popup or any window open from the component.

Because the created DUMP from the Process Explorer Tool is about 1.6GB, I created a mini dump, which I can send you via mail (or upload the 1.6GB dump anywhere, if needed). Just tell me, if you want to explore this, or just ignore this report ;-)

Of course, after restarting f2k, everything is fine again...

(https://picload.org/image/rgrlgrop/screenclip.png)

Title: Re: foo_discogs
Post by: zoomorph on 2016-04-15 04:59:48
Updates:
* Fix bug in pagination handling
* Move "Find deleted releases" and "Find releases not in collection" to "Utilities" sub-menu
* Fix inefficiency in "Find deleted releases"
* Add caching tab to configuration dialog
* Parsing hidden tracks option is currently on the caching tab because it shouldn't really exist - it's hacky solution
* Show both "Write Tags" and "Preview Tags" buttons
* New function $multi_meta_files() to get meta from all files in the release being tagged

EDIT: fixed bug - write tags not working directly from track matching dialog
Title: Re: foo_discogs
Post by: zoomorph on 2016-04-15 05:11:55
I have edited the release as 1-A1, 1-B1, 1-B2, 2-A1 etc. The logic would be that the numbers before the hyphens are the disc number (a la multiple CD releases), and after the hyphens are the side and track numbers a la individual vinyl tracknumbers.

Just tried and the tagger had no problem with them like this.
Cool. I wish Discogs would provide a logical structure to their track positions (they wouldn't have to sacrifice what they currently allow, just provide an additional field for it), but I guess that's unlikely to ever happen. They've always leaned towards lack of structure.

After working quite a lot of time, suddenly, I cannot use the shortcut SHIFT+D, nor can I use the "Write Tags..." menu entry, because its greyed out. (see screenshot)
Thanks for the info. There must be some way that one of the dialogs isn't closed correctly, which causes the program to think it's still open (maybe it's only hidden). Perhaps an error condition. I don't think a dump will help with this as it doesn't contain the history of how we got in that state.
Title: Re: foo_discogs
Post by: zoomorph on 2016-04-15 11:22:45
This may be useful for back-up or sharing tag formatting strings. It saves in binary format (basically the same as foo_discogs.dll.cfg but with only the tag mappings) so not useful for editing. Currently all existing tag mappings are cleared before importing but this could be made optional.

Update:
* Add function to import and export tag mappings
Title: Re: foo_discogs
Post by: fuffi on 2016-04-15 16:07:34
This may be useful for back-up or sharing tag formatting strings.
Yeah! Great, thank you.

Another Question:
How can I check the XML, which comes back from the discoGS when searching for an artists releases?
I only found the output for a special release:
Code: [Select]
curl https://api.discogs.com/releases/249504 --user-agent "FooBarApp/3.0"

Reason: I'd like to check myself, why the component does not show this release (maybe the DiscoGS XML does not return it...): UB40 ‎– The Very Best Of UB40 1980 - 2000 (https://www.discogs.com/de/UB40-The-Very-Best-Of-UB40-1980-2002/master/108808)

The component only shows this, when selecting "best" (also tried with searchstring "2000") (https://picload.org/image/rgrllorc/screenclip.png)

EDIT:
Same with Somewhere Back In Time Iron Maiden (https://www.discogs.com/de/search/?q=Somewhere+Back+In+Time+Iron+Maiden&type=all)
Component (or XML) only shows results for Iron Maiden's "Somewhere In Time", with searchterm "somewh"
Title: Re: foo_discogs
Post by: zoomorph on 2016-04-15 19:23:23
Are you using the latest version? It works for me, but the pagination bug from a couple builds ago above could cause some releases to be missing.
Title: Re: foo_discogs
Post by: fuffi on 2016-04-16 10:30:46
Are you using the latest version?
I try to, but I cant :-) The downloads from the last posts do not work/start. They seem valid links, but FF or JD2 isnt starting downloading...

EDIT:
Ok...I saw the Download Counters are growing since yesterday, so it must be my personal config which did now allow me to dl the files....
I have been using JDownloader2 and Firefox Download Them All Addon, but they both had problems to dl the files... (of course, they dl every other files from everywhere w/o problems...) But the simple "Save Link As..." did the job in FireFox.... I haven't used this since years ;-)

Thank you zoomorph, now its working, because the fetching process takes care of all the artists-release-pages....!
(https://picload.org/image/rgrcaord/screenclip.png)

Oh, and Thank You for the Write/Preview-Buttons!!! Very much appreciated!


Anyways, Anyboday an answer to my initial Question:
How can I check the XML, which comes back from the discoGS when searching for an artists releases?
just in case....

Title: Re: foo_discogs
Post by: zoomorph on 2016-04-16 13:10:22
You can manually query the Discogs API: https://www.discogs.com/developers/
Title: Re: foo_discogs
Post by: alec.tron on 2016-04-17 09:50:51
I have edited the release as 1-A1, 1-B1, 1-B2, 2-A1 etc. The logic would be that the numbers before the hyphens are the disc number (a la multiple CD releases), and after the hyphens are the side and track numbers a la individual vinyl tracknumbers.

Just tried and the tagger had no problem with them like this.
Thanks a lot! It indeed works now.

I wish Discogs would provide a logical structure to their track positions (they wouldn't have to sacrifice what they currently allow, just provide an additional field for it), but I guess that's unlikely to ever happen. They've always leaned towards lack of structure.
It's hard to fault discogs here... it's a community database after all and conventions & preferences have shifted over the course of the last 15 years...
I got a reply from nik re track-master data, which could be interesting... once it's made it to something tangible:
https://www.discogs.com/forum/thread/710721
and
https://support.discogs.com/support/tickets/125077

c.
Title: Re: foo_discogs
Post by: fuffi on 2016-04-17 11:26:07
Hi zoomorph,
I came across a minor, but somehow inconvenient change in the new releases of the component.

In the Find Release Window, I enter the name of the Artists and pressed TAB to (very) quickly switch to the Search-Button and then pressed Enter.

Now, with the new versions, the order of the TABs has changed and TAB switches to the Filter-Field instead of the (normal, because next to the) Artists-Field.

Did this happen by accident (because it worked intuitive and great before, or was this made on purpose? And can you change it back?
Title: Re: foo_discogs
Post by: Lee James on 2016-04-17 16:05:30
On the last page, I had a problem and I think I may have found the solution now…

I wanted to quickly download "art only" without tagging. But now I think it's best if I allow tagging - particularly the Artist ID and Release ID tags. That way my entire music collection will have ID tags and I should (theoretically) be able to download all the art in bulk, based on those ID tags.

So my new question is:
If I assign Artist ID and Release ID tags to all my music, how can I then bulk/batch download art for everything in one session? I feel it must be possible, as the plugin itself says that the ID tags are used for "updating" art. How is this "updating" normally done?
Title: Re: foo_discogs
Post by: Lee James on 2016-04-17 16:12:16
I have another question too: I'm going to be tagging A LOT of albums (thousands). That will involve hours of sitting around waiting for search data to be downloaded. Is there not an easy way to batch tag albums? I was thinking it would be really useful if I could select a whole batch of albums to batch-tag, and have the plugin "pre-download" all the query information, then at the end bring up a dialogue allowing me to identify the albums instantly without the headache of waiting for the downloading of data.
Title: Re: foo_discogs
Post by: Lee James on 2016-04-17 16:17:54
One more question: identifying the correct album can sometimes be a chore when there are dozens of options to choose from. Couldn't this be sped up by allowing filters (eg filter out anything containing the word "tape" or "LP")? I sometimes try to type "CD" into the filter box, hoping it will only show results that contain the word "CD", but it doesn't work and everything disappears.
Title: Re: foo_discogs
Post by: zoomorph on 2016-04-17 17:16:41
In the Find Release Window, I enter the name of the Artists and pressed TAB to (very) quickly switch to the Search-Button and then pressed Enter.
Will fix in next release.

If I assign Artist ID and Release ID tags to all my music, how can I then bulk/batch download art for everything in one session? I feel it must be possible, as the plugin itself says that the ID tags are used for "updating" art. How is this "updating" normally done?
"Update album/artist art" will do that.

Is there not an easy way to batch tag albums?
Not using foo_discogs. There are other programs that might help, but I'm not sure how accurate they are (would they pick the right release when there are multiple similar ones?).

Couldn't this be sped up by allowing filters (eg filter out anything containing the word "tape" or "LP")?
Currently you can only enter one filter. Maybe I should change it so that every word entered in the filter box is matched independently.
Title: Re: foo_discogs
Post by: Lee James on 2016-04-17 18:46:29
Zoomorph, thank you for your answers :)

"Update album/artist art" will do that.
Oh yeah. That seems obvious now but I just never noticed that before.

Couldn't this be sped up by allowing filters (eg filter out anything containing the word "tape" or "LP")?
Currently you can only enter one filter. Maybe I should change it so that every word entered in the filter box is matched independently.
That would be great, though here is what I think would be much better: beneath the title filter box, you have a second box called "Details filter", which searches items independently, remains constant between sessions, and allows minus signs to be used to exclude items. For example:

Title filter: "All The Single Ladies"
Details filter: "CD -LP -tape -single -promo UK -russia"
(Note that in the above example, the excluded term "-single" would be automatically ignored as it is contained in the Title)

An alternative to this would be to have checkboxes for all these terms (CD, tape, promo, etc) which will filter when turned on?

I have another question: when the plugin brings up the list of releases, is there any easy way for it to know how many tracks each release has? If so, this would make searching much faster, as any releases with a different number of tracks could be immediately/automatically excluded from the results.

While I'm here, I have a very minor suggestion concerning the position of the buttons. On the "Find Release" dialog, it would feel more natural to have "Next" on the far right and "Cancel" to the left of it. While on the "Release" dialog, it would seem more natural to me for the "back" button to be over on the far left, and have the "Write tags" button over on the far right. Just a little thought I had.

One final question (thank you for your patience): there is usually a release entry with an asterisk next to it? This usually seems to be the correct choice, but not always. What does the asterisk mean?
Title: Re: foo_discogs
Post by: fuffi on 2016-04-18 17:47:29
Hi zoomorph,
just another minor thing: when clicking on an artist in the find release windows, the "getting artists releases..." process is starting. now, when the user clicks on another artist, another process for that artist is starting too (which is very useful => time saver).
But, if the user clicks again on an artist which has an ongoing process, another process is started.

I guess, it is reasonable to do a check first, if the clicked artists has an ongoing process to avoid double data fetching (bandwitdh+api calls).
Title: Re: foo_discogs
Post by: fuffi on 2016-04-18 19:09:42
Hi zoomorph,
I just encountered the "Update Tags" feature is back again 8-) or is it just a placebo?

1)
I have some questions:
After clicking "Update Tags" on screen a,
where does the "Skip" button should send me to?
The window just closes and nothing happens.

2)
On screen b, a "Back" Button would be useful to go back to screen a) is it possible?
On screen c, a "Back" Button would be useful to go back to screen b) is it possible?

3)
After clicking "Update Tags" on screen b,
nothing happens,
but the settings should be ok, see screen e.



screenshots for Version: 2.01, Compiled: Apr 15 2016:

screen a:
(https://picload.org/image/rgrwrpcr/screenclip.png)
screen b:
(https://picload.org/image/rgrwrpid/screenclip.png)
screen c:
(https://picload.org/image/rgrwrpwd/screenclip.png)
screen d:
(https://picload.org/image/rgrwrwrc/screenclip.png)
screen e:
(https://picload.org/image/rgrwrwdo/screenclip.png)


Currently you can only enter one filter. Maybe I should change it so that every word entered in the filter box is matched independently.
+1!
Title: Re: foo_discogs
Post by: tapedeck on 2016-04-18 20:15:13
Are you using the latest version? It works for me, but the pagination bug from a couple builds ago above could cause some releases to be missing.
Is it at all possible to make a 'betas' section on the github for compiled binaries? It can be hard to make sure I have the most recent version digging through this thread.
Thank you.
Title: Re: foo_discogs
Post by: fuffi on 2016-04-21 16:23:33
Are you using the latest version? It works for me, but the pagination bug from a couple builds ago above could cause some releases to be missing.
Is it at all possible to make a 'betas' section on the github for compiled binaries? It can be hard to make sure I have the most recent version digging through this thread.
EDIT: Reading your post again, I think, I did not quite answered it correct. Sorry for spending your time....

I assume, the version info is now updated for the users easement at a regulary basis? (with each release/dl-link here in the forum)
when u go to the f2k-preferences and take a look at the components tab (the fist/upper tab), you may see the current/installed component version. you can double-click on it. for further information, like:
Quote
A tagger using the Discogs (http://www.discogs.com) database.

Authors:  Michael Pujos (aka bubbleguuum) (v1.32), zoomorph (v1.33+)
Version: 2.01
Compiled: Apr 15 2016
Website: https://bitbucket.org/zoomorph/foo_discogs

This plugin links statically with the following open source libraries (thanks to their respective authors):

jansson - JSON Parser: http://www.digip.org/jansson/
liboauthcpp - OAuth library: https://github.com/sirikata/liboauthcpp
zlib - compression library: http://www.zlib.net

Thanks to Discogs' staff for making the data available via a proper web API.
although, for the betas, I'd like to see the current version in the components find-release-window, so you know very easy/quick which version you are using....
Title: Re: foo_discogs
Post by: zoomorph on 2016-04-27 15:49:53
I've now uploaded this as the official version on the components repository.
Title: Re: foo_discogs
Post by: a3aan on 2016-04-27 16:46:24
I've now uploaded this as the official version on the components repository.
Cheers!
Title: Re: foo_discogs
Post by: PeteG on 2016-04-28 00:20:54
I try to give tracks names according to MusicBrainz' style guideline (https://musicbrainz.org/doc/Style/Language/English). More or less, that is.
It looks like Discogs (the online DB) capitalize all words in the tracks.
Hence I have put this formatting string in the TITLE tag mappings:
Code: [Select]
TITLE: $replace(%TRACK_TITLE%, A , a , An , an, As , as , At , at , By , by , In , in , Of , of , On , on , Or , or , To , to , And , and , For , for , Nor , nor , The , the , Via , via )
But when a title has two words from this string next to each other, only the first is replaced. Like this:

"Out Of The Inn" becomes "Out of The Inn" and not "Out of the Inn".

Masstagger reacts the same way, but a single run with two identical actions does the job.
The Discogs component makes no changes in a second lookup in the database.
I have tried to split the replace statement in two different parts (separated by space or comma or semicolon) but to no avail.

Anyone having a solution?

Zoomorph, thanks for your hard work, it is much appreciated!
Title: Re: foo_discogs
Post by: zoomorph on 2016-04-28 01:32:24
PeteG,
The only suggestion I can make at the moment is to run $replace() again on the result of the first $replace(). I suspect that the overlapping spaces prevent it from replacing both.
Title: Re: foo_discogs
Post by: PeteG on 2016-04-29 18:56:42
zoomorph, thanks for your reply. A double $replace() run doesn't help (with or without in-between renaming of files). But it is really a minor problem that Masstagger can fix. And yeah, my guess is as well that the overlapping spaces are the culprits. Nevermind.

In your indispensable HTML documentation there's a pointer to a titleformat_help.css in the head section. Does it exist IRL?
If not, I'll make a simple css; it's easier to read the tables with a bit of border and colour formatting.

Btw, it seems that the component – in some situations – can be used as a debugging tool, when the online DB has an error preventing a lookup. Nice.
Example: I got a "(FATAL) Error: JSON ParserExpectionError parsing release credits". It turned out to be this: (tracks: 1 to 5 7 to 12). Changing to (tracks: 1 to 5, 7 to 12) solved the issue.

It's really quite easy to make minor changes, and all the active users of the component already have an account. Bigger changes may require validation from the staff, in my experience it'll take a day or two (some sort of documentation or description is always needed).
Title: Re: foo_discogs
Post by: Daeron on 2016-04-29 19:32:20
What zoomorph told you to do should work, you just probably did it wrong.

Your original code:
$replace(%title%, A , a , An , an, As , as , At , at , By , by , In , in , Of , of , On , on , Or , or , To , to , And , and , For , for , Nor , nor , The , the , Via , via)

The same code nested around itself:
$replace($replace(%title%, A , a , An , an, As , as , At , at , By , by , In , in , Of , of , On , on , Or , or , To , to , And , and , For , for , Nor , nor , The , the , Via , via), A , a , An , an, As , as , At , at , By , by , In , in , Of , of , On , on , Or , or , To , to , And , and , For , for , Nor , nor , The , the , Via , via)

The easiest way to produce it is to take your original code, select all, copy, highlight %title% inside it and paste.

For the record this also works:
Code: [Select]
$replace($replace($replace(%title%, In , in ), The , the ), Of , of )
Title: Re: foo_discogs
Post by: PeteG on 2016-04-29 20:32:21
Daeron, you're quite right! As always, I might add. Thanks a lot. I simply misunderstood what zoomorph meant; I didn't think in terms of nesting ... sigh.
Some nitpicking, sorry: The Via, via part should end with a space:
Code: [Select]
$replace($replace(%title%, A , a , An , an, As , as , At , at , By , by , In , in , Of , of , On , on , Or , or , To , to , And , and , For , for , Nor , nor , The , the , Via , via ), A , a , An , an, As , as , At , at , By , by , In , in , Of , of , On , on , Or , or , To , to , And , and , For , for , Nor , nor , The , the , Via , via )
Title: Re: foo_discogs
Post by: zoomorph on 2016-04-30 06:48:29
PeteG,
titleformat_help.css should exist in your base foobar2000 folder. At least it does for me. And the foo_discogs help file gets installed in user-components/foo_discogs.
Title: Re: foo_discogs
Post by: marc2003 on 2016-04-30 09:45:10
I suspect you're using portable mode where relative paths work fine but you should probably bundle the css file yourself because most people will have foobar installed in normal mode where the user-components folder will not be relative to the included css file. Of course you can determine where the folder is via the SDK/your component but not in a static html file.
Title: Re: foo_discogs
Post by: PeteG on 2016-04-30 19:08:50
Titleformat_help.css is indeed a generic name that should have made me suspicious, why on Earth didn't I look at the base folder in the first place?
A copying of the file to %appdata%\foobar2000 made the discogs help file look beautiful and somewhat familiar.
I second marc2003's opinion (as me being a user with a standard installation as the primary fb2k instance).
Title: Re: foo_discogs
Post by: zoomorph on 2016-05-02 04:55:48
Thanks, I was using a portable install. I've added titleformat_help.css to the component distribution.
Title: Re: foo_discogs
Post by: alec.tron on 2016-05-04 23:25:56
Heya,
here's a question and a potential request... if that makes sense for others as well...
Fist off - how does foo_discogs determine, once discogs info is cached & shown for mapping, that the mapping/matching is off ??
So far I fail to see the underlying rules (as I had a few cases on perfectly named & numbered files, yet foo_discogs thought it's a missmatch...).

And from what I can gather, this would help... so here's an argument to expose the rules to users inside the GUI, (a nice-to-have really... :D) for 2 cases...

Case 1 - I'd love more info as to why it thinks it's miss-matched (i.e. show the culprit visually that trips up the match check - i.e. I would like to know if it's a single file, or multiples/all, and ideally which bit of the filename/pre-existing-tag combo)...

Case 2 -  expose the rules for establishing if it's matched in the GUI to the user and make them adjustable - i.e. I'd love to remove all rules but stick to "match by track numbers only"  for some of my very specific cases... ( I have a fair few albums where I deleted some songs, so they are 'incomplete' on purpose.... so in theory, as track-numbers are fairly consistent (apart from multi CD releases where this gets a bit more complicated....), is there a way (or easy to implement & make it a user option) to prioritize a match-by-number to deal with incomplete albums a bit better ? i.e. of an album with 10 songs I only keep 2, song 2 and 10 let's say - as is I have to manually adjust (remove or reorder) the mapping - or is this an issue with my workflow...?).

Cheers.
c.
Title: Re: foo_discogs
Post by: zoomorph on 2016-05-05 05:30:52
Track matching is an area that needs improvement. Currently it only works if the same # of tracks are present as on the Discogs tracklist, and it only uses track durations, so if the durations on Discogs aren't exact it can fail.
Title: Re: foo_discogs
Post by: alec.tron on 2016-05-05 10:27:55
Aight, thanks for the info! Much appreciated.
c.
Title: Re: foo_discogs
Post by: LovinFoo on 2016-05-08 17:08:30
Hi folks! I have a big problem, since the last release/update  foobar is crashing during release fetching. Not with every artist/release but with a lot. For example Rolling Stones - Out Of Your Heads.

Error log is below.
Title: Re: foo_discogs
Post by: zoomorph on 2016-05-09 04:31:49
Hi folks! I have a big problem, since the last release/update  foobar is crashing during release fetching. Not with every artist/release but with a lot. For example Rolling Stones - Out Of Your Heads.

Error log is below.
Thanks for the report. Should be fixed in the version 2.03.
Title: Re: foo_discogs
Post by: LovinFoo on 2016-05-09 08:27:56
Looking forward! ;)

edit: Seems fixed! Thanks. =)
Title: Re: foo_discogs
Post by: bulbwidth on 2016-05-10 18:48:49
The most recent 2.03 version has an issue that it forcibly writes the RELEASE_ID tag to every file. I don't need nor want this tag. Are earlier versions available that I can downgrade to until this is fixed?
Title: Re: foo_discogs
Post by: zoomorph on 2016-05-11 00:24:20
The most recent 2.03 version has an issue that it forcibly writes the RELEASE_ID tag to every file. I don't need nor want this tag. Are earlier versions available that I can downgrade to until this is fixed?
The DISCOGS_RELEASE_ID tag is valuable if you'll ever be updating tags or re-tagging the same files (or doing anything else with foo_discogs). It saves you from having to go through the find release dialog and pick the right version again.

If you really don't want it, as a workaround you can add an extra tag mapping named "DISCOGS_RELEASE_ID" that is blank. This will erase the first one as long as it's below it in the tag mappings list.
Title: Re: foo_discogs
Post by: bulbwidth on 2016-05-11 18:56:27
Thanks for the workaround. I did check the documentation and it's pretty obvious what its use is, but none of it really matches any use cases relevant to me. I very very rarely need to re-tag or update tags on anything, and when I do I almost always need to tag it with a different version of a release anyway, so the field carries no value to me. Also to keep my library consistent I'd need to re-tag everything again to include the the release id tag on everything, which is not feasible at all. But yeah, thanks for the support, the tagger is still excellent!
Title: Re: foo_discogs
Post by: PeteG on 2016-05-12 12:49:39
Discogs tagger version 2.03. Compiled: May  8 2016. foobar2000 1.3.10.

Kate Bush: Aerial (2cd). Own rip of EMI's original UK & Europe release. It is Release 559101 (https://www.discogs.com/Kate-Bush-Aerial/release/559101).
Why does the component replace 2-08 and 2-09 with "a second set of" 2-01 and 2-02? Everything else is fine. Even 1-02 &pi; is interpreted as 1-02 π.
I simply can't see any errors on the web page ...

PS. Thanks for fixing the css-thingy.  :)
Edit: Typo.
Title: Re: foo_discogs
Post by: zoomorph on 2016-05-12 16:05:19
PeteG,
Good question... that release works fine for me. But it looks like there is a bug somewhere. Perhaps it doesn't happen reliably. I suggest clearing the releases cache in the configuration settings and trying again....
Title: Re: foo_discogs
Post by: PeteG on 2016-05-12 17:37:51
All caches cleared. No change.
All caches cleared + foobar2000 restart. No change.
Some time ago I adjusted the "Max objects cached (...)" to 5000. Now reset to the default 1000. No change (not surprising, I suppose).
Next step: Created a pristine portable installation + Discogs tagger + a subset of the Media Library. Joy! See screendump.
I wonder why the original screendump (#2164) accepts diverging timestamps (not to mention the two files) as opposed to the new screendump (which shows normal behaviour, the red warning).
I really hope that you don't suggest some sort of component incompatibility as a possibility. I've just realized that I have 78, all included ... gosh!
Title: Re: foo_discogs
Post by: zoomorph on 2016-05-13 03:13:57
Hmm... what a mystery. Are your settings in the second installation identical? (You can copy the foo_discogs.dll.cfg file.)
Title: Re: foo_discogs
Post by: PeteG on 2016-05-13 07:06:50
Problem gone ...
 
Title: Re: foo_discogs
Post by: Anakunda on 2016-05-13 08:20:10
HI

I have problems with new version of foo_discogs. Why not all fields are written?
DISCOGS_MASTER_RELEASE_ID ← %MASTER_RELEASE_ID% (wrrite+update)
tag is never written, why?

More question: How do I set

tag mappings to set DISCNUMBER, TOTALDISCS to %TRACK_DISC_NUMBER%, %RELEASE_TOTAL_DISCS% only if RELEASE_TOTAL_DISCS >= 2, otherwise delete DISCNUMBER, TOTALDISCS

And

tag ALBUM ARTIST to $joinnames(%<RELEASE_ARTISTS_NAME>%,%<RELEASE_ARTISTS_JOIN>%) only if all track artists vary otherwise delete ALBUM ARTIST
Title: Re: foo_discogs
Post by: zoomorph on 2016-05-13 18:08:53
Problem gone ...
The mystery remains... will keep it in mind, probably it will come back some day. :-)

I have problems with new version of foo_discogs. Why not all fields are written?
DISCOGS_MASTER_RELEASE_ID ← %MASTER_RELEASE_ID% (wrrite+update)
tag is never written, why?
Is the release you're tagging in a master release? If not, the tag should be empty (not written).

More question: How do I set

tag mappings to set DISCNUMBER, TOTALDISCS to %TRACK_DISC_NUMBER%, %RELEASE_TOTAL_DISCS% only if RELEASE_TOTAL_DISCS >= 2, otherwise delete DISCNUMBER, TOTALDISCS

And

tag ALBUM ARTIST to $joinnames(%<RELEASE_ARTISTS_NAME>%,%<RELEASE_ARTISTS_JOIN>%) only if all track artists vary otherwise delete ALBUM ARTIST
Both are possible by editing the formatting strings. Check the syntax help file, and the regular foobar2000 titleformatting help file.
Title: Re: foo_discogs
Post by: Anakunda on 2016-05-13 18:12:15
Both are possible by editing the formatting strings. Check the syntax help file, and the regular foobar2000 titleformatting help file.

Pls. help me defining the strings. I'm bit confused from the foo_discogs sytax.
Title: Re: foo_discogs
Post by: joseph1212 on 2016-05-14 14:08:24
Any idea what's going on? I have updated to version 1.56
Are you using Windows XP? Seems that it will no longer work with Discogs API. (Mentioned above.)

Nope, I'm using Windows 10. Curiously I could make requests successfully a few days ago (without changing any settings, at least that I can think of), and now it's failing to authorize again. I've just tried a fresh install of version 2.03 but I'm getting the same error.
Title: extra button, just to download album art.
Post by: fuffi on 2016-05-18 13:26:17
hello zoomorph,

sometimes I just see, on my already tagged with your fine component, that the album art is bad/small/ugly/bla on some of my files.

therefore, I'd like to offer a feature request, for which I can just press a button "load album art" to load/save the found album art as set up in the preferences. just the same as it would do when pressing "write tags", just only without the writing of the tags.

I can see, that the images are fetched before anything else:
(https://picload.org/image/rglliogp/screenclip2.png)
so this should be available without changing too much code (hopefully, forgive my rude and ignorant assumption!)

it could look like:
(https://picload.org/image/rglliogc/screenclip.png)
in the prefs, there could be an option to close the window after pressing the button, or just do nothing (user continues...)
Title: Re: foo_discogs
Post by: frogworth on 2016-05-18 13:28:07
Conversely to the above, I'd like a way to quickly toggle off saving album art when tagging particular releases. I often already have cover images which are better than Discogs and just want to re-tag the files.
Title: Re: foo_discogs
Post by: wurstsalat on 2016-05-19 14:41:26
Thank you for this wonderful component. I use it a lot.

I am running foobar on ArchLinux and I recently get an error within the component:

Code: [Select]
(FATAL) Error: Error loading release 8416612: Network exceptionSecurity error (url: http://api.discogs.com/releases/8416612)

[ESCAPE to close]

Adding
Code: [Select]
https://api.discogs.com/
to Suppress HTTPS certificate checks in the foobar preferences does not help.
Title: Re: foo_discogs
Post by: Sea Monkey on 2016-05-20 02:27:15
Yeah, I'm unable to tag right now as well.

Code: [Select]
(FATAL) Error: Network exceptionSecurity error (url: https://api.discogs.com/database/search)
Title: Re: foo_discogs
Post by: zoomorph on 2016-05-20 04:26:04
Several others have had similar problems in WINE, you might want to search this thread. I think it's all related to Discogs forcing HTTPS and using TLS 1.2. Unfortunately I can't help with any linux WINE problems.
Title: Re: foo_discogs
Post by: Soncrimson on 2016-05-20 07:22:44
First of all, thanks for this great component.
I run Foobar on Windows and I've just installed the latest version of foo_discogs, but I cannot tag, as I'm getting the same message as the guys - (FATAL) Error: Network exceptionSecurity error (url: https://api.discogs.com/database/search) - so it seems it's not the problem with Linux.
Title: Re: foo_discogs
Post by: The Link on 2016-05-20 07:43:22
First of all, thanks for this great component.
I run Foobar on Windows and I've just installed the latest version of foo_discogs, but I cannot tag, as I'm getting the same message as the guys - (FATAL) Error: Network exceptionSecurity error (url: https://api.discogs.com/database/search) - so it seems it's not the problem with Linux.
Are you on Windows XP?
Title: Re: foo_discogs
Post by: Soncrimson on 2016-05-20 08:25:18
Are you on Windows XP?
No, Windows 7.
Title: Re: foo_discogs
Post by: Fletchesus on 2016-05-20 12:14:43
Same issue at my end. The PIN is unable to be re authorized.

Message: (FATAL) Error: Network exceptionSecurity error (url: https://api.discogs.com/oauth/request_token)

[ESCAPE to close]
Title: Re: foo_discogs
Post by: roscar on 2016-05-20 13:59:33
I'm getting this:

Code: [Select]
(FATAL) Error: Error loading release 980209: Network exceptionSecurity error (url: http://api.discogs.com/releases/980209)

[ESCAPE to close]

I'm guessing that it's Discogs having some server issues.
Title: Re: foo_discogs
Post by: roscar on 2016-05-21 00:28:47
And so it was. Everything is working again.
Title: Re: foo_discogs
Post by: Fletchesus on 2016-05-21 00:53:28
Correct you are. Thanks.
Title: Re: foo_discogs
Post by: wurstsalat on 2016-05-21 09:28:32
And so it was. Everything is working again.

I still get the errors
Title: Re: foo_discogs
Post by: fuffi on 2016-05-21 11:07:09
yesterday there was a problem with the discoGS api, today it works again.
Title: Re: foo_discogs
Post by: fuffi on 2016-05-21 11:17:11
Hi zoomorph,
I just tested the Update feature with about 10 Albums at once.

It is possible to walk through the albums with the "next" button, but there is no "prev" button, so if the user presses "skip" or "next", he cannot go back, to the last album to adjust/check something.

Can you please add such a button, so that "browsing" through the albums will be possible?

Also, It would be helpful to name the album anywhere, so users can read what album currently is selected.

Title: Re: foo_discogs
Post by: fuffi on 2016-05-21 11:23:32
Hi zoomorph,
the "Abort" Button does not respond, while generating tags.
It only aborts *after* the generating is done, but that could take some minutes.

I presset the button about 50 times, but it did not abort, nor respond. It just generated the tags...
(https://picload.org/image/rglwiirl/screenclip.png)
(https://picload.org/image/rglwiicc/screenclip.png)

this happens when generating tags for a single album, as well when updating tags for multiple albums.

can you please make the abort button work in some kind of real-time? :-)
Title: Re: foo_discogs
Post by: fuffi on 2016-05-21 11:33:28
Hi zoomorph,

we had discussed a bug which would "deactivate" the option to write/update tags, after some time of using the component.

I now maybe figured out, that these greyed-out options could come from pressing the abort-button or the X-button while a generating-/updating-/writting-task is ongoing.
the component maybe cannot close the task it is working correctly and therefore the user cannot open a new task like write-/update-tags again, because the zombie-task is somewhere in the background.

(https://picload.org/image/rglwipoc/screenclip.png)

maybe it helps to reproduce, when creating some update-/write-tasks, which take longer (i.e. big compilations, or updating 10 albums at once) to generate and pressing the abort- or X-buttons impatiently, like I did :-)

I can reproduce it this way.
Title: Re: foo_discogs
Post by: fuffi on 2016-05-21 13:22:21
Hi zoomorph,

this are my mappings:
(https://picload.org/image/rglwwrgo/screenclip.png)
when updating tags,
(https://picload.org/image/rglwwrrp/screenclip.png)
none of them are updated, the tags stay empty (I removed them for testing)
When writing tags normally, those tags are updated/written.

Quote
Author:  zoomorph
Version: 2.03
Compiled: May  8 2016
Title: Re: foo_discogs
Post by: zoomorph on 2016-05-21 18:57:49
Hi zoomorph,
the "Abort" Button does not respond, while generating tags.
Fixed in next release.

we had discussed a bug which would "deactivate" the option to write/update tags, after some time of using the component.

I now maybe figured out, that these greyed-out options could come from pressing the abort-button or the X-button while a generating-/updating-/writting-task is ongoing.
Great catch! Also should be fixed in next release.

none of them are updated, the tags stay empty (I removed them for testing)
When writing tags normally, those tags are updated/written.
Note: if track matching fails and the "prompt if..." option is disabled, those releases are currently silently ignored/skipped. Is that what's happening in this case?
Title: Re: foo_discogs
Post by: alec.tron on 2016-05-22 04:54:54
Re Album Art download & preference settings when tagging via foo_discogs:
a button "load album art" to load/save the found album art as set up in the preferences.
+1


Conversely to the above, I'd like a way to quickly toggle off saving album art when tagging particular releases.
Paradoxically, also +1! :D

I'd vote for having the preference (to download album art (and a preview / optional chooser [eg double click on album art image preview] if multiple are found, and in case one doesn't want the "first" ) right on the "Match Tracks" AND the "Preview Tags" windows as a little tick box to easily toggle between on/off (and a user pref setting if it should remember the last used, or if on or off should be the default).
Just a suggestion/opinion of course...
Cheerio.
c.

ps. nevermind the 'where's the preferences' question, found it [so I removed on edit from above...]. But, I get"(FATAL) Error: Image URLs unavailable - Is OAuth working?" constantly when Fetch/Display image is on.
But, Discogs is known to ban users/services if they are deemed to download/query too much image data regularly...  can anyone confirm it's still working ? I recently did a fresh fooobar & foo_discogs install, and there & then it worked last week. But now at home, w foobar 1.3.9 & foo_discogs 2.0.3 it does not and I only get the error above...
Title: Re: foo_discogs
Post by: 2tec on 2016-05-22 19:22:57
Sorry if this has been asked before, but would it be better / possible to add a, or move the configuration subpage to File>Preferences>Tools>?
Title: Re: foo_discogs
Post by: r3v0 on 2016-05-24 07:36:21
Hi,

I've been using discogs tagger in Debian under wine for quite a time without problems.
But now I get a error message (can't reproduce it now as I'm at my work).
Also when I try to authorize it again, same problem.
Even when I do it in a VM with windows 10.

cheers r3v0
Title: Re: foo_discogs
Post by: r3v0 on 2016-05-26 09:34:54
Hi,

I've been using discogs tagger in Debian under wine for quite a time without problems.
But now I get a error message (can't reproduce it now as I'm at my work).
Also when I try to authorize it again, same problem.
Even when I do it in a VM with windows 10.

cheers r3v0

I don't know what happened, but it all works again.

cheers r3v0
Title: Re: foo_discogs
Post by: fuffi on 2016-05-27 18:58:04
none of them are updated, the tags stay empty (I removed them for testing)
When writing tags normally, those tags are updated/written.
Note: if track matching fails and the "prompt if..." option is disabled, those releases are currently silently ignored/skipped. Is that what's happening in this case?
good question, how would I see that?

Now, what happens, is that nothing noteable is happening, when I try to update almost any albums or single files (from an album).
So I guess, its silently skipped.

I show you, what I'm doing:

I have an already (with you component) tagged file:

104. Moby - Alice (https://www.discogs.com/de/x/release/3061417) (General Midi Remix).mp3

where I delete the tags: Artist, Track Title, Album Title and Date for testing.
(https://picload.org/image/rgcilpdo/7.png)
(In the mappings configuration, I have those tags configures as write+update)

Now I start "Update tags"
Quote
[ ] prompt if track matching fails.
Write tags enabled for (o) Update
Result: nothing happens. tags are still empty.


Now I start "Update tags"
Quote
  • prompt if track matching fails.
Write tags enabled for (o) Update
Result:
A Match Tracks (1/1) window pops up, showing me 5 tracks on the DiscoGS side and the single file on the Files side.
(https://picload.org/image/rgciliia/4.png)
I delete the first 3 tracks and track 5 to match track 4 with my file.
(https://picload.org/image/rgcilipg/6.png)
I press Next
Nothing happens
(I expect, that the tags are written, but the tags are still empty)


Note: the Match Tracks (1/1) Window shows "Failed to match track order"
but the tracks are matching:
(https://picload.org/image/rgcililo/3.png)
what about a button, which allows the user to start the track-matching process again? to renew the actual situation on the left/right side?

also it would be useful to activate the track matching not only in the configuration, but also in the match tracks window.

a back button would be useful too (which here goes to the initial "update tags" window)





Title: Re: foo_discogs
Post by: fuffi on 2016-05-27 19:06:51
Hi zoomorph,
I'm getting this error:
(https://picload.org/image/rgcilpcr/2.png)
while getting infos for Johann Sebastian Bach (https://www.discogs.com/de/artist/95537-Johann-Sebastian-Bach):
(https://picload.org/image/rgcilpca/1.png)

FireFox shows that, when entering the URL: https://api.discogs.com/artists/95537/releases (https://api.discogs.com/artists/95537/releases)
Code: [Select]
{"pagination": {"per_page": 50, "items": 15347, "page": 1, "urls": {"last": "https://api.discogs.com/artists/95537/releases?per_page=50&page=307", "next": "https://api.discogs.com/artists/95537/releases?per_page=50&page=2"}, "pages": 307}, "releases": [{"status": "Accepted", "thumb": "", "title": "The Brandenburg Concertos (Complete)", "format": "14xShellac, 12\", Album, Ltd, Boo", "label": "Columbia Masterworks, Columbia Masterworks", "role": "Main", "year": 1937, "resource_url": "https://api.discogs.com/releases/5860274", "artist": "Adolf Busch, Busch Chamber Players, Bach*", "type": "release", "id": 5860274}, {"status": "Accepted", "thumb": "", "title": "Brandenburg Concertos Nos. 2 And 3", "format": "3xShellac, 12\", Album, Mono", "label": "World's Greatest Music (2)", "role": "Main", "year": 1938, "resource_url": "https://api.discogs.com/releases/7355769", "artist": "Bach*", "type": "release", "id": 7355769}, {"status": "Accepted", "thumb": "", "title": "Sonata In E Minor For Violin And Figured Bass", "format": "Shellac, 12\"", "label": "Columbia Masterworks", "role": "Main", "year": 1942, "resource_url": "https://api.discogs.com/releases/3712055", "artist": "Adolf Busch, Artur Balsam* / J. S. Bach*", "type": "release", "id": 3712055}, {"status": "Accepted", "thumb": "", "title": "Matth\u00e4us-Passion", "format": "Shellac, 12\"", "label": "Polydor", "role": "Main", "year": 1945, "resource_url": "https://api.discogs.com/releases/1828838", "artist": "Joh. Seb. Bach*, Bruno Kittelscher Chor, Berliner Philharmoniker", "type": "release", "id": 1828838}, {"status": "Accepted", "thumb": "", "title": "Brandenburg Concertos No. 3 And No. 4", "format": "4xShellac, 12\", Album", "label": "RCA Victor Red Seal", "role": "Main", "year": 1945, "resource_url": "https://api.discogs.com/releases/5124908", "artist": "Bach*, Boston Symphony Orchestra Conducted By Serge Koussevitzky", "type": "release", "id": 5124908}, {"thumb": "", "artist": "J.S. Bach* - Wanda Landowska", "main_release": 3424978, "title": "Goldberg Variations", "role": "Main", "year": 1945, "resource_url": "https://api.discogs.com/masters/552590", "type": "master", "id": 552590}, {"status": "Accepted", "thumb": "", "title": "Suite No. 2 In B Minor For Flute And Strings", "format": "3x12\"", "label": "Columbia Masterworks", "role": "Main", "year": 1947, "resource_url": "https://api.discogs.com/releases/7787771", "artist": "Johann Sebastian Bach, The Pittsburgh Symphony Orchestra, Sebastian Caratelli", "type": "release", "id": 7787771}, {"status": "Accepted", "thumb": "", "title": "Concerto In D Minor For Two Violins And Orchestra \u2027 Concerto No. 2 In E Major For Violin And Orchestra", "format": "LP, Mono", "label": "Columbia Masterworks", "role": "Main", "year": 1948, "resource_url": "https://api.discogs.com/releases/5726486", "artist": "Bach* / Adolf Busch And Frances Magnes And The Busch Chamber Players", "type": "release", "id": 5726486}, {"thumb": "", "artist": "Bach* - Dietrich Fischer-Dieskau, Elfriede Troetschel*, Diana Eutrati*, Friedrich Haertel, Helmut Krebs, Boys Choir Of St. Hedwig's Cathedral*, Orchestra Of The Berlin Radio*, Chorus Of The Berlin Radio*, Fritz Lehmann", "main_release": 3111146, "title": "St. Matthew Passion", "role": "Main", "year": 1949, "resource_url": "https://api.discogs.com/masters/627336", "type": "master", "id": 627336}, {"thumb": "", "artist": "Gustav Mahler \u2027 Johann Sebastian Bach - Carol Brice Contraalto, With Fritz Reiner Conducting The The Pittsburgh Symphony Orchestra", "main_release": 7456522, "title": "Songs Of A Wayfarer \u2027 Sacred Arias", "role": "Main", "year": 1949, "resource_url": "https://api.discogs.com/masters/883343", "type": "master", "id": 883343}, {"thumb": "", "artist": "Johann Sebastian Bach / Karl M\u00fcnchinger, The Stuttgart Chamber Orchestra*", "main_release": 2367926, "title": "Suite No. 3 In D Major", "role": "Main", "year": 1949, "resource_url": "https://api.discogs.com/masters/269210", "type": "master", "id": 269210}, {"status": "Accepted", "thumb": "", "title": "Air / 4. Brandenburgisches Konzert In G-dur", "format": "Shellac, 12\"", "label": "ETERNA", "role": "Main", "year": 1950, "resource_url": "https://api.discogs.com/releases/1650960", "artist": "Johann Sebastian Bach", "type": "release", "id": 1650960}, {"status": "Accepted", "thumb": "", "title": "4. Brandenburgisches Konzert In G-dur", "format": "Shellac, 12\"", "label": "ETERNA", "role": "Main", "year": 1950, "resource_url": "https://api.discogs.com/releases/1650965", "artist": "Johann Sebastian Bach", "type": "release", "id": 1650965}, {"status": "Accepted", "thumb": "", "title": "4. Brandenburgisches Konzert In G-dur", "format": "Shellac, 12\"", "label": "ETERNA", "role": "Main", "year": 1950, "resource_url": "https://api.discogs.com/releases/1650977", "artist": "Johann Sebastian Bach", "type": "release", "id": 1650977}, {"status": "Accepted", "thumb": "", "title": "Konzert Fur Cembalo Und Streichorchester D-dur", "format": "7\"", "label": "Philips", "role": "Main", "year": 1950, "resource_url": "https://api.discogs.com/releases/4227911", "artist": "J.S. Bach*", "type": "release", "id": 4227911}, {"status": "Accepted", "thumb": "", "title": "Prades Festival - Vol. 10", "format": "LP, Album, Mono", "label": "Columbia Masterworks", "role": "Main", "year": 1950, "resource_url": "https://api.discogs.com/releases/4610126", "artist": "Bach* / Pablo Casals, Mieczyslaw Horszowski, John Wummer, Leopold Mannes, Yvonne Lefebure*", "type": "release", "id": 4610126}, {"status": "Accepted", "thumb": "", "title": "Prades Festival - Vol. 3", "format": "LP, Album, Mono", "label": "Columbia Masterworks", "role": "Main", "year": 1950, "resource_url": "https://api.discogs.com/releases/4655824", "artist": "Bach* / Pablo Casals", "type": "release", "id": 4655824}, {"status": "Accepted", "thumb": "", "title": "Prades Festival - Vol. 4", "format": "LP, Album, Mono", "label": "Columbia Masterworks", "role": "Main", "year": 1950, "resource_url": "https://api.discogs.com/releases/4655896", "artist": "Bach* / Pablo Casals", "type": "release", "id": 4655896}, {"status": "Accepted", "thumb": "", "title": "Prades Festival - Vol. 7", "format": "LP, Album, Mono", "label": "Columbia Masterworks", "role": "Main", "year": 1950, "resource_url": "https://api.discogs.com/releases/4655940", "artist": "Bach* / Pablo Casals", "type": "release", "id": 4655940}, {"status": "Accepted", "thumb": "", "title": "Prades Festival - Vol. 9", "format": "LP, Album, Mono", "label": "Columbia Masterworks", "role": "Main", "year": 1950, "resource_url": "https://api.discogs.com/releases/4772072", "artist": "Bach* / Pablo Casals", "type": "release", "id": 4772072}, {"status": "Accepted", "thumb": "", "title": "Series G: Keyboard Works", "format": "10\"", "label": "Archive Production", "role": "Main", "year": 1950, "resource_url": "https://api.discogs.com/releases/4932286", "artist": "Johann Sebastian Bach", "type": "release", "id": 4932286}, {"status": "Accepted", "thumb": "", "title": "Stokowski Conducts Bach (Volume I)", "format": "LP", "label": "RCA Victor Red Seal", "role": "Main", "year": 1950, "resource_url": "https://api.discogs.com/releases/5660482", "artist": "Bach* - Leopold Stokowski", "type": "release", "id": 5660482}, {"status": "Accepted", "thumb": "", "title": "Pr\u00e4ludium Und Fuge G-Dur (BWV 541)", "format": "LP", "label": "Archiv Produktion", "role": "Main", "year": 1950, "resource_url": "https://api.discogs.com/releases/5991822", "artist": "Johann Sebastian Bach, Helmut Walcha", "type": "release", "id": 5991822}, {"status": "Accepted", "thumb": "", "title": "Suite No. 2 in B Minor for Flute Solo, Strings, and Continuo", "format": "10\", Album, Mono", "label": "London Records", "role": "Main", "year": 1950, "resource_url": "https://api.discogs.com/releases/7308298", "artist": "Bach* - Andr\u00e9 P\u00e9pin, Doris Rossiaud, Stuttgart Chamber Orchestra*, Karl M\u00fcnchinger", "type": "release", "id": 7308298}, {"status": "Accepted", "thumb": "", "title": "Six Brandenburg Concerti Volume II", "format": "LP", "label": "Columbia", "role": "Main", "year": 1950, "resource_url": "https://api.discogs.com/releases/7809123", "artist": "J.S. Bach*, Fritz Reiner", "type": "release", "id": 7809123}, {"status": "Accepted", "thumb": "", "title": "Six Brandenburg Concerto Volume I", "format": "LP", "label": "Columbia", "role": "Main", "year": 1950, "resource_url": "https://api.discogs.com/releases/7809135", "artist": "J.S. Bach*, Fritz Reiner", "type": "release", "id": 7809135}, {"status": "Accepted", "thumb": "", "title": "Organ Music Volume III", "format": "LP, Album, Mono", "label": "Columbia Masterworks", "role": "Main", "year": 1950, "resource_url": "https://api.discogs.com/releases/8286280", "artist": "Albert Schweitzer, Mendelssohn*, Bach*", "type": "release", "id": 8286280}, {"status": "Accepted", "thumb": "", "title": "IX. Forschungbereich Serie A: Wie schon leuchtet der Morgenstern BWV 1/Christ lag in Todesbanden BWV 4", "format": "LP, Album, Mono", "label": "Archiv Produktion", "role": "Main", "year": 1950, "resource_url": "https://api.discogs.com/releases/8366179", "artist": "Johann Sebastian Bach", "type": "release", "id": 8366179}, {"thumb": "", "artist": "Karl M\u00fcnchinger, Stuttgart Chamber Orchestra, The*, Bach*", "main_release": 4204175, "title": "Brandenburg Concertos No. 1 In F Major & No. 5 In D Major", "role": "Main", "year": 1950, "resource_url": "https://api.discogs.com/masters/541873", "type": "master", "id": 541873}, {"thumb": "", "artist": "Bach* / Pablo Casals, Prades Festival Orchestra", "main_release": 7251293, "title": "Prades Festival - Vol. 2", "role": "Main", "year": 1950, "resource_url": "https://api.discogs.com/masters/861581", "type": "master", "id": 861581}, {"thumb": "", "artist": "Bach* / Pablo Casals, Prades Festival Orchestra", "main_release": 4411180, "title": "Prades Festival - Vol. 1", "role": "Main", "year": 1950, "resource_url": "https://api.discogs.com/masters/683280", "type": "master", "id": 683280}, {"thumb": "", "artist": "Bach* - Pablo Casals, Paul Baumgartner / Rudolf Serkin", "main_release": 1212759, "title": "Sonata No. 3 In G Minor For 'Cello And Piano / Chromatic Fantasy And Fugue In D Minor; Italian Concerto In F Major", "role": "Main", "year": 1950, "resource_url": "https://api.discogs.com/masters/659733", "type": "master", "id": 659733}, {"thumb": "", "artist": "Bach*, Ena Mitchell, Kathleen Ferrier, William Herbert, William Parsons (2) With The Cantata Singers* And The Jacques Orchestra* Conducted By Dr. Reginald Jacques*", "main_release": 5726362, "title": "Cantata No. 11 \"Praise Our God\", No. 67 \"Hold In Affection Jesus Christ\" And \"Jesus, Joy Of Man's Desiring\" From Cantata No. 147", "role": "Main", "year": 1950, "resource_url": "https://api.discogs.com/masters/848267", "type": "master", "id": 848267}, {"thumb": "", "artist": "Bach* / Pablo Casals", "main_release": 7388208, "title": "Casals Festival At Prades 1950", "role": "Main", "year": 1950, "resource_url": "https://api.discogs.com/masters/875731", "type": "master", "id": 875731}, {"status": "Accepted", "thumb": "", "title": "Air / Dance Of The Sprits", "format": "7\"", "label": "RCA Victor Red Seal", "role": "Main", "year": 1951, "resource_url": "https://api.discogs.com/releases/2428871", "artist": "J. S. Bach* / Gluck*, Arturo Toscanini And The NBC Symphony Orchestra", "type": "release", "id": 2428871}, {"status": "Accepted", "thumb": "", "title": "Concerto For String Quartet And Orchestra / Adagios And Fugues", "format": "LP", "label": "Columbia Masterworks", "role": "Main", "year": 1951, "resource_url": "https://api.discogs.com/releases/4972717", "artist": "Handel* - Sch\u00f6nberg* / Bach* - Mozart* : Manuel Compinsky Quartet, Janssen Symphony Orchestra Of Los Angeles*, Werner Janssen", "type": "release", "id": 4972717}, {"status": "Accepted", "thumb": "", "title": "Bach: The English Suites ", "format": "LP, Mono", "label": "Mercury Classics", "role": "Main", "year": 1951, "resource_url": "https://api.discogs.com/releases/5353982", "artist": "Johann Sebastian Bach, Edith Picht-Axenfeld", "type": "release", "id": 5353982}, {"status": "Accepted", "thumb": "", "title": "Mass In B Minor", "format": "3xLP, Album, Mono", "label": "Westminster Recording Co., Inc., Westminster Recording Co., Inc.", "role": "Main", "year": 1951, "resource_url": "https://api.discogs.com/releases/6151192", "artist": "Johann Sebastian Bach, Hermann Scherchen, Vienna Symphony Orchestra*, Akademie Kammerchor*", "type": "release", "id": 6151192}, {"status": "Accepted", "thumb": "", "title": "Easter Oratorio", "format": "LP, Album", "label": "The Bach Guild", "role": "Main", "year": 1951, "resource_url": "https://api.discogs.com/releases/7469453", "artist": "Johann Sebastian Bach, Vienna Chamber Orchestra*, Akademie Choir And Soloists*", "type": "release", "id": 7469453}, {"thumb": "", "artist": "Bach*, E. Power Biggs", "main_release": 7947724, "title": "Music of Jubilee", "role": "Main", "year": 1951, "resource_url": "https://api.discogs.com/masters/983147", "type": "master", "id": 983147}, {"thumb": "", "artist": "Johann Sebastian Bach, Vienna State Opera Orchestra* And Vienna Chamber Choir* Conducted By Felix Prohaska", "main_release": 5240385, "title": "J.S. Bach: Cantatas No. 140 Wachet Auf/No. 4 Christ Lag In Todesbanden", "role": "Main", "year": 1951, "resource_url": "https://api.discogs.com/masters/639321", "type": "master", "id": 639321}, {"thumb": "", "artist": "J.S. Bach* - Dietrich Fischer-Dieskau, Ristenpart Chamber Orchestra*, The Berlin Motet Singers*, Karl Ristenpart", "main_release": 8211545, "title": "Cantata No. 56 Ich Will Den Kreutzstab Gerne Tragen / Cantata No. 82 Ich Habe Genug", "role": "Main", "year": 1951, "resource_url": "https://api.discogs.com/masters/290737", "type": "master", "id": 290737}, {"thumb": "", "artist": "Johann Sebastian Bach", "main_release": 3268670, "title": "IX. Forschungsbereich \"Das Schaffen Johann Sebastian Bachs\" \u00b7 Serie B : Motteten \u00b7 Jesu, Meine Freude / Der Geist Hilft Unsrer Schwachheit Auf", "role": "Main", "year": 1951, "resource_url": "https://api.discogs.com/masters/547190", "type": "master", "id": 547190}, {"thumb": "", "artist": "J.S. Bach*", "main_release": 4494900, "title": "Magnificat", "role": "Main", "year": 1951, "resource_url": "https://api.discogs.com/masters/547172", "type": "master", "id": 547172}, {"status": "Accepted", "thumb": "", "title": "IX. Forschungsbereich: \"Das Schaffen Johann Sebastian Bachs\", Serie A: \"Kantaten\" \u00b7 \"Wie Sch\u00f6n Leuchtet Der Morgenstern\"", "format": "10\", Album", "label": "Archiv Produktion", "role": "Main", "year": 1952, "resource_url": "https://api.discogs.com/releases/2129828", "artist": "Johann Sebastian Bach - Berliner Philharmoniker - Berliner Motettenchor", "type": "release", "id": 2129828}, {"status": "Accepted", "thumb": "", "title": "Stokowski Music Of Bach", "format": "7\", EP", "label": "RCA Victor Red Seal, RCA Victor Red Seal", "role": "Main", "year": 1952, "resource_url": "https://api.discogs.com/releases/2259228", "artist": "Stokowski*, Bach*", "type": "release", "id": 2259228}, {"status": "Accepted", "thumb": "", "title": "Christians, Engrave Ye This Day! Christmas Cantata (No. 63)", "format": "LP", "label": "Vanguard", "role": "Main", "year": 1952, "resource_url": "https://api.discogs.com/releases/3080117", "artist": "J. S. Bach*, Vienna State Opera Orchestra*, Vienna Chamber Choir*", "type": "release", "id": 3080117}, {"status": "Accepted", "thumb": "", "title": "Brandenburg Concertos: No. 1 In G Major \u2022 No. 6 In B Flat Major", "format": "LP", "label": "Westminster", "role": "Main", "year": 1952, "resource_url": "https://api.discogs.com/releases/4955730", "artist": "Bach*, London Baroque Ensemble Conducted By Karl Haas", "type": "release", "id": 4955730}, {"status": "Accepted", "thumb": "", "title": "Mozart: Concerto No. 25 In C, K. 503 - Bach: Concerto For Three Pianos In C ", "format": "LP, Album", "label": "His Master's Voice", "role": "Main", "year": 1952, "resource_url": "https://api.discogs.com/releases/5806203", "artist": "Mozart*, Bach* - Philharmonia Orchestra, The*", "type": "release", "id": 5806203}, {"status": "Accepted", "thumb": "", "title": "XV Three-Part Inventions", "format": "LP, Mono", "label": "Decca", "role": "Main", "year": 1952, "resource_url": "https://api.discogs.com/releases/6121909", "artist": "J. S. Bach* - Lukas Foss", "type": "release", "id": 6121909}]}
Because the error won't show up all the time or shows up at 3/154 or 50/154 its hard to know, if this is a problem with your component or with the api or both. (Internet connection is stable at this time)

Would it be possible to continue from 49/154 if the process are interrupted at 50/154 ?
Now, it starts over from 1/154, which is...quite time consuming :-)
Title: Re: foo_discogs
Post by: alec.tron on 2016-05-29 00:34:21
It's probably as much a foobar syntax $replace/IF question as it is a foo_discogs one...
I'd love to have a discogs tagging & additional file-rename syntax of these 2, i.e. IF:
DISCOGS_CREDIT_REMIXED_BY - append to %title%
as well as:
DISCOGS_TRACK_CREDITS - IF "Remix" append to %title% (-Remix)

To be able to have the remix info from discogs directly in %title% as well as the fileName... and I can probably get a working $replace syntax going for the rename part after poking it for a while (haven't found anything for the check IF-DISCOGS_CREDIT_REMIXED_BY-exists check... if anyone has any pointers ?  ), but I'm not so sure how to do this with foo_discogs mapping...?
Cheers.
c.
Title: Re: foo_discogs
Post by: fuffi on 2016-05-30 14:28:06
To be able to have the remix info from discogs directly in %title% as well as the fileName...
Hi,
I'm not quite sure, I understand what you want to achieve, so I try to repeat:

After tagging your tracks with the component, you want the DISCOGS_CREDIT_REMIXED_BY-info for each song in the Title-Tag to be able to write them to your disk, like i.e. "01. My Artists - SuperDuperTrack (Remixed by MixMasterMorris).mp3" ?


If your answer is no, ignore this:



It will not be always automaticly working, because, i.e. this release has the remix information in the Title already (and no further remix-infos for the tracks) (https://www.discogs.com/de/x/release/2809242) while this release has both of the infos (https://www.discogs.com/de/x/release/1503655) and this release has the info, but a different remix info (https://www.discogs.com/de/x/release/3017210) (too lazy for more examples...).

If this is no problem, you can try this code to add a tag called DISCOGS_CREDIT_REMIXED_BY to your files after taggin with the fine component:
Code: [Select]
[$puts(ROLE,Remix)$flatten($multi_if($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),$get(ROLE))),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$joinnames($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$get(aj)),$get(an)),))]
Later then, you can save it with this code for the File Name Pattern, from the File Operation Setup-Window:
Code: [Select]
$trim([%discnumber%][%tracknumber%. ][%artist% - ]%title%[' ('%DISCOGS_CREDIT_REMIXED_BY%')'])

Have a try...

The File Operation Setup-Window:
(https://picload.org/image/rgididdd/2.png)
The Edit tag mappings-Window:
(https://picload.org/image/rgididdo/1.png)
Title: Re: foo_discogs
Post by: Chris Norman on 2016-05-30 18:08:38
I am just updated to the newest version with the new tag mapping dialogue.

I was looking for support for my standard function for assigning album artists.

If album artist (%<RELEASE_ARTISTS_NAME>%) matches artist (%<ARTISTS_NAME>%) then leave album artist empty, but only if true for the entire release.

In other words:  I just want to have an empty album artist in case it matches the artist for the entire release.

Is this doable?

Thanks.
Title: Re: foo_discogs
Post by: zoomorph on 2016-05-30 20:13:08
I am just updated to the newest version with the new tag mapping dialogue.

I was looking for support for my standard function for assigning album artists.

If album artist (%<RELEASE_ARTISTS_NAME>%) matches artist (%<ARTISTS_NAME>%) then leave album artist empty, but only if true for the entire release.

In other words:  I just want to have an empty album artist in case it matches the artist for the entire release.

Is this doable?

Thanks.

It should be! But I'm not sure if there's a function that will do that directly. You might have to check if $join(%<RELEASE_ARTISTS_NAME>%) is equal to $join(%<ARTISTS_NAME%>).

I'm game for adding new functions if there's something that can't be done or could be done better. Maybe something like $multiequal() that compares 2 arrays for equality would be good in this case.
Title: Re: foo_discogs
Post by: fuffi on 2016-05-30 22:31:22
I just want to have an empty album artist in case it matches the artist for the entire release. Is this doable?
It should be! But I'm not sure if there's a function that will do that directly. You might have to check if $join(%<RELEASE_ARTISTS_NAME>%) is equal to $join(%<ARTISTS_NAME%>).
I'm game for adding new functions if there's something that can't be done or could be done better. Maybe something like $multiequal() that compares 2 arrays for equality would be good in this case.
+1
I would really love to see something like that! redundant information should be compressed into a single tag :-)

I also added a $unique to <RELEASE_LABELS_NAME> (DISCOGS_LABEL-tag) because via the default mapping, the same Labelname will occur more often in a single tag.
Title: Re: foo_discogs
Post by: laerm on 2016-06-01 03:16:03
I have been using this component for years now and I am in total gratitude. Thanks very much for all your work, all the developers throughout the years. This new version seems great, but I'm a simple user and can't wrap my head around the new tag mapping at all. Can somebody help me with my first issue: I set up the old one to put the remixer track credit into a tag caller REMIXER. I tried doing that with the new one. I can't figure it out. I tried mapping DISCOGS_CREDIT_REMIXED_BY to %REMIXER%, %<REMIXER>%, and %<<REMIXER>>% but all of them leave a question mark in the tag preview section.

Any suggestions how to accomplish what I want? Thanks.

Micah
Title: Re: foo_discogs
Post by: alec.tron on 2016-06-01 22:56:58
I tried doing that with the new one. I can't figure it out. I tried mapping DISCOGS_CREDIT_REMIXED_BY to %REMIXER%, %<REMIXER>%, and %<<REMIXER>>% but all of them leave a question mark in the tag preview section.
Hi,
I'm not syntax/formatting genius either, but have a look at the 'Edit Tag Mappings' window, that states the syntax for fields coming from discogs API. There's one obvious:
DISCOGS_CREDIT_REMIXED_BY (so make/change a Tag Name to your preferred 'REMIXER' name, and retrieve this database field from discogs:
%DISCOGS_CREDIT_REMIXED_BY%
if it is filled out on discogs, that will give you the remixer name and push it to a field/tag-name of your choosing...).
But, there's the added difficulty that (due to the ever changing nature of discogs conventions, and 1000s of people submitting stuff differently) that you get very different representations of Credits/Remixer name integrations on a per release basis...
fuffi explains the issue very well on the previous page -> https://hydrogenaud.io/index.php/topic,50523.msg923125.html#msg923125

Thanks @ fuffi again for the detailed explanation & help!!!
c.

Title: Re: foo_discogs
Post by: zoomorph on 2016-06-02 19:45:46
I also added a $unique to <RELEASE_LABELS_NAME> (DISCOGS_LABEL-tag) because via the default mapping, the same Labelname will occur more often in a single tag.
I will add that to the default.

I have been using this component for years now and I am in total gratitude. Thanks very much for all your work, all the developers throughout the years. This new version seems great, but I'm a simple user and can't wrap my head around the new tag mapping at all. Can somebody help me with my first issue: I set up the old one to put the remixer track credit into a tag caller REMIXER. I tried doing that with the new one. I can't figure it out. I tried mapping DISCOGS_CREDIT_REMIXED_BY to %REMIXER%, %<REMIXER>%, and %<<REMIXER>>% but all of them leave a question mark in the tag preview section.

Any suggestions how to accomplish what I want? Thanks.

Micah
There is a default tag name "REMIXED_BY". If you simply change the name of the tag to "REMIXER" (and make sure it's enabled for writing), does that accomplish what you want?
Title: Re: foo_discogs
Post by: laerm on 2016-06-03 00:02:59
There is a default tag name "REMIXED_BY". If you simply change the name of the tag to "REMIXER" (and make sure it's enabled for writing), does that accomplish what you want?

That works! I didn't know I could edit the first field in the tag mapping window: I thought it was only the complex string part. Thank you.

Micah
Title: Re: foo_discogs
Post by: Dfaure on 2016-06-03 14:01:03
Hi,

Two issues here for the foo_discogs v2.03 plugin:

First, as my network access mode changed, I just found that foo_discogs v2.03 didn't take account of foobar's network configuration, ignoring my proxy server specification.

The second one is more a feature request: On the "Find Release" Window, the "Release Id /Url" field isn't able to handle Discogs own link markup "[rXXXXXX]".

Thanks to take these in account for next release!
Title: DISCOGS_FORMAT with last comma and space problem
Post by: fuffi on 2016-06-19 14:18:53
Hi,
on this (https://www.discogs.com/de/x/release/1154854) release, I see the DISCOGS_FORMAT Tag like this:
Quote
4 x CD, Compilation; 1 x Box Set,
(unnecessary comma *and* space at the end).

with the old component, the tag was (as expected)
Quote
4 x CD, Compilation; Box Set

IMHO, its ok to have the 1 x Box Set and not only Box Set,

but I'd think, the last comma and space need to be lost. but I did not manage to do this.

anyone can help?

I have this (default) formatting string in the tag-mappings:
Code: [Select]
$zip(%<RELEASE_FORMATS_QUANTITY>%,' x ',%<RELEASE_FORMATS_NAME>%,', ',$join(%<<RELEASE_FORMATS_DESCRIPTIONS>>%))
Title: [] parse hidden tracks: indicator missing
Post by: fuffi on 2016-06-19 16:39:40
Hi zoomorph,
release (https://www.discogs.com/de/de/release/7199846)

can you add an indicator (ie. a star * or an other visual flag/mark,  or maybe just show the tracknames italic?) so users can see if a track is normally hidden?

and while parse hidden tracks as regular tracks is deactivated, the tracklisting looks this way:
(https://picload.org/image/rgwprlwr/3.png)

while parse hidden tracks as regular tracks is activated, the tracklisting looks this way:
(https://picload.org/image/rgwprlwl/1.png)

for me, I cannot always guess or easily see, which tracks I manually need to remove for a matching and so it would be a great visual improvement, when I could have a flag like in this screenshot:
(https://picload.org/image/rgwprili/4.png)
just to have a simple focus for the hidden tracks.

is this possible in any way?


(Of course, a button to combine the hidden tracks to a single one would be the greatest thing, but I don't dare to ask for such thing, because I think, this would be very complicated to realise.)
Title: Re: foo_discogs
Post by: imidway on 2016-06-21 23:45:27
(FATAL) Error: JSON Parser Exception'[' or '{' expected near ''
╥﹏╥...
Title: Re: foo_discogs
Post by: frogworth on 2016-06-21 23:54:50
(FATAL) Error: JSON Parser Exception'[' or '{' expected near ''
Unhelpful though this post is, @zoomorph this is what the component is currently responding with for all artist searches.
Title: Re: foo_discogs
Post by: atagal on 2016-06-22 03:21:23
Permanent error on any parsing.

Code: [Select]
(FATAL) Error: Error loading release 383671: JSON Parser Exception'[' or '{' expected near ''
Title: Re: foo_discogs
Post by: marc2003 on 2016-06-22 03:49:01
Given it's happening to multiple people, it must be a server glitch at discogs' end. Check their status/forums/support for details and I'm sure it will come back soon without the need for zoomorph to do anything.
Title: Re: foo_discogs
Post by: frogworth on 2016-06-22 04:23:35
Given it's happening to multiple people, it must be a server glitch at discogs' end. Check their status/forums/support for details and I'm sure it will come back soon without the need for zoomorph to do anything.

Don't think so. Mobile apps still work, and the curl example on the Discogs site works.
I'm not sure what's going on exactly, but I don't think it's just Discogs.
Title: Re: foo_discogs
Post by: zoomorph on 2016-06-22 05:32:35
Fixed in 2.04. Discogs started gzipping that response and I had disabled gzip support.

I added a header to explicitly reject gzip and it appears to honor that. Although perhaps gzip should be enabled to save space....
Title: Re: foo_discogs
Post by: frogworth on 2016-06-22 05:46:31
Legendary support as ever, thanks @zoomorph!
Title: Re: foo_discogs
Post by: kode54 on 2016-06-22 06:12:29
Fixed in 2.04. Discogs started gzipping that response and I had disabled gzip support.

I added a header to explicitly reject gzip and it appears to honor that. Although perhaps gzip should be enabled to save space....

You could link the standard zlib1.dll, which is included with foobar2000 for many versions now.
Title: Re: foo_discogs
Post by: alec.tron on 2016-06-23 10:04:06
Legendary support as ever, thanks @zoomorph!
A big thanks from me as well - muchly appreciated!
c.
Title: Re: foo_discogs
Post by: spleenandcigars on 2016-06-23 13:06:04
I'm getting this error for the past two days. Already tried to reinstall and clear preferences, but no avail:

(FATAL) Error: JSON Parser Exception'[' or '{' expected near ''

[ESCAPE to close]


What could be?
Title: Re: foo_discogs
Post by: frogworth on 2016-06-23 13:09:26
@spleenandcigars It's only four posts above you in this thread...
Title: Re: foo_discogs
Post by: Strannik on 2016-07-01 11:31:48
@zoomorph,
Just updated to 2.0.4 and my Tag Mappings zeroed. I change back settings and want to save as preset (via Export→ Save to file), but get an error:
Code: [Select]
(skipped) Error: Error exporting tags: Object not found
[ESCAPE to close]
What file should I choose and what's its extension? Cause in exporting window there is no file extension.
Thanks in advance!  :) 
Title: Re: foo_discogs
Post by: RoGeR! on 2016-07-05 17:47:03
The funny thing. Since the last update, when I click on Authorize button at OAuth Identity tab, I'm not redirected to the page with the token anymore. For some reason local IE cache is opened AppData/Local/Microsoft/Windows/INetCache/IE/78Z8FDLZ/authorize[1] in the browser (FF in my case).

it looks like I'm the only one who running into this issue. which is strange, since I can reproduce it on the other machine as well...

same problem. can anybody provide a solution?
Title: Re: foo_discogs
Post by: zoomorph on 2016-07-05 23:06:46
Fixed in 2.04. Discogs started gzipping that response and I had disabled gzip support.

I added a header to explicitly reject gzip and it appears to honor that. Although perhaps gzip should be enabled to save space....

You could link the standard zlib1.dll, which is included with foobar2000 for many versions now.
Ah, thanks for the suggestion. Next version will dynamically link this.
Title: Re: foo_discogs
Post by: zoomorph on 2016-07-05 23:12:10
@zoomorph,
Just updated to 2.0.4 and my Tag Mappings zeroed. I change back settings and want to save as preset (via Export→ Save to file), but get an error:
Code: [Select]
(skipped) Error: Error exporting tags: Object not found
[ESCAPE to close]
What file should I choose and what's its extension? Cause in exporting window there is no file extension.
Thanks in advance!  :) 
Unless you're updating from a really old version (1.x), tag mappings should not be zeroed.

The extension you name your file is up to you.
Title: Re: foo_discogs
Post by: techsoul on 2016-07-05 23:37:17

More question: How do I set

tag mappings to set DISCNUMBER, TOTALDISCS to %TRACK_DISC_NUMBER%, %RELEASE_TOTAL_DISCS% only if RELEASE_TOTAL_DISCS >= 2, otherwise delete DISCNUMBER, TOTALDISCS

Both are possible by editing the formatting strings. Check the syntax help file, and the regular foobar2000 titleformatting help file.
[/quote]

Could someone give me a hint for the string for the above?
Can't figure it out I'm afraid ... would be very grateful! =)
Title: Re: foo_discogs
Post by: frogworth on 2016-07-05 23:57:11
Could someone give me a hint for the string for the above?
Can't figure it out I'm afraid ... would be very grateful! =)

You're looking at something like
Code: [Select]
$ifgreater(%RELEASE_TOTALDISCS%,1,"%TRACK_DISC_NUMBER%, %RELEASE_TOTAL_DISCS%",)
for DISCNUMBER
If you want to also delete TOTALDISCS, put in a similar formula for TOTALDISCS but the third parameter would be the desired value *if* there are enough discs.
I haven't actually checked the formula.
Title: Re: foo_discogs
Post by: techsoul on 2016-07-06 00:14:22

You're looking at something like
Code: [Select]
$ifgreater(%RELEASE_TOTALDISCS%,1,"%TRACK_DISC_NUMBER%, %RELEASE_TOTAL_DISCS%",)
for DISCNUMBER
If you want to also delete TOTALDISCS, put in a similar formula for TOTALDISCS but the third parameter would be the desired value *if* there are enough discs.
I haven't actually checked the formula.

Hey Frogworth - thanks for the quick reply!
This leads to [INVALID $IFGREATER SYNTAX] .01] ... any idea why?
Title: Re: foo_discogs
Post by: kode54 on 2016-07-06 00:35:48
Those double quotes should be single quotes / apostrophes.
Title: Re: foo_discogs
Post by: frogworth on 2016-07-06 00:44:50
Those double quotes should be single quotes / apostrophes.

Thanks @kode54 - couldn't remember on the fly.
Title: Re: foo_discogs
Post by: techsoul on 2016-07-06 01:15:47
Those double quotes should be single quotes / apostrophes.

Still gives an error with apostrophes. Without, them, it runs, but still includes the discnumber in the tracknumber, even if there is only 1 disc ...
Title: Re: foo_discogs
Post by: kode54 on 2016-07-06 01:18:50
Because the correct syntax is:

Code: [Select]
$ifgreater(%RELEASE_TOTALDISCS%,1,'%TRACK_DISC_NUMBER%, %RELEASE_TOTAL_DISCS%',)

Pasted in case your keyboard, code page, or entry system turns apostrophes into "smart quotes".
Title: Re: foo_discogs
Post by: techsoul on 2016-07-06 01:55:22
Because the correct syntax is:

Code: [Select]
$ifgreater(%RELEASE_TOTAL_DISCS%,1,'%TRACK_DISC_NUMBER%, %RELEASE_TOTAL_DISCS%',)

Pasted in case your keyboard, code page, or entry system turns apostrophes into "smart quotes".

Thanks a lot kode54!

Now it works great for single disc releases, it's not mentioning the disc number!

However, for example for track 9 on disc 1 of a 2-disc-release, I get this as track number:
%TRACK_DISC_NUMBER%, %RELEASE_TOTAL_DISCS%.09
As I understand it, the objects are now interpreted as text.
Could this be because of the apostrophes?
Title: Re: foo_discogs
Post by: kode54 on 2016-07-06 02:07:31
Oh. My bad. I wasn't thinking. What you *really* want is:

Code: [Select]
$ifgreater(%RELEASE_TOTAL_DISCS%,1,%TRACK_DISC_NUMBER%',' %RELEASE_TOTAL_DISCS%,)

Sorry about that. Didn't think about the consequences of using quotes causing tags to not be processed.
Title: Re: foo_discogs
Post by: frogworth on 2016-07-06 02:09:05
Thanks @kode54 - it was my original mistake and I've been busily searching for the Unicode for commas, not realising you could just stick a quote comma space in there. Nice one :)
Title: Re: foo_discogs
Post by: PeteG on 2016-07-06 03:43:18
Re:
Code: [Select]
$ifgreater(%RELEASE_TOTAL_DISCS%,1,%TRACK_DISC_NUMBER%',' %RELEASE_TOTAL_DISCS%,)
What is
Code: [Select]
%TRACK_DISC_NUMBER%
for a thing? I can't find it in the component help. What is it supposed to mean? As a singular tag it only returns a question mark. Am I missing something?

I would suggest for DISCNUMBER
Code: [Select]
$ifgreater(%RELEASE_TOTAL_DISCS%,1,%DISC_NUMBER%,)
and for TOTALDISCS
Code: [Select]
$ifgreater(%RELEASE_TOTAL_DISCS%,1,%RELEASE_TOTAL_DISCS%,)
and maybe for TRACKNUMBER
Code: [Select]
$num(%TRACK_DISC_TRACK_NUMBER%,1)
eliminating  the leading zero ... a matter of personal taste, of course.
Title: Re: foo_discogs
Post by: techsoul on 2016-07-06 08:19:40
What is
Code: [Select]
%TRACK_DISC_NUMBER%
for a thing? I can't find it in the component help. What is it supposed to mean? As a singular tag it only returns a question mark. Am I missing something?

Can confirm that - as a single tag, %TRACK_DISC_NUMBER% returns a question mark ...

I would suggest for DISCNUMBER
Code: [Select]
$ifgreater(%RELEASE_TOTAL_DISCS%,1,%DISC_NUMBER%,)
and for TOTALDISCS
Code: [Select]
$ifgreater(%RELEASE_TOTAL_DISCS%,1,%RELEASE_TOTAL_DISCS%,)
and maybe for TRACKNUMBER
Code: [Select]
$num(%TRACK_DISC_TRACK_NUMBER%,1)
eliminating  the leading zero ... a matter of personal taste, of course.

Hey PeteG - thanks a lot, this works like a charm! =)
I entered a 0 to get it exactly as it used to be (for example 02.07 for track seven of disc 2).
WOn't work for a ten disc box though ...
Code: [Select]
$ifgreater(%RELEASE_TOTAL_DISCS%,1,0%DISC_NUMBER%,)

Now I have one problem left to solve before I can start tagging as I used to:
I miss the compilation checkbox foo discogs used to have.

I would need foo discogs to do the following:
- Check if release has a format description saying "Compilation"
- If yes, add an ALBUM_ARTIST tag saying "Various Artists" (not just "Various") AND add an COMPILATION tag saying "1"
- If no, it should NOT add any tag for ALBUM_ARTIST and COMPILATION at all.

Any hints? =)

I found this solution (which is also described in the examples of the syntax help, but the code is missing there) by zoomorph, but it doesn't work ... this gives me very weird results, namely putting the different artists in the "album artist" position instead of using "Various" and replacing it with "VA" there.

For people who wanted to tag compilations with "Various" as the artist as Discogs always used to, there's no exact solution but here an Album Artist tag string to approximate it:
Code: [Select]
$multi_if($multi_and($any($contains($first(%<<RELEASE_FORMATS_DESCRIPTIONS>>%),$array(Compilation,Mixed))),$multi_greater($length($unique($flatten(%<<RELEASE_TRACKS_ARTISTS_NAME>>%))),$div(%RELEASE_TOTAL_TRACKS%,2)),$multi_greater($length($unique($flatten(%<<RELEASE_TRACKS_ARTISTS_REAL_NAME>>%))),$div(%RELEASE_TOTAL_TRACKS%,2))),VA,$joinnames($multi_replace(%<RELEASE_ARTISTS_NAME>%,'Various','VA'),%<RELEASE_ARTISTS_JOIN>%))
Title: Re: foo_discogs
Post by: PeteG on 2016-07-06 16:07:20
Hey @techsoul, I'm glad I could help.
I entered a 0 to get it exactly as it used to be (for example 02.07 for track seven of disc 2).
WOn't work for a ten disc box though ...
Code: [Select]
$ifgreater(%RELEASE_TOTAL_DISCS%,1,0%DISC_NUMBER%,)

First: Title Formatting wiki on formatting numbers (http://wiki.hydrogenaud.io/index.php?title=Foobar2000:Titleformat_Reference#.24num.28n.2Clen.29).
Then:
For single disc numbers from 1 to 9 in 1-digit format
$num(%DISC_NUMBER%,1) → 1 for the first disc in a set

For multiple disc numbers from 01 to 99 in 2-digit format
$num(%DISC_NUMBER%,2) → 01 for the first disc in a set

For multiple disc numbers from 001 to 999 in 3-digit format (I suppose there are a few classical monster boxes out there with > 100 discs)
$num(%DISC_NUMBER%,3) → 001 for the first disc in a set

Hence you would use something like this
Code: [Select]
$ifgreater(%RELEASE_TOTAL_DISCS%,1,$num(%DISC_NUMBER%,2),)
not tested, but give it a try.

Re: The compilation problem
The quoted string consists of 428 alphanumericals ... I understand your question, but right now I'm not in the mood to cut that string into little pieces, and I'm not sure I'd be able to put them nicely back together again. You'll have to wait for one of the true stars. Or maybe there's a different solution?
Title: Re: foo_discogs
Post by: zoomorph on 2016-07-06 16:19:12
I would need foo discogs to do the following:
- Check if release has a format description saying "Compilation"
- If yes, add an ALBUM_ARTIST tag saying "Various Artists" (not just "Various") AND add an COMPILATION tag saying "1"
- If no, it should NOT add any tag for ALBUM_ARTIST and COMPILATION at all.
Are you sure you want single-artist compilations to be tagged as "Various Artists"?

I found this solution (which is also described in the examples of the syntax help, but the code is missing there) by zoomorph, but it doesn't work ... this gives me very weird results, namely putting the different artists in the "album artist" position instead of using "Various" and replacing it with "VA" there.

For people who wanted to tag compilations with "Various" as the artist as Discogs always used to, there's no exact solution but here an Album Artist tag string to approximate it:
Code: [Select]
$multi_if($multi_and($any($contains($first(%<<RELEASE_FORMATS_DESCRIPTIONS>>%),$array(Compilation,Mixed))),$multi_greater($length($unique($flatten(%<<RELEASE_TRACKS_ARTISTS_NAME>>%))),$div(%RELEASE_TOTAL_TRACKS%,2)),$multi_greater($length($unique($flatten(%<<RELEASE_TRACKS_ARTISTS_REAL_NAME>>%))),$div(%RELEASE_TOTAL_TRACKS%,2))),VA,$joinnames($multi_replace(%<RELEASE_ARTISTS_NAME>%,'Various','VA'),%<RELEASE_ARTISTS_JOIN>%))
This string attempts a solution like "if there are more than a certain number of unique artists on a release AND it's tagged as a compilation, set 'VA' as the album artist." (You can replace "VA" with "Various" or "Various Artists" as you like.) It's arbitrary and inexact but it's better at not tagging single-artist compilations as 'VA'.
Title: Re: foo_discogs
Post by: techsoul on 2016-07-06 18:35:30

First: Title Formatting wiki on formatting numbers (http://wiki.hydrogenaud.io/index.php?title=Foobar2000:Titleformat_Reference#.24num.28n.2Clen.29).
Then:
For single disc numbers from 1 to 9 in 1-digit format
$num(%DISC_NUMBER%,1) → 1 for the first disc in a set

For multiple disc numbers from 01 to 99 in 2-digit format
$num(%DISC_NUMBER%,2) → 01 for the first disc in a set

For multiple disc numbers from 001 to 999 in 3-digit format (I suppose there are a few classical monster boxes out there with > 100 discs)
$num(%DISC_NUMBER%,3) → 001 for the first disc in a set

Hence you would use something like this
Code: [Select]
$ifgreater(%RELEASE_TOTAL_DISCS%,1,$num(%DISC_NUMBER%,2),)
not tested, but give it a try.

Well explained and works perfectly - thanks a lot! I'm starting to see through and learn some stuff at last ... =)


Re: The compilation problem
The quoted string consists of 428 alphanumericals ... I understand your question, but right now I'm not in the mood to cut that string into little pieces, and I'm not sure I'd be able to put them nicely back together again. You'll have to wait for one of the true stars. Or maybe there's a different solution?

No problem, I perfectly understand that ...
Title: Re: foo_discogs
Post by: techsoul on 2016-07-06 20:09:39
Are you sure you want single-artist compilations to be tagged as "Various Artists"?

Hey zoomorph - you're right of course, didn't think that far ...

For people who wanted to tag compilations with "Various" as the artist as Discogs always used to, there's no exact solution but here an Album Artist tag string to approximate it:
Code: [Select]
$multi_if($multi_and($any($contains($first(%<<RELEASE_FORMATS_DESCRIPTIONS>>%),$array(Compilation,Mixed))),$multi_greater($length($unique($flatten(%<<RELEASE_TRACKS_ARTISTS_NAME>>%))),$div(%RELEASE_TOTAL_TRACKS%,2)),$multi_greater($length($unique($flatten(%<<RELEASE_TRACKS_ARTISTS_REAL_NAME>>%))),$div(%RELEASE_TOTAL_TRACKS%,2))),VA,$joinnames($multi_replace(%<RELEASE_ARTISTS_NAME>%,'Various','VA'),%<RELEASE_ARTISTS_JOIN>%))

This string attempts a solution like "if there are more than a certain number of unique artists on a release AND it's tagged as a compilation, set 'VA' as the album artist." (You can replace "VA" with "Various" or "Various Artists" as you like.) It's arbitrary and inexact but it's better at not tagging single-artist compilations as 'VA'.

Don't ask me why, but it works now. Guess I was too tired last night.
Thanks for explaining the code, zoomorph. Helps me a lot to grasp what it is doing.

I had already come up with this last night:
Code: [Select]
$join($multi_replace(%<RELEASE_ARTISTS_NAME>%,'Various','Various Artists'),%<RELEASE_ARTISTS_NAME>%)

It is of course simple and far less flexible compared to zoomorphs code.
But it should work fine for what I need - with one exception:
I also get the "album artist" tag if the artists name is not "Various", but specified.

So I'm looking for something like:
If artists name is "Various", write an "album artist" tag with "Various Artists";
If artists name is anything else than "Various", write no "album artist" tag at all.

Can someone give me a hint on this?
Title: Re: foo_discogs
Post by: Strannik on 2016-07-06 20:17:43
@zoomorph,
Just updated to 2.0.4 and my Tag Mappings zeroed. I change back settings and want to save as preset (via Export Save to file), but get an error:
Code: [Select]
(skipped) Error: Error exporting tags: Object not found
[ESCAPE to close]
What file should I choose and what's its extension? Cause in exporting window there is no file extension.
Thanks in advance!  :) 
Unless you're updating from a really old version (1.x), tag mappings should not be zeroed.

The extension you name your file is up to you.
Not sure it was very old, but my last backup shows that *.dll was may's 2016, so… it shouldn't happened, right.
I prefer to use tags without «DISCOGS_%smth%» and keep them in one style. Last update brought nice functionality of checking future tags before writing. foo_discogs is my most used plug-in, it's important feature.
Ok, but anyway I'm unable to save settings due to that error, glad to see any tips! (https://new.vk.com/images/emoji/263A.png)

Oh! Just remembered. One wish: is it possible to make checkbox for making Release Date tag as dd.mm.yyyy or yyyy.mm.dd, or even as is on the site %day month year%, please? Because variant yyyy.dd.mm. always tangles me, never get used to it.
Title: Re: foo_discogs
Post by: fuffi on 2016-07-08 13:32:14
hi zoomorph,

a feature request:

Say, I have marked 10 albums which are already tagged by the old component and need to be updated with some new tags.

When updating quite a few albums, its not possible to use the component, until the generatig process* is completed.
*(https://picload.org/image/rrdrllpc/screenclip.png)

Is it possible to let the user work with the component ( = using the component along the way on other files/albums) while the generating process it ongoing for other files/albums) ?

This would be a great timesaver because the waiting time sometimes is about 10 minutes for a selection of really big albums, like i.e.  Ninja Tune XX: 20 Years Of Beats & Pieces (https://www.discogs.com/de/x/release/2455278)
Title: Re: foo_discogs
Post by: alexinc on 2016-07-08 15:04:29
If i wanted to extend the find release dialog results with the total tracks per release i tried to add %RELEASE_TOTAL_TRACKS% to master sub-release formatting string, but i only get 0 as result. is there any way to fetch the total tracks per release without having to select one release first? :)
Title: Re: foo_discogs
Post by: techsoul on 2016-07-08 16:47:00
Trying once again ... need to start tagging tonight.

What would the syntax for
"If %RELEASE ARTIST NAME% is other than "Various", leave the "album artist" tag empty"
look like?

Really tried to figure it out myself, but not getting anywhere ...

Any help is appreciated! =)
Title: Re: foo_discogs
Post by: zoomorph on 2016-07-09 22:24:01
Is it possible to let the user work with the component ( = using the component along the way on other files/albums) while the generating process it ongoing for other files/albums) ?
Yes it would be possible but it requires some re-architecting because currently foo_discogs uses some shared data structures that would overwrite each other.

Maybe another time. Busy summer here right now.

If i wanted to extend the find release dialog results with the total tracks per release i tried to add %RELEASE_TOTAL_TRACKS% to master sub-release formatting string, but i only get 0 as result. is there any way to fetch the total tracks per release without having to select one release first? :)
Not currently. Note that to fetch this info would require 1 extra API call per release which would be quite expensive in terms of time.
Title: Re: foo_discogs
Post by: alexinc on 2016-07-10 17:10:03
If i wanted to extend the find release dialog results with the total tracks per release i tried to add %RELEASE_TOTAL_TRACKS% to master sub-release formatting string, but i only get 0 as result. is there any way to fetch the total tracks per release without having to select one release first? :)
Not currently. Note that to fetch this info would require 1 extra API call per release which would be quite expensive in terms of time.
THX for replying, i thought it could struggle with a second api call, just thought i would ask... ;)

I finally (after more than one year of waiting, following this thread and trying to understand everything) need to start updating my complete collection which i tagged with the old component. i used masstagger with the following code to seperate remix names into their own field (%REMIXED BY%). guess it's possible now with the new string system and trying to figure out the best solution. any hints are welcome! here are the steps i'm using with masstagger right now:

%TITLE% = %TITLE% (%TEMP1%) (%TEMP2%)
%REMIXED BY% = $if2(%temp2%,$left(%temp1%,$sub($len(%temp1%),1)))
%TITLE% = %title%$if(%temp2%, '('%temp1%')')
Remove %TEMP1%
Remove %TEMP2%

it fetches most cases where title has an extension and an additional remix name... :)
Title: Re: foo_discogs
Post by: k33 on 2016-07-11 13:28:23
Hello,
I used to use DISCOGS_TRACK_HEADING for grouping "Bonus Tracks" in tracklist in SimPlaylist.
But I see "?" in 'Preview Tags'.
Release (https://www.discogs.com/Dionne-Warwick-Make-Way-For-Dionne-Warwick/release/5890718) I tried.
Did I do something wrong? (Because I was confused about which tag should I use I tried DISCOGS_INDEX_TRACK_TITLE with no luck also)
Title: Re: foo_discogs
Post by: zoomorph on 2016-07-12 16:43:51
Hello,
I used to use DISCOGS_TRACK_HEADING for grouping "Bonus Tracks" in tracklist in SimPlaylist.
But I see "?" in 'Preview Tags'.
Release (https://www.discogs.com/Dionne-Warwick-Make-Way-For-Dionne-Warwick/release/5890718) I tried.
Did I do something wrong? (Because I was confused about which tag should I use I tried DISCOGS_INDEX_TRACK_TITLE with no luck also)
It works for me. Did you modify the DISCOGS_TRACK_HEADING tag? Right click on it in the edit tag mappings window and see if "Restore Default" is available.
Title: Can't authorize OAUTH since 2.04 / 06-22-2016
Post by: saviormoney on 2016-07-12 21:09:49
Hello,

First of all, thank you, thank you, THANK YOU to the developer of the discogs tagger plugin.
This is by far THE one and only most useful piece of software I've ever found for maintaining the ID3 tags in my music collection.

And thank you for keeping it updated. I notice the last few updates seem to be in response to Discogs changing its API. I don't use the discogs tagger every day, and by the time I even notice that the tagger doesnt work. I simply "check for updated components" and the fix is already there. THANK YOU!

That said, it took me till today to need the services of Discogs for tagging something - and I found I needed to update to the 2.04 release from June 22. After updating, I needed re-establish the OAUTH authorization.

I go to Tagging -> Discogs -> Configuration and select the OAuth tab.  I click Authorize. Foobar pops up a window w/progress bar that says: "Processing: Authorizing OAuth..."

But instead of opening my browser, up pops an error dialog (also apparently from within foobar):

"(X) Windows cannot find 'https://www.discogs.com/oauth/authorize?oauth_token=... ...'. Make sure you typed the name correctly, and then try again." [ OK ]

I've tried rebooting, tried changing default browser, changing file associations for HTTP: links etc. Still gives this error. If I run foobar with no browser simultaneously open, and try to Authorize OAuth as above, it goes right to that popup - I do not see an attempt to launch a browser.

My system is a recent reinstall of Windows 8.1 x64 a couple months ago after giving up on Windows 10.

Any suggestions?

Thank you,

saviormoney
Title: Re: foo_discogs
Post by: zoomorph on 2016-07-13 01:17:03
It's a Windows configuration problem.

If you select "View Release Page" on a tagged file does that work?

Please check your default file associations and make sure the browser is specified for the HTTP protocol. Also for HTTPS.

You can also try this dll which is a long shot but is the only possible problem I could see: https://www.sendspace.com/file/anylx8

Note: If you have OAuth configured in foo_discogs on a different computer/install, you can copy the token and secret into the settings.
Title: Re: foo_discogs
Post by: k33 on 2016-07-13 14:00:52
Hello,
I used to use DISCOGS_TRACK_HEADING for grouping "Bonus Tracks" in tracklist in SimPlaylist.
But I see "?" in 'Preview Tags'.
Release (https://www.discogs.com/Dionne-Warwick-Make-Way-For-Dionne-Warwick/release/5890718) I tried.
Did I do something wrong? (Because I was confused about which tag should I use I tried DISCOGS_INDEX_TRACK_TITLE with no luck also)
It works for me. Did you modify the DISCOGS_TRACK_HEADING tag? Right click on it in the edit tag mappings window and see if "Restore Default" is available.
My inaquaracy, Sorry
What I actualy needed was %TRACK_HEADING% and tag itself has custom name in my case.
Thank you for clue, component and briliant import/export options in tag mapping dialog )
Title: Re: foo_discogs
Post by: Lola on 2016-07-13 20:14:58
Is it possible to use foo_discogs to tag FLAC (single disc image) + CUE? If I use it with *.m4a it works great and I see all the DISCOGS_* tags in every single file but when it comes to flac files non of the images (or CUE sheets) gets updated. 
Title: Re: foo_discogs
Post by: Strannik on 2016-07-14 12:44:47
Is it possible to use foo_discogs to tag FLAC (single disc image) + CUE? If I use it with *.m4a it works great and I see all the DISCOGS_* tags in every single file but when it comes to flac files non of the images (or CUE sheets) gets updated. 
Hello, Lola! CUE files has limited (https://en.wikipedia.org/wiki/Cue_sheet_(computing)#Cue_sheet_syntax) number of possible tags (http://wiki.hydrogenaud.io/index.php?title=Cue_sheet#Cue_sheet_commands). But you can integrate this cue sheet inside flac and do what you want with any kind of tags. This is very helpful due to all that information comes into media library.
Title: Re: foo_discogs
Post by: zoomorph on 2016-07-14 14:44:12
Personally I use m-TAGS (another component) to place the tags in an independent file. This also allows tagging some audio file formats that don't support tags.
Title: Re: foo_discogs
Post by: Lola on 2016-07-14 15:43:10
Hmmm... 894 CUE sheets. It's gonna take a while. I guess metaflac in a loop will do but I wonder why foo_discogs can't simply write tags to the flac files?

Edit:

Looks like metaflac won't do

Code: [Select]
"Adler - Back From The Dead.cue: ERROR: malformed vorbis comment field "REM GENRE Rock",
      field contains no '=' character"
Title: Re: foo_discogs
Post by: saviormoney on 2016-07-14 18:37:32
You can also try this dll which is a long shot but is the only possible problem I could see: https://www.sendspace.com/file/anylx8
settings.

THANK YOU :-)

Other troubleshooting measures didn't help (file & protocol associations were essentially correct, etc.)

But the updated .dll fixed it.
Title: Re: foo_discogs
Post by: tipar on 2016-07-16 15:47:16
How can I write just one tag, I mean, if I want to retag my entire library with the GENRE and STYLE of discogs database but I do not want to erase neither rewrite the other FIELDS, is it possible to do the whole process just once on the entire library? Regards.

By the way, when I try to UPDATE TAGS, I do not know what it does, I got this error

(FATAL) Error: Page Deleted or Missing (404) Release ISCOGS_ is deleted.

[ESCAPE to close]
Title: Re: foo_discogs
Post by: Anakunda on 2016-07-18 09:29:10
Hi,  bug at parsing release
https://www.discogs.com/David-Bowie-The-Rise-And-Fall-Of-Ziggy-Stardust-And-The-Spiders-From-Mars/release/3642251 (https://www.discogs.com/David-Bowie-The-Rise-And-Fall-Of-Ziggy-Stardust-And-The-Spiders-From-Mars/release/3642251)

Code: [Select]
(FATAL) Error: Error loading release 3642251: JSON Parser ExceptionError parsing release credits.

[ESCAPE to close]
Plz fix
Title: Re: foo_discogs
Post by: leavingharvard on 2016-07-23 09:27:44
Oh! Just remembered. One wish: is it possible to make checkbox for making Release Date tag as dd.mm.yyyy or yyyy.mm.dd, or even as is on the site %day month year%, please? Because variant yyyy.dd.mm. always tangles me, never get used to it.

I had the same question, but here's what I did instead of asking for a new feature. Put this in your DISCOGS_RELEASED tag:

Code: [Select]
%RELEASE_DAY% $select($num(%RELEASE_MONTH%,1),Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec) %RELEASE_YEAR%

Hope this helps.
Title: Re: foo_discogs
Post by: zoomorph on 2016-07-25 04:42:10
You can also try this dll which is a long shot but is the only possible problem I could see: https://www.sendspace.com/file/anylx8
settings.

THANK YOU :-)

Other troubleshooting measures didn't help (file & protocol associations were essentially correct, etc.)

But the updated .dll fixed it.
Glad to hear that helped. I'll add that change into the next official version, then. :-)

Hi,  bug at parsing release
https://www.discogs.com/David-Bowie-The-Rise-And-Fall-Of-Ziggy-Stardust-And-The-Spiders-From-Mars/release/3642251 (https://www.discogs.com/David-Bowie-The-Rise-And-Fall-Of-Ziggy-Stardust-And-The-Spiders-From-Mars/release/3642251)

Code: [Select]
(FATAL) Error: Error loading release 3642251: JSON Parser ExceptionError parsing release credits.

[ESCAPE to close]
Plz fix
An error in how the release credits were entered needs to be fixed in the Discogs database which anyone can edit.
Title: Re: foo_discogs
Post by: frogworth on 2016-07-25 05:01:55
Hi,  bug at parsing release
https://www.discogs.com/David-Bowie-The-Rise-And-Fall-Of-Ziggy-Stardust-And-The-Spiders-From-Mars/release/3642251 (https://www.discogs.com/David-Bowie-The-Rise-And-Fall-Of-Ziggy-Stardust-And-The-Spiders-From-Mars/release/3642251)

Code: [Select]
(FATAL) Error: Error loading release 3642251: JSON Parser ExceptionError parsing release credits.

[ESCAPE to close]
Plz fix
An error in how the release credits were entered needs to be fixed in the Discogs database which anyone can edit.

I had a look at this release and it's not immediately clear what the error in the credits is.
There was some slight inconsistency in the Written-By track positions for David Bowie. It was written as:
Code: [Select]
A1 to A4, B1 to B6, DVD-1 to DVD-4, DVD-6 to DVD-15. DVD-17 to DVD-26, DVD-28 to DVD-37, DVD-39 to DVD-56
and I changed it to:
Code: [Select]
A1 to A4, B1 to B6, DVD-1 to DVD-4, DVD-6 to DVD-15, DVD-17 to DVD-26, DVD-28 to DVD-37, DVD-39 to DVD-56
so unless it's still returning the older version with a full stop in the middle, I'm not sure what else is the problem.

It can sometimes be hard to discover what's making the JSON Parser throw an exception. It could be worth not making this a fatal error, given you can narrow it down to release credits here. Perhaps complete the tagging but present a list of parser exceptions afterwards?
Title: Re: foo_discogs
Post by: itisljar on 2016-07-25 09:12:16
Hello!
Foobar 1.3.9, Discogs tagger v2.04, Windows 8.1

I have a CD 'Disco Vaults 2 - A Slide Under The Strobe Light' id=5050479, which I want to tag. It is 2 CD release, and when I fetch data, it fetches CD 1 twice.
It is very unusual. and it worked a month ago, with older version of tagger. I am behind a proxy, but it was never a problem, it always worked as it should.
Title: Re: foo_discogs
Post by: PeteG on 2016-07-25 18:02:07
@zoomorph
In #2164 (https://hydrogenaud.io/index.php/topic,50523.msg922106.html#msg922106) I mentioned a problem with your component showing replicated track titles (i.e. replacing some tracks with others). I've come a bit closer:

When "Match using track length durations" is unchecked the problem may occur, but not very often.
Only pattern spotted so far: Multi-disc albums and always disc 2 (?!?).

Here's some examples with screenshots:

Phish ‎– Live Phish 10: 6.22.94 - Veterans Memorial Auditorium Columbus, Ohio (https://www.discogs.com/Phish/release/2549228)
Nitty Gritty Dirt Band ‎– Will The Circle Be Unbroken (https://www.discogs.com/The-Nitty-Gritty-Dirt-Band/release/3177764)
Miles Davis ‎– The Complete Bitches Brew Sessions (https://www.discogs.com/Miles-Davis/release/105643)
Tom Waits ‎– Orphans: Brawlers, Bawlers & Bastards (https://www.discogs.com/Tom-Waits/release/870004)
Frank Zappa ‎– You Can't Do That On Stage Anymore Vol. 4 (https://www.discogs.com/Frank-Zappa/release/439686)
Note: FZ YCDToSA volumes 1, 2, 3, 5, and 6 are double discs as well and they're all analysed correctly.

As Discogs' track length durations seldomly match with local data I would like to be able to turn that check off.

(Discogs Tagger 2.03/2.04. Caches as empty as my wallet. foobar2000 1.3.10 final/1.3.11 up to and including beta 3. Windows 7 SP 1 x64)

Minor request: Right alignment of the Length column in "Match Tracks" window.
Title: Re: foo_discogs
Post by: tipar on 2016-07-29 12:48:14
How can I write just one tag, I mean, if I want to retag my entire library with the GENRE and STYLE of discogs database but I do not want to erase neither rewrite the other FIELDS, is it possible to do the whole process just once on the entire library? Regards.

By the way, when I try to UPDATE TAGS, I do not know what it does, I got this error

(FATAL) Error: Page Deleted or Missing (404) Release ISCOGS_ is deleted.

[ESCAPE to close]

Hi. I just found the way to do it thanks to Reddit. Right click on the album, for exemple, Tagging>Discogs>Edit Tag Maping. There you have to disable one by one the fields you do not want to write; I have disabled everything but GENRE and STYLE. Then you go to right click and then write the tags normally and when you preview the chages you will see that the only tags that you are going to write will be those ones you left unchanged on Edit Tag Maping, or activated let's say.

Once you do that you will be left with this configuration so if you want to write different tags you will have to change again the Tag Maping. Regards.
Title: Re: foo_discogs
Post by: zoomorph on 2016-08-04 07:50:00
@zoomorph
In #2164 (https://hydrogenaud.io/index.php/topic,50523.msg922106.html#msg922106) I mentioned a problem with your component showing replicated track titles (i.e. replacing some tracks with others). I've come a bit closer:

When "Match using track length durations" is unchecked the problem may occur, but not very often.
Only pattern spotted so far: Multi-disc albums and always disc 2 (?!?).
Thanks for the info. When this problem occurs, does it tag the files incorrectly or is it only the entries in the matching list that are wrong?

Minor request: Right alignment of the Length column in "Match Tracks" window.
This change will be in the next version.
Title: Re: foo_discogs
Post by: PeteG on 2016-08-04 11:29:52
When this problem occurs, does it tag the files incorrectly or is it only the entries in the matching list that are wrong?
The tags are changed as well ...
Title: Foobar2000-Discogs Sync
Post by: dialogous on 2016-08-25 17:22:09
Hello I had a question that I'm guessing has been asked at some point in the last 10 years this post has been active.  I bounced around the 91 pages of posts, but my apologies, I have not read every one.  I'm guessing this is a discogs issue/question, but is there any way that when you go to write the tags in Foobar, the user could be notified of which releases are in his collection so as to quickly know which one to select? 
Thank you much!
Title: Re: foo_discogs
Post by: saviormoney on 2016-08-29 06:06:22
You can also try this dll which is a long shot but is the only possible problem I could see: https://www.sendspace.com/file/anylx8
settings.

THANK YOU :-)

Other troubleshooting measures didn't help (file & protocol associations were essentially correct, etc.)

But the updated .dll fixed it.
Glad to hear that helped. I'll add that change into the next official version, then. :-)

Now that I've used your patched dll for a while I just noticed: I have the same problem when I double-click a release in the search results as I did with the OAuth

I get a popup that says:

"Windows cannot find 'http://www.discogs.com/release/xxxxxx'. Make sure you typed the name correctly, and then try again"

and when I click OK I then get a foobar error dialog that says:

"(FATAL) Error: Error opening browser page: 11C243E0The operation was canceled by the user.

[ESCAPE to close]"

(Copy/pasted from error dialog, formatting as in original.)

My guess is whatever change you did to fix the browser request in the OAuth setup needs to be changed here too.
Title: Re: foo_discogs
Post by: tapedeck on 2016-09-05 18:36:38
Howdy
I'm getting "Network exceptionConnection error" when I run the plugin on Wine, using latest stable foobar 1.3.11

OAuth is working, according to the plugin.

Any insight?

The full error is:
Code: [Select]
(FATAL) Error: Error loading release 3373093: Network exceptionConnection error (url: http://api.discogs.com/releases/3373093)

[ESCAPE to close]
Title: Re: foo_discogs
Post by: Dfaure on 2016-09-06 14:36:52
Like the previous version (already reported above), foo_discogs v2.04 still doesn't handle network access through proxy servers.

As soon as foobar is configured to use a proxy server in its networking preferences page, every attempt to use foo_discogs leads to the error message:
Code: [Select]
(FATAL) Error: HTTP Error (501)(url: https://api.discogs.com/database/search)

[ESCAPE to close]
Title: Re: foo_discogs
Post by: PWSteal on 2016-09-15 14:18:30
So I'm looking for something like:
If artists name is "Various", write an "album artist" tag with "Various Artists";
If artists name is anything else than "Various", write no "album artist" tag at all.

Can someone give me a hint on this?

So this is what I came up with - code for ALBUM ARTIST:
Code: [Select]
$if($stricmp($joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%),$join($multi_replace(%<RELEASE_ARTISTS_NAME>%,'Various','VA'),$multi_wrap(%<RELEASE_ARTISTS_JOIN>%,' '))),,$join($multi_replace(%<RELEASE_ARTISTS_NAME>%,'Various','VA'),$multi_wrap(%<RELEASE_ARTISTS_JOIN>%,' ')))

Script compares %Artist% and default %Album Artist% formatting strings - if it is the same, nothing is written to %Album Artist%.

I've done the little test and it works so far.

p.s. I use "VA" instead of "Various Artists".
Title: Re: foo_discogs
Post by: fuffi on 2016-09-18 19:23:35
Hi all,
I lost track on which version of the fine component is the latest. Is it still: Version: 2.04, Compiled: Jun 21 2016 ?

Title: Re: foo_discogs
Post by: fuffi on 2016-09-18 19:28:46
Hi zoomorph,
I clicked on a Reccomandation link and then copied the link to the Find Release -> Release ID / URL Field:
(https://picload.org/image/rdrrcidl/screenclip.png)
Code: [Select]
https://www.discogs.com/de/Guy-Guy/release/250780?ev=rr
That caused an error:
Quote
(FATAL) Error: Error loading release rr: Page Deleted or Missing (404)(url: http://api.discogs.com/releases/rr)

[ESCAPE to close]
can you pls strip/ignore this (?ev=rr) as well as other things you had stripped from the url to allow quickly pasting a copied link from the dg-website to the fine components field?
thnx!
Title: Re: foo_discogs
Post by: fuffi on 2016-09-18 19:35:58
this is quite old, but it does not work after a few tests:

on this (https://www.discogs.com/de/x/release/250780) release,  %RELEASE_DAY% is set to "  1988" instead of the original "20" (with the components default string on %RELEASE_DAY%
I guess, its not possible to convert every possible dateformat?

Oh! Just remembered. One wish: is it possible to make checkbox for making Release Date tag as dd.mm.yyyy or yyyy.mm.dd, or even as is on the site %day month year%, please? Because variant yyyy.dd.mm. always tangles me, never get used to it.
I had the same question, but here's what I did instead of asking for a new feature. Put this in your DISCOGS_RELEASED tag:
Code: [Select]
%RELEASE_DAY% $select($num(%RELEASE_MONTH%,1),Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec) %RELEASE_YEAR%
Hope this helps.
Title: Re: foo_discogs
Post by: fuffi on 2016-09-18 20:13:27
I had this question:
on this (https://www.discogs.com/de/x/release/1154854) release, I see the DISCOGS_FORMAT Tag like this:
Quote
4 x CD, Compilation; 1 x Box Set,
(unnecessary comma *and* space at the end).

I think, the last comma and space need to be lost. but I did not manage to do this.

anyone can help?

I have this (default) formatting string in the tag-mappings:
Code: [Select]
$zip(%<RELEASE_FORMATS_QUANTITY>%,' x ',%<RELEASE_FORMATS_NAME>%,', ',$join(%<<RELEASE_FORMATS_DESCRIPTIONS>>%))


I have figured out a code, which works perfectly in the display-colums (f2k->preferences->columsUI->playlist view->colums->colum details->scripts-display)

The code deletes the last comma "," from the shown format above.
Code: [Select]
$puts(DF,$trim(%DISCOGS_FORMAT%))
$if($strcmp($right($get(DF),1),','),$cut($get(DF),$sub($len($get(DF)),1)))


Unfortunately, this snipped of code does not work, when inserted into the Edit Tag Mappings Window as a formatting string for DISCOGS_FORMAT.
I tried several combinations, but most always got an empty tag, or this strange error message:
Quote
(FATAL) Error: Error generating tag DISCOGS_FORMAT [Corrupted array string: missing start byte] for file file://C:\test\08 Planet Jazz - Mucho Chocolate.mp3

[ESCAPE to close]
I tried to get rid of the $puts() and $get() but that did not help in any way.

What am I missing to get this piece of code working as a formatting string?
Title: Re: foo_discogs
Post by: fuffi on 2016-09-18 20:26:04
and a small buglet: "Edit Tag Mappings..." dialog doesn't remember window position in same session
It works for me.

Hi zoomorph,
for me, the "remembering" of the positions and the sizes of the different windows of your component does not work too. (most of the time)

Its kinda strange sometimes. Say, I place the edit tag mapping-window to the middle of the screen, but after closing it and open it again (no f2k restart meanwhile, just directly after closing the window) the window appears somewhere else on the screen. mostly in the right downer corner of the screen. but not everytime....thats odd. I couldnt reproduce, why the heck this happens.

Maybe an important information, I have 2 monitors plugged into my computer running w7 64bit. Maybe thats could be a reason?
I have no software running, which "optimizes" the position of an windows, I know, they exists, I have had uses some of them back with win98 :-)

This oddity happens to the following windows "find release" "edit tag mappings" "match tracks".

Thats not showstopper anyways, just wanted to mention, because I've read Just_Addict had the same thing ;-)
Title: Re: foo_discogs
Post by: fuffi on 2016-09-18 20:32:30
I'd suggest an option to allow users to enable 'X.YY' so hidden tracks can get written/mapped as tags as:
- there's many old releases on discogs still with X.YY tracklist descriptors...
- even if a hidden track, I personally do extract these further, as to not have multiple single tracks inside a ginormeous file, in which case an option to 'unhide' these 'hidden' tracks, via X-YY / X.YY syntax (which would result in X-YY.ZZ syntax...? if there's hidden tracks on multi CD releases...?) would reqally help.
++1

As posted a long time ago (many posts up from here...), it would be very use- and helpful, if the user could set his/hers own/additional strings to identify a hidden track.

I try to update/correct as many releases as possible, on the dg-website, but on some releases, it seems, I does not have the privilege to change something..dunno why, other releases I can change w/o any problem.

Title: Re: foo_discogs
Post by: fuffi on 2016-09-18 21:09:47
That is exactly what I'm trying but having problems to get it right. When using the tracks example above
Code: [Select]
$join(%<TRACK_HIDDEN_TRACKS_TITLE>%,' / ')
results in Second / Third. But
Code: [Select]
$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0,%TRACK_TITLE%,$join($extend(%TRACK_TITLE%,%<TRACK_HIDDEN_TRACKS_TITLE>%),' / '))
or
Code: [Select]
$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0,%TRACK_TITLE%,$join($extend($array(%TRACK_TITLE%),%<TRACK_HIDDEN_TRACKS_TITLE>%),' / '))
results in just First. What is my mistake?
It works for me.
thank you, whoever came up with this! I've searched ages to something like this to skip manually glueing the tracktitles together.... what an ease now with this codesnipped! thanks again! (for me, the last ist workin fine!)
Title: Re: foo_discogs
Post by: fuffi on 2016-09-18 23:45:18
Ok, after all the requests and other things I had to nag about, I'd like to say, that today, I worked off all my critical folders with a lot of releases, which had problems (crashes too) with older versions of this fine component. not always sure, why, but they had problems.
I sorted them to several folders like #hidden problem #error json #crash #naming wrong #various artists prob  etc...
and today ALL OF THEM could be easily tagged without any hassle. so easy. (about 20 folders, each a release on the discogs site!)
this component really is the best component for f2k! (maybe beside the components which are responsible for playing the audio and setting up the GUI...) ;-)
thanks and big hoorays for zoomorph! without him, we had an not so quite greatish component. cheers!
Title: Re: foo_discogs
Post by: fuffi on 2016-09-19 00:22:20
hi,

I change the Configuration->Matching->Track Matching Options->Discogs track formatting string
from its default
Code: [Select]
$ifgreater(%RELEASE_TOTAL_DISCS%,1,%DISC_NUMBER%-,)$num(%TRACK_DISC_TRACK_NUMBER%,2) - $multi_if($multi_and(%ARTISTS_NAME_VARIATION%,$multi_not(%REPLACE_ANVS%)),%ARTISTS_NAME_VARIATION%$multi_if(%DISPLAY_ANVS%,*,),%ARTISTS_NAME%) - %TRACK_TITLE%$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0,,'  [+'%TRACK_TOTAL_HIDDEN_TRACKS%' HIDDEN]')
to this,
Code: [Select]
$ifgreater(%RELEASE_TOTAL_DISCS%,1,%DISC_NUMBER%-,)$num(%TRACK_DISC_TRACK_NUMBER%,2). $multi_if($multi_and(%ARTISTS_NAME_VARIATION%,$multi_not(%REPLACE_ANVS%)),%ARTISTS_NAME_VARIATION%$multi_if(%DISPLAY_ANVS%,*,),%ARTISTS_NAME%) - %TRACK_TITLE%$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0,,'  [+'%TRACK_TOTAL_HIDDEN_TRACKS%' HIDDEN]')  [$multi_if($multi_strcmp(%DISCOGS_TRACK_HEADING%,-),, ► )]"

(thats only adding [$multi_if($multi_strcmp(%DISCOGS_TRACK_HEADING%,-),, ► )])

but after a restart of f2k my changes are overwritten by the default settings.

I guess this is a bug, or intentional, then why is the field editable? or I've got a problem in my code :-) but it works, as long as I don't restart f2k...
Title: Re: foo_discogs
Post by: alec.tron on 2016-09-20 00:03:13
this component really is the best component for f2k! (maybe beside the components which are responsible for playing the audio and setting up the GUI...) ;-)
thanks and big hoorays for zoomorph! without him, we had an not so quite greatish component. cheers!
+++1
Is there any send-some-thanks&support-to-zoomoph way via paypal/etc btw ?
Churs.
c.
Title: Re: foo_discogs
Post by: zoomorph on 2016-09-24 03:14:11
this is quite old, but it does not work after a few tests:

on this (https://www.discogs.com/de/x/release/250780) release,  %RELEASE_DAY% is set to "  1988" instead of the original "20" (with the components default string on %RELEASE_DAY%
I guess, its not possible to convert every possible dateformat?
If release day is not defined in the database, then %RELEASE_DAY% is an empty string.

Unfortunately, this snipped of code does not work, when inserted into the Edit Tag Mappings Window as a formatting string for DISCOGS_FORMAT.
I tried several combinations, but most always got an empty tag, or this strange error message:
Quote
(FATAL) Error: Error generating tag DISCOGS_FORMAT [Corrupted array string: missing start byte] for file file://C:\test\08 Planet Jazz - Mucho Chocolate.mp3

[ESCAPE to close]
I tried to get rid of the $puts() and $get() but that did not help in any way.

What am I missing to get this piece of code working as a formatting string?
You are using a builtin foobar2000 string formatting function on a foo_discogs array, which doesn't work. You can only use the $multi functions provided by foo_discogs to operate on arrays. Possibly a new function would need to be added for what you want to do. (?)

hi,

I change the Configuration->Matching->Track Matching Options->Discogs track formatting string
from its default

but after a restart of f2k my changes are overwritten by the default settings.
This was a bug. :-)
Title: Re: foo_discogs
Post by: zoomorph on 2016-09-24 03:18:51
Version 2.05 is now released. Changes:
- HTTPS is used for everything. This should fix the error some users encountered above on Windows 10.
- "View Artist Art Page" has been re-enabled, now that Discogs has finally updated the URL for it to match all their other newer style URLs.
- Duration columns in match track lists are right-aligned.
- Matching window formatting strings were not being saved properly.

Glad to hear the positive feedback.  ;)

My paypal is jsilver.pmc@gmail.com if you wanted to support my work on this.
Title: Re: foo_discogs
Post by: SpaceAgeHero on 2016-09-24 12:52:04
Hi zoomorph,

thanks for the new release.
 
Is the oAuth / Internet access issue when used on Linux with wine fixed as well?
Title: Re: foo_discogs
Post by: Havokdan on 2016-09-24 14:04:12
Translated as was possible within my limitations this plugin for the Portuguese of Brazil, leave it attached.
Title: Re: foo_discogs
Post by: frogworth on 2016-09-24 14:43:26
Hey @zoomorph, thanks for the update!

I'm wondering how difficult it would be to make the "Find Release" filter match each word independently rather than phrases - so you can put in the name of an album and then also, say, a label name, and see any row that contains all those words (in any particular order)?
I think it's been talked about before, and it may be a pain in the ass :) But it'd be a pretty awesome addition when there are lots of different versions of a release!
Title: Re: foo_discogs
Post by: fuffi on 2016-09-24 16:36:50
Is the oAuth / Internet access issue when used on Linux with wine fixed as well?
Afair, zoomorph wrote some time ago, that he cannot test every wine/*nix enviroment for glitches or other instability.
So YOU (SpaceAgeHero) have to download the updated component yourself, test it very well and tell US if it works or not.
That way, others can benefit from your activity as well.

I'm wondering how difficult it would be to make the "Find Release" filter match each word independently rather than phrases - so you can put in the name of an album and then also, say, a label name, and see any row that contains all those words (in any particular order)? I think it's been talked about before, and it may be a pain in the ass :)
+1
It was talked about that before and I think/hope, it found its way on the todo-list, but we never know what or when something is happening :-)
but the code is moving, I can see it 8-)
Title: Re: foo_discogs
Post by: fuffi on 2016-09-24 16:55:04
Unfortunately, this snipped of code does not work, when inserted into the Edit Tag Mappings Window as a formatting string for DISCOGS_FORMAT.
What am I missing to get this piece of code working as a formatting string?
You are using a builtin foobar2000 string formatting function on a foo_discogs array, which doesn't work. You can only use the $multi functions provided by foo_discogs to operate on arrays. Possibly a new function would need to be added for what you want to do. (?)
Ah, ok, thank you. Now I know, what is wrong, but not how to fix it ;-)
Hmm... dunno, if a new function will be needed for just delete a comma at the end of an string (https://hydrogenaud.io/index.php/topic,50523.msg928308.html#msg928308)?
Title: Re: foo_discogs
Post by: tapedeck on 2016-09-24 19:31:39
...
Is the oAuth / Internet access issue when used on Linux with wine fixed as well?
It is working for me on wine / osx.

Thanks!
Title: Re: foo_discogs
Post by: fuffi on 2016-09-24 21:29:29
...
Is the oAuth / Internet access issue when used on Linux with wine fixed as well?
It is working for me on wine / osx.
tested right now:
2.04 *was*, and 2.05 *is* working for f2k 1.3.10 via Wineskin Winery on OSX 10.9.5 too.
Title: Re: foo_discogs
Post by: zoomorph on 2016-09-24 23:51:22
I'm wondering how difficult it would be to make the "Find Release" filter match each word independently rather than phrases...
This will be changed in next release.

Unfortunately, this snipped of code does not work, when inserted into the Edit Tag Mappings Window as a formatting string for DISCOGS_FORMAT.
What am I missing to get this piece of code working as a formatting string?
You are using a builtin foobar2000 string formatting function on a foo_discogs array, which doesn't work. You can only use the $multi functions provided by foo_discogs to operate on arrays. Possibly a new function would need to be added for what you want to do. (?)
Ah, ok, thank you. Now I know, what is wrong, but not how to fix it ;-)
Hmm... dunno, if a new function will be needed for just delete a comma at the end of an string (https://hydrogenaud.io/index.php/topic,50523.msg928308.html#msg928308)?
Now that I look at it, I think the default format string for DISCOGS_FORMAT is not good. I think it should be replaced with this instead:
Code: [Select]
$zip(%<RELEASE_FORMATS_QUANTITY>%,' x ',%<RELEASE_FORMATS_NAME>%,$multi_if($put(D,$join(%<<RELEASE_FORMATS_DESCRIPTIONS>>%)),', ',),$get(D))
This will also be changed in the next release.
Title: Re: foo_discogs
Post by: frogworth on 2016-09-25 00:14:43
Thanks @zoomorph you're a legend.
Title: Re: foo_discogs
Post by: a3aan on 2016-09-25 11:14:50
Now that I look at it, I think the default format string for DISCOGS_FORMAT is not good. I think it should be replaced with this instead:
Code: [Select]
$zip(%<RELEASE_FORMATS_QUANTITY>%,' x ',%<RELEASE_FORMATS_NAME>%,$multi_if($put(D,$join(%<<RELEASE_FORMATS_DESCRIPTIONS>>%)),', ',),$get(D))

Personally I like to drop the '1 x' using this code
Code: [Select]
$replace($zip(%<RELEASE_FORMATS_QUANTITY>%,' x ',%<RELEASE_FORMATS_NAME>%,$multi_if($put(D,$join(%<<RELEASE_FORMATS_DESCRIPTIONS>>%)),', ',),$get(D)),'1 x ',)
Which can be done more elegantly, I suppose.

Another thing, are the free text part(s) of the format descriptions mapped into some attribute?

Cheers.
Title: Re: foo_discogs
Post by: Havokdan on 2016-09-25 18:29:52
Good afternoon, I searched but did not find the option to delete my own posts, would like to remove the post I made earlier, does anyone could direct me how I do it or an administrator erase my previous post this?
Title: Re: foo_discogs
Post by: zoomorph on 2016-09-25 19:33:51
Personally I like to drop the '1 x' ...

Another thing, are the free text part(s) of the format descriptions mapped into some attribute?
Good point... the original goal of DISCOGS_FORMAT was to roughly mimic how Discogs prints the release format string. Next release will include the custom text part of a format and default format string will drop the "1 x ".
Title: Re: foo_discogs
Post by: zoomorph on 2016-09-25 19:46:20
Version 2.06 is now released.
Changes:
- New TEXT field of FORMAT object, exposes the custom format text.
- New $zip2 function which is the same as $zip except that it works if the left side is an empty string, unlike the poorly-named $zip.
- Default DISCOGS_FORMAT string now includes the TEXT field, does not include "1 x " when format quantity is 1, and avoids printing a trailing comma when there are no format DESCRIPTIONS. (Mimicking what Discogs' website prints.)
- Find release filter works on multiple words independently. Words are split by spaces. (There's no way to use quotes to change this behavior.)

Note: If you are updating from an older version and want to use the new DISCOGS_FORMAT tag, you have to right click on it and "restore default" in the Edit Tag Mappings dialog.
Title: Re: foo_discogs
Post by: a3aan on 2016-09-25 21:16:56
Version 2.06 is now released

WOW.
Title: Re: foo_discogs
Post by: alec.tron on 2016-09-25 22:54:51
Brilliant.
Also, not sure as it's on & off and not 100% reliable, but there seems to be a difference ? i.e. the pre-matching seems much more accurate. Before 2.0.5 I often needed to manually re-order, now, even if the target file names aren't numbered w track release, it seems to do some title/filename matching in the background and re-shuffle accordingly to the best of its abilities ?
This is great! Or am I imagining things and this was all coincidental...?
Cheers.
c.
Title: Re: foo_discogs
Post by: fuffi on 2016-09-25 23:19:22
wow, things changing and improve quickly :)

Version 2.06 is now released.
- Default DISCOGS_FORMAT string now includes the TEXT field, does not include "1 x " when format quantity is 1, and avoids printing a trailing comma when there are no format DESCRIPTIONS. (Mimicking what Discogs' website prints.)
works like a charm!

will test more the next days... thank you zoomorph!

but now, with this release (https://www.discogs.com/de/x/release/1276042) I'd like to join the artists of hidden tracks the same way, I join the titles of hidden tracks, but I can't get it to work...

I found this neat snippet for joining the track-titles:
Code: [Select]
$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0,%TRACK_TITLE%,$join($extend($array(%TRACK_TITLE%),%<TRACK_HIDDEN_TRACKS_TITLE>%),' / '))
which will join hidden tracks like: "hidden track1 / hidden track2 / hidden track3"....

Now, when I try to adapt this code to the existing default formatting string for the artists
Code: [Select]
$joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%)
, I get confused with the join/joinnames and extend/array options I have. (unfortunately, my version of the help-file does not include an explanation for $joinnames() )
I get either an empty string, or an errormessage.

May I ask for any advice, on how to use $joinnames(%<ARTISTS_NAME>%...) to replace
Code: [Select]
%TRACK_TITLE%,$join($extend($array(%TRACK_TITLE%
to have the artist joind together, like i.e. "artists 1; artists2; artist3" ? (semicolon as a seperator)



Title: Re: foo_discogs
Post by: lvqcl on 2016-09-26 00:09:27
Version 2.06 is now released.
It reports about itself as 2.05 though
Title: Re: foo_discogs
Post by: fuffi on 2016-09-26 11:27:49
Version 2.06 is now released.
It reports about itself as 2.05 though
hmmm....is it just my installation of f2k? every time f2k checks for for updated components, it finds the 2.06 version.... so it updates and updates and updates and updates and updates and updates....
Title: Re: foo_discogs
Post by: SpaceAgeHero on 2016-09-26 12:20:20
So YOU (SpaceAgeHero) have to download the updated component yourself, test it very well and tell US if it works or not.
That way, others can benefit from your activity as well.

Authorization doesn't work on Ubuntu / Wine.

Quote
(FATAL) Error: Network exceptionSecurity error (url: https://api.discogs.com/oauth/request_token)

[ESCAPE to close]
Title: Re: foo_discogs
Post by: paregistrase on 2016-09-26 13:41:38


Authorization doesn't work on Ubuntu / Wine.

Quote
(FATAL) Error: Network exceptionSecurity error (url: https://api.discogs.com/oauth/request_token)

[ESCAPE to close]

It's working here with 16.10 and wine development.

Same in my other machine with 16.04 and wine-ppa.

¿Maybe some 32 bits dll missing?
Title: Re: foo_discogs
Post by: zoomorph on 2016-09-26 14:15:46
but now, with this release (https://www.discogs.com/de/x/release/1276042) I'd like to join the artists of hidden tracks the same way, I join the titles of hidden tracks, but I can't get it to work...
$joinnames() is a shortcut for joining artist names using the "join" strings specified on Discogs. (Has been added to help file now.)

What you likely want, for example:

ARTIST = artist1 / artist2 + artist3 / artist 4
TRACK = track1 / hiddentrack2 / hiddentrack3

Try this:
Code: [Select]
$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0,$joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%),$join($array($joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%),$joinnames(%<TRACK_HIDDEN_TRACKS_ARTISTS_NAME>%,%<TRACK_HIDDEN_TRACKS_ARTISTS_JOIN>%)),' / '))

You might want to add a $unique in there so the same artist isn't included twice:
Code: [Select]
$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0,$joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%),$join($unique($array($joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%),$joinnames(%<TRACK_HIDDEN_TRACKS_ARTISTS_NAME>%,%<TRACK_HIDDEN_TRACKS_ARTISTS_JOIN>%))),' / '))

Version 2.06 is now released.
It reports about itself as 2.05 though
hmmm....is it just my installation of f2k? every time f2k checks for for updated components, it finds the 2.06 version.... so it updates and updates and updates and updates and updates and updates....
Fixed now, thanks.
Title: Re: foo_discogs
Post by: fuffi on 2016-09-26 17:32:57
Hi,
parsing/fetching those releases
https://www.discogs.com/de/Lester-Young-The-Complete-Lester-Young-Studio-Sessions-On-Verve/release/2506269
https://www.discogs.com/de/Lester-Young-The-Complete-Lester-Young-Studio-Sessions-On-Verve/release/6078084

gives this error:

Quote
(FATAL) Error: Error loading release 2506269: JSON Parser ExceptionError parsing release credits.

[ESCAPE to close]
Title: Re: foo_discogs
Post by: fuffi on 2016-09-26 18:13:37
Minor:
This sentence makes no sense for me:
(https://picload.org/image/rddrdpiw/screenclip.png)
Title: Re: foo_discogs
Post by: fuffi on 2016-09-26 18:53:26
but now, with this release (https://www.discogs.com/de/x/release/1276042) I'd like to join the artists of hidden tracks the same way, I join the titles of hidden tracks, but I can't get it to work...
What you likely want, for example:
ARTIST = artist1 / artist2 + artist3 / artist 4
TRACK = track1 / hiddentrack2 / hiddentrack3
Try this:
Code: [Select]
$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0,$joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%),$join($array($joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%),$joinnames(%<TRACK_HIDDEN_TRACKS_ARTISTS_NAME>%,%<TRACK_HIDDEN_TRACKS_ARTISTS_JOIN>%)),' / '))
Thank you for the example pattern! Very much appreceated!
I found an interesting "glitch", when checking the properties for the tagged files. The first separator is always a ";" (semicolon, as I'd like, because IMMO thats the indicator for multi-tags inside f2k), but the next separators are "," (comma).

Result Screenshot:
(https://picload.org/image/rddragri/screenclip.png)


You might want to add a $unique in there so the same artist isn't included twice:
I'm not quite sure,  if I need/want a $unique, because that would maybe confuse (or mess up) the order/relationship of artists + tracks.
But I dunno for sure, I just suppose it could be. It needs some example releases with artist-dupes to test on, but I did'nt found some yet...
Title: Re: foo_discogs
Post by: fuffi on 2016-09-26 19:59:57
Hi,
I'm trying a simple method to display a  "►", when a track heading is found for a/some track/s.

I'm doing this to get an overview right in the Match Tracks window.
This is the place, I add the code: -> F2k->Configuration->Matching->Track Matching Options->Discogs track formatting string:
(https://picload.org/image/rddrodwi/screenclip.png)


But, while
Code: [Select]
$multi_if($multi_strstr(%<ARTISTS_NAME>%,teststring),###, ►)]
is working as expected,
Code: [Select]
$multi_if($multi_strcmp(%<DISCOGS_TRACK_HEADING>%,teststring),####, ►)
is not.

Now, after some hours of banging my head onto the keyboard, I got the impression, that DISCOGS_TRACK_HEADING isnt avaiable at this time?

How can I assure, what Tags are available and which not?
Title: Re: foo_discogs
Post by: zoomorph on 2016-09-26 20:27:31
Try %TRACK_HEADING%. No such thing has %<DISCOGS_TRACK_HEADING>%.
Title: Re: foo_discogs
Post by: fuffi on 2016-09-26 21:14:38
Try %TRACK_HEADING%. No such thing has %<DISCOGS_TRACK_HEADING>%.
Now, that you showed it, its obvious to me, that I shouldnt use copy/page too much 8-) ok, well, sorry and thank you!

btw:
the component is not usable anymore (greyed out) after the user made some mistakes to the formatting strings in the config and gets this error message:
Quote
(FATAL) Error: Error processing function $multi_longer : Function $multi_longer invalid number of arguments.

[ESCAPE to close]

steps to reproduce:
with this (errornous) string: "$multi_longer(%TRACK_HEADING%,0,ja,nein)"
inserted here: -> F2k->Configuration->Matching->Track Matching Options->Discogs track formatting string

It would be great, if the component would be usable, although the user did mistakes and will not punish him/she/it with a f2k-restart, every time he/she/it makes a mistake  >;-)
Title: Re: foo_discogs
Post by: fuffi on 2016-09-27 00:09:31
Hi zoomorph,
are'nt those discogs conform hidden tracks (https://www.discogs.com/de/help/database/submission-guidelines-release-trk#Hidden_And_Blank_Tracks)?

https://www.discogs.com/de/Klaus-Schulze-Mirage/release/2369542
https://www.discogs.com/de/Klaus-Schulze-Mirage/release/870536
https://www.discogs.com/de/x/release/61128

instead of those:
https://www.discogs.com/de/Klaus-Schulze-Mirage/release/81273
https://www.discogs.com/de/Klaus-Schulze-Mirage/release/8676797

The component shows them als normal tracks, regardless if "parse hidden tracks" is active or inactive.
(https://picload.org/image/rddrcial/screenclip.png)
Title: Re: foo_discogs
Post by: fuffi on 2016-09-28 12:59:11
Hi zoomorph,
I think, there is something wrong with the parsing of the hidden tracks (artists),

I don't know, if its the formatting string, or the code of the component, because its working good on some releases, but not good on some others (https://www.discogs.com/de/de/release/6707163).
Please see the image.
(https://picload.org/image/rddaalgo/screenclip.png)


Version 2.06 is now released. Changes:
- Find release filter works on multiple words independently. Words are split by spaces. (There's no way to use quotes to change this behavior.)
A shortish feedback: that new feature is such an ease! its so intuitive and quickly done, to search now for a release NAME on a CD from the year NNNN.
The minor "drawback" about the quotes is not a really a problem at all. After 2 days of testing/working, I find the new search very comfortable and the results are sufficient! thank you. Those are the things, which make working with this fine component even more pleasant!
Title: Re: foo_discogs
Post by: zoomorph on 2016-09-28 20:03:51
It would be great, if the component would be usable, although the user did mistakes and will not punish him/she/it with a f2k-restart, every time he/she/it makes a mistake  >;-)
Good catch. Next version will have fixed error handling for when these formatting strings are bad.

are'nt those discogs conform hidden tracks (https://www.discogs.com/de/help/database/submission-guidelines-release-trk#Hidden_And_Blank_Tracks)?

https://www.discogs.com/de/Klaus-Schulze-Mirage/release/2369542
https://www.discogs.com/de/Klaus-Schulze-Mirage/release/870536
https://www.discogs.com/de/x/release/61128
Those are sub-tracks. Hidden tracks are when you have 2 tracks within a single index on a CD. I'm not sure if the concept of hidden tracks applies to records.
Title: Re: foo_discogs
Post by: fuffi on 2016-09-30 01:51:19
are'nt those discogs conform hidden tracks (https://www.discogs.com/de/help/database/submission-guidelines-release-trk#Hidden_And_Blank_Tracks)?
Those are sub-tracks. Hidden tracks are when you have 2 tracks within a single index on a CD. I'm not sure if the concept of hidden tracks applies to records.
I see, ok, will think about it too :-) but for what I can say right now, it seems to me, that the track-titles should be joined into a "master" track, so we have all the titles/names of i.e. a medley.



btw:
in addition to my other post (https://hydrogenaud.io/index.php/topic,50523.msg928824.html#msg928824) regarding the "strange" behaviour of the joining of tracktitles, I found another release (https://www.discogs.com/de/x/release/1051292).

After Tagging:

Track Title : Megamix (Music And Lights) / Megamix (Just An Illusion) / Megamix (Flashback)

My wish/expectation would be:

Track Title : Megamix / Music And Lights / Just An Illusion / Flashback
or
Track Title : Megamix - Music And Lights / Just An Illusion / Flashback
or
Track Title : Megamix (Music And Lights / Just An Illusion / Flashback)
...
but no repetation of the original title "Megamix".



For the artists:
After Tagging:

Artist Name : Imagination / Imagination  Imagination

My wish/expectation would be:
Imagination;Imagination;Imagination
or
Imagination, Imagination, Imagination

or just
Imagination
(as you proposed for using a $unique,)

(I'm not quite sure, if a $unique should be used as a default, but in this case, it seems valid and correct. But there are other examples, when there are might be a constellaton, like Artist A, Artist B, Artist C, Artist A, Artist B, Artist D ....well...as long as uses can change the formatting string to their wishes....i'm ok with anything which does the preparation of the artists/tracks)

Title: Re: foo_discogs
Post by: Lee James on 2016-10-01 21:40:16
Zoomorph,

Thank you for your hard work on this plugin. I have 4 questions:

1. Sorry if this issue has already been raised, but on the latest release, I don't see a preview of album art like I used to. Is this a bug? To me that was really important because downloading art is the main reason I use the plugin.

2. Also, I had an idea (just a suggestion). The plugin has two main dialog screens: 'Find Release' then 'Match Tracks'. Why not combine these into one? That way, when you're trying to find the right album, you can simply click an item in the list, and it will load the tracks allowing you to see instantly if it's the right one or not. It would save you having to keep going to the "Next" and "Back" buttons.

3. Also, I don't want to be a nuisance, but just to remind you of a requested feature which would be so helpful to me, as was discussed 6 months ago:

When there are dozens of releases to choose from, finding the right one can be a real chore. Couldn't this be sped up by allowing filters (eg filter out anything containing the word "tape" or "LP")?
Currently you can only enter one filter. Maybe I should change it so that every word entered in the filter box is matched independently.
Please, please, please could you do this? Or better still make a second search bar for filtering out unwanted items. In this search bar you'd have a query like "CD ALBUM US" and what you type there is retained between sessions, since most people will always want to perform the same kind of filtering.

4. Finally, on the "Find Release" dialog, there is usually one release entry with an asterisk next to it, which usually seems to be the correct choice, but not always. What does the asterisk mean please?
Title: Re: foo_discogs
Post by: zoomorph on 2016-10-02 07:15:03
1. Sorry if this issue has already been raised, but on the latest release, I don't see a preview of album art like I used to. Is this a bug? To me that was really important because downloading art is the main reason I use the plugin.
The thumbnail is currently, optionally, displayed on the "Preview Tags" dialog.

2. Also, I had an idea (just a suggestion). The plugin has two main dialog screens: 'Find Release' then 'Match Tracks'. Why not combine these into one? That way, when you're trying to find the right album, you can simply click an item in the list, and it will load the tracks allowing you to see instantly if it's the right one or not. It would save you having to keep going to the "Next" and "Back" buttons.
That's not a bad idea. There's no great for having 2 separate dialogs.

3. Also, I don't want to be a nuisance, but just to remind you of a requested feature which would be so helpful to me, as was discussed 6 months ago:
That was added in the latest version.

4. Finally, on the "Find Release" dialog, there is usually one release entry with an asterisk next to it, which usually seems to be the correct choice, but not always. What does the asterisk mean please?
That's the release set as the "main" release for a master release, in the Discogs database.
Title: Re: foo_discogs
Post by: zoomorph on 2016-10-02 07:27:37
are'nt those discogs conform hidden tracks (https://www.discogs.com/de/help/database/submission-guidelines-release-trk#Hidden_And_Blank_Tracks)?
Those are sub-tracks. Hidden tracks are when you have 2 tracks within a single index on a CD. I'm not sure if the concept of hidden tracks applies to records.
I see, ok, will think about it too :-) but for what I can say right now, it seems to me, that the track-titles should be joined into a "master" track, so we have all the titles/names of i.e. a medley.

btw:
in addition to my other post (https://hydrogenaud.io/index.php/topic,50523.msg928824.html#msg928824) regarding the "strange" behaviour of the joining of tracktitles, I found another release (https://www.discogs.com/de/x/release/1051292).

After Tagging:

Track Title : Megamix (Music And Lights) / Megamix (Just An Illusion) / Megamix (Flashback)

My wish/expectation would be:

Track Title : Megamix / Music And Lights / Just An Illusion / Flashback
or
Track Title : Megamix - Music And Lights / Just An Illusion / Flashback
or
Track Title : Megamix (Music And Lights / Just An Illusion / Flashback)
...
but no repetation of the original title "Megamix".

For the artists:
After Tagging:

Artist Name : Imagination / Imagination  Imagination

My wish/expectation would be:
Imagination;Imagination;Imagination
or
Imagination, Imagination, Imagination

or just
Imagination
(as you proposed for using a $unique,)

(I'm not quite sure, if a $unique should be used as a default, but in this case, it seems valid and correct. But there are other examples, when there are might be a constellaton, like Artist A, Artist B, Artist C, Artist A, Artist B, Artist D ....well...as long as uses can change the formatting string to their wishes....i'm ok with anything which does the preparation of the artists/tracks)
What you are asking for is possible, you'll just have to change the formatting strings. In the case where the sub-tracks are hidden tracks (again, I'm not sure if this is really valid - the guidelines are extremely vague on this subject), you want to use TRACK_SUBTRACK_TITLE instead of TRACK_TITLE.

And for artists you want to return a list of them instead of joining them into a string.
Title: Re: foo_discogs
Post by: fuffi on 2016-10-02 11:27:12
4. Finally, on the "Find Release" dialog, there is usually one release entry with an asterisk next to it, which usually seems to be the correct choice, but not always. What does the asterisk mean please?
That's the release set as the "main" release for a master release, in the Discogs database.
there is an "old bug", which will not show the *master release at the top of the list, but only, when you click again on the artist.
can anyone confirm this?

Title: Re: foo_discogs
Post by: Lee James on 2016-10-02 13:33:53
Zoomorph,

Thank you so much for your very helpful answers :)

just to remind you of a requested feature which would be so helpful to me
That was added in the latest version.
Oh gosh, so it was! I only updated a few days ago but this came out in the meantime!  :-[

Zoomorph, thank you so much for adding this! The plugin is so much better for me now. My only further request here would be that the search bar now seems quite short and regularly has to scroll, given that I am always adding "CD ALBUM UK" to the end of the query. I think the search bar should be maybe twice as long. It is also (very slightly) inconvenient having to type "CD ALBUM UK" every single time I search, so if you could consider adding a second bar which retains the query, that would be good. Or, perhaps allow a custom string to be entered in the settings which will always be added to the query?

Anyway, above all... thank you! :)
Title: Re: foo_discogs
Post by: Lee James on 2016-10-03 00:33:53
Zoomorph,

Just a humble suggestion of how both dialogs might combined into one screen, this is how I would do it, in case it is any help to you:

(http://i.imgsafe.org/19916c57e7.png)
Title: Re: foo_discogs
Post by: kitzik on 2016-10-03 11:46:43
Hi zoomorph,
is it possible to make https connection optional. Currently, it doesn't work with my corporate http-proxy

Thanks!
Title: Re: foo_discogs
Post by: fuffi on 2016-10-03 16:35:29
Zoomorph,Just a humble suggestion of how both dialogs might combined into one screen, this is how I would do it, in case it is any help to you:
(http://i.imgsafe.org/19916c57e7.png)
This is quite a good idea, I like it, but I'd like to say, that on big releases (such with a long tracklist (https://www.discogs.com/Kate-Bush-This-Womans-Work-Anthology-1978-1990/release/1983353), like i.e. compilations (https://www.discogs.com/Imagination-Greatest-Hits/release/5909930)),  we do have too less space at the moment to take a good look for all the tracks at once, without scrolling too much (which is a pain, when you compare track by track)
(https://picload.org/image/rdarpcwg/image.png)
I'd like also to add that it would be very great for the usability, when portions of the windows would be resizable, so we can create our own best view for each release. (say, some releases have really long (https://www.discogs.com/Neville-Marriner-Academy-Of-St-Martin-In-the-Fields-Amadeus/release/6797016) tracktitles (https://www.discogs.com/Ralph-Benatzky-Peter-Alexander-Ingeborg-Hallstein-Erika-K%C3%B6th-Rudolf-Schock-Paul-H%C3%B6rbiger-Uschi-Gla/release/6189937), where others have a long tracklist)

And, finally, I don't use the album-art-preview (takes too much time to load the image and it is a source of api-errors I encountered the last months using this fine component), so I would have it to be turned off and turned on, if I like to use it again sometimes.

What I like now with the current windows is, that it offer a lot of space to use on "long" releases.
(https://picload.org/image/rdarppai/3.png)
and not such a small window, where we have to scroll our *ss off :)
(https://picload.org/image/rdarppal/4.png)
Title: Re: foo_discogs
Post by: fuffi on 2016-10-03 17:26:20
are'nt those discogs conform hidden tracks (https://www.discogs.com/de/help/database/submission-guidelines-release-trk#Hidden_And_Blank_Tracks)?
Those are sub-tracks. Hidden tracks are when you have 2 tracks within a single index on a CD. I'm not sure if the concept of hidden tracks applies to records.
I see, ok, will think about it too :-) but for what I can say right now, it seems to me, that the track-titles should be joined into a "master" track, so we have all the titles/names of i.e. a medley.

btw:
in addition to my other post (https://hydrogenaud.io/index.php/topic,50523.msg928824.html#msg928824) regarding the "strange" behaviour of the joining of tracktitles, I found another release (https://www.discogs.com/de/x/release/1051292).

After Tagging:

Track Title : Megamix (Music And Lights) / Megamix (Just An Illusion) / Megamix (Flashback)

My wish/expectation would be:

Track Title : Megamix / Music And Lights / Just An Illusion / Flashback
or
Track Title : Megamix - Music And Lights / Just An Illusion / Flashback
or
Track Title : Megamix (Music And Lights / Just An Illusion / Flashback)
...
but no repetation of the original title "Megamix".

For the artists:
After Tagging:

Artist Name : Imagination / Imagination  Imagination

My wish/expectation would be:
Imagination;Imagination;Imagination
or
Imagination, Imagination, Imagination

or just
Imagination
(as you proposed for using a $unique,)

(I'm not quite sure, if a $unique should be used as a default, but in this case, it seems valid and correct. But there are other examples, when there are might be a constellaton, like Artist A, Artist B, Artist C, Artist A, Artist B, Artist D ....well...as long as uses can change the formatting string to their wishes....i'm ok with anything which does the preparation of the artists/tracks)
What you are asking for is possible, you'll just have to change the formatting strings. In the case where the sub-tracks are hidden tracks (again, I'm not sure if this is really valid - the guidelines are extremely vague on this subject), you want to use TRACK_SUBTRACK_TITLE instead of TRACK_TITLE.

And for artists you want to return a list of them instead of joining them into a string.

Ok, I now spend about 6 hours fiddeling around with tracks, sub_tracks or hidden_tracks, arrays, joinings and extending things.
No success. And I tried so much, I cannot post all my mistakes or failures here, to confuse even more ppl...

I found it very difficult to difference between sub_tracks or hidden_tracks. I just don't know, when one or the other is used by the api or the component and which one to refer in my formatting string.
Also, I have an indicator, when a Hidden Track is available "$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0, ....", but no way to easily check, if a subtrack exists, so the code must be very complex and thats -unfortunately- way too complicate and exhausting for me to fool around in this smallish-one-lin-edit-mapping-window. (no offence!! its just me :-) )

Also, I don't understand, why there are automaticly "(" ")" when using a formatting string "$join($extend($array(%TRACK_TITLE%),%<TRACK_HIDDEN_TRACKS_TITLE>%)))"

When I replace the
"$join($extend($array(%TRACK_TITLE%),%<TRACK_HIDDEN_TRACKS_TITLE>%)))" with
"$join($extend($array(%TRACK_TITLE%),%<TRACK_SUBTRACK_TITLE>%)))"
I get this result "Megamix (Music And Lights)", but where are the other two subtracks? and if there are no subtracks at all, why is the single one shown?

I don't understand that " / " here on this code "$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0,%TRACK_TITLE%,$join($extend($array(%TRACK_TITLE%),%<TRACK_HIDDEN_TRACKS_TITLE>%),' / '))
"

Too many questions, no need to answer, thank you.

I will do it manually as before :-)
Title: Re: foo_discogs
Post by: Lee James on 2016-10-03 21:42:12
I agree with everything Fuffi, said. I had imagined the panels being resizable when I made my visual.

As for compilations, this is important to me as the vast majority of my CD collection is compilations. In fact I still have about 1,500 compilations (double CDs) still waiting to be tagged. That's why I need the Discogs plugin to be as quick and easy to use as possible!

I think it should be noted that Fuffi and I seem to be using this plugin in two different ways. And the plugin should facilitate both methods of working:

Fuffi's way of working:
He selects a release from the list, then carefully looks through all the tracks to make sure they match his files. I guess this is how most people probably use it?

My way of working:
For me, the tracklist inspector is far less useful, since none of my mp3s have any filenames and therefore I have nothing to compare. (I rename my files after they've been tagged based on the tags.) Therefore I identify the correct release based on two things: the number of tracks and the artwork. I can usually tell straight away if it's the right release based on whether the artwork matches the CD I bought. So, for me, it's important to be able to click on releases from the list, and quickly see their artwork. Therefore, having everything in one dialog would mean I don't have to keep going back and forward to look at the pictures.
Title: Re: foo_discogs
Post by: fuffi on 2016-10-04 21:12:06
Fuffi's way of working:He selects a release from the list, then carefully looks through all the tracks to make sure they match his files.
Yes. Today, most music is bought/downloaded via Internet sources and thankfully those tape- or cd-ripping times are over (I remember a time, where no internet, nor CDDB was available and ripping with 1x "speed" in realtime) giving you filenames like track01.aiff - track26.aiff ... So I certainly use it now -most of the time- the way Grand Dizzy described it :-)

Sometimes, when I have files from a ripped CD with no tags set, I use the freedb tagger (http://wiki.hydrogenaud.io/index.php?title=Foobar2000:Components/Freedb_Tagger_(foo_freedb2)) component, which will then -most of the time- fetches me some "first starting" tags. And with those (very improvable and not complete) tags, I use the fine discogs component to refine/improve the tags. But its a good start if you are lazy and don't want to type too much :-)


btw, zoomorph,
I accidentially found a useful shortcut in the Edit Tag Mappings Windows
CTRL+N to add a new empty line.
Before, I had tried to click at the lowest possible point at the bottom of the window to create a new formatting string line. This did not always work out easy, so my question is:

Are there more useful keyboad-shortcuts for us to use? :-)
like, i.e.
move a line up/down,  (most useful/important imho)
copy/page a whole line (tagname+formatting string+writeconfig) at once

Title: Re: foo_discogs
Post by: Lee James on 2016-10-04 21:35:19
Zoomorph,

Just a quick thought: in the Match tracks dialog, it shows the filename of the local files. Instead of showing filenames, could there be an option to show the %track number%, %artist% and %title% tags instead? That would help people like me, whose files are unnamed, but we have tagged them with Freedb.

Fuffi,

I was under the impression that Freedb is usually far more accurate than Discogs, which is why I tag all my files with Freedb, and only use Discogs for getting album art. (I also allow it to tag the music with the release and artist ID numbers.) I really see Discogs as a backup for when Freedb doesn't have an album in its database.

As for online music, I have never bought music online. I guess I was put off back in the early days when they only sold 128Kbps mp3s. I found the thought quite horrific of not owning the lossless original, or at least the thought of not being able to compress it myself. My aversion to online music was furthered by the fact that the only main online sellers were Apple, and I absolutely hate Apple and iTunes, for so many reasons. So I wanted nothing to do with online music.

I know things have changed in the last 10 years, but I don't buy any music any more, so it doesn't concern me. My entire music collection ends in the early 2000s. I have several reasons for that, which I won't list as they're probably not very interesting or relevant. :)
Title: Re: foo_discogs
Post by: fuffi on 2016-10-05 00:23:53
Hi zoomorph,
I think, it could be useful (esspecially but not exclusive, when updating more than one album), when the name of the album and maybe the album artist woulb be shown in this window.
(https://picload.org/image/rdaacwgp/screenclip.png)

Title: Re: foo_discogs
Post by: fuffi on 2016-10-05 00:38:52
Just a quick thought: in the Match tracks dialog, it shows the filename of the local files. Instead of showing filenames, could there be an option to show the %track number%, %artist% and %title% tags instead?
You can try to build your own display here:
(https://picload.org/image/rdaacwal/screenclip.png)
This will alter the information shown at the Match Tracks Window. Dunno, if it will work as you like, but try it and tell us :-)

I was under the impression that Freedb is usually far more accurate than Discogs, which is why I tag all my files with Freedb, and only use Discogs for getting album art. (I also allow it to tag the music with the release and artist ID numbers.) I really see Discogs as a backup for when Freedb doesn't have an album in its database.
Well, I guess, thats depends on our point of view. A lot of times, when I use the freedb component, it shows me about 2-5 possible results for a ripped CD. All of those offer different spelling of the tracktitles or artists, but mostly represent the same CD. Some have set the release year, some not. and so on.... Its mostly like the dozenz of reissues or different releases of a master release on the discogs-db, but I prefer the unique discogs-ID before the CD-ID used by CDDB.

I have several reasons for that, which I won't list as they're probably not very interesting or relevant. :)
We all have different and valid reasons for whatever is important for us :-)
Title: Re: foo_discogs
Post by: Lee James on 2016-10-05 03:25:08
Fuffi: Thanks for that, I didn't realize it was already possible to change what information is shown in the Match Tracks dialog. I changed it and it worked, thank you! :) As for Discogs vs Freedb. I am not really experienced enough to comment, and they both seem pretty good to me, but I heard on these forums that Freedb was generally more accurate, just more limited in scope.

Zoomorph: Just noticed what I think is a small bug with the new filter on the Find Release window. When the search results first appear, you have several main releases, which you then click to look inside at the different variations. But if you click inside on one of the entires, and start adding new words to the filter (eg "ALBUM"), then some of the main releases disappear, meaning you can't "get out" of the one you're currently  looking in. I hope that makes sense, it's hard to explain clearly.
Title: Re: foo_discogs
Post by: fuffi on 2016-10-05 12:18:40
Hi zoomorph,
regarding to the search, I'd like to ask, if it is possible to help the user find releases with special characters, by adding something like $ascii() to the search.
so, when I search for Jóga (https://www.discogs.com/de/Bj%C3%B6rk-J%C3%B3ga/release/32559) (just a simple example)
I just can type "joga" and it will find releases with "joga" and "jóga" in its name (and maybe others like "Jógà" too ...
Title: Re: foo_discogs
Post by: Lee James on 2016-10-05 18:33:43
On the subject of special characters, Discogs doesn't recognize any apostrophes I have typed myself because I always use typographer's apostrophes in my music (’ Alt+0146). That means, for example, I have to change "Its about time" to "It's about time". Same with ellipses (… Alt+0133). It really isn't a problem at all but thought I would mention it just for the record! :)

Fuffi, Hey, I used to love Björk! Homogenic was one of my favourite albums - IIRC, I think it was actually my first CD! :)
Title: Re: foo_discogs
Post by: zoomorph on 2016-10-08 16:42:37
check, if a subtrack exists, so the code must be very complex and thats -unfortunately- way too complicate and exhausting for me to fool around in this smallish-one-lin-edit-mapping-window. (no offence!! its just me :-) )
Personally I edit the string in notepad then paste it in and press "apply", with the preview dialog open, to check what the result is, and then continue to edit it if necessary.

Also, I don't understand, why there are automaticly "(" ")" when using a formatting string "$join($extend($array(%TRACK_TITLE%),%<TRACK_HIDDEN_TRACKS_TITLE>%)))"
That's just the way it is (according to Discogs guidelines it is supposed to be valid).
TRACK_INDEXTRACK_TITLE = Megamix
TRACK_SUBTRACK_TITLE = Flashback
TRACK_TITLE = Megamix (Flashback)

Something like this should work, at least for this release:
Code: [Select]
$puts(X,%TRACK_INDEXTRACK_TITLE%)$multi_if($get(X),$get(X) '(',)$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0,$multi_or(%TRACK_SUBTRACK_TITLE%,%TRACK_TITLE%),$join($extend($array($multi_or(%TRACK_SUBTRACK_TITLE%,%TRACK_TITLE%)),%<TRACK_HIDDEN_TRACKS_SUBTRACK_TITLE>%),' / '))$multi_if($get(X),')',)

Result:
Megamix (Music And Lights / Just An Illusion / Flashback)

Note: Since the Discogs tracklist is not really formally defined, there will always be some edge cases that are impossible to handle.
Title: Re: foo_discogs
Post by: zoomorph on 2016-10-08 16:52:08
Combining the dialogs is a good idea, although it may not be large enough for big releases. I'll think about your desire to preview the cover and how that can be done easier. (Note that often the covers for multiple versions of a release are very similar - maybe you don't care about finding the exact release?)
Title: Re: foo_discogs
Post by: Lee James on 2016-10-08 17:53:05
(Note that often the covers for multiple versions of a release are very similar - maybe you don't care about finding the exact release?)
I always look through all the releases to try to get the closest match, but the cover helps me to do that because I can quickly rule out all the ones with the wrong cover.
Title: Re: foo_discogs
Post by: fuffi on 2016-10-09 13:03:54
Hi zoomorph,
I found an incongruity (unpleasantness in usability) while matching tracks via track number *and* track duration:
this release (https://www.discogs.com/de/de/release/8801917), but I guess, its independent of the release.

When selecting this options: Match using tracknumber
(https://picload.org/image/rdawwwri/num1.png)
The result is correct:
(https://picload.org/image/rdawwwrl/num2.png)

When selecting this options: Match using tracklength
(https://picload.org/image/rdawwwdr/dur1.png)
The result is wrong/mixed up, but the component indicates, its correct:
(https://picload.org/image/rdogggop/dur2.png)

When selecting both options: Match using tracklength AND tracknumber (which is IMHO a setting, every user activates, because he/she/it wants to have the component use all possible information at once)
(https://picload.org/image/rdawwwdl/none1.png)
The result is: no matching possible.
(https://picload.org/image/rdawwwda/none2.png)

I would say, if those two options (matching with lenght or numbers) are mutually exclusive, then you should put in a (o) radio button, instead a [X] checkbox, which indicates, that those two options are available at the same time. And as a user, I'd love to have those two methods combined intelligent :-) Thats why I activated both (I assume, the intelligence in the component tries them both)

Maybe you could add an intelligence, which refers to the track title too? (I guess its complicated, because a simple string-compare would'nt do it in 60% of the cases, because of small differences in the typo. but what about only checking [A-Z,a-z] and counting the frequency/occurrence ? Just an idea. On average title-lenghts (max 5 words or so...), this should work ok.

At this time, the result is kinda sufficent but not convenient to get (imho), because the user has to click too many times for a single release to check if the matching is posivie or negative. (go to the settings, change the settings, check the result, go back to the settings, and so on..)


Anyways, additionally, I'd prefer a visual better indicator, when the track matching matches, like MATCHED TRACK ORDER. now, its normal grey and I don't recognize it* (*it = I don't recognize, that a track-matching has been processed in the background at all)
Title: Re: foo_discogs
Post by: fuffi on 2016-10-09 19:10:34
Personally I edit the string in notepad then paste it in and press "apply", with the preview dialog open, to check what the result is, and then continue to edit it if necessary.
I use Notepad++ (https://notepad-plus-plus.org/) which enables brace matching, which is very useful, but still, its not funny ;>
(https://picload.org/image/rdogcwrg/npp.png)
Title: Re: foo_discogs
Post by: zoomorph on 2016-10-09 20:55:03
I would say, if those two options (matching with lenght or numbers) are mutually exclusive, then you should put in a (o) radio button, instead a [X] checkbox, which indicates, that those two options are available at the same time. And as a user, I'd love to have those two methods combined intelligent :-) Thats why I activated both (I assume, the intelligence in the component tries them both)
If you know your tracks are always correctly labeled and in sorted order, just use the first option.

If you believe your tracks are correctly labeled and in sorted order, but want to be alerted when tracks mismatch by durations (maybe some tracks could be mixed up?), then use both options. Since Discogs durations are usually not exactly correct, you will often get false mismatches when you use this matching method.

It's working as expected.

Regarding coloring, lime green is very hard to see on the dialog box but I may come up with a better solution. Maybe coloring the background of the lists green/yellow or something would look good.
Title: Re: foo_discogs
Post by: NoHomeJerome on 2016-10-12 09:14:00
Hi zoomorph,

I'd like to request a new Object/Field for the Master, not Release, Avg. Rating and Vote Counts.

Certain, usually lesser known, releases within the same master have very few votes or none at all.

From what I can see, the Master Avg. Rating and Vote Counts shown on Discogs are averages of all the Avg. Rating and Vote Counts of all the releases within that master. While this would mean that using the Master Release Avg. Rating and Vote Counts for a specific release would not account for the differences in that release, I think the differences are usually not significant to defeat the advantages.

Thank you for developing this great plug-in, please let me know what you think.


Title: Re: foo_discogs
Post by: fuffi on 2016-10-13 07:09:58
Hi zoomorph,
I found this error for this release (https://www.discogs.com/de/de/release/2506269) or that (https://www.discogs.com/de/de/release/6078084):
Quote
(FATAL) Error: Error loading release 2506269: JSON Parser ExceptionError parsing release credits.

[ESCAPE to close]
Title: Re: foo_discogs
Post by: fuffi on 2016-10-13 08:12:55
Regarding coloring, lime green is very hard to see on the dialog box but I may come up with a better solution. Maybe coloring the background of the lists green/yellow or something would look good.
That was just an example. I trust you in make a better solution 8-) Anyways, its only "needed", when doing an automaticly matching, which I don't prefer, because I never know if the labeling/ordering/numbering of my files are "correct", because there is no such thing as "correct". My way is to take the release, which fits the most to my files and then change the order when nescessary. (for me, as I use the f2k Database intensely, I prefere releases with lots of information in it. I don't care, if it is the very special release I own, when its poorly filled with information, like writer, vocalist, remixer, etc.
I just take the "best fitting" relase to have the least work with. (better: I try to take, because recognizing the amount of information for a release requires me to go to the discogs-release-website because the component does not show such information and its kinda timeconsuming to check out each release I want to tag)

It's working as expected.
Ok, I see, thanks for the explanation, it is working as *you* expected it to work, not me :-)

For me, its too inconvenient to switch settings for each Album, EP or Compilation, I want to tag, so I don't change the settings too often. In fact, I have turned off matching tracks most of the time, and do the sorting by hand, moving the wrongly sorted tracks up and down to fit the release ordering. (For Compilations or Re-Releases Albums when they put in an extra track or switched some tracks)
I feel it makes more sense to not have the tracks automaticly matched, but to do it on users wish, like when he/she/it pressing a button to start the matching in the Match Tracks Window.
Say, the user has 10 Albums to tag, he/she/it has to change the settings 10 times? not convenient, nor usable.
You have the Job done faster, doing it by hand.
But thats sad, because that algorythm could really help when aplied by a click on a button and the user could see how the ordering changes.
Then he/she/it could press that button a second or third time to get the next matching, or undo the matching (again to see what changed). Now the tracklist is sorted and the user is forced to take that matching or change the settings and take that matching or change the settings... and so on... not nice if yo want to tag more than a single album.


If you know your tracks are always correctly labeled and in sorted order, just use the first option.

If you believe your tracks are correctly labeled and in sorted order, but want to be alerted when tracks mismatch by durations (maybe some tracks could be mixed up?), then use both options. Since Discogs durations are usually not exactly correct, you will often get false mismatches when you use this matching method.
Hmmm, how would I ever know if I (or the CDDB people) did a mistake when ripping and nameing ?
I could try trusting the Booklet I have scanned or check some websites. Or, for a digital release, take a look at the BackCover.
But thats not the way I tag my files.
Generallized, I don't know, if the tracks are correctly ordered/numbered/labled, but I try to match them to the release I want to tag the files with.
I take the Release-ID, which happens to "fit" the track names and numbering the most, but if there is no such relase (and I'm too lazy to create a new one or change a release), I move/sort the tracks by hand when possible. If not, I don't tag the files, but put them into a folder "maybe later this year".

You see, I do not use that function the way its intended to be, but try to get the best out of it! :-)
Title: Re: foo_discogs
Post by: fuffi on 2016-10-13 21:07:56
Hi zoomorph,
this may be kinda special...
can you add (or is it even possible right now?) somehow the actual date/time into a variable to the component, so that we can set the date (we tagged the file) into the file itself?

like
Code: [Select]
LAST_TAGGED_DATE = "2016-10-13 21:37:00" (YYYY-MM-DD hh:mm:ss)

With the old component, there was no DiscoGS Tag for the DiscoGS votes (or I didn't used it...), so now I use to search&filter files, which I haven't updated the tags with the new component like "%DISCOGS_VOTES% MISSING" via the media library search or even an autoplaylist, which is very convenient.

But as this fine component evolves and me, changing a lot of tag-names (and logic to the formatting strings), I need to update also the newer files.

I could use %ADDED% to find new files to the library, but I delete my library very often (slsk is too slow with a lot of files in the library *and* any filter panel open).
Not to mention, that I can't remember, what I did last day...

So I came up with the idea to filter like, i.e.:
Code: [Select]
(%DISCOGS_VOTES% MISSING) OR (%LAST_TAGGED_DATE% DURING LAST 3 WEEKS)
to find me all files which I have tagged in the last 3 weeks and want to update them to to newest tags.

Is this something, which you consider an useful additional tag/feature?

Or maybe anybody else has an Idea for me?
Title: Re: foo_discogs
Post by: zoomorph on 2016-10-23 09:40:09
Hi zoomorph,

I'd like to request a new Object/Field for the Master, not Release, Avg. Rating and Vote Counts.

Certain, usually lesser known, releases within the same master have very few votes or none at all.

From what I can see, the Master Avg. Rating and Vote Counts shown on Discogs are averages of all the Avg. Rating and Vote Counts of all the releases within that master. While this would mean that using the Master Release Avg. Rating and Vote Counts for a specific release would not account for the differences in that release, I think the differences are usually not significant to defeat the advantages.

Thank you for developing this great plug-in, please let me know what you think.
Unfortunately that information is not available from the Discogs API.

As of version 2.07, this can be done manually using the following formatting string:
Code: [Select]
$puts(RATINGS,%<MASTER_RELEASE_RELEASES_DISCOGS_AVG_RATING>%)$puts(VOTES,%<MASTER_RELEASE_RELEASES_DISCOGS_RATING_VOTES>%)$puts(COUNT,$length($get(RATINGS)))$puts(TOTALVOTES,$sum($get(VOTES)))$multi_round($sum($multi_divd($multi_mul($get(RATINGS),$get(VOTES)),$get(TOTALVOTES))),2)
Note that this could be very slow for large master releases, as it requires loading each sub release and then calculating the overall average.
Title: Re: foo_discogs
Post by: zoomorph on 2016-10-23 09:43:39
Is this something, which you consider an useful additional tag/feature?

Or maybe anybody else has an Idea for me?
I can see how it could be useful. I wonder if it could be requested from main foobar2000 developers rather than a special field provided by foo_discogs?
Title: Re: foo_discogs
Post by: zoomorph on 2016-10-23 13:08:09
Version 2.07 is now released:
* Fixed $joinnames() sometimes mixing up the join strings
* Fixed error handling when custom formatting strings on dialogs throw errors
* Renamed function $sum() to $count()
* Added new $sum() function that sums an array of numbers
* Modified all math functions, excluding $multi_div(), to support decimals
* Added new $multi_divd() function which supports decimals
* Added new $multi_round() function to round decimal numbers
* Added new RELEASES object array exposed from MASTER_RELEASE object
* Added new RELEASES object array exposed from ARTIST object
Title: Re: foo_discogs
Post by: zoomorph on 2016-10-23 23:00:07
Version 2.08 is now released:
* Added new DISCOGS_MY_RATING field exposed from RELEASE object
* Added new MASTER_RELEASE object exposed from RELEASE object
* Fixed dividing by 0 in $multi_divd() to return original number
* Fixed math, sum, count functions to return empty array instead of 0, when operating on empty array
* Improved internal logic for lazy loading data
* Improved status messages during processing

I have made a lot of changes recently. Hopefully I didn't break anything but let me know if you find any problems.
Title: Re: foo_discogs
Post by: frogworth on 2016-10-24 06:21:42
@zoomorph I'm not sure if it's my computer or internet connection (I'm travelling at the moment) but I think that one of the last two updates has resulted in the tagger freezing after it loads the release list for an artist - I find the tagging window stops responding for some length of time (could be a minute or more) before then going on working fine.

Nothing else broken but this freeze is a bit trying...
Title: Re: foo_discogs
Post by: zoomorph on 2016-10-24 14:49:28
Thanks for the alert frogworth. It was "hanging" because it was wrongly loading full releases. Fixed now.

Version 2.09 is now released:
* Fixed lazy loading problem causing unnecessary loading for default find release dialog formatting strings
* Added new MAIN_RELEASE object exposed from MASTER_RELEASE object
Title: Re: foo_discogs
Post by: frogworth on 2016-10-24 16:55:55
Great, thanks zoomorph!
Title: Re: foo_discogs
Post by: Strannik on 2016-10-24 20:43:22
Hello, @zoomorph, thanks a lot for continuing with developing new versions! (:
But now I have a problem: I've updated tagger once again at the middle of the day to write some tags from Discogs a-and… it crashed my foobar. Firstly I decided it was cause of 13-page list of The Beatles discography there, but it also happened with other artist with 3-page list. With single page lists everything is OK.
So, pre-last versions (previous was I think smth v2.04) worked fine (unfortunately I didn't backup of it).
Crash starts with hanging of the app at last page of a artist list (ex. 13/13) and after that Windows suggests me to restart fb2k. I have crash reports.

And, sorry, I still cannot export/import tag mappings (https://hydrogenaud.io/index.php/topic,50523.msg924683.html#msg924683) (^^)" Is it only me having such issue?
Spoiler (click to show/hide)

Turned back to v2.02 from backup, it gave me
Code: [Select]
(FATAL) Error: JSON Parser Exception'[' or '{' expected near ''

[ESCAPE to close]
so I'm between Scylla and Charybdis ::) Please, help!  :)
Title: Re: foo_discogs
Post by: zoomorph on 2016-10-25 00:57:31
Strannik,
"Crash starts with hanging of the app at last page of a artist list (ex. 13/13) and after that Windows suggests me to restart fb2k."
That sounds like the problem fixed in 2.09. Did you try 2.09? If so, are you using custom formatting strings for the "find release" dialog?
Title: Re: foo_discogs
Post by: a3aan on 2016-10-25 20:51:53
Thanks for the MAIN_RELEASE object. Much appreciated.

However, I'm trying to write $ifequal(%MASTER_RELEASE_MAIN_RELEASE_DATE_RAW%,%RELEASE_DATE_RAW%,,%MASTER_RELEASE_MAIN_RELEASE_DATE_RAW%) to a tag, but it doesn't recognize equals dates.

This release makes my foobar crash when writing or updating tags: https://www.discogs.com/release/1835548.

Cheers.
Title: Re: foo_discogs
Post by: a3aan on 2016-10-25 22:12:45
I observed that RELEASE_DATE_RAW sometimes writes yyyy-00-00 and sometimes just yyyy. This is because that is how the data is entered at discogs. Is it possible to have consistent date notations somehow?
Title: Re: foo_discogs
Post by: zoomorph on 2016-10-25 22:21:44
a3aan,
Thanks. This bug will be fixed in the next release. Regarding RELEASE_DATE_RAW, yes, that is exactly how it's entered on Discogs. You can get a parsed version (assuming it's able to be parsed properly), from the other release date attributes.
Title: Re: foo_discogs
Post by: zoomorph on 2016-10-25 22:31:38
Version 2.10 is released:
* Fix crash when formatting string references missing MASTER_RELEASE or MAIN_RELEASE object.
Title: Re: foo_discogs
Post by: a3aan on 2016-10-25 22:41:24
Version 2.10 is released:
* Fix crash when formatting string references missing MASTER_RELEASE or MAIN_RELEASE object.
Thanks. Great.

And what about $ifequal(%MASTER_RELEASE_MAIN_RELEASE_DATE_RAW%,%RELEASE_DATE_RAW%,,%MASTER_RELEASE_MAIN_RELEASE_DATE_RAW%) not recognizing equals dates?
Title: Re: foo_discogs
Post by: fuffi on 2016-10-28 07:22:46
Updating or Fetchting this release gives an error:

Quote
(FATAL) Error: Error loading release 505479: JSON Parser ExceptionError parsing release credits.

[ESCAPE to close]
maybe its the ? title on track 2-5 (https://www.discogs.com/de/Talk-Talk-Asides-Besides/release/505479) ?
Title: Re: foo_discogs
Post by: fuffi on 2016-10-28 07:37:03
And, sorry, I still cannot export/import tag mappings (https://hydrogenaud.io/index.php/topic,50523.msg924683.html#msg924683) (^^)" Is it only me having such issue?
Import/Export is working here fine, with the old and the newest component.

Here is what you can do to help yourself:

Open the Edit Tag Mappings window.
Copy and Paste *each* line (Tag Name + Formatting String) from that window to a notepad document to have your manual backup.

After you're finished, click the Defaults-Button in the left lower corner of the Edit Tag Mappings window.

Try to Export/Import.

It should work. (If not, you need to delete your configuration manually while f2k is closed. Its located here ...foobar2000\configuration\foo_discogs.dll.cfg)

Now, add or change your backuped lines *one by one* back and for each line, you do an export/import.

Thats -unfortunately- the only way to find out which of your formatting string is broken and causes the errror.

It may be a special (hidden) character or something else.

Unless you (and we) don't know, what causes the problem, zoomorph cannot do anything about it.

It's quite a work, but its worth it. Try it.
And remember: add ony one single line, then try the export/import. if it goes well, contintue :-)

Title: Re: foo_discogs
Post by: PeteG on 2016-10-28 14:36:13
Quote
(FATAL) Error: Error loading release 505479: JSON Parser ExceptionError parsing release credits.
[ESCAPE to close]
maybe its the ? title on track 2-5 (https://www.discogs.com/de/Talk-Talk-Asides-Besides/release/505479) ?
In the release credits:

Written-By – [...] M. Hollis* (tracks: 1-1, 1-4 to 1-12 to 2-3, 2-8 to 2-16), Hollis* (tracks: 1-2, 1-3, 2-4 to 2-7) [...]

should probably be
Written-By – [...] M. Hollis* (tracks: 1-1 to 1-12, 2-1 to 2-16) [...]

as M. Hollis = Hollis = Mark Hollis

Feel free to edit the Discogs page.
Title: Re: foo_discogs
Post by: fuffi on 2016-10-28 15:53:59
Thank you for clarifying PeteG!
For my understanding, there is something wrong with the "to". Some indicator is missing, so the fine component cannot know, what and how to split those track information. (same here in my brain...)

I took a look at the page but as I don't have the original release by my side, I cannot correct something, I do not have a clue about.
Obvious mistakes, spellings or adjustments I can fix, but here, I don't know (also do not understand), what the original submitter wanted to add.

(IF the problem is easy to fix and does not need an original release medium to look at, please take the time and explain it to me maybe in other simple words, as I don't understand, how to fix this correct. If you don't mind.)
Title: Re: foo_discogs
Post by: PeteG on 2016-10-28 16:53:10
For my understanding, there is something wrong with the "to". Some indicator is missing, so the fine component cannot know, what and how to split those track information. (same here in my brain...)
The string "1-4 to 1-12 to 2-3" is meaningless. At least for the component (and so it must be!).
It should almost certainly have been "1-4 to 1-12, 2-1 to 2-3". Which probably would eliminate the parse error.

As "Hollis" is Mark Hollis – not the older brother Ed – combining "1-1, 1-4 to 1-12, 2-1 to 2-3, 2-8 to 2-16" (the M. Hollis part) with "1-2, 1-3, 2-4 to 2-7" (the Hollis part) gives "1-1 to 1-12, 2-1 to 2-16".

I do actually own this double cd (it's a gem!), but it's in the attic, and I hesitate to update the Discogs page for the same reason as you (but AllMusic (http://www.allmusic.com/album/asides-besides-mw0000455804) actually do have Mark Hollis as (co)writer on all tracks).

Quote
Obvious mistakes, spellings or adjustments I can fix ...
I follow the same route, more or less. Errors can be annoying sometimes, but I'm full of admiration for all the people spending a lot of time updating Discogs with new (and old) releases.
Title: Re: foo_discogs
Post by: PeteG on 2016-10-28 16:55:17
And what about $ifequal(%MASTER_RELEASE_MAIN_RELEASE_DATE_RAW%,%RELEASE_DATE_RAW%,,%MASTER_RELEASE_MAIN_RELEASE_DATE_RAW%) not recognizing equals dates?
$ifequal() compares integer numbers.
%RELEASE_DATE_RAW% is a string (e.g. 2016-10-28 or 2016-10).
You could argue that when %RELEASE_DATE_RAW% is e.g. 2016 it could be treated as an integer, but that's not the point.
Title: Re: foo_discogs
Post by: a3aan on 2016-10-28 22:12:57
$ifequal() compares integer numbers.
Thanks. Got it working now. (I have from a dynamically typed background.  ;) )
Title: Re: foo_discogs
Post by: fuffi on 2016-10-29 00:18:01
Thank you, PeteG!

$ifequal() compares integer numbers.
Thanks. Got it working now. (I have from a dynamically typed background.  ;) )
Could you share with us, how you solved your issue?
Its good, thats its working now, and it would be useful for others too, if we/they not only knew the not working part of your script, but the working part too :-)
Its a learning thing...
Title: Re: foo_discogs
Post by: a3aan on 2016-10-29 08:55:27
Could you share with us, how you solved your issue?
Sure. This is what I do now in the tag mappings:
Code: [Select]
DISCOGS_MAIN_RELEASE_DATE <- $if($or($strcmp(%MASTER_RELEASE_MAIN_RELEASE_DATE_RAW%,%RELEASE_DATE_RAW%),$strcmp(%MASTER_RELEASE_MAIN_RELEASE_DATE_RAW%,$left(%RELEASE_DATE_RAW%,4))),,%MASTER_RELEASE_MAIN_RELEASE_DATE_RAW%)
Code: [Select]
DISCOGS_RELEASE_DATE <- %RELEASE_DATE_RAW%
And I use it in SimPlaylist's Sorting pattern like:
Code: [Select]
$if2(%discogs_main_release_date%,$if2(%discogs_release_date%,$if(%date%,%date%'-00-00','0000-00-00')))+$if2(%discogs_release_date%,$if(%date%,%date%'-00-00','0000-00-00'))+%path_sort%+%tracknumber%
And in SimPlaylist Columns (just a single column) like:
Code: [Select]
[%discogs_catalog%|]
[%discogs_label%|]
[%discogs_country%|]
[Main: %discogs_main_release_date%|]
$if(%discogs_main_release_date%,[This: $if2(%discogs_release_date%,%date%)|],[$if2(%discogs_release_date%,%date%)|])
[%discogs_release_credits%]
I removed some 'compatibility' with previous tagging habits. I hope I didn't mess things up. The sorting has a flaw when the main release date is not like yyyy-mm-dd, but I didn't feel the need to fix that (yet).
If it doesn't explains itself, let me know.
Title: Re: foo_discogs
Post by: Strannik on 2016-10-29 10:10:45
Strannik,
"Crash starts with hanging of the app at last page of a artist list (ex. 13/13) and after that Windows suggests me to restart fb2k."
That sounds like the problem fixed in 2.09. Did you try 2.09? If so, are you using custom formatting strings for the "find release" dialog?
Yes, I saw that update, that's why I decided to write because it looked strange. Not sure it was 2.09 (I updated with Help→Check...), maybe server gave me old version if that was possible; shirt time between you uploaded new file, I don't know. But now I have 2.10 — no problem with hanging. So, thanks!

@fuffi,
Yes, there's one way I see in this case. But you know, it's boring to do something manually line by line + check every option write/disable/e.t.c. (: So, if that problem is only on my side, I shall solve it. Thank you for your concern!
Title: Re: foo_discogs
Post by: Fladder72 on 2016-10-29 14:55:09
Is there a way to handle "hidden" Tracks?
For this Release https://www.discogs.com/de/de/release/8574117
I've got only three Tracks. See Picture:
https://abload.de/img/foo_discogs4rbmk.png
Title: Re: foo_discogs
Post by: frogworth on 2016-10-29 15:18:12
Is there a way to handle "hidden" Tracks?

In Configuration, on the Caching tab, there's a setting to "Parse hidden tracks as regular tracks".
It can cause confusion when you DON'T have the hidden tracks separated out, and can stuff up track numbering, but it should work in your case.
Title: Re: foo_discogs
Post by: Fladder72 on 2016-10-30 00:53:27
So many thanks! Worked for me, I only had to fix the Track Numbers ...
Title: Re: foo_discogs
Post by: fuffi on 2016-10-30 07:50:25
Hi zoomorph,

just a minor thing,
is it possible to add the artists name, just for a little more readable information?
(https://picload.org/image/rdccilol/screenclip.png)
(https://picload.org/image/rdccilil/screenclip.png)
Title: Re: foo_discogs
Post by: fuffi on 2016-10-30 08:51:58
Could you share with us, how you solved your issue?
Sure. This is what I do now in the tag mappings:
Thanks a3aan,
I'm trying to have something like that too, but did not figured out yet, how and when I should display informations for main-/master-release-date and/or release-date. I try to steal...erm...learn from others first :-)

Here's what I don't quite understand:
(I try to explain, what I understand, please correct me, if I'm wrong!)
Code: [Select]
[Main: %discogs_main_release_date%|]
$if(%discogs_main_release_date%,[This: $if2(%discogs_release_date%,%date%)|],[$if2(%discogs_release_date%,%date%)|])
first line, you show the %discogs_main_release_date%, if available. ok.
second line, you check, if %discogs_main_release_date%, was displayed. ok.
if yes, you display the %discogs_release_date% for the actual release (and prefix it with 'This'), or, if %discogs_release_date% is not set, you just display the %date% of the actual release. ok.

but if %discogs_main_release_date% is not available, you display the same information, just without the 'This' (via the last $if2)
Why is that?
Title: Re: foo_discogs
Post by: NoHomeJerome on 2016-10-30 10:11:47

Unfortunately that information is not available from the Discogs API.

As of version 2.07, this can be done manually using the following formatting string:
Code: [Select]
$puts(RATINGS,%<MASTER_RELEASE_RELEASES_DISCOGS_AVG_RATING>%)$puts(VOTES,%<MASTER_RELEASE_RELEASES_DISCOGS_RATING_VOTES>%)$puts(COUNT,$length($get(RATINGS)))$puts(TOTALVOTES,$sum($get(VOTES)))$multi_round($sum($multi_divd($multi_mul($get(RATINGS),$get(VOTES)),$get(TOTALVOTES))),2)
Note that this could be very slow for large master releases, as it requires loading each sub release and then calculating the overall average.

Thank you zoomorph.

I took an introductory class for computer science in university but I couldn't have figured out that formatting string on my own.

Could you also tell me what I would have to replace the %DISCOGS_VOTES% formatting string so that it retrieves the total number of votes from all releases within a master?
Title: Re: foo_discogs
Post by: a3aan on 2016-10-30 13:56:28
but if %discogs_main_release_date% is not available, you display the same information, just without the 'This' (via the last $if2)
Why is that?
Not sure I understand you, but the thing is I only like to see the 'This: ' when there is a 'Main: ' and the date for 'This: ' is available. I couldn't get this to work without having much of the same in the then and else parts of that $if().
Title: Re: foo_discogs
Post by: zoomorph on 2016-10-31 01:06:01
Could you also tell me what I would have to replace the %DISCOGS_VOTES% formatting string so that it retrieves the total number of votes from all releases within a master?
See "TOTALVOTES" within that formula.
Title: Re: foo_discogs
Post by: NoHomeJerome on 2016-11-01 18:25:43
$puts(VOTES,%<MASTER_RELEASE_RELEASES_DISCOGS_RATING_VOTES>%)$puts(TOTALVOTES,$sum($get(VOTES)))$get(TOTALVOTES)

Thanks for the tip :)
Title: Re: foo_discogs
Post by: zoomorph on 2016-11-03 03:27:09
Version 2.11 released:
* Fix matching by track numbers erroneously matching multiple files to the same Discogs track. (This was the cause of the bug where tracks from the first CD were used twice.)
Title: Re: foo_discogs
Post by: PeteG on 2016-11-03 09:04:01
^Thanks a lot for the update, zoomorph! A short test on some of the problematic double CDs confirms that the problem has gone.
You are doing an amazing job on this invaluable component.
Title: Re: foo_discogs
Post by: alec.tron on 2016-11-16 05:29:10
Heya.
Thinking out loud for now... there's a few user account specific things from my discogs collection I might be interested in embedding into the files I tag; is this possible as is ?
i.e. IF there is user-notes on items in collections (I have a few organizational, custom 'folders' on discogs my collection is split into as well as some Notes) - is there a way to get these (i.e. Media Condition, Sleeve Condition, Notes, Folder) as a field/tag through the discogs tagger ? The former 2 I have no use for personally, but Notes & Folder user data could be interesting...

I'm asking as I can not see user data centric fields in the mapping dialogue...
Cheers.
c.
Title: Re: foo_discogs
Post by: alec.tron on 2016-11-23 21:20:23
Heya.
A week of silence probably means that the above isn't possible as is and there's no plans to add it either...?
Just wondering if I should put this out of my mind, or if adding custom user data from discogs releases in user connction is something possible/planned (but might be there's a can of worms with this as well when it comes to the discogs API... who knows... ).
Churs.
c.
Title: Re: foo_discogs
Post by: fuffi on 2016-11-25 22:51:27
Hi zoomorph,

I found a big bug ;-) (or, at least something strange to me...)

I wanted to only tag 1 file (11 karma chameleon) and did not deleted -out of lazyness- all the useless tracks from the tracklist.
The fine component was loading all lots of artist infos (left in the tracklist) and so it took very long.
(https://picload.org/image/rarggpcg/1.png)

With deleting all unnessecary artists, the generating process was done in less than a second, the above took about 20 seconds.
(https://picload.org/image/rarggplp/2.png)

Could you update your component, to ignore everything in the tracklist for writting, which has no matching "physical" file?


Kind of a EDIT:
Well, after testing a little bit,
I found, that also writting tags like this, will load a lot of artists too.
(https://picload.org/image/rarggplc/3.png)

That seems odd to me, but because the fine component is only showing artist IDs instead of real names, I cannot say, what was loaded.

Why is the component loading a lot of informations, when it only needs to load a single one?

tested with this release (https://www.discogs.com/x/release/493525)
Title: Re: foo_discogs
Post by: fuffi on 2016-11-25 22:58:58
I personally don't use my discoGS accounts for anything but updating some minor glitches on releases, but that idea sounds useful to me.
To put some release-specific information into the files of yours could be great for some scripting purposes, like, when you automaticly want to generate an (autoplay)list of whatever... :-)

A week of silence probably means that the above isn't possible as is and there's no plans to add it either...?
Title: Re: foo_discogs
Post by: zoomorph on 2016-11-26 08:52:56
Hi zoomorph,

I found a big bug ;-) (or, at least something strange to me...)

I wanted to only tag 1 file (11 karma chameleon) and did not deleted -out of lazyness- all the useless tracks from the tracklist.
The fine component was loading all lots of artist infos (left in the tracklist) and so it took very long
Most likely one of your tag formatting strings is using this information. Example, a field starting with RELEASE_ARISTS_. Check the ALBUM ARTIST tag.

When tagging a full release there's no extra cost to using this, but if tagging a single file then yes it will load extra info.
Title: Re: foo_discogs
Post by: moonwrithe on 2016-11-29 23:12:05
@zoomorph

I'm having a problem with the text color on the final "Preview Tags" dialog box when fetching tags from Discogs. My Windows theme uses a dark background for the text area (very dark grey), so black text is very hard to see unless I have my face right up close to the screen. The light grey text color for the highlighted tags (DISCOGS_BLAHBLAH_ID) is fine, just the black is problematic. Would it be possible to get it to use the default system text color dynamically rather than fixing it as black the way the dialog boxes prior to "Preview Tags" ("Find Release" and "Match Tracks") do?
Title: Re: foo_discogs
Post by: zoomorph on 2016-12-05 05:58:03
@zoomorph

I'm having a problem with the text color on the final "Preview Tags" dialog box when fetching tags from Discogs. My Windows theme uses a dark background for the text area (very dark grey), so black text is very hard to see unless I have my face right up close to the screen. The light grey text color for the highlighted tags (DISCOGS_BLAHBLAH_ID) is fine, just the black is problematic. Would it be possible to get it to use the default system text color dynamically rather than fixing it as black the way the dialog boxes prior to "Preview Tags" ("Find Release" and "Match Tracks") do?
Shall fix that for the next release. Thanks.
Title: Re: foo_discogs
Post by: alec.tron on 2016-12-06 20:55:30
Hm... might anyone have an idea why this:
https://www.discogs.com/Various-Future-Reggae/release/2650220
does resolve to:
1-1    –The Black Seeds    Come To Me
2-1    –Winston Mcanuff    Mix Up Mood    [+13 HIDDEN]
2-2    –Takana Zion    Ithiopia    [+14 HIDDEN]

And this:
https://www.discogs.com/Various-Hyperdub-101/release/5693593
resolves to all single tracks as it should...

They have the same disc - track separator, and I can not see why the first would fail / match badly.
Any hints would be muchly appreciated as I can neither see a way to fix this on discogs, as it looks the same as a release that works flawlessly, nor on foo_discogs, which does not have capabilities to alter mapping for hidden tracks (or does it somewhere...?)

Cheers.
c.
Title: Re: foo_discogs
Post by: alec.tron on 2016-12-07 08:13:07
Hm. More fun on the new machine (where I copied old .cfg files, so mass tagger syntax, shortcut keys, etc are all intact on new foobar version (I did go from 1.3.9 to 1.3.13 - which coul play into the below oddity))...
After testing EAC, flac decoder & foobar/discogs tagging, the last bit caused some issues. Foo discogs all worked, shortcut, gui pop up, release ID enter GUI, but on 'retrieving tags' it just froze. Foobar was still responsive & kept playing, but the 2 foo_discogs windows just stood there for 20+ minutes. The only thing I could think of that it could be a discogs key/oauth issue, but upon checking foobar console, this looks as usual ish to my eyes...

foo_discogs: https://api.discogs.com/releases/2310820?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=148109708744aa&oauth_signature=5XFG4v0AV%2BwW8Nn0GNfXQyiYNXw%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1481097087&oauth_token=bNciUoFlyyVumjpLWXtcAUOeBlHWTLGCLHmWkQqg&oauth_version=1.0
foo_discogs: https://api.discogs.com/artists/1843718?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=148109709829&oauth_signature=zK2BiE%2FcYDPQoiW6iGpFsLR%2B4Vo%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1481097098&oauth_token=bNciUoFlyyVumjpLWXtcAUOeBlHWTLGCLHmWkQqg&oauth_version=1.0
foo_discogs: https://api.discogs.com/artists/1665958?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=14810971004823&oauth_signature=gAXuaMEnweIVlZfG06cZ1ZW9HEs%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1481097100&oauth_token=bNciUoFlyyVumjpLWXtcAUOeBlHWTLGCLHmWkQqg&oauth_version=1.0
foo_discogs: https://api.discogs.com/artists/1843722?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=148109710118be&oauth_signature=60Pf4okK9Ibjb%2BCKrSnZwT4nEQo%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1481097101&oauth_token=bNciUoFlyyVumjpLWXtcAUOeBlHWTLGCLHmWkQqg&oauth_version=1.0


To get rid of the frozen windows, I then had to force-close foobar... which then got stuck, and needed to be force-closed again in task-manager.
Before I attempt this again - does anyone know where the discogs aoth key/token is stored ? I might start with deleting that first and retry tagging again with that.
This was what I wanted to tag btw:
https://www.discogs.com/Various-Next-Stop-Soweto-Vol-2-Soultown-RB-Funk-Psych-Sounds-From-The-Townships-1969-1976/release/2310820

Cheers.
c.
Title: Re: foo_discogs
Post by: zoomorph on 2016-12-07 15:43:00
Hm... might anyone have an idea why this:
https://www.discogs.com/Various-Future-Reggae/release/2650220
does resolve to:
1-1    –The Black Seeds    Come To Me
2-1    –Winston Mcanuff    Mix Up Mood    [+13 HIDDEN]
2-2    –Takana Zion    Ithiopia    [+14 HIDDEN]
I'm guessing because the format is incorrectly entered as 1 CD (it should be 2). This throws off the algorithm which parses the tracks & disc numbers.
Title: Re: foo_discogs
Post by: alec.tron on 2016-12-07 20:29:52
Thanks for the hint (any chance for a statement re the user discogs user data I asked about above ? I'd be rather curious to know if this is something you already are/would be considering, or might be you looked at this already in the past and there's too many hurdles for this to be viable...?).

As for the Cd in question, I changed on discogs:
- corrected CDs to 2, no change unfortunately
- the next difference to the Hyperdub compilation with the same numbering was that there were no Track run times, so I added those as well to see if it would fix it, but no dice either.

Very odd.
c.

ps. Also, what would be great would be some sort of trouble-shooting mode, where it fetches all tracks, hidden/subtracks/whatnot and gives the full list to the user to clean up, so one could alter that by hand at least to have a way out on issues like the above ?
Title: Re: foo_discogs
Post by: zoomorph on 2016-12-09 22:10:40
Try clearing your Releases cache (or restarting foobar2000). It parses properly for me now. Discogs API also caches for some time.
Title: Re: foo_discogs
Post by: alec.tron on 2016-12-10 03:27:55
Will do, don't have the album here atm.

One other thing, which I couldn't find an answer for:
- foo_discogs, for $joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%) - seems to always resolve to the 'master' artist name.
- IF these are in japanese/kyrillic/thai/etc on discogs, this will be the artist name written to tag.
- Since I can not read some of these, I would prefer to use the english spelling equivalent in some cases
i.e. this has a 'westernized' artist-name / tracklist combo:
https://www.discogs.com/Various-Thai-Dai-The-Heavier-Side-Of-The-Lukthung-Underground/release/2844256
Is there a possible formatting to either use the releases' artist spelling, or an explicit ANV for cases where the user would prefer to do so ? Or a combination of explicit ANVs ?
eg, for the first track in the above:
สรวง สันติ (Sroeng Santi)

Cheers.
c.
Title: Re: foo_discogs
Post by: zoomorph on 2016-12-12 05:50:14
One other thing, which I couldn't find an answer for:
- foo_discogs, for $joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%) - seems to always resolve to the 'master' artist name
That is controlled by the setting "Replace ANVs".
Title: Re: foo_discogs
Post by: zoomorph on 2016-12-12 05:53:03
Version 2.12 released:
* Fix $multi_meta_files() returning an extra empty array as first value.
* Don't force black color on preview tags list, so default will be used.
Title: Re: foo_discogs
Post by: alec.tron on 2016-12-12 08:28:13
That is controlled by the setting "Replace ANVs".
Brilliant, thanks!
c.
Title: Re: foo_discogs
Post by: fuffi on 2016-12-12 19:50:16
I wanted to only tag 1 file (11 karma chameleon) and did not deleted -out of lazyness- all the useless tracks from the tracklist.
The fine component was loading all lots of artist infos (left in the tracklist) and so it took very long
Most likely one of your tag formatting strings is using this information. Example, a field starting with RELEASE_ARISTS_. Check the ALBUM ARTIST tag.

When tagging a full release there's no extra cost to using this, but if tagging a single file then yes it will load extra info.
You're right. I didn't found the tag formatting string (because I have too many...) but I defaulted them all (exported all settings first to import again after testing) and the tagging was done very quick w/o downloading additional artists....

So I guess, its up to me to optimize my formatting strings (in the next years....)

Thanks!
Title: Re: foo_discogs
Post by: moonwrithe on 2016-12-13 01:00:38
@zoomorph

I'm having a problem with the text color on the final "Preview Tags" dialog box when fetching tags from Discogs. My Windows theme uses a dark background for the text area (very dark grey), so black text is very hard to see unless I have my face right up close to the screen. The light grey text color for the highlighted tags (DISCOGS_BLAHBLAH_ID) is fine, just the black is problematic. Would it be possible to get it to use the default system text color dynamically rather than fixing it as black the way the dialog boxes prior to "Preview Tags" ("Find Release" and "Match Tracks") do?
Shall fix that for the next release. Thanks.

New release fixes the problem, thanks! Now, if I had only checked and noticed before you fixed it that the "Edit Tag Mappings" dialog box suffers from the same problem...  O:)
Title: Re: foo_discogs
Post by: fuffi on 2016-12-19 17:37:55
Hello zoomorph,
when I want to update the tags for a bunch of albums, unfortunately, sometimes an error like this one comes up and stops the whole process.
Quote
(FATAL) Error: Page Deleted or Missing (404) Release 4501368 is deleted.

[ESCAPE to close]
could you enhance the fine component to just *skip* everything, which is not parsable or does not exist, if updating a bunch of albums via the Update Tags dialogue? Error messages are fine, but interrupting is not. Maybe put the errormessages at the end of the dialog, when everything is finally updated?

Title: Re: foo_discogs
Post by: sergey_parakovsky on 2016-12-20 11:10:22
Sorry, any way we can add it to rip setup dialog, so we can pull tags while ripping CD'S?
Title: Re: foo_discogs
Post by: fuffi on 2016-12-21 09:05:17
Sorry, any way we can add it to rip setup dialog, so we can pull tags while ripping CD'S?
I don't think, this will ever be possible with this fine component....

But...you can first tag the files from a ripped CD with that freedb component (http://wiki.hydrogenaud.io/index.php?title=Foobar2000:Components/Freedb_Tagger_(foo_freedb2)) and after that, you can use this fine component, we all love!

Unfortunately, thats not the automated thing you've asked...
Title: Re: foo_discogs
Post by: fuffi on 2016-12-23 22:48:41
hi zoomorph,

I got en error:
Quote
(FATAL) Error: Error loading release 2753442: JSON Parser ExceptionError parsing release credits.

[ESCAPE to close]
on this (https://www.discogs.com/release/2753442) release
Title: Re: foo_discogs
Post by: zoomorph on 2016-12-25 21:05:02
One obvious error in the credits is "to to".
Title: Re: foo_discogs
Post by: Teddox on 2016-12-29 13:18:04
I am a bit new to using arrays and such but does anyone know how to extract parts of the track title and then add it to a new tag? As an example this release - https://www.discogs.com/Armin-van-Buuren-Shivers-Remixes/release/470534 (https://www.discogs.com/Armin-van-Buuren-Shivers-Remixes/release/470534) - has the a remix by Christian Weber, and I want to parse the track name and grab only the part between the ( ), in this case "Christian Weber Remix" then add that to a mix tag.
Title: Re: foo_discogs
Post by: Halen on 2016-12-29 22:02:44
Hello, exist method fill new field "first release" according to a key "%artist%, %title%" without using field %album% ? Im need raw song release date. Thanks.
Title: Re: foo_discogs
Post by: PeteG on 2016-12-30 23:14:33
@Teddox

In general:
Removal of parentheses with content
Code: [Select]
$puts(spacer,$strchr(%title%,'('))$trim($left(%title%,$sub($get(spacer),1)))
Highschool Lover (Theme from the Virgin Suicides) → Highschool Lover

Extraction of content between parentheses
Code: [Select]
$puts(char1,'(')$puts(char2,')')$puts(tag,%title%)$puts(spacer1,$strchr($get(tag),$get(char1)))$puts(spacer2,$strrchr($get(tag),$get(char2)))$trim($substr($get(tag),$add($get(spacer1),1),$sub($get(spacer2),1)))
Highschool Lover (Theme from the Virgin Suicides) → Theme from the Virgin Suicides

Further info: Titleformat Examples (http://wiki.hydrogenaud.io/index.php?title=Foobar2000).
Title: Re: foo_discogs
Post by: globalnomad on 2016-12-31 07:58:19
First time poster, so forgive me if I missed anything.

First, I want to say I love this plug-in and I've been using it forever - so thanks so much for keeping it up to date with all the Discogs API changes that we've seen.

However, as of 2.0 (I believe), I realized that I no longer get album art previews during track matching even though I have that option checked. Furthermore, previously there was a drop down to select the Genre if more than one was listed on Discogs - that too has disappeared. Instead, every genre is written. I would prefer to choose which Genre is written (and not just "always the first" or anything like that). Am I missing anything in settings or is my install somewhat weird?

Again, thanks for all the work you've put into this component.
Title: Re: foo_discogs
Post by: alexinc on 2017-01-02 10:14:12
@Teddox

In general:
Removal of parentheses with content
Code: [Select]
$puts(spacer,$strchr(%title%,'('))$trim($left(%title%,$sub($get(spacer),1)))
Highschool Lover (Theme from the Virgin Suicides) → Highschool Lover

Extraction of content between parentheses
Code: [Select]
$puts(char1,'(')$puts(char2,')')$puts(tag,%title%)$puts(spacer1,$strchr($get(tag),$get(char1)))$puts(spacer2,$strrchr($get(tag),$get(char2)))$trim($substr($get(tag),$add($get(spacer1),1),$sub($get(spacer2),1)))
Highschool Lover (Theme from the Virgin Suicides) → Theme from the Virgin Suicides

Further info: Titleformat Examples (http://wiki.hydrogenaud.io/index.php?title=Foobar2000).

PeteG, as it seems you got quite used to the syntax, how do you handle cases like "title (title extension) (remix)" then? ;-) THX i.a.
Title: Re: foo_discogs
Post by: zoomorph on 2017-01-03 18:11:39
I am a bit new to using arrays and such but does anyone know how to extract parts of the track title and then add it to a new tag? As an example this release - https://www.discogs.com/Armin-van-Buuren-Shivers-Remixes/release/470534 (https://www.discogs.com/Armin-van-Buuren-Shivers-Remixes/release/470534) - has the a remix by Christian Weber, and I want to parse the track name and grab only the part between the ( ), in this case "Christian Weber Remix" then add that to a mix tag.
Note: You might prefer to use the Remix credits coming straight from Discogs. See the default (disabled) REMIXED_BY tag mapping for example.

Hello, exist method fill new field "first release" according to a key "%artist%, %title%" without using field %album% ? Im need raw song release date. Thanks.
There is no efficient way to do that. Discogs doesn't track individual tracks, only releases. An inefficient way would be to load the tracklist of every release by an artist and search for tracks with the same title and find the earliest date. This would be too slow to be practical (for artists with hundreds or thousands of releases).

First time poster, so forgive me if I missed anything.

First, I want to say I love this plug-in and I've been using it forever - so thanks so much for keeping it up to date with all the Discogs API changes that we've seen.

However, as of 2.0 (I believe), I realized that I no longer get album art previews during track matching even though I have that option checked. Furthermore, previously there was a drop down to select the Genre if more than one was listed on Discogs - that too has disappeared. Instead, every genre is written. I would prefer to choose which Genre is written (and not just "always the first" or anything like that). Am I missing anything in settings or is my install somewhat weird?

Again, thanks for all the work you've put into this component.
Thanks for the feedback! The preview image is currently on the Preview Tags dialog, although there have been a couple requests to move it to an earlier position. The drop down button to select genre/style has been removed. The new recommendation would be to go to the Preview Tags dialog, click on GENRE or STYLE and edit it to your liking. Any tags can be edited this way (or of course outside of foo_discogs, in foobar2000 directly). foo_discogs no longer has any hardcoded ideas about specific tags; they are all arbitrarily defined via tag formatting strings.
Title: Re: foo_discogs
Post by: fuffi on 2017-01-04 13:49:21
One obvious error in the credits is "to to".
Obvious to your eyes 8-)

Is it possible to add an option to the preferences, like "[X] skip information retrieving only for errornous entries and continue w/o error-message and abortion", so that the user gets its information to the files, when the parsing process is not successful for some "minor" information ?


I'm not able to "fix" all the errors on the DiscoGS website, that occour in the component (but I see, that it'll be better to fix them on the DiscoGS database, instead building workarounds inside the fine component....)
Title: Re: foo_discogs
Post by: fuffi on 2017-01-04 14:01:53
Hi zoomorph,

a feature request, if possible:
the "auto search artists when opening find release dialog" option is great and very convenient!
Also the automatic insertion of the album-title into the filter-text-field is a nice one!

...but I recognize, that on some music-files, (which I tagged before 2010) I have entered a little bit too much information, like
Album-name (EP)
Album-name E.P.
Album-name Vinyl
Album-name w/o CD-ROM Part

so the automatic filtering does not show a good result, when filtering for "Album-name".

I then have to delete the "(EP)" or "Vinyl" part from the filter-text-field and the filter works fine.

Question: Can we have an option in the prefs to automaticly delete words like the above? Like a Ignore Word list, which then will remove the given words from the filter-text?

Say:
Ignore List: Vinyl, (EP), E.P., w/o CD-ROM Part
would put "Album-name" into the filter-text-field and not "Album-name (EP)"

(A pimped feature could be an automated text-replace option, like replace "E.P." or "(EP)" to EP, but the above should work fine)
Title: Re: foo_discogs
Post by: alec.tron on 2017-01-07 22:36:10
Might be this exists, but if I have not come across it:
I would love to be able to remove 'writeables' spontaneously occasionally for a single tag update case (i.e. I might have a custom / unified artist name I want to keep, instead of the Discogs one, which might be more accurate, but does not group well in certain apps if there's different spellings...), but I would like to do this on the fly (for 1 or multiple fields...) without editing the master/global template for write/update/disable settings.

(also, while on the topic - what is the different between 'write, ''update' and 'write & update') ?

Cheers.
c.
Title: Re: foo_discogs
Post by: alec.tron on 2017-01-07 23:31:28
Also, syntax question, trying to use foobar syntax in foo_discogs mapping, without much success so far, in case anyone has any ideas  / tips:
https://hydrogenaud.io/index.php/topic,113437.new.html#new

Churs.
c.
Title: Re: foo_discogs
Post by: zoomorph on 2017-01-08 08:40:00
Question: Can we have an option in the prefs to automaticly delete words like the above? Like a Ignore Word list, which then will remove the given words from the filter-text?

Say:
Ignore List: Vinyl, (EP), E.P., w/o CD-ROM Part
would put "Album-name" into the filter-text-field and not "Album-name (EP)"
It would make sense to specify the contents of the search via a tag formatting string (%ALBUM ARTIST% by default).

But in the meantime (since I can't promise this will ever be added), I think you should use foobar2000's builtin tag editing features to remove those from the album name tag, if they are unnecessary (maybe store them in a different tag).
Title: Re: foo_discogs
Post by: fuffi on 2017-01-08 12:57:58
thanks,
[...] in the meantime (since I can't promise this will ever be added), I think you should use foobar2000's builtin tag editing features to remove those from the album name tag, if they are unnecessary (maybe store them in a different tag).
The "unneeded" tags will be removed automaticly, when updating the tags with your fine component :-)
(the manually typed "Vinyl" in the album-tag, for instance, will be magicially "removed" into the DISCOGS_FORMAT-tag...)

removing them first, with i.e. a masstagger-script, just to update the tags one step later again with your component just adds additional steps, so there will be no saving in work or time. thats why, my initial idea came up, for a filter-replace-thing, which supports users to delete unneeded parts of the automaticly-inserted-search not by hand, but automaticly. so the search find more hits with a cleand album title, than with the "wrong" album title :-)


It would make sense to specify the contents of the search via a tag formatting string (%ALBUM ARTIST% by default).
I found it sometimes annoying, when something like "various artist" or "VA" or "V.A." is automaticly inserted into the find-artist-field, when there is an -correct filled- %ARTIST%-tag, which could be used instead.
dunno, if its me or the fine component :-)




anyways, just another boring old question:
why is the "parse hidden track"-feature working here (https://www.discogs.com/Pet-Shop-Boys-ZYX-Mega-Mix/release/217215),
but not here (https://www.discogs.com/Pet-Shop-Boys-Mega-Mix/release/227936)?
Title: Re: foo_discogs
Post by: fuffi on 2017-01-08 13:35:42
what is the different between 'write, ''update' and 'write & update') ?
simple as this: ;-)
- write will only write, not update. (if no tag exists, write a tag. if a tag exists, don't overwrite/update it.)
- update will only update, not write. (if a tag exists, update it. do not create tags, which don't extist in the file)
- write&update will do both. (I don't care, just tag my files with all the tags I specified in the fine component...)


Might be this exists, but if I have not come across it:
I would love to be able to remove 'writeables' spontaneously occasionally for a single tag update case (i.e. I might have a custom / unified artist name I want to keep, instead of the Discogs one, which might be more accurate, but does not group well in certain apps if there's different spellings...), but I would like to do this on the fly (for 1 or multiple fields...) without editing the master/global template for write/update/disable settings.
 
well, the various options in this very flexible component are great. nothing to complain. but some options are way too hidden from the user, when it comes to a mass tagging/updating, like the user wants to tag more than 30 releases which -by their nature- are completely different.

I found it inconvenient to not be able to change some settings on the fly, like with a button inside the "Match Tracks" Window. instead, the user needs to abort (maybe looses all his manually sortings of the tracks) and go to the settings with a lot of clicks, changes the settings, goes back to the "Match Tracks" window, and so on for each release which differs.

I think, it woulbe be more convenient to have some buttons around to change things on the fly too.
like: Replace ANVs, parse hidden tracks, artwork fetching, track lenght matching, etc...

As for your question, I have come across this too and for now, I'm using a texteditor and the clipboard to quickly change things in the templates. I have added keyboad-shortcuts for most of the windows I do need very often, like the edit-tag-mappings or Configure-popup, so I can reach them faster.
I also would love to have something like a "switch" to switch to different tag-formatting-strings, but I guess, this would be kinda too special and complicated for the most users.
Title: Re: foo_discogs
Post by: fuffi on 2017-01-08 15:13:30
Quote
I think, it woulbe be more convenient to have some buttons around to change things on the fly too.
like: Replace ANVs, parse hidden tracks, artwork fetching, track lenght matching, etc...
the "[X] artist auto search" checkbox is gone unfortunately from the find release window.
Title: Re: foo_discogs
Post by: alec.tron on 2017-01-08 22:53:27
I'm using a texteditor and the clipboard to quickly change things in the templates.
Sweet, where's the text file based template for the foo_discogs settings ? (I'm not at home atm, but will dig tonight to see if I can find it)

I also would love to have something like a "switch" to switch to different tag-formatting-strings, but I guess, this would be kinda too special and complicated for the most users.
Not sure - question for zoomorph !
But, if it already is managed as an editable ascii file that it uses for default write/update/disabled settings, then these should be easily switchable templates... i.e. save more of the template etext file in a given location, and have a drop down list in foo_discogs GUI to switch between them, similar to foo_masstaggers save/load templates functionality ?
Just a thought though.
Also, thanks for the reply fluffi!
c.
Title: Re: foo_discogs
Post by: alec.tron on 2017-01-09 01:30:52
Meh. Double posting.
Delete.
c.
Title: Re: foo_discogs
Post by: alec.tron on 2017-01-09 01:33:57
Request - could we please have a %now% / %systemtime% variable within the foo_discogs variables/formatting syntax ?

I would love to add the YYYY_MM_DD date to a files' metadata custom field once it has been processed through foo_discogs, i.e. atm I have added a custom field named DISCOGS_TAG_DATE, which I started playing with over the weekend, but have not figured out a dynamic formatting syntax that works for/within foo_discogs, so for now I hand populate that field (and adjust the date value to be true for the given day.... not ideal, but at least a start, as I am re-tagging a lot of things again... and will try around with PeteG's suggestion, but ideally [for me and my case :D], foo_discogs would have a %now% variable similar to foo_masstagger [wjhich is not accessible for anything byt foo_masstagger from how it looks]).

Source, where this comes from - here:
https://hydrogenaud.io/index.php/topic,113437

Cheerio.
c.
Title: Re: foo_discogs
Post by: globalnomad on 2017-01-13 00:22:34
Thanks for the feedback! The preview image is currently on the Preview Tags dialog, although there have been a couple requests to move it to an earlier position. The drop down button to select genre/style has been removed. The new recommendation would be to go to the Preview Tags dialog, click on GENRE or STYLE and edit it to your liking. Any tags can be edited this way (or of course outside of foo_discogs, in foobar2000 directly). foo_discogs no longer has any hardcoded ideas about specific tags; they are all arbitrarily defined via tag formatting strings.

Thanks for the response! I'll use your suggested method. I too would put in a vote for viewing the album art earlier like previous versions.
Title: Re: foo_discogs
Post by: fuffi on 2017-01-16 16:13:43
Hi zoomorph,
would it be possible to skip invisible/non-printing chars while tagging a release?
here https://www.discogs.com/x/release/8250412
is a hidden tab (or something like that) in track 01.
looks like this, after tagging:
https://picload.org/image/rorliopg/screenclip.png
(https://picload.org/image/rorliopg/screenclip.png)

I'll don't fix it and leave it in the release, so you can check that character.
Title: Re: foo_discogs
Post by: DJRen on 2017-01-19 17:54:09
I'm using the latest version of both Foobar (1.3.14) and foo_discogs (2.04) and I keep running into an issue that I've never come across before, whereby the results that are displayed and available to me in the tagger differ to what's on display on Discogs.

For example, when I try to tag the following compilation (https://www.discogs.com/Various-The-Ultimate-Jungle-Collection/release/89301), instead of getting tag info for 2 different discs, I get the information for the first disc twice. This has also been happening with EPs where Discogs will list the contents as say,: 01. Track One, 02. Track Two, 03. Track Three etc., but foo_discogs returns 03. Track Three, 03. Track Three, 03. Track Three.

It also happened on this release: https://www.discogs.com/DJ-Hype-Roll-The-Beats-Remix/release/63901
and https://www.discogs.com/Tom-And-Jerry-Maxi-Mun-Style-Remix/release/245182

Up until now, I've been going through with the write procedure but then correcting the tags and track numbers manually, but on something like a large compilation, that's a lot of work. And since it keeps happening, I figure there's something going on that you might like to know about and look into.

Any ideas?
Title: Re: foo_discogs
Post by: alec.tron on 2017-01-19 21:03:22
Update to the latest foo_disocgs first, which is 2.12 atm. I had the same happening to me in earlier version, but that was fixed since.
c.
Title: Re: foo_discogs
Post by: fuffi on 2017-01-19 21:13:30
Hi zoomorph,
would it be possible to skip invisible/non-printing chars while tagging a release?
another example here: https://www.discogs.com/x/release/8537950
track 1, CD4
(https://picload.org/image/roddgddp/screenclip.png)
+track 13, CD4
Title: Re: foo_discogs
Post by: DJRen on 2017-01-19 21:27:56
Update to the latest foo_disocgs first, which is 2.12 atm. I had the same happening to me in earlier version, but that was fixed since.
c.

I see. I checked the in-app updater to see if there was a newer version but it said no. Thanks for the heads up.
Title: Re: foo_discogs
Post by: fuffi on 2017-01-22 11:43:24
Hi zoomorph,

its been a long time, since I changed something to my formatting strings.

Today, I regognized, that to my tag "DISCOGS_ARTISTS_ALL_NAME_VARIATIONS" with the formatting string "%<<ARTISTS_ALL_NAME_VARIATIONS>>%", something like this is written to a file:

[...], Michael Sammes Singers And Orchestra, Michael Sammes Singers, The, Mike Sammes & His Famous Singers, Mike Sammes & Male Quartet, Mike Sammes & The Singers, Mike Sammes Chorus And Singers, Mike Sammes Quartet, Mike Sammes Singers And Orchestra, Mike Sammes Singers, The, Mike's Singers, Sammes Chorus, Sammes Chorus, The, The Michael Sammes Singers, [...]

Is there a way to replace the comma "," with an semicolon ";" ? so automatic scripting or manual reading of ANVS do not confuse? :-)
Title: Re: foo_discogs
Post by: fuffi on 2017-01-22 11:55:45
Hi zoomorph,

I nailed an "old bug" down, and like to explain what I did to hopefully get someone to reproduce it.

The bug is, that sometimes, while in the "Find Release" window and the fetching of an artist and/or their releases is still active, *and* you type something in the album filter, that release which matches the typed album title happens to appear more than once in the "Releeases" window.

Say, the fine component fetches releases of an artist "foo" and then it fetches the albums "bar" of that artist.

you type "b" in the album filter and while the fetching of albums is still active and you type "a" "r" in the filter field and all the releases which matches "bar" are listed, some are listed multiple times. (I'm talking about identical/same releases, not different, like EP, 7" or LP. they're doublettes, like 3 times the same EP or 2 times the same 7" release)

when you now click on the artist (on the left side of the "Find Release" Window), the Releases List is ordered/renewed again and after that, the doublettes have disapeared.
(also, as a side effect, the master release (marked with a star "*"), which was shown somewhere in the list, is now at the top of the list (which is very useful).

hopefully, I could explain it a little bit, so everybody get what I want to express :-)

Its not a big bug, because everything is working, but it only a display-bug.
Title: Re: foo_discogs
Post by: fuffi on 2017-01-23 22:16:39
Hi zoomorph,

a)
when updating 10 releases at once with the update feature,
the fine component gives an error:
Quote
(FATAL) Error: JSON Parser ExceptionError parsing release credits.

would it be possible to throw out more specific information, like, i.e., which release number the error occours?

or, even better, ask the user to skip this release from updating?

b)
again, I'm having problems to see/understand/recognize what the problem with the credits can be and how to fix them on the discoGS database.
I guess its simple for everybody else, but me, but I really don't see or/and can't understand, where the problem is.

Is it possible to pimp the error messages in your fine component, to show, what TAG or formatting string throws the error?
like:
Quote
(FATAL) Error: JSON Parser ExceptionError parsing release credits.
TAG: DISCOGS_RELEASE_CREDIT_FOO
that way, I (the user) could temporarely disable writing to that tag and continue working/updating/writting tags.

c)

EDIT:
unfortunately, DISABLING all the release_credit tags did not work.
the error does not stop for this release (https://www.discogs.com/x/release/2281315).

(https://picload.org/image/roagdolg/screenclip.png)

Is there anything I can do, beside updating the release on the discoGS database, which I'm too dumb to do..?
Title: Re: foo_discogs
Post by: fuffi on 2017-01-25 00:59:59
Hi zoomorph,

I'm jumping in a limitation of the DG-api...dunno why, "{"message": "You are making requests too quickly."}"

but the real problem here is, that I cannot abort the "Generating tags...." Process/Window while trying to update tags.

Pressing a very often on the ABORT button does nothing. since 5 minutes, I click the ABORT button, but the f2k-log shows that the fine component is still fighting... I can see it tries to load all the artists in the "queue" of the release, but cannot, because of the rate-limit...

I guess, the ABORT button works, when the queue is done.... so I'll wait ... because I don't want to kill f2k.


Quote
[01:52:42] foo_discogs: Rate-limited. Retrying: 2
[01:52:46] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:52:47] foo_discogs: Rate-limited. Retrying: 3
[01:52:50] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:52:51] foo_discogs: Rate-limited. Retrying: 4
[01:52:55] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:52:55] foo_discogs: Rate-limited. Retrying: 5
[01:52:59] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:52:59] foo_discogs: Rate-limited. Retrying: 6
[01:53:03] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:53:03] foo_discogs: Rate-limited. Retrying: 7
[01:53:07] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:53:07] foo_discogs: Rate-limited. Retrying: 8
[01:53:11] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:53:11] foo_discogs: Rate-limited. Retrying: 9
[01:53:15] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:53:15] foo_discogs: Rate-limited. Retrying: 10
[01:53:19] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:53:19] foo_discogs: Rate-limited. Retrying: 11
[01:53:23] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:53:23] foo_discogs: Rate-limited. Retrying: 12
[01:53:27] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:53:27] foo_discogs: Rate-limited. Retrying: 13
[01:53:31] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:53:31] foo_discogs: Rate-limited. Retrying: 14
[01:53:35] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:53:35] foo_discogs: Rate-limited. Retrying: 15
[01:53:39] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:53:39] foo_discogs: Rate-limited. Retrying: 16
[01:53:43] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:53:43] foo_discogs: Rate-limited. Retrying: 17
[01:53:47] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:53:47] foo_discogs: Rate-limited. Retrying: 18
[01:53:51] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:53:51] foo_discogs: Rate-limited. Retrying: 19
[01:53:55] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:53:56] foo_discogs: Rate-limited. Retrying: 20
[01:53:59] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:54:00] foo_discogs: Exception handling: https://api.discogs.com/artists/75617?oauth_consumer_key=sVfZTDvOdz&oauth_nonce=1485566784&oauth_signature=THdhO%cnBQq9DI%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1485305556&oauth_token=DVvpJwdAkTojNMzxN&oauth_version=1.0
[01:54:00] foo_discogs: Error processing field ARTISTS_ALIASES : Error loading artist 75617: Too Many Requests (429) [Discogs API rate-limit reached.](url: https://api.discogs.com/artists/75617)
[01:54:00] foo_discogs: https://api.discogs.com/artists/75617?oauth_consumer_key=kQTDvOdz&oauth_nonce=148504ae1&oauth_signature=eeN2kbs6ORUEwt%2Fuk%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1485305640&oauth_token=DVvvcaLroWWjUUenzxN&oauth_version=1.0
[01:54:02] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:54:02] foo_discogs: Rate-limited. Retrying: 1
[01:54:06] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:54:06] foo_discogs: Rate-limited. Retrying: 2
[01:54:10] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:54:10] foo_discogs: Rate-limited. Retrying: 3
[01:54:14] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:54:14] foo_discogs: Rate-limited. Retrying: 4
[01:54:18] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:54:18] foo_discogs: Rate-limited. Retrying: 5
[01:54:22] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:54:23] foo_discogs: Rate-limited. Retrying: 6
[01:54:27] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:54:27] foo_discogs: Rate-limited. Retrying: 7
[01:54:30] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:54:30] foo_discogs: Rate-limited. Retrying: 8
Title: Re: foo_discogs
Post by: fuffi on 2017-01-25 12:46:26
It seems, the DiscgoGS guys have limited their API (of just my account...?) for requests per $time.

Now it takes about 5 minutes to tag a release with more than 8 artists (say, a compilation with 15 artists) or just to retrieve the release-list for cliff richards:

Quote
(FATAL) Error: Error loading artist releases125101: Too Many Requests (429) [Discogs API rate-limit reached.](url: https://api.discogs.com/artists/125101/releases)

[ESCAPE to close]
(also see the log from the above post)

I figured out, that after 8-13 single fetches, a "foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests" comes up in the log and -unfortunately, after a long waiting time-, an error message appears, telling the user of f2k the above message.

For some small releases, the cache will store the fetched releases (i.e. when updating some albums at once) and then it is possible to continue tagging, but for most (big?) releases, it fails to fetch the information completly.

Thats a pitty and makes tagging files very inconvenient and time comsuming, sometimes impossible.


@zoomorph, is there a way to specify the time, the cache will stay in f2k? now, it seems, the cache is deleted every f2k-restart, or when the user switches the hidden-track-feature.

would it be possible to specify an amount of time (say, in minutes, so we can specify 10 days to refresh the cache for a single artists or release)


On the other hand, I can understand the DG guys, limiting their access bandwitdh, when we're fetching a release list of, i.e.,  the beatles, because that took about 4 minutes and -maybe?- caused a lot of traffic/moving on their server(s).

When I got the time, I try to read in their forum (https://www.discogs.com/forum/topic/1082), if its really a limitation of the API (https://www.discogs.com/forum/thread/732352) (and not only to my account), I wonder, what other software will be affected too, and what the ppl say.
Title: Re: foo_discogs
Post by: 2tec on 2017-01-25 15:35:06
I took a look at the page but as I don't have the original release by my side, I cannot correct something, I do not have a clue about.
Obvious mistakes, spellings or adjustments I can fix, but here, I don't know (also do not understand), what the original submitter wanted to add.
If people can't fix a Discogs page, they can still leave a comment in the edit history so that others who can fix it will see that there is a problem.
Title: Re: foo_discogs
Post by: MrMonkey on 2017-01-26 19:52:55
Thanks so much for this great plugin!  I use it just about every day.
Title: Re: foo_discogs
Post by: zoomorph on 2017-01-27 00:25:13
anyways, just another boring old question:
why is the "parse hidden track"-feature working here (https://www.discogs.com/Pet-Shop-Boys-ZYX-Mega-Mix/release/217215),
but not here (https://www.discogs.com/Pet-Shop-Boys-Mega-Mix/release/227936)?
foo_discogs doesn't support parsing subtracks in vinyl track names. IMO it's not really a valid way to enter track positions, but some clarification is required to the Discogs guidelines.

[/quote]
would it be possible to skip invisible/non-printing chars while tagging a release?
here https://www.discogs.com/x/release/8250412
is a hidden tab (or something like that) in track 01.
You could try the function $trim(), not sure if it will remove a tab. Otherwise you could try $replace(). It is a clear error in the database though, so I would suggest removing it there.

Hi zoomorph,

its been a long time, since I changed something to my formatting strings.

Today, I regognized, that to my tag "DISCOGS_ARTISTS_ALL_NAME_VARIATIONS" with the formatting string "%<<ARTISTS_ALL_NAME_VARIATIONS>>%", something like this is written to a file:

[...], Michael Sammes Singers And Orchestra, Michael Sammes Singers, The, Mike Sammes & His Famous Singers, Mike Sammes & Male Quartet, Mike Sammes & The Singers, Mike Sammes Chorus And Singers, Mike Sammes Quartet, Mike Sammes Singers And Orchestra, Mike Sammes Singers, The, Mike's Singers, Sammes Chorus, Sammes Chorus, The, The Michael Sammes Singers, [...]

Is there a way to replace the comma "," with an semicolon ";" ? so automatic scripting or manual reading of ANVS do not confuse? :-)
Yes, if you use the $join() function you can specify it. If you don't specify, then by default it's joined with ",".
Title: Re: foo_discogs
Post by: zoomorph on 2017-01-27 00:32:00
unfortunately, DISABLING all the release_credit tags did not work.
the error does not stop for this release (https://www.discogs.com/x/release/2281315).

Is there anything I can do, beside updating the release on the discoGS database, which I'm too dumb to do..?
Parsing the credits is done at the same time as most of the other info for the release, so yea, it will throw the error even if you don't use the credits in your tags.

In this case, I think there is a "." instead of a "," in the last credit.
Title: Re: foo_discogs
Post by: kola on 2017-01-28 08:58:42
There´s a bug:

"FATAL) Error: Error loading artist releases2549: Too Many Requests (429) [Discogs API rate-limit reached.](url: https://api.discogs.com/artists/2549/releases)

[ESCAPE to close]"

..happens, when an artist with more than 4 or 5 sites is being fetched.


EDIT: i think its a discogs problem - could it be that they have limited the number of possible requests)?
ic, im not the only 1 with this problem...

On Release 14 it hangs here...that happens with several Releases on different pages...


http://prntscr.com/e1dbjd
Title: Re: foo_discogs
Post by: laerm on 2017-01-29 19:21:26
There´s a bug:

"FATAL) Error: Error loading artist releases2549: Too Many Requests (429) [Discogs API rate-limit reached.](url: https://api.discogs.com/artists/2549/releases)

[ESCAPE to close]"

I have the same problem.
Title: Re: foo_discogs
Post by: fuffi on 2017-01-29 21:45:32
@laerm
@kola
read my post(s), which are only 5 posts above yours (https://hydrogenaud.io/index.php/topic,50523.msg934689.html#msg934689).
after that, read the linked discogs forum threads and check for further information in the links listed there. (and so on)
Title: Re: foo_discogs
Post by: fuffi on 2017-01-29 22:39:37
hi zoomorph,
today an error, which i never encountered before :)
(https://picload.org/image/roowaaap/screenclip.png)
as the image-title says, that came up, while updating some art from those releases at once:
367528; 367533; 682675; 749912 (https://www.discogs.com/release/749912); 4273779; 1174652; 1921374; 4135785

EDIT:
and while trying updating the tags
(https://picload.org/image/roowaail/screenclip.png)

EDIT2:
and while trying to tag this below album just the "normal" way, via "write tags..." but after closing the error window, it's not possible to quit the find-release-window anymore. nor next, nor cancel is possible. I need to restart f2k.
(https://picload.org/image/roowaooc/screenclip.png)
Title: Re: foo_discogs
Post by: alec.tron on 2017-02-05 09:40:19
Heya,
I've had a bigger tagging session this weekend, and this was a first with/for foo_discogs, but has happened 5-10 times over the last days, so I thought I mention this:
- mostly happened with Various Artist / compilation albums
- when caching artist info, triggered through 'Preview Tags', this seems to have become a lot slower generally (or, the increase in discogs data I inject, i.e. all artist aliases etc, is to blame here ?). i.e. having it query discogs for 30-120 seconds per multi artist album seems to have become the norm.
- but, today I also had 5+ crashes, sometimes only "freezing" the foo_discogs & the fetch-status-bar window, for multiple minutes, after which an 'Abort', which takes a few minutes to complete too, produces this:
"
(FATAL) Error: Error generating tag DISCOGS_ARTISTS_ALIASES [] for file file://D:\folder\folder\folder\01_Artist-Track.mp3

[ESCAPE to close]
"

Furthermore, in 2 cases aborting the 'frozen' fetch window did not produce the above, but took down all of foobar. No data loss or file corruption afterwards, but odd still.
Anyone else experiencing this ?
Also, I have not found a way to reproduce it, other than that multi-artist albums being more likely to trigger the above.

Churs.
c.

ps. one other oddity - once the (FATAL) Error: Error generating tag DISCOGS_ARTISTS_ALIASES error appeared, when trying the same again from the same window where it previously failed and errored on 'Preview Tags', the 2nd attempt usually goes straight through and caching takes 1-2 seconds, and the Preview Tags window pops up as expected.
Title: Re: foo_discogs
Post by: alec.tron on 2017-02-06 08:43:57
In case it helps, and/or zoomorph sees something wrong with these - the foo_discogs freeze happened again. Maybe the artists it happens on could act as breadcrumbs ?
(with the status bar, of the "Generating Tags..." window stating:
Processing: Loading artist 387715...." ):

Stuck on this for 2+ minutes:
https://www.discogs.com/artist/387715-Chuck-Turner
then errored with:
"(FATAL) Error: Error generating tag DISCOGS_ARTISTS_ALIASES [] for file file://D:\folder\folder\folder\[greensleeves]\[GREZ 010] VA-Greensleeves Sampler 10\15 - Run Around Girl.mp3

[ESCAPE to close]"

Again, once the error occured, a second attempt of the same goes through immediately, I can even see the "Generating Tags..." window pop up, and it opens the "Preview Tags" window right away...

c.





Title: Re: foo_discogs
Post by: fuffi on 2017-02-08 00:55:50
Parsing the credits is done at the same time as most of the other info for the release, so yea, it will throw the error even if you don't use the credits in your tags.
Is there any chance to tag a single file, say track 4-15 "Björn & Benny, Agnetha & Anni-Frid - Ring Ring" from this release (https://www.discogs.com/Various-Schlagerfestivalens-101-B%C3%A4sta/release/5703715)
now that we have the new dg-api limitation?

having only this song in the "Match Tracks" window, it seems impossible to tag this single file. After a few artists a loaded,
the log throws endles amounts of
Quote
01:50:27] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[01:50:27] foo_discogs: Rate-limited. Retrying: 19


It seems, the fine component snatches too much and too often off the api and the api does not like that.
how can we lower the requests per .... errm... seconds... stupid idea, i know... but, I must say, using the fine component is now nearly impossible on compilations or releases with a lot of meta-data....

it was a very good start, now, with that api-limitation, it seems hopless to enjoy the disco-gs database we filled with this great f2k-component.
Title: Re: foo_discogs
Post by: fuffi on 2017-02-08 01:08:30
anyone knows, where the error in this release (https://www.discogs.com/Various-L%C3%A5tar-Av-Bj%C3%B6rn-Benny/release/2695782) is?
Quote
(FATAL) Error: Error loading release 2695782: JSON Parser ExceptionError parsing release credits.
Title: Re: foo_discogs
Post by: frogworth on 2017-02-08 02:38:37
anyone knows, where the error in this release (https://www.discogs.com/Various-L%C3%A5tar-Av-Bj%C3%B6rn-Benny/release/2695782) is?

There's a full stop in this list here:
Quote
(tracks: 1 to 3, 5, 6, 9 to 14. 16 to 18)
Should be a comma.
Title: Re: foo_discogs
Post by: fuffi on 2017-02-08 15:06:34
@frogworth
thank you, that worked. I guess, I'm getting a little bit more understanding time by time. thanks again!

@zoomorph:
In addition to my posting here (https://hydrogenaud.io/index.php/topic,50523.msg935302.html#msg935302),

its not possible anymore to load artist listings for i.e. artists with large lists of releases.

Quote
(FATAL) Error: Error loading artist releases89631: Too Many Requests (429) [Discogs API rate-limit reached.](url: https://api.discogs.com/artists/89631/releases)

it would be great if the fine component could resume the release-fetching and not start over again, when clicking on an artist.

I created and used different discogs users to verify its not my account which has the limitations, but the problem remains.
Title: Re: foo_discogs
Post by: zoomorph on 2017-02-12 19:56:33
It looks like Discogs added new/increased rate limits on how fast we can access the API. I'll have to look into that some time. For the time being, all I can suggest is to wait or try again later. If you open the foobar2000 console while foo_discogs is taking a long time, you'll probably see a lot of rate limit errors from Discogs. (Eventually after enough tries it stops and throws an error.)
Title: Re: foo_discogs
Post by: fuffi on 2017-02-13 01:12:11
For the time being, all I can suggest is to wait or try again later.
Yes, imho, the most important "inconvenience" with that is, that the ABORT button will not abort ("Generating tags...") and the user has to wait until all the timeouts are processed. (so updating a compilation with >10 artists gives the user a 5-15 minutes waittime until the fetching is aborted.)

If you take a look at my posts above, you'll see all the log entries.
Title: Re: foo_discogs
Post by: bulbwidth on 2017-02-19 12:49:30
Does foo_discogs set the user agent string? The API docs specify the rate limit to be 240 per minute per IP, which should be more than sufficient for this plugin. I'm nevertheless getting the rate limiting server response constantly. See https://www.discogs.com/developers/#page:home,header:home-rate-limiting
Title: Re: foo_discogs
Post by: alec.tron on 2017-02-19 20:07:55
This is a question only zoomorph, the maintainer of foo_discogs, could answer... but If that API query limit is timed at (240 / 60 =) 4 per second, it would explain why we're all running into timeouts /  rate limiting server responses regularly nowadays, especially when tagging compilations etc.
Stink.
c.
Title: Re: foo_discogs
Post by: fuffi on 2017-02-19 22:24:09
This is a question only zoomorph, the maintainer of foo_discogs, could answer...
you can check it yourself. install wireshark (https://www.youtube.com/watch?v=rLfYuO6pdVA) and take a look at the network traffic ;-)
Title: Re: foo_discogs
Post by: bulbwidth on 2017-02-19 23:19:16
This is a question only zoomorph, the maintainer of foo_discogs, could answer... but If that API query limit is timed at (240 / 60 =) 4 per second, it would explain why we're all running into timeouts /  rate limiting server responses regularly nowadays, especially when tagging compilations etc.
Stink.
c.
That indeed seems to be the case and you don't even need Wireshark, it's all in the console. The first four packets go through just fine, but on the fifth one you immediately get a 429. Then again those four requests fire within one second, more like three or four, but still.
Title: Re: foo_discogs
Post by: bulbwidth on 2017-02-19 23:32:34
I still think though the main issue is with the user agent string, which seems to be set to "Opera/9.50". The API documentation encourages to use a "unique" user agent so that the number of requests doesn't get throttled. Not sure how to approach this exactly though. Should it be unique to the plugin? Unique to the user? Unique to each request?

Might try some stuff once I have all the dependencies set up and the project loaded correctly.
Title: Re: foo_discogs
Post by: kola on 2017-02-20 17:33:39
the discogs pone script in mp3tag works flawlessly, so this seems not to be a problem with discogs at all...
Title: Re: foo_discogs
Post by: kohai_kuna on 2017-02-21 15:56:33
The reason why this is happening is the following: http://imgur.com/a/l10Ws
Title: Re: foo_discogs
Post by: 2tec on 2017-02-21 16:31:39
Previous post image from this Discogs forum thread ~ https://www.discogs.com/forum/thread/734244
Title: Re: foo_discogs
Post by: alec.tron on 2017-02-21 18:52:01
Thanks for the linkup - interesting to get the sources' take on this!
Let's hope zoomorph sees this and has time to adjust it to be compliant to the discogs api ruleset.
c.
Title: Re: foo_discogs
Post by: zoomorph on 2017-02-22 14:25:02
The reason why this is happening is the following: http://imgur.com/a/l10Ws
That guy is wrong on both accounts. All requests are going to api.discogs.com, and the User-Agent was Opera/9.50.

I've now changed the User-Agent to foo_discogs/2.13 to see if that will fix anything.

Release 2.13 changes:
* Unique user agent
Title: Re: foo_discogs
Post by: kola on 2017-02-22 17:05:09
problem solved (many thx for it zoomorph!) :-)
Title: Re: foo_discogs
Post by: alec.tron on 2017-02-22 20:01:36
Will test tonight, thanks a lot for the speedy fix!
c.
Title: Re: foo_discogs
Post by: fuffi on 2017-02-22 22:24:07
Hi zoomorph,
I found a new bug :-)

beside the parsing error
Code: [Select]
(skipped) Error [release 1110717]: Error loading release 1110717: JSON Parser ExceptionError parsing release credits.
[ESCAPE to close]

this error pop up too, when the fine component is only updating the album art. (so no parsing of extra release-data should nescesary, imho)

steps to reproduce:
Choose "Update album/artists art" with this release (https://www.discogs.com/x/release/1110717) and only activate  "Update album art"
(the album art is fetched anyways...EDIT1: no it wasnt....)

EDIT2: Thank you zeromorph! (and all othes, who figured out where the problem was, so the work for him was minimized (hopefully)) changing the user agent worked and now its been fun agan to tag files with your fine component :-)
Cheers!
Title: Re: foo_discogs
Post by: kohai_kuna on 2017-02-23 18:25:46
Thank you so much Zoomorph. :)
Title: Re: foo_discogs
Post by: dux on 2017-02-24 00:38:13
Maste, can you help me with this error: error (http://i61.tinypic.com/zixhs9.jpg)

(http://i61.tinypic.com/zixhs9.jpg)

Thx...


Problem solved: Unchek Use Discog API for Art, and uncheck and check display preview in release dialog



Part in bold worked for me with 429 error. Quick google brought this solution. Saved some time. Thanks!
Title: Re: foo_discogs
Post by: komhst on 2017-02-24 22:44:21
I use the latest version 2.13 of foo_discogs and I have the following problem:
Although the Artwork is configured with the File prefix: %album% all the images are saved with the filename: _.jpg
How could I fix this situation?
Title: Re: foo_discogs
Post by: fuffi on 2017-02-25 10:48:52
Although the Artwork is configured with the File prefix: %album% all the images are saved with the filename: _.jpg
play around with
%IMAGE_NUMBER%
and take a look at my config:
(https://picload.org/image/rldgoala/screenclip.png)
You also can try to press the DEFAULTS button, but I did'nt tried it myself.

Also, in the foo_discogs_help.html you can read about it. -> Internal Usages
(I'm not quite sure yet, if the html-files comes with the disco_gs-component.zip while installing. Just take a look in the directory of the fine component. here, at my computer, it is "....\foobar2000\user-components\foo_discogs\". If its not located there, I'm sure, somebody here can provide it.
Title: Re: foo_discogs
Post by: fuffi on 2017-02-25 12:17:22
Hi zoomorph,
in addition to the described bug here (https://hydrogenaud.io/index.php/topic,50523.msg934535.html#msg934535),

I'd like to add 2 screenshots:

This is shown, after typing the letters "agai" *while* the fetching process is still active.
(https://picload.org/image/rldgcril/before.png)

This is shown, after clicking on "The Root Project"-Artists on the left side when the fetching has completed.
(https://picload.org/image/rldgcrii/after.png)

I hope, it makes my words/explanation (https://hydrogenaud.io/index.php/topic,50523.msg934535.html#msg934535) much clearer.
Title: Re: foo_discogs
Post by: langoustator on 2017-03-11 13:15:11
Hi,

Thanks for the very useful plugin.

After years of using the plugin without digging into options, I took the time today to disable all the tag mappings I don't need (so I don't need to remove them using standard tagging dialog). Unfortunately, it seems impossible to set the mapping DISCOGS_RELEASE_ID to "disabled", so I still have to remove it manually afterwards.
Why is it a mandatory field?
Title: Re: foo_discogs
Post by: zoomorph on 2017-03-11 19:06:44
Hi,

Thanks for the very useful plugin.

After years of using the plugin without digging into options, I took the time today to disable all the tag mappings I don't need (so I don't need to remove them using standard tagging dialog). Unfortunately, it seems impossible to set the mapping DISCOGS_RELEASE_ID to "disabled", so I still have to remove it manually afterwards.
Why is it a mandatory field?

Having that field makes it easy to re-tag or update tags later on - you won't have to search for the release again.

If you really want to get rid of it, you can add another tag below it on the list, with the same tag name, and an empty formatting string. This should result in the tag being removed.
Title: Re: foo_discogs
Post by: langoustator on 2017-03-14 11:44:25
Hi,

Thanks for the very useful plugin.

After years of using the plugin without digging into options, I took the time today to disable all the tag mappings I don't need (so I don't need to remove them using standard tagging dialog). Unfortunately, it seems impossible to set the mapping DISCOGS_RELEASE_ID to "disabled", so I still have to remove it manually afterwards.
Why is it a mandatory field?

Having that field makes it easy to re-tag or update tags later on - you won't have to search for the release again.

If you really want to get rid of it, you can add another tag below it on the list, with the same tag name, and an empty formatting string. This should result in the tag being removed.

Thanks for the tip!
Title: Re: foo_discogs
Post by: nessunarazza on 2017-03-24 16:41:57
Hi everyone,
from some time, when I use Discogs tagger in foobar  (tagging > Discogs > Write tags..) I have the answer:

(FATAL) Error: Authorization Failed (401) [Is OAuth working?](url: https://api.discogs.com/database/search)

[ESCAPE to close]


I also went in configuration panel, but I did not find a solution for this...
Someone could help me with this issue? Thank you!
Title: Re: foo_discogs
Post by: nessunarazza on 2017-03-24 16:56:02
Hi everyone,
from some time, when I use Discogs tagger in foobar  (tagging > Discogs > Write tags..) I have the answer:

(FATAL) Error: Authorization Failed (401) [Is OAuth working?](url: https://api.discogs.com/database/search)

[ESCAPE to close]


I also went in configuration panel, but I did not find a solution for this...
Someone could help me with this issue? Thank you!

Sorry, Now I solved: it was a connection problem that not give me the authorizative key to the component!
Title: Re: foo_discogs
Post by: kola on 2017-04-09 10:22:14
Everything dead again?!  Doesnt work anymore :'(
Title: Re: foo_discogs
Post by: alec.tron on 2017-05-20 00:40:22
A little request - if this would be easily possible:
Since CD rips timings are often 1-4secs longer than the actual play-times of the tracks, they get flagged as miss-matching. Would it be (or is it already) possible to treat minor runningtime missmatches as a "soft error" in matching ? i.e. warn that times are slighly off, but show a it differently than a miss-match on 'hard errors' such as Artist & Title miss-matching ?
As is, slight timing missmatches get flagg as a complete miss-match, and one has to painstakingly compare the 2 lists by hand to make sure there's nothing more serious off before running the tag writing.
Cheers.
c.
Title: Re: foo_discogs
Post by: fuffi on 2017-05-22 01:53:50
Hi zoomorph,
today my question is:
why are tracks 2-4 (of this release (https://www.discogs.com/release/5663923)) not tagged with information after using your fine component?
track 1, 5 and 6 are tagged.

properties of the mp3:
(https://picload.org/image/ridoiorl/1.png)

discogs website:
(https://picload.org/image/ridoiora/2.png)
Title: Re: foo_discogs
Post by: frogworth on 2017-05-22 02:12:10
Hi zoomorph,
today my question is:
why are tracks 2-4 (of this release (https://www.discogs.com/release/5663923)) not tagged with information after using your fine component?
track 1, 5 and 6 are tagged.

I think it's the syntax of the ranges of tracks - it shouldn't have hypens or en dashes. The standard is to use the word "to", so it should say for instance for the orchestra:
Code: [Select]
(tracks 1 to 4, 6)

You can see that the orchestra was not tagged for track 1 either, where it's part of a range.
See the credits on this version, for instance:
https://www.discogs.com/Gershwin-Rhapsody-In-Blue-An-American-In-Paris/release/5197259
Title: Re: foo_discogs
Post by: fuffi on 2017-05-22 23:48:01
another usability-feature-request:
can it be possible to ignore the error like
Quote
(FATAL) Error: Error loading artist 8319: Page Deleted or Missing (404)(url: https://api.discogs.com/artists/8319)

[ESCAPE to close]
when auto-search for artists in the find-release-window, IF the Artist is "Various Artists" ?

sometimes, the tags of a mp3 are just wrong and I don't want to switch the "auto-search artists" option each time, because this results in even more clicks, than just cancelling the annoying errormessage, BUT the errormessage is not useful anyway (only in this "various artists" case, of course), because I know, that there is no artist with such name...

So, a (comma separated) user-setting: skip error of 'Error loading artist' when artist string includes: "foo, bar, variour artist"
would be useful :-)
Title: Re: foo_discogs
Post by: fuffi on 2017-05-22 23:55:45
thank you frogworth,
why are tracks 2-4 (of this release (https://www.discogs.com/release/5663923)) not tagged with information after using your fine component?
track 1, 5 and 6 are tagged.
I think it's the syntax of the ranges of tracks - it shouldn't have hypens or en dashes. The standard is to use the word "to", so it should say for instance for the orchestra:
Code: [Select]
(tracks 1 to 4, 6)

Hmm.. ok, so the tagging is *silently* skipped because of the data on discogs?

if so, it would be a feature, which I requested, some time ago, because of the big amount of not usable releases with the fine component, when some data on the discogs-db is "broken". there, the fine component just throws errors, instead of tagging the correct data and ignoreing the incorrect data.

or is it just a bug in the fine component? which I suspect, because of the "silent" skipping.
Title: Re: foo_discogs
Post by: frogworth on 2017-05-23 00:11:06
or is it just a bug in the fine component? which I suspect, because of the "silent" skipping.

The credits can contain all sorts of text. The component will try to interpret what it finds there and tag it in your files, but it bases its interpretation on the Discogs tagging rules. I suppose zoomorph could alert you every time the component found *any* text it could not interpret in the credits, but that would be annoying for users, so I guess in that sense it "silently" skips credits which it can't interpret into actual track numbers.

So you and I might think that dashes of various sorts (with or without spacing, etc) make perfect sense, but the component needs a very specific syntax to understand what's written in the credits. And given that you're also requesting fewer error messages getting in your way (which I fully support!), that's why it's not telling you when it can't understand some bits of the credits :)
Title: Re: foo_discogs
Post by: fuffi on 2017-06-05 11:45:51
I know... but thanks :-)

Some information in the log/console, or optional for the users whiches to set up. ("silently skip", "ask *each* time to skip or invenstigate => opens browser windows with release on DG....", "present the user a list with failed credits or sort of, at the *end* of the tagging process, while *not* abort at the first error." etc...) there you go. another 1000 possibilities, which could make life easier, or harder. :-)

Title: Re: foo_discogs
Post by: fuffi on 2017-06-05 11:50:17
Hi zoomorph,

can we have the album art fetching *before* the generating of tags is processed ?
on huge releases, its takes some time and users could check the art files meanwhile.

i.e. now, on a release with about 30 artists, I have to wait about 30 seconds before I can check the fetched album art.

that would be a nice  timesafer.

anyways. just wanted to mention, that tagging is a pleasure, since you started pimpin' the fine component. I cannot imagine, what else to use, because I don't want to leave f2k "just" for tagging....
Title: Re: foo_discogs
Post by: alec.tron on 2017-06-12 13:01:03
Hello,
I'm trying to figure out if it's possible to derive all of these (when tagging bands/multi-people-entities' releases):
Group - Artist Real Name - Artist Aliases
in a discogs_foo go...

eg. for this release:
https://www.discogs.com/artist/2204038-Owiny-Sigoma-Band

I correctly get:
DISCOGS_ARTISTS_MEMBERS
=
Charles Owoko, Jesse Hackett, Joseph Nyamungu, Louis Hackett, Sam Lewis (2), Tom Skinner

But I would also love to see:
Elmore Judd ; Louis Slipperz;  Hello Skinny
(for the 3 of the bands' members who do have 1 or more 'Aliases' stated on their artist page)
in a discogs_foo field...
Admittedly, that might be too much spiderspaghetti-ing (as it would also need to query the separate artist pages for aliases values...), but might be this is already possible somehow ?

Churs.
c.
Title: Re: foo_discogs
Post by: francesco on 2017-07-02 16:57:40
hi
is there a way to download only the album art?
right click ->discosg->update album/artist is gray , can 't use it

thanks
Title: Re: foo_discogs
Post by: zoomorph on 2017-07-07 13:53:03
Hello,
I'm trying to figure out if it's possible to derive all of these (when tagging bands/multi-people-entities' releases):
Group - Artist Real Name - Artist Aliases
in a discogs_foo go...

eg. for this release:
https://www.discogs.com/artist/2204038-Owiny-Sigoma-Band

I correctly get:
DISCOGS_ARTISTS_MEMBERS
=
Charles Owoko, Jesse Hackett, Joseph Nyamungu, Louis Hackett, Sam Lewis (2), Tom Skinner

But I would also love to see:
Elmore Judd ; Louis Slipperz;  Hello Skinny
(for the 3 of the bands' members who do have 1 or more 'Aliases' stated on their artist page)
in a discogs_foo field...
Admittedly, that might be too much spiderspaghetti-ing (as it would also need to query the separate artist pages for aliases values...), but might be this is already possible somehow ?

Churs.
c.
Based on the help file it doesn't look possible at this time.

hi
is there a way to download only the album art?
right click ->discosg->update album/artist is gray , can 't use it

thanks
These features use standard tags for Discogs release_id and artist_id. If those tags are missing the features are disabled. You could download only the album art by writing tags + downloading art and disabling all the tags so no tags are actually written.
Title: Re: foo_discogs
Post by: francesco on 2017-07-07 15:08:50

These features use standard tags for Discogs release_id and artist_id. If those tags are missing the features are disabled. You could download only the album art by writing tags + downloading art and disabling all the tags so no tags are actually written.
hi
thank you so much
Title: Re: foo_discogs
Post by: alec.tron on 2017-07-08 00:28:12
.... query the separate artist pages for aliases values...), but might be this is already possible somehow ?
Based on the help file it doesn't look possible at this time.

Thanks alot for double checking & getting back about it!
Guess I'll need to hand edit the info for the artists/releases which are important to me to see the other involved artists' aliases.... I know I already give up on Atom Heart/Atom TM/etc before starting... :D

c.
Title: Parsing error
Post by: a3aan on 2017-07-09 13:20:09
Bumped into a parsing error. Couldn't see an (obvious) issue with the data at discogs.

(FATAL) Error: Error loading release 1042699: JSON Parser ExceptionError parsing release credits.

Cheers.
Title: Re: foo_discogs
Post by: fuffi on 2017-07-10 22:20:51
When fetching album art for more than one release and it gives an error like this, ALL the fetching is stopped.
would it be possible to just continue with the remaining images in the queue, instead of canceling them all, just because one image has an error?

Code: [Select]
(FATAL) Error [release 2862947]: HTTP Error (502)(url: https://api-img.discogs.com/l-7t_nVGwshpmP-jaBRtnUufCM8=/fit-in/200x200/filters:strip_icc():format(jpeg):mode_rgb():quality(90)/discogs-images/R-2862947-1304522147.jpeg.jpg)
(FATAL) Error: HTTP Error (502)(url: https://api-img.discogs.com/l-7t_nVGwshpmP-jaBRtnUufCM8=/fit-in/200x200/filters:strip_icc():format(jpeg):mode_rgb():quality(90)/discogs-images/R-2862947-1304522147.jpeg.jpg)

[ESCAPE to close]
Title: Re: foo_discogs
Post by: Razinal on 2017-07-18 09:19:12
Hi,
 I have a problem.
I have many music files with Album tag being empty. as foo_discogs  need album tag to be correct I can't make use of discogs tagging with these files unless I can map album to title because when I manually search for title in release section of this component  when I choose Write Tag in the menu, I do get the correct release listed.

I tried to figure out how to change the configs but failed.
Any help T_T?
Title: Re: foo_discogs
Post by: forestasia on 2017-07-20 14:28:48
Trying to get this working again on a new Windows 10 install.

In Step 1 of setting up OAuth, I get this error on the console:

Quote
(FATAL) Error: Authorization Failed (401) [Is OAuth working?](url: https://api.discogs.com/oauth/request_token )

That URL seems to open OK for me in Chrome.
Title: Re: foo_discogs
Post by: zoomorph on 2017-07-25 05:24:58
This suggestion (getting rid of guideline 12.2.2) would be positive for foo_discogs, enabling track positions to be parsed more logically.
https://www.discogs.com/forum/thread/746895
Title: Re: foo_discogs
Post by: LecoOliveira on 2017-08-17 00:22:43
Hi everyone,
from some time, when I use Discogs tagger in foobar  (tagging > Discogs > Write tags..) I have the answer:

(FATAL) Error: Authorization Failed (401) [Is OAuth working?](url: https://api.discogs.com/database/search)

[ESCAPE to close]


I also went in configuration panel, but I did not find a solution for this...
Someone could help me with this issue? Thank you!
How do you solved this problem? The same is happening with me.
Title: Re: foo_discogs
Post by: Sea Monkey on 2017-09-12 20:03:06
I just started getting

Code: [Select]
(FATAL) Error: Network exceptionSecurity error (url: https://img.discogs.com/VdDqxxuVoeoESd92V22G4K4Fkyo=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-10821224-1504867991-5988.jpeg.jpg)

when attempting to retrieve release info. I was able to bypass it by unchecking 'Show preview in release dialog' in the artwork options, but it still fails while fetching full artwork as well. Anyone else seeing this now?
Title: Re: foo_discogs
Post by: kode54 on 2017-09-13 08:02:17
There is a setting in Advanced Preferences, under Networking, where you may whitelist img.discogs.com.
Title: Re: foo_discogs
Post by: eamatag71 on 2017-09-13 17:56:22
I've the same trouble.
I tried to whitelist img.discogs.com, but doesn't work....
Title: Re: foo_discogs
Post by: Fletchesus on 2017-09-13 18:30:18
Identical issue at my end, as well.
Title: Re: foo_discogs
Post by: Flexx on 2017-09-13 20:55:03
Code: [Select]
(FATAL) Error: Network exceptionSecurity error
There is a setting in Advanced Preferences, under Networking, where you may whitelist img.discogs.com.

Same problem here with Windows Vista 64bit. Whitelisting discogs.com did not help. The discogs plugin might use its own HTTP client, in which the global foobar2000 setting would be ineffective. Pasting the URL given into Firefox will display the image, and the certificate is fine, so I don't think this is a certificate problem in the first place. Also the OAuth test in the plugin configuration works fine.

Cheers,
Flexx
Title: Re: foo_discogs
Post by: fuffi on 2017-09-14 11:52:18
This is the workaround in the components preferences:
(https://picload.org/thumbnail/dgrpidwl/screenclip.jpg) (https://picload.org/view/dgrpidwl/screenclip.png.html)


Turn OFF  (at the top)
Code: [Select]
Album art 
Fetch [ ]


(Of course, the preview too as stated above. everything fetching images.)
Fetching the release info still works.
Title: Re: foo_discogs
Post by: eamatag71 on 2017-09-14 18:18:40
Maybe a recent system upgrade made some trouble....
Title: Re: foo_discogs
Post by: ao627 on 2017-09-15 13:37:19
This is the workaround in the components preferences:
(https://picload.org/thumbnail/dgrpidwl/screenclip.jpg) (https://picload.org/view/dgrpidwl/screenclip.png.html)

Turn OFF  (at the top)
Code: [Select]
Album art 
Fetch [ ]


(Of course, the preview too as stated above. everything fetching images.)
Fetching the release info still works.
Switching off the get-artwork option was working for me yesterday. Today it's not pulling the release info either.
Title: Re: foo_discogs
Post by: zoomorph on 2017-09-16 01:03:28
Discogs API using OAuth appears to be broken right now.
Title: Re: foo_discogs
Post by: alec.tron on 2017-09-16 01:12:50
Strange... no problems here with foo_discogs 2.13, and I've been tagging things for the last few hours.
c.
Title: Re: foo_discogs
Post by: Sea Monkey on 2017-09-17 04:32:13
Strange... no problems here with foo_discogs 2.13, and I've been tagging things for the last few hours.
c.

I was still on a previous version.  Haven't tested things out with 2.13 yet, but thanks for the heads up.
Title: Re: foo_discogs
Post by: username_unknown on 2017-09-19 04:39:30
Discogs API using OAuth appears to be broken right now.

Hi zoomorph, any news on this? still not working for me...  i always get the '(FATAL) Error: Network exceptionSecurity error' message.

Big fan of your plug-in btw, thank you for the effort you put on it. Cheers!
Title: Re: foo_discogs
Post by: zoomorph on 2017-09-19 16:26:12
Discogs API using OAuth appears to be broken right now.

Hi zoomorph, any news on this? still not working for me...  i always get the '(FATAL) Error: Network exceptionSecurity error' message.

Big fan of your plug-in btw, thank you for the effort you put on it. Cheers!
This is a different error. Discogs seems to have fixed the API problem from last week. This error is probably related to SSL certificates.... I would suggest searching this thread as it's probably been covered before.
Title: Re: foo_discogs
Post by: 2tec on 2017-09-20 15:30:12
this http://www.discogs.com/Space-Tin-Planet/release/379429 (http://www.discogs.com/Space-Tin-Planet/release/379429)

produces

Quote
[/(FATAL) Error: Network exceptionSecurity error (url: https://img.discogs.com/LF_4TMMiVyL-2yBNJohfXkzczpA=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-379429-1375654074-1766.jpeg.jpg)

if artwork is enabled
Title: Re: foo_discogs
Post by: eamatag71 on 2017-09-21 08:49:09
It's strange, but my discogs app on android phone doesn't display images too....
Title: Re: foo_discogs
Post by: eamatag71 on 2017-09-21 08:54:13
If somebody finds something don't forget to post it here!!!!
Title: Re: foo_discogs
Post by: eamatag71 on 2017-09-22 15:32:45
Now it works.....it's a mystery....
Title: Re: foo_discogs
Post by: fuffi on 2017-09-23 16:40:18
hi zoomorph,

what does this error message on this release (https://www.discogs.com/x/release/515) want to tell me and how can I fix it (on discogs or with a setting in your fine component) ?
Code: [Select]
(FATAL) Error: Error loading release 515: JSON Parser Exception\u0000 is not allowed

[ESCAPE to close]
Title: Re: foo_discogs
Post by: alec.tron on 2017-09-23 23:40:49
Code: [Select]
(FATAL) Error: Error loading release 515: JSON Parser Exception\u0000 is not allowed

[ESCAPE to close]
u0000 is a 'null' character, which is present in the notes of the release page:
"The sound of X Couleur 3"
X being the Null character foo_discog trips on. So if you remove that and resubmit this release it should parse I would think.
Hope this helps.
c.
Title: Re: foo_discogs
Post by: fuffi on 2017-09-27 01:12:43
X being the Null character foo_discog trips on. So if you remove that and resubmit this release it should parse I would think.
Hope this helps.
Thanks,
and why is it not allowed in the component, but allowed in the discogs database?
Title: Re: foo_discogs
Post by: zoomorph on 2017-09-27 06:39:39
X being the Null character foo_discog trips on. So if you remove that and resubmit this release it should parse I would think.
Hope this helps.
Thanks,
and why is it not allowed in the component, but allowed in the discogs database?
It shouldn't be allowed in the database and provides zero value, but it seems that it is allowed. It's not allowed in the component because it's not supposed to be allowed in JSON and the component uses a JSON parsing library which throws that error.
Title: Re: foo_discogs
Post by: fuffi on 2017-09-28 19:56:29
Thank you for explanation!
I see.

Another question:

My mapping for VINYLTRACK is:
Code: [Select]
$multi_if($multi_or($multi_strstr($put(fmt,%<RELEASE_FORMATS_NAME>%),'Vinyl'),$multi_strstr($get(fmt),'Acetate')),%TRACK_DISCOGS_TRACK_NUMBER%,)
When writing tags from this release (https://www.discogs.com/x/release/125115), I get

"B1; B1"

instead of (my expectation...)
"B1"


Does anybody know, what I'm doing wrong? (to get only "B1")
Title: Re: foo_discogs
Post by: fuffi on 2017-09-30 12:57:38
Another question:

Why is the fine component creating a 5CD release, when it is actually a 3CD release (https://www.discogs.com/release/8997996)?
(Trackcounting is freshly started for CD4 and CD5 which do not exist.)

(https://picload.org/thumbnail/dglgoglr/screenclip.jpg) (https://picload.org/view/dglgoglr/screenclip.png.html)
Title: Re: foo_discogs
Post by: zoomorph on 2017-10-02 06:34:36
Thank you for explanation!
I see.

Another question:

My mapping for VINYLTRACK is:
Code: [Select]
$multi_if($multi_or($multi_strstr($put(fmt,%<RELEASE_FORMATS_NAME>%),'Vinyl'),$multi_strstr($get(fmt),'Acetate')),%TRACK_DISCOGS_TRACK_NUMBER%,)
When writing tags from this release (https://www.discogs.com/x/release/125115), I get

"B1; B1"

instead of (my expectation...)
"B1"


Does anybody know, what I'm doing wrong? (to get only "B1")
%RELEASE_FORMATS_NAME% is an array of length 2. The formatting string should be improved to handle releases with multiple formats.

Another question:

Why is the fine component creating a 5CD release, when it is actually a 3CD release (https://www.discogs.com/release/8997996)?
(Trackcounting is freshly started for CD4 and CD5 which do not exist.)

(https://picload.org/thumbnail/dglgoglr/screenclip.jpg) (https://picload.org/view/dglgoglr/screenclip.png.html)
The component can't parse track positions like "3-09 (a)". This is either a misuse of track positions OR a case where Discogs' track positions are not well defined and so they can't be parsed reliably and some obscure cases will be missed.
Title: Re: foo_discogs
Post by: fuffi on 2017-10-10 21:17:20
Thank you,
I will try modifying the formatting string.

meanwhile, another question:
it seems legal to use no separator for artists, like in this release (https://www.discogs.com/x/release/2075733) but the result after writing the tags to the file is not very convenient. (we could use a script "Skip multiple artist fields", but SPACE is a bad separator for names.

Is there any way to tell the component (or the formatting string for artist) to seperate with ";" and not SPACE so that we have multiple artists, not just one single string?

So that
artist1 artist2 artist3
will be
artist1; artist2; artist3

After reading the "foo_discogs_help.html" I'm not sure about the $joinnames function. It seems, there must be a fix number of join fields?

Code: [Select]
$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0,$joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%),$join($unique($array($joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%),$joinnames(%<TRACK_HIDDEN_TRACKS_ARTISTS_NAME>%,%<TRACK_HIDDEN_TRACKS_ARTISTS_JOIN>%))),' / '))
Title: Re: foo_discogs
Post by: zoomorph on 2017-10-18 09:33:02
it seems legal to use no separator for artists, like in this release (https://www.discogs.com/x/release/2075733) but the result after writing the tags to the file is not very convenient. (we could use a script "Skip multiple artist fields", but SPACE is a bad separator for names.

Is there any way to tell the component (or the formatting string for artist) to seperate with ";" and not SPACE so that we have multiple artists, not just one single string?

So that
artist1 artist2 artist3
will be
artist1; artist2; artist3

After reading the "foo_discogs_help.html" I'm not sure about the $joinnames function. It seems, there must be a fix number of join fields?
The join field is not supposed to be empty as per Discogs guideline 2.6.1.

I suppose you could change your formatting string to replace empty join fields with a default such as "," or ";" if this was a big problem. Personally I would probably just update this release on the database.
Title: Re: foo_discogs
Post by: forestasia on 2017-10-21 14:48:41
Just a tip here in case anyone was getting this error.

Quote
(FATAL) Error: Authorization Failed (401) [Is OAuth working?](url: https://api.discogs.com/oauth/request_token)

[ESCAPE to close]

Make sure that your system time is set correctly. I dual boot Mint and Windows 10, foo_discogs was working fine in Mint, but not in Windows 10. I realised that there is some conflict between the two OSes on my system, where the Windows 10 time gets set 2 hours off every time I boot it after being in Linux Mint, which causes this error in foo_discogs.

Fix the system clock time and OAuth works. (I found this fix only because foo_audioscrobbler was also giving a message in the console suggesting to ensure your system time isn't off).
Title: Tag not removed when updating?
Post by: a3aan on 2017-10-22 10:14:47
I have a problem with removing tags while updating. I use for DISCOGS_TRACK_CREDITS the formatting $zip($join(%<<TRACK_CREDITS_ROLES>>%),' - ',$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%)) with write + update.

After updating when track credits have been removed from discogs the files still have the tag. Writing will proper remove the tag.

Anyone else seeing this? Cheers.
Title: Re: foo_discogs
Post by: mgpai on 2017-11-06 10:44:57
I am unable to 'test' existing token, or 'authorize' a new one. Seems it is able to make a request (can see the url in console) but then doesn't seem to make any progress. The same urls are working fine in a browser. Did not have any success with portable install too.

Running on XP, tried with all security software disabled (in safe-mode). Are there any dependencies? I might have uninstalled some libraries, while troubleshooting a recent OS crash.
Title: Re: foo_discogs
Post by: Case on 2017-11-06 12:14:24
Your OS version never came up on IRC. Windows XP doesn't support the new encryption used by Discogs, so if it uses native OS networking API it won't work.
Title: Re: foo_discogs
Post by: mgpai on 2017-11-06 18:28:07
Your OS version never came up on IRC ...
Wasn't aware of the change in discogs encryption system, so didn't occur to me that OS could be an issue. Thx :)
Title: Re: foo_discogs
Post by: fuffi on 2017-11-16 09:38:05
hi zoomorph,

I discovered that on some releases, the master release year is set to 0,
https://www.discogs.com/x/release/1633542
https://www.discogs.com/de/master/view/555129

while on other releases it is not set, when not/no master is available.
https://www.discogs.com/x/release/1540840

So I updated the default formatting string for the %MASTER_RELEASE_YEAR%

from
[%MASTER_RELEASE_YEAR%]
to
[$ifgreater(%MASTER_RELEASE_YEAR%,0,%MASTER_RELEASE_YEAR%,)]

Hope, it helps someone and maybe it can get its way to the delivered formatting strings defaults, because 0 is not a valid year (IMHO), and it could break some nice scripting :-)
Title: Re: foo_discogs
Post by: fuffi on 2017-11-16 09:50:09
I have a problem with removing tags while updating. I use for DISCOGS_TRACK_CREDITS the formatting $zip($join(%<<TRACK_CREDITS_ROLES>>%),' - ',$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%)) with write + update.

After updating when track credits have been removed from discogs the files still have the tag. Writing will proper remove the tag.
Hmm.. so you saying, that when writting the tags, an existing tag, which is removed from the discogs database is also removed from the file,
but when updating the tags, that existing tag is NOT removed, but remains in the file?

Some guys might don't want to have tags removed, when updating their files, because they only want the "newest" tags and keep the old (and valid or worthy) ones....

I don't remember exactly, if we had this a long time ago, but you can try this in the configuration of this great component:
Configuration -> Tagging -> Write Tags Options -> "Remove any pre-existing tags"
Title: Re: foo_discogs
Post by: TGK on 2017-11-19 10:21:34
Good day.
Need help with the plugin discogs_foo.

1). You need to put the style of music for the release.
 If the release indicates for example two styles, then in the field of the tag "STYLES" it is written like this:
New Wave; Synth-pop
But in the STYLE field of the version tag, this semicolon (";") is perceived as a carry (I do not know how to articulate exactly) and accordingly the style is prescribed in a file in several different fields, like so:
TXXX (Description: STYLE): New Wave
TXXX (Description: STYLE): Synth-pop
and in the program I need, so the style is not displayed, but if you put the styles through commas, everything normal is displayed.
actually the question is: a script is needed so that if there are 2 or more styles indicated in the release (on the release page), then they would be written in one line, separated by a comma (or via /), and not a semicolon in different fields of the tag.

Prompt please the syntax. !

2). What variant of settings for recording tags in Foobar is better to choose so that there are less problems when displaying tags in different programs (players, cataloguers, etc.) especially if you use little used and rare fields in the tags of music files?

P.S . The old version of the GUI plug-in with a choice of downloadable fields and search settings was more convenient, maybe over time?

Thank You
Title: Re: foo_discogs
Post by: alec.tron on 2017-11-21 05:05:26
Heya,
no offense - english is not my first language either - but I have no idea what you mean with some of the above...

As for the discogs style question - to me it sounds like you want to reformat a field, and pump the value with different formatting into another field... (?). For something similar, I use this and find it the most convenient:
http://www.foobar2000.org/components/view/foo_masstag

Hope this helps.
c.
Title: Re: foo_discogs
Post by: zoomorph on 2017-11-22 02:49:50
a script is needed so that if there are 2 or more styles indicated in the release (on the release page), then they would be written in one line, separated by a comma (or via /), and not a semicolon in different fields of the tag.
Try adding the $join() function to the formatting string for that tag.
Title: Re: foo_discogs
Post by: fuffi on 2017-11-24 16:00:01
actually the question is: a script is needed so that if there are 2 or more styles indicated in the release ...
If STYLE is set up in f2k Advanced Settings as a multivalue field
and
you already have some tags with COMMA as the separator, then you could easily use the f2k Masstagger script "SPLIT FIELD BY SEPARATOR", and run it over those* files you want to replace the "," with ";".
(https://picload.org/infonail/drcggrda/screenclip.jpg) (https://picload.org/view/drcggrda/screenclip.png.html)

*You can find those* files by checking the file properties for "tag1, tag2" instead of "tag1; tag2",
or use the Media Library Search with "GENRE HAS ," as a search therm.
(But caution, there are STYLE Names, which include a comma, like i.e. "Folk, World, & Country".
I personally use the search term "(GENRE HAS ",") AND NOT (GENRE HAS ", & " )" for finding commas in my tags.)
Title: Re: foo_discogs
Post by: paregistrase on 2017-11-29 16:44:13
Hi people.

I have a petition about %RELEASE_NOTES% & %ARTISTS_PROFILE% fields.

In releases like Björk ‎– Utopia (https://www.discogs.com/x/release/11154831) the release notes gives a lot of codes like

Code: [Select]
[a214033]
[url=https://www.discogs.com/Various-Sacred-Flute-Music-From-New-Guinea-Madang-Windim-Mabu/master/993375]'Sacred Flute Music From New Guinea: Madang/Windim Mabu'[/url] by [a943416]


Same thing happens with artists profile

Code: [Select]
[a=Kukl]

¿Would be possible to get only plain text for this fields?

I's weird to read sentences like "Thanks to [a2365659] @ [l1012]"

Thanks
Title: Re: foo_discogs
Post by: Dani82 on 2017-11-29 23:17:42
Hi,
I've this kind of problem:

(http://i65.tinypic.com/rkzew9.jpg)

How i can properly write the first and last track information?

This is the release:
https://www.discogs.com/it/Dream-Theater-Dream-Theater/release/4927958

Thx!  :)

Title: Re: foo_discogs
Post by: Dani82 on 2017-12-02 11:03:32
Another question: is it possible not update the track title and at the same time keep the match with the discogs release (ex: in my title track i've the name and a description "(Live in......)" but this part is not in discogs release)?
Title: Re: foo_discogs
Post by: alec.tron on 2017-12-06 01:34:46
Probably interesting for zoomorph:
Discogs switched their new Tracks content (tracks/composition/recording relative data) on as a public beta on the main server (no idea if there is any API functionality for this yet...):
https://www.discogs.com/forum/thread/747050

Might be worth keeping an eye on as the plan seems to be to push this into the main discogs site functionality within the next few months ;)

Churs.
c.
Title: Re: foo_discogs
Post by: fuffi on 2017-12-06 10:20:05
Another question: is it possible not update the track title and at the same time keep the match with the discogs release
You should experiment with the "Write / Update" option in the "Edit tag mappings" config window.

(https://picload.org/thumbnail/driirrwa/bildschirmfoto2017-12-06um11.0.jpg) (https://picload.org/view/driirrwa/bildschirmfoto2017-12-06um11.0.png.html)
Also take a look here (https://hydrogenaud.io/index.php/topic,50523.msg933831.html#msg933831).

How i can properly write the first and last track information?
experiment with the "move up/down" and "remove" buttons in the "Match Tracks" window, as well as check the "parse hidden tracks" option in the configuration of this fine component. you'll find it in the tab "caching", which seems a little bit odd, if you not exactly know, what you're looking for :-)

(https://picload.org/thumbnail/driirdww/bildschirmfoto2017-12-06um11.2.jpg) (https://picload.org/view/driirdww/bildschirmfoto2017-12-06um11.2.png.html)
(https://picload.org/thumbnail/driirdwi/bildschirmfoto2017-12-06um11.2.jpg) (https://picload.org/view/driirdwi/bildschirmfoto2017-12-06um11.2.png.html)
Title: Re: foo_discogs
Post by: Mrakobes on 2018-01-12 19:06:39
(FATAL) Error: Authorization Failed (401) [Is OAuth working?]
please, help. enter a token in the field of a pin, press a button - the site issues "Authorization successful " a secret number, enter a token and a secret, press the test ... and an error, what am I doing wrong? I tried to create my application with the name foo_discogs, entered the key from there - again there is no authorization, the forum read, the time is synchronized
Title: Re: foo_discogs
Post by: fuffi on 2018-01-26 17:35:27
[Is OAuth working?]
It is, here. No problem at all with the fine component.
Title: Re: foo_discogs
Post by: Mrakobes on 2018-01-30 15:53:58
[Is OAuth working?]
It is, here. No problem at all with the fine component.

I'm probably tired, it's working, thanks

Title: Re: foo_discogs
Post by: zoomorph on 2018-02-05 03:08:06
Probably interesting for zoomorph:
Discogs switched their new Tracks content (tracks/composition/recording relative data) on as a public beta on the main server (no idea if there is any API functionality for this yet...):
https://www.discogs.com/forum/thread/747050

Might be worth keeping an eye on as the plan seems to be to push this into the main discogs site functionality within the next few months ;)

Churs.
c.
Thanks this is interesting!
Title: Re: foo_discogs
Post by: alec.tron on 2018-02-05 10:20:10
No worries. Looks like there's a fair bit to be build around this, albeit slowly...
Atm they're running a poll (go to a tracks page and you should have an option to ttake it) to see which direction people would like to see this taken into, i.e. connect compositions, tag sample sources, recording dates, track relative genres, etc pp. Many options & lots of work to be done on this...
c.
Title: Re: foo_discogs
Post by: fuffi on 2018-02-06 03:23:28
Hello zoomorph and others around :-)

I'm trying to tag some of my files with info like "This Song is a Cover of <Artist>"
The API shows me (https://api.discogs.com/releases/4052707) the correct information for this release of Richard Cheese, Back In Black Tie (https://www.discogs.com/x/release/4052707), say, for track nr. 1: "T.N.T." -> "Other [Originally By] – AC/DC"

So, I'm trying to fetch a Credit-Role (https://www.discogs.com/help/creditslist) called "Other", which works ok.

Here is the formatting string:
Code: [Select]
$puts(ROLE,Other)[$flatten($multi_if($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),$get(ROLE))),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$joinnames($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$get(aj)),$get(an)),))]

Is it possible to only fetch this role if it is "Other [Originally By]" and not, say "Other [Anything other]" ?

I'm trying to only get the "Originally By" information, but how?

Cheers!


Title: Re: foo_discogs
Post by: win32 on 2018-02-06 12:39:25
Hi to all!

I have one "small" :) question.

Can this plugin save artwork in separate folder or make new one if folder with name "Artwork" don't exist in folder where is some album?

Like this example:

With "Artwork" folder:

D:\Music\Jazz\John Coltrane - Blue Train (1957) [FLAC] {1991 MFSL UDCD 547}\Artwork

Without "Artwork" folder:

D:\Music\Jazz\John Coltrane - Blue Train (1957) [FLAC] {1991 MFSL UDCD 547}

I have large FLAC collection and some albums have "Artwork" folder and some of them don't have it.

Can foo_discogs make this "Artwork" folder when is downloading artwork from Discogs?

If can't, what will be path in foo_discogs for saving all artwork in "Artwork" folder if I make that folder by myself or if that folder is already there?

Now is this path (default):

$directory_path(%path%)

Thanks for all! I'm using player for years, now I have some free time and I want to setup some things if is possible.

Sorry for my English. :)
Title: Re: foo_discogs
Post by: fuffi on 2018-02-06 15:33:06
Hello again dear readers,

I'm having another issue with tagging my files  for this release (https://www.discogs.com/release/890301).

Quote
(FATAL) Error: Error loading release 890301: Error parsing discs/tracks

[ESCAPE to close]

I can not find the problem, because no tracks are listed in the credits, or the notes.

Can anybody tell me, what  I need to fix in the release, please, to tag my greatly strangely sounding files ? :-)
Title: Re: foo_discogs
Post by: fuffi on 2018-02-06 15:40:02
Can this plugin save artwork in separate folder or make new one if folder with name "Artwork" don't exist in folder where is some album?
Try this:
Code: [Select]
$directory_path(%path%)\Artwork\
(https://picload.org/thumbnail/ddwwrlll/screenclip.jpg) (https://picload.org/view/ddwwrlll/screenclip.png.html)
This creates a folder "Artwork" in the folder, where the music-files are. If the folder "Artwork" exists, the fine component puts the fetched artworks into it.)
This works here. (dunno, why the darn screenshot was shrinked, but you might see something if you look close 8-) )
Title: Re: foo_discogs
Post by: win32 on 2018-02-06 20:11:03
Try this:
Code: [Select]
$directory_path(%path%)\Artwork\
(https://picload.org/thumbnail/ddwwrlll/screenclip.jpg) (https://picload.org/view/ddwwrlll/screenclip.png.html)
This creates a folder "Artwork" in the folder, where the music-files are. If the folder "Artwork" exists, the fine component puts the fetched artworks into it.)
This works here. (dunno, why the darn screenshot was shrinked, but you might see something if you look close 8-) )

Thanks fuffi, that's it! Great!

I was using just basic staff in player but now I can remove some apps from my program files because in f2k I can do everything for my music collection.

I think I will have more questions about other options for some other plugins but I don't want to bother people every day.  :-[

Now I'm going to sleep every day after 3AM, only because I'm "playing" with foobar. So many options! :)

I'm fan of clean look and I don' want so many unnecessary things and that's why is foobar so great, you can do with him what you want (it's not like iTunes or some other players).

Now I need to setup component for preemphasis, maybe remove my old biography view plugin (I'm experimenting with JScript Panel)...maybe change color (I'm using DUI because I have some problems with changing colors in CUI) etc. but that's for other part of forum.

Thanks again for quick answer!
Title: Re: foo_discogs
Post by: conglomulation on 2018-02-10 02:05:29
So I just downloaded this component and I'm a bit confused. Is it supposed to only write tags for the currently playing track? Because that's what it's doing. I have to stop playback to try to get it to write tags for a selected album.
Title: Re: foo_discogs
Post by: fuffi on 2018-02-10 15:08:28
So I just downloaded this component and I'm a bit confused. Is it supposed to only write tags for the currently playing track? Because that's what it's doing. I have to stop playback to try to get it to write tags for a selected album.
Try reading this: https://bitbucket.org/zoomorph/foo_discogs
I also just "found" that link accidentially, checking the component in the Installed Components Window of f2k...
But it seems worth to get a basic understanding! And it has images, too 8-)

And to answer your question: No, it is supposed to tag all files you want, but you need to configure f2k to do so (try selecting more than one song and start the component again, with those selected tracks/files..)
Title: Re: foo_discogs
Post by: theruan on 2018-02-16 03:47:15
Hi,
First, thanks a lot for this great plugin, i just found it and i'm already loving it, it's reaaaaaalllllly good.

I found 2 sort of bugs / or just annoying things that may be fixed and i just have no clue how:

1) Some albums come incorrectly named as artist name - album tittle.
The auto search starts to search for the artist and then filters the results using album name which is wrong and results with no results at all, as the artist name is incorrectly inside the album title too.
I say this is sort of a bug cause it would be kinda easy to subtract from the begging of the "album tittle" the artist name during the search, and should have little to no impact in generating results that it shouldn't.

2) Some album titles include things like "-", " ' ", " " ", and all those characters that are very often resulting in typos.
Auto removing them/ignoring them for the search, by replacing for spaces would result in a faster search too.

Another observation:
the discogs notes field could be remapped by default to comment tag.
Title: Re: foo_discogs
Post by: zoomorph on 2018-02-23 16:37:02
Hi,
First, thanks a lot for this great plugin, i just found it and i'm already loving it, it's reaaaaaalllllly good.

I found 2 sort of bugs / or just annoying things that may be fixed and i just have no clue how:

1) Some albums come incorrectly named as artist name - album tittle.
The auto search starts to search for the artist and then filters the results using album name which is wrong and results with no results at all, as the artist name is incorrectly inside the album title too.
I say this is sort of a bug cause it would be kinda easy to subtract from the begging of the "album tittle" the artist name during the search, and should have little to no impact in generating results that it shouldn't.

2) Some album titles include things like "-", " ' ", " " ", and all those characters that are very often resulting in typos.
Auto removing them/ignoring them for the search, by replacing for spaces would result in a faster search too.

Another observation:
the discogs notes field could be remapped by default to comment tag.
Allowing users to customize the search string as an enhancement would solve your problems.
Title: foo_discogs chrashes foobar2000 with a discogs track formatting string
Post by: fuffi on 2018-03-13 09:46:41
hi zoomorph,

this one is crashing f2k:

I'm trying to change the "Discogs track formatting string:" (Configuration->Matching) and while just pasting the single string "%DISC_FORMAT_QUANTITY%"* into the field, and loading a release (https://www.discogs.com/release/986086), foobar crashes.

*taken from the example inside: foo_discogs_help.html

btw: the help file states:
FORMAT    QUANTITY    string    Quality of format.
I don't know, if this is mísspelled, but it makes no sense to me)
Title: Re: foo_discogs
Post by: fuffi on 2018-03-13 12:28:16
hi zoomorph,
deleting the discogs.cfg, I found out, that the default string for Configuration->Searching->Master release formatting string
is
Code: [Select]
[master] $join($append(%MASTER_RELEASE_TITLE%,%MASTER_RELEASE_YEAR%))
but master releases do not show up as "[master]" in the Find Release Window.

So it should be:
Code: [Select]
'['master']' $join($append(%MASTER_RELEASE_TITLE%,%MASTER_RELEASE_YEAR%))

Also (for the picky ones) some default strings mentioned in the documentation html file are outdated.
Title: Re: foo_discogs
Post by: fuffi on 2018-03-13 12:39:04
Hello everyone,

this release (https://www.discogs.com/release/9871468) has cat# set to "ESO109" as you can also see via the api (https://api.discogs.com/releases/9871468).

With foo_discogs default configuration, no cat# is shown in the Find Release Window,
Although %RELEASE_SEARCH_CATNOS% is in the formatting string.
Other releases reveal their cat#.

Anybody an idea, why?
(and how to get the cat# shown)

(https://picload.org/thumbnail/dalaodoi/screenclip.jpg) (https://picload.org/view/dalaodoi/screenclip.png.html)
Title: Re: foo_discogs
Post by: fuffi on 2018-03-13 18:35:42
Hi,
again, I have a release (https://www.discogs.com/Klaus-Wunderlich-New-Wunderlich-Pops/release/732985), which tracknumbering seems correct to me on the discogs website, but the fine component won't tag the files accordingly.
Also, when I try to edit the release, I cannot find any non-printing chars or something that looks like a reason, the first track is shown as a separate one.

please see screenshot.
(https://picload.org/thumbnail/daloawli/screenclip.jpg) (https://picload.org/view/daloawli/screenclip.png.html)

makes no sense to me, would someone be so kind and explain to me, why?

Title: Re: foo_discogs
Post by: fuffi on 2018-03-14 14:01:38
Hi zoomorph,
a smalish error in the foo_discogs_help.html:
the example for $multi_wrap(A,S) is the same as for $multi_pad(A,N).
an example for $multi_pad(A,N) is missing
Title: Re: foo_discogs
Post by: fuffi on 2018-03-14 16:43:07
Hi zoomorph,

another f2k-crash from your fine component.

(I deleted the foo_discogs.dll.cfg and only re-authorize for O-Auth.)

When the component writes the tags for this release (https://www.discogs.com/Omphalectoicxanthopsia-Precoitus-Thoughts-And-Wonderings-About-Certain-Abominable-Sexual-Acts-Provid/release/7869153), foobar2000 crashes.

It would be nice, if someone could double-check, but don't be offended by the tracktitles... 8-]


(componet version 2.13 from Feb 22 2017 and f2k 1.4b7 but also stable 1.3.x crashes)
Title: Re: foo_discogs
Post by: a3aan on 2018-03-18 14:42:20
I appreciate that parse errors are catched with
(FATAL) Error: JSON Parser ExceptionError parsing release credits.
but would appreciate even more to be able to proceed with the related tags being skipped with a warning.

Cheers, Adriaan.
Title: TITLE feat. Artist
Post by: stevehero on 2018-03-31 21:40:02
I've searched the thread but failed to see any formatting for Title feat. Artist1, Artist2

I've got it to work but maybe someone has a more tested/robust one?

Thanks.

Code: [Select]
$multi_if($multi_strcmp(%<TRACK_CREDITS_ROLES>%,'Featuring'),%TRACK_TITLE% feat. $join(%<TRACK_CREDITS_ARTISTS_NAME>%, ),%TRACK_TITLE%)
Title: Re: foo_discogs
Post by: parafernalia on 2018-04-02 19:04:28
Thx man, using this one already for many years...what a life saver...
Best plugin ever.
Title: Re: TITLE feat. Artist
Post by: stevehero on 2018-04-07 19:52:48
Code: [Select]
$multi_if($multi_strcmp(%<TRACK_CREDITS_ROLES>%,'Featuring'),%TRACK_TITLE% feat. $join(%<TRACK_CREDITS_ARTISTS_NAME>%, ),%TRACK_TITLE%)
I spoke too soon. It's creating multiple values for the title of the same name if the release doesn't contain other roles it seems. Any help here would be great. Thanks.
Title: Re: foo_discogs
Post by: alec.tron on 2018-04-24 11:02:14
Heh, funny, I have trouble getting feat artist injection to work correctly too...
Maybe someone is keen to lend a syntax-hand... :D

I had this for a while - which is meant to add 'DISCOGS_CREDIT_FEATURING' to the title, IF it exists:

$if(%DISCOGS_CREDIT_FEATURING%,%TRACK_TITLE%' (Ft. '%DISCOGS_CREDIT_FEATURING%')',%TRACK_TITLE%))

Turns out, this only partially works... i.e. if I tag it fresh, it does not work... but, if I re-run the same through foo_discogs, it then, and only then (on 2nd run) does add the (Ft. '%DISCOGS_CREDIT_FEATURING%') tag to the title correctly.
If you see what might be causing this, and maybe even how to correct it so it does work on first run, that would be swish.
Churs.
c.
Title: Re: foo_discogs
Post by: stevehero on 2018-04-28 00:14:25
only then (on 2nd run) does add the (Ft. '%DISCOGS_CREDIT_FEATURING%') tag to the title correctly.
Thanks for the code. It works for me 1st time. I've updated foobar2000 to the latest beta build v1.4 beta 11. Are you sure you have the lastest plugin for this installed?

I slightly modified it to suit my replace ' (Original Mix)' with blank setting and 'feat.' instead of your 'Ft.'

Code: [Select]
$pputs(title,$replace(%TRACK_TITLE%, '('Original Mix')',))$if(%DISCOGS_CREDIT_FEATURING%,$pget(title)' feat. '%DISCOGS_CREDIT_FEATURING%,$pget(title)))


Title: Re: foo_discogs
Post by: alec.tron on 2018-04-28 00:38:01
Heya,
yea, it does work if the files have discogs tag syntax previously... try tagging completely empty files, and it will fail to inject the feat artist correctly. So you will need to run it once, to get the main tags, then run it again where it injects the feat artist on top. Odd & an annoyance, but works, once just has to remembeer to run the foo_discogs tagger twice on each new tagged release...

ah, I think I know what it's due as well now... but no idea how to fix it.
When running first, the %DISCOGS_CREDIT_FEATURING% field on file is empty, so once it's run, it's filled correctly, and only then does the $if engage... just a hunch, and not sure why it's not detecting the incokming foo_discogs data correctly here, but needs it to sit in file tags seemingly for this to work.
c.
Title: Re: foo_discogs
Post by: stevehero on 2018-04-28 01:50:00
try tagging completely empty files
Ah, I see now.
Title: Re: foo_discogs
Post by: fuffi on 2018-04-29 11:00:39
Good Sunday everyone,

I'm trying to get the "Text By" roles for each song of this release => https://www.discogs.com/x/release/9899755

But I cannot fetch it, although the API shows its there for each track. => https://api.discogs.com/releases/9899755

I've used the default formatting String and grabbed for "Text By", but no tag is written by the fine component.

Anybody an idea?
Title: Why is the Composed By role not fetched ?
Post by: fuffi on 2018-04-29 17:44:08
Good evening everyone,

Here (https://www.discogs.com/Moscow-Contemporary-Music-Ensemble-Vol-3-Denisov-Artyomov-Kasparov-Gubaidulina-Shoot-Raskotov/release/8928598) is another release, where a Composed By role is not fetched correctly by the fine component (while the same formatting string works great on other releases since months).
I'm talking about tracks 6-12. Tracks 1-5 will work.
The API (https://api.discogs.com/releases/8928598) shows all the Composed By correctly.

What is the difference why the fine component can not fetch the data?
Title: Re: foo_discogs
Post by: zoomorph on 2018-05-05 20:06:16
Good Sunday everyone,

I'm trying to get the "Text By" roles for each song of this release => https://www.discogs.com/x/release/9899755

But I cannot fetch it, although the API shows its there for each track. => https://api.discogs.com/releases/9899755

I've used the default formatting String and grabbed for "Text By", but no tag is written by the fine component.

Anybody an idea?
Use the default "DISCOGS_CREDIT_VOCALS" string and replace "Vocals" with "Text By". Works fine for me.

Good evening everyone,

Here (https://www.discogs.com/Moscow-Contemporary-Music-Ensemble-Vol-3-Denisov-Artyomov-Kasparov-Gubaidulina-Shoot-Raskotov/release/8928598) is another release, where a Composed By role is not fetched correctly by the fine component (while the same formatting string works great on other releases since months).
I'm talking about tracks 6-12. Tracks 1-5 will work.
The API (https://api.discogs.com/releases/8928598) shows all the Composed By correctly.

What is the difference why the fine component can not fetch the data?
Currently foo_discogs doesn't support reading credits from index tracks. I will be releasing an update shortly that supports this.
Title: Re: foo_discogs
Post by: zoomorph on 2018-05-05 20:12:37
Heya,
yea, it does work if the files have discogs tag syntax previously... try tagging completely empty files, and it will fail to inject the feat artist correctly. So you will need to run it once, to get the main tags, then run it again where it injects the feat artist on top. Odd & an annoyance, but works, once just has to remembeer to run the foo_discogs tagger twice on each new tagged release...

ah, I think I know what it's due as well now... but no idea how to fix it.
When running first, the %DISCOGS_CREDIT_FEATURING% field on file is empty, so once it's run, it's filled correctly, and only then does the $if engage... just a hunch, and not sure why it's not detecting the incokming foo_discogs data correctly here, but needs it to sit in file tags seemingly for this to work.
c.
What you're doing is reading the value of the DISCOGS_CREDIT_FEATURING tag when creating your TITLE tag, but the DISCOGS_CREDIT_FEATURING tag hasn't been written yet so it's blank. None of the tags actually get written to file until the end.

What you can do is use the special $pput(N,V) function to store the value of the DISCOGS_CREDIT_FEATURING tag when it's created, then use the $pget(N) function to retrieve the value when creating the TITLE tag. Note that the DISCOGS_CREDIT_FEATURING tag should come first in the list of tags for this to work.
Title: Re: foo_discogs
Post by: zoomorph on 2018-05-05 20:19:43
Hi zoomorph,

another f2k-crash from your fine component.

(I deleted the foo_discogs.dll.cfg and only re-authorize for O-Auth.)

When the component writes the tags for this release (https://www.discogs.com/Omphalectoicxanthopsia-Precoitus-Thoughts-And-Wonderings-About-Certain-Abominable-Sexual-Acts-Provid/release/7869153), foobar2000 crashes.

It would be nice, if someone could double-check, but don't be offended by the tracktitles... 8-]

(componet version 2.13 from Feb 22 2017 and f2k 1.4b7 but also stable 1.3.x crashes)
No crash for me. Can anyone else confirm a crash?

It could be related to a specific custom tag you have defined... Perhaps you could share your tags with me and I can try it.
Title: Re: foo_discogs
Post by: zoomorph on 2018-05-05 20:45:20
Hi,
again, I have a release (https://www.discogs.com/Klaus-Wunderlich-New-Wunderlich-Pops/release/732985), which tracknumbering seems correct to me on the discogs website, but the fine component won't tag the files accordingly.
Also, when I try to edit the release, I cannot find any non-printing chars or something that looks like a reason, the first track is shown as a separate one.

please see screenshot.
(https://picload.org/thumbnail/daloawli/screenclip.jpg) (https://picload.org/view/daloawli/screenclip.png.html)

makes no sense to me, would someone be so kind and explain to me, why?
This is another unfortunate case where the tracklist can't be parsed correctly because Discogs doesn't have a logical tracklist format.

Hi zoomorph,
a smalish error in the foo_discogs_help.html:
the example for $multi_wrap(A,S) is the same as for $multi_pad(A,N).
an example for $multi_pad(A,N) is missing
Will be fixed, thanks!
Title: Re: foo_discogs
Post by: zoomorph on 2018-05-05 20:48:22
hi zoomorph,
deleting the discogs.cfg, I found out, that the default string for Configuration->Searching->Master release formatting string
is
Code: [Select]
[master] $join($append(%MASTER_RELEASE_TITLE%,%MASTER_RELEASE_YEAR%))
but master releases do not show up as "[master]" in the Find Release Window.

So it should be:
Code: [Select]
'['master']' $join($append(%MASTER_RELEASE_TITLE%,%MASTER_RELEASE_YEAR%))

Also (for the picky ones) some default strings mentioned in the documentation html file are outdated.
Will be fixed. Thanks!

Hello everyone,

this release (https://www.discogs.com/release/9871468) has cat# set to "ESO109" as you can also see via the api (https://api.discogs.com/releases/9871468).

With foo_discogs default configuration, no cat# is shown in the Find Release Window,
Although %RELEASE_SEARCH_CATNOS% is in the formatting string.
Other releases reveal their cat#.

Anybody an idea, why?
(and how to get the cat# shown)

(https://picload.org/thumbnail/dalaodoi/screenclip.jpg) (https://picload.org/view/dalaodoi/screenclip.png.html)
It's a problem on Discogs' end. No catalog numbers are provided by the API:
https://api.discogs.com/artists/164971/releases
Title: Re: foo_discogs
Post by: zoomorph on 2018-05-05 21:20:07
hi zoomorph,

this one is crashing f2k:

I'm trying to change the "Discogs track formatting string:" (Configuration->Matching) and while just pasting the single string "%DISC_FORMAT_QUANTITY%"* into the field, and loading a release (https://www.discogs.com/release/986086), foobar crashes.
It would require too big of changes to make this work correctly, so for now it will just return unknown (?), rather than crashing. :-)
Title: Re: foo_discogs
Post by: zoomorph on 2018-05-05 21:52:59
Version 2.14 is released which contains a few minor fixes mentioned in the above posts.
Title: Re: foo_discogs
Post by: atagal on 2018-05-06 02:35:14
When I hit Authorize button

(FATAL) Error: Authorization Failed (401) [Is OAuth working?](url: https://api.discogs.com/database/search)

Foobar2000 crash either.
Title: Re: foo_discogs
Post by: fuffi on 2018-05-06 20:08:38
this release (https://www.discogs.com/release/9871468) has cat# set to "ESO109" as you can also see via the api (https://api.discogs.com/releases/9871468).

With foo_discogs default configuration, no cat# is shown in the Find Release Window,
Although %RELEASE_SEARCH_CATNOS% is in the formatting string.
Other releases reveal their cat#.

Anybody an idea, why?
(and how to get the cat# shown)

(https://picload.org/thumbnail/dalaodoi/screenclip.jpg) (https://picload.org/view/dalaodoi/screenclip.png.html)
It's a problem on Discogs' end. No catalog numbers are provided by the API:
https://api.discogs.com/artists/164971/releases
@zoomorph
You mixed up the Releases, there is a Cat.No,
see my quote:
this release (https://www.discogs.com/release/9871468) has cat# set to "ESO109" as you can also see via the api (https://api.discogs.com/releases/9871468).
Title: Re: foo_discogs
Post by: zoomorph on 2018-05-08 01:04:18
this release (https://www.discogs.com/release/9871468) has cat# set to "ESO109" as you can also see via the api (https://api.discogs.com/releases/9871468).

With foo_discogs default configuration, no cat# is shown in the Find Release Window,
Although %RELEASE_SEARCH_CATNOS% is in the formatting string.
Other releases reveal their cat#.

Anybody an idea, why?
(and how to get the cat# shown)

(https://picload.org/thumbnail/dalaodoi/screenclip.jpg) (https://picload.org/view/dalaodoi/screenclip.png.html)
It's a problem on Discogs' end. No catalog numbers are provided by the API:
https://api.discogs.com/artists/164971/releases
@zoomorph
You mixed up the Releases, there is a Cat.No,
see my quote:
this release (https://www.discogs.com/release/9871468) has cat# set to "ESO109" as you can also see via the api (https://api.discogs.com/releases/9871468).
No I didn't, it's a different API endpoint which is where the information you're asking about is taken from. Normally this endpoint returns catalog number but it's not here, which is a problem on Discogs' end.
Title: Re: foo_discogs
Post by: jazzthieve on 2018-05-12 14:04:39
Quick question, can this component be used to only fetch the discogs artist id?
Title: Re: foo_discogs
Post by: zoomorph on 2018-05-15 08:39:46
Quick question, can this component be used to only fetch the discogs artist id?
Yes. You can disable all the other tag mappings (create duplicates that are blank if necessary for ones that can't be disabled).
Title: Re: foo_discogs
Post by: atagal on 2018-05-19 09:12:55
Any way to fix that error
Code: [Select]
(FATAL) Error: Authorization Failed (401) Is OAuth working?
Only way to parse data is through "release ID" field pasting url. Internal search do not work...
Title: Re: foo_discogs
Post by: zoomorph on 2018-05-25 19:08:23
Any way to fix that error
Code: [Select]
(FATAL) Error: Authorization Failed (401) Is OAuth working?
Only way to parse data is through "release ID" field pasting url. Internal search do not work...
Did you configure OAuth? Try searching this thread if having problems with that.
Title: Re: foo_discogs
Post by: sfman on 2018-06-04 16:46:46
Hi !

In Configuration->tagging tab i have selected "remove any pre-existing tags" but wanted exclude some tags from this process.
So i wrote in exclusions field following string:
"LYRICS,UNSYNCED LYRICS,MP3GAIN_MINMAX,MP3GAIN_UNDO,ENCODER,RATING,REPLAYGAIN_TRACK_GAIN,REPLAYGAIN_TRACK_PEAK"
and it seems not working properly.
First time all excluded tags stay in place but when i repeat this action again (get tags for the same album again) all tags disapearing.

Is that some bug or i'm doing sth wrong?

P.S. I'm using tagging scheme APE+ID3v1
Title: Re: foo_discogs
Post by: zoomorph on 2018-06-15 04:42:20
Hi !

In Configuration->tagging tab i have selected "remove any pre-existing tags" but wanted exclude some tags from this process.
So i wrote in exclusions field following string:
"LYRICS,UNSYNCED LYRICS,MP3GAIN_MINMAX,MP3GAIN_UNDO,ENCODER,RATING,REPLAYGAIN_TRACK_GAIN,REPLAYGAIN_TRACK_PEAK"
and it seems not working properly.
First time all excluded tags stay in place but when i repeat this action again (get tags for the same album again) all tags disapearing.

Is that some bug or i'm doing sth wrong?

P.S. I'm using tagging scheme APE+ID3v1
Strange. foo_discogs shouldn't be removing tags. Perhaps it's something specific to your tagging scheme....
Title: Re: foo_discogs
Post by: sfman on 2018-06-28 21:19:54
Hi !

In Configuration->tagging tab i have selected "remove any pre-existing tags" but wanted exclude some tags from this process.
So i wrote in exclusions field following string:
"LYRICS,UNSYNCED LYRICS,MP3GAIN_MINMAX,MP3GAIN_UNDO,ENCODER,RATING,REPLAYGAIN_TRACK_GAIN,REPLAYGAIN_TRACK_PEAK"
and it seems not working properly.
First time all excluded tags stay in place but when i repeat this action again (get tags for the same album again) all tags disapearing.

Is that some bug or i'm doing sth wrong?

P.S. I'm using tagging scheme APE+ID3v1
Strange. foo_discogs shouldn't be removing tags. Perhaps it's something specific to your tagging scheme....


Wow! This is all that I can get?
I know that this is free developement but
why bother when nobody cares.
The only reason I posted info about tagging scheme was
to help developer to recreate problem and fix the bug.
This is not some strange tagging scheme or big error.
It's just a bug. I would understand if You wrote "sorry , can't recreate this bug, need more info or sample"
But this answer?!!! Really? Well. Thanks. Sorry for idiotic thinking that sb fix problem or even try.
Bye. Have a nice life.
Title: Re: foo_discogs
Post by: alec.tron on 2018-06-29 06:14:05
Just logged in just to throw in a random opinion/comment:
I get you're frustrated, we all can if things don't quite work our way... but that was rude, way out of line & borderline offensive @sfman
c.
Title: Re: foo_discogs
Post by: sfman on 2018-06-30 09:18:40
Just logged in just to throw in a random opinion/comment:
I get you're frustrated, we all can if things don't quite work our way... but that was rude, way out of line & borderline offensive @sfman
c.

Well.
Maybe You're right. It can look like this.
My apologize to All. This wasn't my intention.
And i'm not frustrated because some bug is not fixed. Really. I understand that this
plugin is only because some people share their time and knowledge to community.
It was about lack of any info about the problem. Is sb trying to fix it or it won't be fixed?
Anything that tell me I should wait or try to workout the problem another way.
I'm not demanding. I'm only trying to get info if problem can be fixed or maybe there is no problem,
or its only something on my machine.
So when i waited for any update info for two weeks, not even knowing if somebody analyses it, decided to resign waiting and thats all.
Maybe my post was looking to emotional. Sorry. I'm not blaming anybody, and again, apologize. Don't want people think about me bad.

best regards
Title: Re: foo_discogs
Post by: frogjab on 2018-06-30 12:54:23
Hello.
A week ago I started to get this error
Code: [Select]
(FATAL) Error: Network exceptionSecurity error

I thought it might be on discogs end but a week passed and I still get the same error and can't use foo_discogs.
Any suggestions? I relied heavily on this plugin, I used it basically everyday. Any help will be greatly appreciable.
Title: Re: foo_discogs
Post by: zoomorph on 2018-07-01 05:14:22
Hi !

In Configuration->tagging tab i have selected "remove any pre-existing tags" but wanted exclude some tags from this process.
So i wrote in exclusions field following string:
"LYRICS,UNSYNCED LYRICS,MP3GAIN_MINMAX,MP3GAIN_UNDO,ENCODER,RATING,REPLAYGAIN_TRACK_GAIN,REPLAYGAIN_TRACK_PEAK"
and it seems not working properly.
First time all excluded tags stay in place but when i repeat this action again (get tags for the same album again) all tags disapearing.

Is that some bug or i'm doing sth wrong?

P.S. I'm using tagging scheme APE+ID3v1
Strange. foo_discogs shouldn't be removing tags. Perhaps it's something specific to your tagging scheme....


Wow! This is all that I can get?
I know that this is free developement but
why bother when nobody cares.
The only reason I posted info about tagging scheme was
to help developer to recreate problem and fix the bug.
This is not some strange tagging scheme or big error.
It's just a bug. I would understand if You wrote "sorry , can't recreate this bug, need more info or sample"
But this answer?!!! Really? Well. Thanks. Sorry for idiotic thinking that sb fix problem or even try.
Bye. Have a nice life.
You can make your own tagging program if you're unhappy with the level of service here, or you can offer to pay me to solve your problem! I doubt it's a problem with foo_discogs. As nobody else has reported such a problem before, you should take some initiative to investigate it yourself and provide more info (eg. does it affect different "tagging schemes"?). The more effort you put in, the more likely others will put in effort to help you.
Title: Re: foo_discogs
Post by: zoomorph on 2018-07-01 05:31:30
Hello.
A week ago I started to get this error
Code: [Select]
(FATAL) Error: Network exceptionSecurity error

I thought it might be on discogs end but a week passed and I still get the same error and can't use foo_discogs.
Any suggestions? I relied heavily on this plugin, I used it basically everyday. Any help will be greatly appreciable.
Sounds like an SSL issue of some sort, but not sure what else to say about it. What OS are you on? Discogs said they'd be disabling TLS 1.0 and 1.1 support as of today - that could be an issue for some people.
Title: Re: foo_discogs
Post by: frogjab on 2018-07-03 12:38:15
Hello.
A week ago I started to get this error
Code: [Select]
(FATAL) Error: Network exceptionSecurity error

I thought it might be on discogs end but a week passed and I still get the same error and can't use foo_discogs.
Any suggestions? I relied heavily on this plugin, I used it basically everyday. Any help will be greatly appreciable.
Sounds like an SSL issue of some sort, but not sure what else to say about it. What OS are you on? Discogs said they'd be disabling TLS 1.0 and 1.1 support as of today - that could be an issue for some people.
OK, I tried it on my another computer and it worked. I installed and authorized there for the first time.
It has to do with the fact that I reinstalled OS several times on my current computer before I got "Network exceptionSecurity error". I reinstalled foobar, restored configuration and components folders every time I reinstalled OS.
So, is it SSL certificate issue? Is there any way it can be solved?
Title: Re: foo_discogs
Post by: anamorphic on 2018-07-03 19:23:13
OK, I tried it on my another computer and it worked. I installed and authorized there for the first time.
It has to do with the fact that I reinstalled OS several times on my current computer before I got "Network exceptionSecurity error". I reinstalled foobar, restored configuration and components folders every time I reinstalled OS.
So, is it SSL certificate issue? Is there any way it can be solved?
Can you not just de-authorize your PC on the discogs website and then re-authorize on foobar? (Changing the OS probably changes the key that OAuth uses to ID you).

Alternatively you could always try to remove the discogs component and reinstall a fresh version. (Probably losing your settings though).
Title: Re: foo_discogs
Post by: dmesg on 2018-07-03 20:46:01
Hello.
A week ago I started to get this error
Code: [Select]
(FATAL) Error: Network exceptionSecurity error

I thought it might be on discogs end but a week passed and I still get the same error and can't use foo_discogs.
Any suggestions? I relied heavily on this plugin, I used it basically everyday. Any help will be greatly appreciable.
Sounds like an SSL issue of some sort, but not sure what else to say about it. What OS are you on? Discogs said they'd be disabling TLS 1.0 and 1.1 support as of today - that could be an issue for some people.

I'm not frogjab myself, but I'm actually facing the same issue (running on Windows 10 x64 1803, a somewhat fresh install).
Using foobar v1.3.19, foo_discogs 2.14.

Logs show this (long URLs shortened for better readability):
Code: [Select]
foo_discogs: Networking Error: Security error - Retrying: 1
foo_discogs: Networking Error: Security error - Retrying: 2
foo_discogs: https://api.discogs.com/oauth/request_token?oauth_consumer_key=kQFLKuHX...
foo_discogs: Networking Error: Security error - Retrying: 1
foo_discogs: Networking Error: Security error - Retrying: 2
foo_discogs: Networking Error: Security error - Retrying: 3
foo_discogs: Networking Error: Security error - Retrying: 4
foo_discogs: Networking Error: Security error - Retrying: 5
foo_discogs: Network exception handling: https://api.discogs.com/oauth/request_token?oauth_consumer_key=kQFLKuHX...
Title: Re: foo_discogs
Post by: zoomorph on 2018-07-03 21:31:31
OK, I tried it on my another computer and it worked. I installed and authorized there for the first time.
It has to do with the fact that I reinstalled OS several times on my current computer before I got "Network exceptionSecurity error". I reinstalled foobar, restored configuration and components folders every time I reinstalled OS.
So, is it SSL certificate issue? Is there any way it can be solved?
Can you not just de-authorize your PC on the discogs website and then re-authorize on foobar? (Changing the OS probably changes the key that OAuth uses to ID you).

Alternatively you could always try to remove the discogs component and reinstall a fresh version. (Probably losing your settings though).

Actually, the OAuth key from one computer should work on another (copy the "token" and "secret" fields from the settings). That is a possible workaround if only setting up OAuth is giving this error.

This is an OS level issue, not specific to foo_discogs, so there would be no benefit in reinstalling the component.

Is the time set correctly on your OS? That has been known to cause this problem in the past.
Title: Re: foo_discogs
Post by: alijay886 on 2018-07-06 02:09:28
Hi there

I got problems here...


Up until today the discogs plugin was working but now it is jammed on loading release... and has been for the last 3 hours.

I tried reinstalling the plugin but no luck.

Please see screenshot and please help.

thanks.

(https://i.imgur.com/Jbvt4Fe.png)
Title: Re: foo_discogs
Post by: alijay886 on 2018-07-06 04:45:20
Going to what you said up there... I am happy to pay you to help me with this issue. I swear by this software. Nothing will load now with discogs.
Title: Re: foo_discogs
Post by: DVS on 2018-07-06 05:42:41
Starting today:
(FATAL) Error: Network exceptionNetwork authentication error
[ESCAPE to close]
Title: Re: foo_discogs
Post by: dBill on 2018-07-06 10:58:46
same here.
Code: [Select]
(FATAL) Error: Network exceptionNetwork authentication error (url: https://api.discogs.com/database/search)

[ESCAPE to close]
Title: Re: foo_discogs
Post by: DJRenFromDonFM on 2018-07-06 15:29:17
I'm currently getting the same. Just started happening today.
Title: Re: foo_discogs
Post by: kode54 on 2018-07-07 03:28:24
Doesn't look like it's the certificate, unless your machines can't process the DigiCert SHA-256 signing authority.
Title: Re: foo_discogs
Post by: lvqcl on 2018-07-07 09:43:20
From https://www.discogs.com/forum/thread/521520689469733cfcfd2089
Quote
This is a reminder that on June 30th, 2018, TLS 1.0 and 1.1 will be disabled for api.discogs.com. Please make sure your applications are capable of TLS 1.2 connections by this date.

I wonder is it related or not. Anyway, foo_discogs also doesn't work for me (Win 7).

foobar2000 1.3.19: just hangs on "Fetching artist list...".

foobar2000 1.14 b17: shows error window "(FATAL) Error: Network exceptionNetwork authentication error (url: https://api.discogs.com/database/search)"

P.S. When foo_discogs tries to connect to the server, it prints current URL to console. I can open this URL in both Chrome and IE11, so I suppose the error is not Windows-related.
Title: Re: foo_discogs
Post by: vpvi26 on 2018-07-07 12:34:51
This is a TLS issue as guessed above.

To solve it, you must enabled TLS 1.2 by downloading TLS 1.x on Windows 7.zip and double-click to import the file: Enable TLS 1.x on Windows 7.reg.

See : https://support.cybersource.com/s/article/How-do-I-enable-TLS-1-2-on-Windows-7
Title: Re: foo_discogs
Post by: lvqcl on 2018-07-07 13:26:15
I only enabled Client part of TLS (see below), and foo_discogs now works, thanks!

Code: [Select]
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Client]
"DisabledByDefault"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client]
"DisabledByDefault"=dword:00000000


P.S. Yet another reminder that Windows 7 is not exactly an up-to-date system.
Title: Re: foo_discogs
Post by: stevehero on 2018-07-07 14:33:24


Code: [Select]
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Client]
"DisabledByDefault"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client]
"DisabledByDefault"=dword:00000000
 
 Thanks, that worked. Just copied the code above into a 'filename.reg' file and run it to add to the registry.
Title: Re: foo_discogs
Post by: DVS on 2018-07-07 17:45:32
P.S. Yet another reminder that Windows 7 is not exactly an up-to-date system.
This is intentionally done, but we are still successfully resisting  ;)
Title: Re: foo_discogs
Post by: TGK on 2018-07-07 18:32:18
This is a TLS issue as guessed above.

To solve it, you must enabled TLS 1.2 by downloading TLS 1.x on Windows 7.zip and double-click to import the file: Enable TLS 1.x on Windows 7.reg.

See : https://support.cybersource.com/s/article/How-do-I-enable-TLS-1-2-on-Windows-7
If you enable the "Fetch Album Art" or "Display Preview in release dialog" error

Quote
(FATAL) Error: Network exceptionSecurity error (url: https://img.discogs.com/yakz61ovxn3jousDzaAsgw-Dd1Q=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-6526838-1421263634-4823.jpeg.jpg)
[ESCAPE to close]
Title: Re: foo_discogs
Post by: lvqcl on 2018-07-07 18:51:36
Try 1.4 beta 17, works for me.
Title: Re: foo_discogs
Post by: TGK on 2018-07-07 19:07:03
Try 1.4 beta 17, works for me.
I have 2.14.

If I put 1.4 then the tag card will need to be changed again? - I just set up a tag card for myself
Title: Re: foo_discogs
Post by: Lola on 2018-07-07 19:11:30
Doesn't work anymore. I use latest Foobar2000 on Windows 10 and every time I try to fetch data from discogs I get this type of error:

Code: [Select]
(FATAL) Error: Network exceptionSecurity error (url: https://img.discogs.com/nbbu00fARcGUc6a9Ij7X63r7new=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-12229042-1530965508-2883.jpeg.jpg)

[ESCAPE to close]
Title: Re: foo_discogs
Post by: TGK on 2018-07-07 19:29:51
Doesn't work anymore. I use latest Foobar2000 on Windows 10 and every time I try to fetch data from discogs I get this type of error:

Code: [Select]
(FATAL) Error: Network exceptionSecurity error (url: https://img.discogs.com/nbbu00fARcGUc6a9Ij7X63r7new=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-12229042-1530965508-2883.jpeg.jpg)

[ESCAPE to close]
Similarly. Widows 7

If you disable the "Fetch Album Art" and "Display Preview in release dialog" in the plug-in settings, the plug-in will work
Title: Re: foo_discogs
Post by: lvqcl on 2018-07-07 19:55:56
I have 2.14.
I wrote foobar2000 version, not foo_discogs!
foobar2000 1.4 beta 17 with foo_discogs 2.14 work OK even with album art options.
Title: Re: foo_discogs
Post by: TGK on 2018-07-07 20:00:58
I have 2.14.
I wrote foobar2000 version, not foo_discogs!
foobar2000 1.4 beta 17 with foo_discogs 2.14 work OK even with album art options.
And I understood!

It's strange.

However, I have an assembly, wait for now or do on the site or in the plugin
Title: Re: foo_discogs
Post by: frogjab on 2018-07-07 22:35:31
Try 1.4 beta 17, works for me.
Thank you so much man, it finally works!
Title: Re: foo_discogs
Post by: eamatag71 on 2018-07-10 09:44:17
Hi, I've a trouble while foo_discogs try to process a release "https://www.discogs.com/Muse-Absolution/release/749912". The console returns me and unhandled exception in "Processing release" : invalid map<K, T> key
Any suggestions?
Thanks, bye
Title: Re: foo_discogs
Post by: zoomorph on 2018-07-15 17:23:24
Hi, I've a trouble while foo_discogs try to process a release "https://www.discogs.com/Muse-Absolution/release/749912". The console returns me and unhandled exception in "Processing release" : invalid map<K, T> key
Any suggestions?
Thanks, bye
The release date is entered in the wrong format on Discogs, which is causing foo_discogs to hit this error. Please fix the release date for the release and it should work.
Title: Re: foo_discogs
Post by: stevehero on 2018-07-19 17:20:37
What about this release?

https://www.discogs.com/release/11422773

If I remove my ALBUM ARTIST tag with the format it's okay:
Code: [Select]
$multi_if($multi_and($any($contains($first(%<<RELEASE_FORMATS_DESCRIPTIONS>>%),$array(Compilation,Mixed))),$multi_greater($length($unique($flatten(%<<RELEASE_TRACKS_ARTISTS_NAME>>%))),$div(%RELEASE_TOTAL_TRACKS%,2)),$multi_greater($length($unique($flatten(%<<RELEASE_TRACKS_ARTISTS_REAL_NAME>>%))),$div(%RELEASE_TOTAL_TRACKS%,2))),VA,$joinnames($multi_replace(%<RELEASE_ARTISTS_NAME>%,'Various','VA'),%<RELEASE_ARTISTS_JOIN>%))


Here's the error when I use that:

Code: [Select]
[17:18:23] foo_discogs: Error processing field RELEASE_TRACKS_ARTISTS_REAL_NAME : Error loading artist 6246945: Page Deleted or Missing (404)(url: https://api.discogs.com/artists/6246945)

I've narrowed it down to this:
Code: [Select]
%<<RELEASE_TRACKS_ARTISTS_REAL_NAME>>%

Title: Re: foo_discogs
Post by: AxelR8 on 2018-07-24 22:28:18
Configuration - OAuth
Step 1:
Clic Autorize. You'll be required to log in to Discogs ... blabla.
But I see error
Code: [Select]
(FATAL) Error: Network exceptionSecurity error (url: https://api.discogs.com/oauth/request_token)

[ESCAPE to close]
(https://preview.ibb.co/cprUM8/foobar_error.png) (https://ibb.co/gKvBZT)
What is the problem?
Thanks!
Title: Re: foo_discogs
Post by: zoomorph on 2018-07-25 11:24:41
What about this release?

https://www.discogs.com/release/11422773

...


Here's the error when I use that:

Code: [Select]
[17:18:23] foo_discogs: Error processing field RELEASE_TRACKS_ARTISTS_REAL_NAME : Error loading artist 6246945: Page Deleted or Missing (404)(url: https://api.discogs.com/artists/6246945)
Discogs problem. Clicking on artist for last track gives 404 error page.

But I see error
Code: [Select]
(FATAL) Error: Network exceptionSecurity error (url: https://api.discogs.com/oauth/request_token)

[ESCAPE to close]
...
What is the problem?
Thanks!
The problem is a network security error connecting to https://discogs.com. Try checking the past few pages of this thread for possible solutions.
Title: Re: foo_discogs
Post by: stevehero on 2018-07-25 11:43:08


Thanks. No probs. I suppose there's no way around that with the functions you have available?
Title: Re: foo_discogs
Post by: EricDrave on 2018-07-26 11:53:23
Sorry about this but i was trying to ask for some help with discogs plugin and i realized that i couldnt upload any screenshot so i started a new topic accidentally. The post is https://hydrogenaud.io/index.php/topic,116349.0.html

and the problem i have is i cant tag flac files using discogs plugin properly cause it seems to works fine but when i check tracks files after writting tags it doesnt change anything so i convert files and the only information that appears in idtag is about artist, album or track title but not about catalog for example. Thank you so much in advance and sorry about any inconvenience for that.
Title: Re: foo_discogs
Post by: weston27th on 2018-08-11 21:51:23
I can't get connection to request a token.

Code: [Select]
(FATAL) Error: Authorization Failed (401) [Is OAuth working?](url: https://api.discogs.com/oauth/request_token)

[ESCAPE to close]

I visit with firefox and got:

Code: [Select]
Hello there!

This URL is an OAuth endpoint, but the request you made doesn't appear to
conform to the OAuth 1.0a protocol.

Please consult these resources:

    - Discogs OAuth docs: http://www.discogs.com/developers/#page:authentication
    - the OAuth specification: http://tools.ietf.org/html/rfc5849
    - the documentation for your OAuth library

for information on how to use this endpoint.

- Discogs

I allow foobar2000 to networking and disabled temporary windows firewall. Nothing help.

How does this plugin use my network windows 10? Could there be some problem with proxy or vpn settings?
Title: Re: foo_discogs
Post by: langoustator on 2018-08-15 15:06:07
Hi,

Feature request for the find release window: would it be possible to replace the Artist textbox with an editable combobox that would display the last few artists that have been typed in?
This would help when encoding a full discography.

Thanks
Title: Re: foo_discogs
Post by: Anakunda on 2018-08-16 07:49:51
It looks like the plugin is not able read whole album
(https://www.discogs.com/Hubert-Sumlin-Blues-Guitar-Boss/release/7827993 (https://www.discogs.com/Hubert-Sumlin-Blues-Guitar-Boss/release/7827993))
Is this a bug?
Title: Re: foo_discogs
Post by: zoomorph on 2018-08-17 04:50:56
It looks like the plugin is not able read whole album
(https://www.discogs.com/Hubert-Sumlin-Blues-Guitar-Boss/release/7827993 (https://www.discogs.com/Hubert-Sumlin-Blues-Guitar-Boss/release/7827993))
Is this a bug?
The "1-" before each track number should be removed, then it should work.

Discogs tracklists unfortunately don't follow a strict logical format so there will always be outliers that can't be parsed correctly by foo_discogs.
Title: Re: foo_discogs
Post by: zoomorph on 2018-08-17 04:58:21
I can't get connection to request a token.

Code: [Select]
(FATAL) Error: Authorization Failed (401) [Is OAuth working?](url: https://api.discogs.com/oauth/request_token)

[ESCAPE to close]

I visit with firefox and got:

Code: [Select]
Hello there!

This URL is an OAuth endpoint, but the request you made doesn't appear to
conform to the OAuth 1.0a protocol.

Please consult these resources:

    - Discogs OAuth docs: http://www.discogs.com/developers/#page:authentication
    - the OAuth specification: http://tools.ietf.org/html/rfc5849
    - the documentation for your OAuth library

for information on how to use this endpoint.

- Discogs

I allow foobar2000 to networking and disabled temporary windows firewall. Nothing help.

How does this plugin use my network windows 10? Could there be some problem with proxy or vpn settings?
If you search this thread you might find solutions to that problem. A few requirements that I recall: your system clock needs to be set correctly & your OS needs TLS 1.2 support. The plugin uses foobar2000's network settings. The OAuth endpoint is expected to return that error if you navigate to it in the browser.
Title: Re: foo_discogs
Post by: weston27th on 2018-08-17 18:58:47
I can't get connection to request a token.

Code: [Select]
(FATAL) Error: Authorization Failed (401) [Is OAuth working?](url: https://api.discogs.com/oauth/request_token)

[ESCAPE to close]

I visit with firefox and got:

Code: [Select]
Hello there!

This URL is an OAuth endpoint, but the request you made doesn't appear to
conform to the OAuth 1.0a protocol.

Please consult these resources:

    - Discogs OAuth docs: http://www.discogs.com/developers/#page:authentication
    - the OAuth specification: http://tools.ietf.org/html/rfc5849
    - the documentation for your OAuth library

for information on how to use this endpoint.

- Discogs

I allow foobar2000 to networking and disabled temporary windows firewall. Nothing help.

How does this plugin use my network windows 10? Could there be some problem with proxy or vpn settings?
If you search this thread you might find solutions to that problem. A few requirements that I recall: your system clock needs to be set correctly & your OS needs TLS 1.2 support. The plugin uses foobar2000's network settings. The OAuth endpoint is expected to return that error if you navigate to it in the browser.

Thank you it was the system clock ! I never thought this were an issue.
Title: Re: foo_discogs
Post by: stevehero on 2018-08-26 14:37:22
foobar has been crashing a lot lately, so I ran the troubleshooter and it came back as this here plugin.

Running FB v1.4, win 10 x64.

(https://i.imgur.com/I907jWU.png)

Error Link: https://help.foobar2000.org/troubleshooter/components/bc0e58258bfa0a69
Title: Re: foo_discogs
Post by: zoomorph on 2018-08-27 05:55:08
foobar has been crashing a lot lately, so I ran the troubleshooter and it came back as this here plugin.

Running FB v1.4, win 10 x64.

(https://i.imgur.com/I907jWU.png)

Error Link: https://help.foobar2000.org/troubleshooter/components/bc0e58258bfa0a69
Is it crashing while using foo_discogs? If not, then it shouldn't be foo_discogs which is causing it.
Title: Re: foo_discogs
Post by: stevehero on 2018-08-27 09:08:59

I forgot to mention. On exiting fb it happens.
Title: Re: foo_discogs
Post by: Fletchesus on 2018-08-28 21:47:36
Suddenly, this afternoon I have begun to receive this message when attempting to tag some flacs:

(FATAL) Error: Network exceptionNetwork authentication error (url: https://api.discogs.com/database/search)

[ESCAPE to close]


And this when I attempt to authorize a new PIN:

(FATAL) Error: Network exceptionNetwork authentication error (url: https://api.discogs.com/oauth/request_token)

[ESCAPE to close]
Title: Re: foo_discogs
Post by: spr1 on 2018-08-29 15:30:05
Same as the above, except for tagging mp3s.
Win7, latest fb2k, latest plugin.
Title: Re: foo_discogs
Post by: spr1 on 2018-08-30 14:26:53
Suddenly, this afternoon I have begun to receive this message when attempting to tag some flacs:

(FATAL) Error: Network exceptionNetwork authentication error (url: https://api.discogs.com/database/search)

[ESCAPE to close]


And this when I attempt to authorize a new PIN:

(FATAL) Error: Network exceptionNetwork authentication error (url: https://api.discogs.com/oauth/request_token)

[ESCAPE to close]

I followed this (https://hydrogenaud.io/index.php/topic,50523.msg959257.html#msg959257) post and tagger works again :)
Title: Re: foo_discogs
Post by: Fletchesus on 2018-08-30 15:57:19
Suddenly, this afternoon I have begun to receive this message when attempting to tag some flacs:

(FATAL) Error: Network exceptionNetwork authentication error (url: https://api.discogs.com/database/search)

[ESCAPE to close]


And this when I attempt to authorize a new PIN:

(FATAL) Error: Network exceptionNetwork authentication error (url: https://api.discogs.com/oauth/request_token)

[ESCAPE to close]

I followed this (https://hydrogenaud.io/index.php/topic,50523.msg959257.html#msg959257) post and tagger works again :)

Thanks very much - this has rectified the error. I should have read back to earlier in this thread. Many thanks
Title: Re: foo_discogs
Post by: fuffi on 2018-09-02 10:36:37
Quote
(FATAL) Error: Network exceptionNetwork authentication error (url: https://api.discogs.com/database/search)
[ESCAPE to close]
I followed this (https://hydrogenaud.io/index.php/topic,50523.msg959257.html#msg959257) post and tagger works again :)
That hit my W7 System before 3 days too.... thanks for the shortcut!! (I knew there were a lot of posts regarding this, but to find them in this thread is kinda .... crazy ;-) )


Title: Re: foo_discogs
Post by: fuffi on 2018-09-02 10:39:28
Another question;

This Release:
https://www.discogs.com/Various-Aliases-Vol-2-Dualidad-OndaPart%C3%ADcula/release/8771628

gives
Quote
(FATAL) Error: Error generating tag ALBUM ARTIST [] for file file://C:\Users\mp3\Aliases\aliases vol.2 - dualidad onda-particula (2015)\Out 69 - Aliases Vol.2 - Dualidad Onda-Partícula - 01. Time To Robots.flac

[ESCAPE to close]
Anybody knows why?

(Maybe the release should be changed from Various to Various Artists? I'm not sure...)
Title: Re: foo_discogs
Post by: fuffi on 2018-09-02 10:46:13
Feature request for the find release window: would it be possible to replace the Artist textbox with an editable combobox that would display the last few artists that have been typed in?
+1
I really missed something like a history of last artists (or even a history for the filter text field).
Of course, not only a 10 items history. A way more items would be great :)
Title: Re: foo_discogs
Post by: zoomorph on 2018-09-02 14:56:30
I've added notes about system clock and TLS 1.2 requirements to the README at https://bitbucket.org/zoomorph/foo_discogs.
Title: Re: foo_discogs
Post by: zoomorph on 2018-09-02 15:08:06
Another question;

This Release:
https://www.discogs.com/Various-Aliases-Vol-2-Dualidad-OndaPart%C3%ADcula/release/8771628

gives
Quote
(FATAL) Error: Error generating tag ALBUM ARTIST [] for file file://C:\Users\mp3\Aliases\aliases vol.2 - dualidad onda-particula (2015)\Out 69 - Aliases Vol.2 - Dualidad Onda-Partícula - 01. Time To Robots.flac

[ESCAPE to close]
Anybody knows why?

(Maybe the release should be changed from Various to Various Artists? I'm not sure...)

Discogs problem. Many of the artists for that release on Discogs are 404. I'm not sure how to work around it, but perhaps editing the release would fix it.

The Compilation format should probably be added to that release as well.
Title: Re: foo_discogs
Post by: WatsonWW on 2018-09-09 22:12:22
for 3 or 4 days attemts to authorize plugin end with this foobar2k error:
(FATAL) Error: Network exceptionNetwork authentication error (url: https://api.discogs.com/oauth/request_token)

[ESCAPE to close]
console reads as this:
foo_discogs: https://api.discogs.com/oauth/request_token?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=153652746629&oauth_signature=TLy2ADeHXugymPbBsTdA%2FX%2Bgjtg%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1536527466&oauth_version=1.0
foo_discogs: Networking Error: Network authentication error - Retrying: 1
foo_discogs: Networking Error: Network authentication error - Retrying: 2
foo_discogs: Networking Error: Network authentication error - Retrying: 3
foo_discogs: Networking Error: Network authentication error - Retrying: 4
foo_discogs: Networking Error: Network authentication error - Retrying: 5
foo_discogs: Network exception handling: https://api.discogs.com/oauth/request_token?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=153652746629&oauth_signature=TLy2ADeHXugymPbBsTdA%2FX%2Bgjtg%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1536527466&oauth_version=1.0

wht does it mean,changes on discogs auth service?
Title: Re: foo_discogs
Post by: BiOMeX on 2018-09-12 15:33:20
Very strange thing:

1. Windows 7 x64. Foobar2000 1.4 + foo_discogs 2.14 - "(FATAL) Error: Network exceptionNetwork authentication error (url: https://api.discogs.com/database/search)
[ESCAPE to close]"

2. Windows 10 x64. Foobar2000 1.4 + foo_discogs 2.14 - everything works fine.

Different OS and different providers - who's to blame? :)
Title: Re: foo_discogs
Post by: BiOMeX on 2018-09-13 15:34:27
Different OS and different providers - who's to blame? :)
Blame OS:

"TLS 1.2
As of mid-2018, Discogs requires TLS 1.2 support to access its API. Windows 10 should have TLS 1.2 support built in.
To enable TLS 1.2 on Windows 7, see these instructions."
© https://bitbucket.org/zoomorph/foo_discogs

Windows 7 x64 fault :D
Title: Re: foo_discogs
Post by: WatsonWW on 2018-09-14 22:09:11
Different OS and different providers - who's to blame? :)
Blame OS:

"TLS 1.2
As of mid-2018, Discogs requires TLS 1.2 support to access its API. Windows 10 should have TLS 1.2 support built in.
To enable TLS 1.2 on Windows 7, see these instructions."
© https://bitbucket.org/zoomorph/foo_discogs

Windows 7 x64 fault :D
Thank you so much. This really solves my problem and i don't want to know anything more: https://hydrogenaud.io/index.php/topic,50523.msg959259.html#msg959259
Title: Re: foo_discogs
Post by: fuffi on 2018-09-18 20:11:05
Hello,
its been a while since I fiddled with roles....

I'm interested in fetching the "Rap [Featuring]" role from this release: https://www.discogs.com/x/release/709365

JSON at https://api.discogs.com/releases/709365 shows

Code: [Select]
	{
"duration": "2:54",
"position": "A10",
"type_": "track",
"extraartists": [{
"join": "",
"name": "Hornflex",
"anv": "",
"tracks": "",
"role": "Rap [Featuring], Producer",
"resource_url": "https://api.discogs.com/artists/758993",
"id": 758993
}],
"title": "Freund Rap"
},

How would be the formatting string look like? I can't find anything in the docs.
Title: Re: foo_discogs
Post by: comox on 2018-09-24 19:12:54
Edit: Problem solved.

Stunning plugin! :)
Title: Re: foo_discogs
Post by: FarmerDave_ on 2018-10-11 00:42:06
Perhaps I overlooked it, is there a metadata field in foo_discogs that denotes whether a release is in draft status?
Title: Re: foo_discogs
Post by: zoomorph on 2018-10-13 08:22:17
Perhaps I overlooked it, is there a metadata field in foo_discogs that denotes whether a release is in draft status?
%RELEASE_DISCOGS_STATUS%

See the help html file that comes with the component.
Title: Re: foo_discogs
Post by: Thorax2015 on 2018-11-04 22:28:57
I recently encountered this error when tying to Authorize.
(FATAL) Error: Network exceptionSecurity error (url: https://api.discogs.com/oauth/request_token)

Console shows this....
Code: [Select]
foo_discogs: https://api.discogs.com/oauth/request_token?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=154137040429&oauth_signature=6I6%2BjtsefznNPZ66KidcToX2%2FYo%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1541370404&oauth_version=1.0
foo_discogs: Networking Error: Security error - Retrying: 1
foo_discogs: Networking Error: Security error - Retrying: 2
foo_discogs: Networking Error: Security error - Retrying: 3
foo_discogs: Networking Error: Security error - Retrying: 4
foo_discogs: Networking Error: Security error - Retrying: 5
foo_discogs: Network exception handling: https://api.discogs.com/oauth/request_token?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=154137040429&oauth_signature=6I6%2BjtsefznNPZ66KidcToX2%2FYo%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1541370404&oauth_version=1.0

I'm running Windows 10 Pro 64bit.
Is this something to do with system time?

Cheers all!
Title: error: invalid map<K, T> key
Post by: fuffi on 2018-11-26 03:09:41
Hello,
I found another release, where foo_discogs aborts and the user needs to restart f2k. Otherwise, the foo_discogs window is not closing and accepting any pressed buttons.

https://www.discogs.com/release/9456725

See the screenshots for the error: invalid map<K, T> key

Can somebody reproduce this?

f2k v1.4.1
foo_discogs v2.14, Compiled: May  5 2018
win7 64bit

Title: Re: foo_discogs
Post by: mjm716 on 2018-11-28 06:00:09
Recently I (FB Prefs>)Reset All as a solution for crossfade not working.

Since then, I get crashes from Discogs - about 30% of the time when I am getting the release information, or am trying to apply info to tags, FB will completely crash.

Nothing else has changed. I will try reinstalling the component, but maybe the crash report is useful for someone?

 
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 10006BFBh
Access violation, operation: write, address: 0000323Bh
Last win32 error: 8

Call path:
threaded_process thread

Crash location:
Module: foo_discogs
Offset: 6BFBh

Stack dump analysis:
Address: 1000BC5Fh (foo_discogs+BC5Fh)
Address: 100243BBh (foo_discogs+243BBh)
Address: 10008366h (foo_discogs+8366h)
Address: 1000D459h (foo_discogs+D459h)
Address: 100700B0h (foo_discogs+700B0h), symbol: "foobar2000_get_interface" (+2E370h)
Address: 10020D1Eh (foo_discogs+20D1Eh)
Address: 773E2580h (ntdll+72580h), symbol: "wcstombs" (+70h)
Address: 10080B84h (foo_discogs+80B84h), symbol: "foobar2000_get_interface" (+3EE44h)
Address: 10080B84h (foo_discogs+80B84h), symbol: "foobar2000_get_interface" (+3EE44h)
Address: 10080B84h (foo_discogs+80B84h), symbol: "foobar2000_get_interface" (+3EE44h)
Address: 10080B84h (foo_discogs+80B84h), symbol: "foobar2000_get_interface" (+3EE44h)
Address: 10080B84h (foo_discogs+80B84h), symbol: "foobar2000_get_interface" (+3EE44h)
Address: 10080B84h (foo_discogs+80B84h), symbol: "foobar2000_get_interface" (+3EE44h)
Address: 10080B84h (foo_discogs+80B84h), symbol: "foobar2000_get_interface" (+3EE44h)
Address: 10080B84h (foo_discogs+80B84h), symbol: "foobar2000_get_interface" (+3EE44h)
Address: 10080B84h (foo_discogs+80B84h), symbol: "foobar2000_get_interface" (+3EE44h)
Address: 10080B84h (foo_discogs+80B84h), symbol: "foobar2000_get_interface" (+3EE44h)
Address: 10080B84h (foo_discogs+80B84h), symbol: "foobar2000_get_interface" (+3EE44h)
Address: 1006CF7Eh (foo_discogs+6CF7Eh), symbol: "foobar2000_get_interface" (+2B23Eh)
Address: 10080B84h (foo_discogs+80B84h), symbol: "foobar2000_get_interface" (+3EE44h)
Address: 1006FCD1h (foo_discogs+6FCD1h), symbol: "foobar2000_get_interface" (+2DF91h)
Address: 10022272h (foo_discogs+22272h)
Address: 10005894h (foo_discogs+5894h)
Address: 100058D9h (foo_discogs+58D9h)
Address: 10080B84h (foo_discogs+80B84h), symbol: "foobar2000_get_interface" (+3EE44h)
Address: 10009836h (foo_discogs+9836h)
Address: 10070005h (foo_discogs+70005h), symbol: "foobar2000_get_interface" (+2E2C5h)
Address: 10009CD4h (foo_discogs+9CD4h)
Address: 10021884h (foo_discogs+21884h)
Address: 1006CE70h (foo_discogs+6CE70h), symbol: "foobar2000_get_interface" (+2B130h)
Address: 1003B177h (foo_discogs+3B177h)
Address: 10039605h (foo_discogs+39605h)
Address: 10072347h (foo_discogs+72347h), symbol: "foobar2000_get_interface" (+30607h)
Address: 00245DF8h (foobar2000+F5DF8h)
Address: 00245D8Bh (foobar2000+F5D8Bh)
Address: 73917CA3h (shared+7CA3h), symbol: "uCallStackTracker::uCallStackTracker" (+D3h)
Address: 002DF848h (foobar2000+18F848h)
Address: 00245D8Bh (foobar2000+F5D8Bh)
Address: 002C058Eh (foobar2000+17058Eh)
Address: 00245DB0h (foobar2000+F5DB0h)
Address: 002B6962h (foobar2000+166962h)
Address: 7540E8AFh (ucrtbase+3E8AFh), symbol: "o____lc_collate_cp_func" (+4Fh)
Address: 7540E870h (ucrtbase+3E870h), symbol: "o____lc_collate_cp_func" (+10h)
Address: 7540E870h (ucrtbase+3E870h), symbol: "o____lc_collate_cp_func" (+10h)
Address: 7542D3F0h (ucrtbase+5D3F0h), symbol: "crt_debugger_hook" (+C0h)
Address: 75728484h (KERNEL32+18484h), symbol: "BaseThreadInitThunk" (+24h)
Address: 75728460h (KERNEL32+18460h), symbol: "BaseThreadInitThunk" (+0h)
Address: 773D305Ah (ntdll+6305Ah), symbol: "RtlValidSecurityDescriptor" (+11Ah)
Address: 75B95E50h (KERNELBASE+195E50h), symbol: "UnhandledExceptionFilter" (+0h)
Address: 773E2580h (ntdll+72580h), symbol: "wcstombs" (+70h)
Address: 773D302Ah (ntdll+6302Ah), symbol: "RtlValidSecurityDescriptor" (+EAh)
Address: 773EECB7h (ntdll+7ECB7h), symbol: "RtlCaptureContext" (+107h)
Address: 7540E870h (ucrtbase+3E870h), symbol: "o____lc_collate_cp_func" (+10h)

Environment:
App: foobar2000 v1.4
UI: Default User Interface 0.9.5

Components:
Core (2018-07-24 10:54:48 UTC)
    foobar2000 core 1.4
foo_acfu.dll (2018-10-27 16:47:50 UTC)
    Auto Check for Updates 0.2.1
foo_albumlist.dll (2018-07-24 10:54:02 UTC)
    Album List 4.6
foo_bpm.dll (2015-03-01 03:39:58 UTC)
    BPM Analyser 0.2.4.6
foo_burninate.dll (2013-02-07 18:02:37 UTC)
    Audio CD Writer 3.0.3
foo_cdda.dll (2018-07-24 10:54:04 UTC)
    CD Audio Decoder 3.0
foo_converter.dll (2018-07-24 10:54:04 UTC)
    Converter 1.5.3
foo_deskband_controls.dll (2018-08-04 09:13:11 UTC)
    Deskband Controls 3.6.1
foo_discogs.dll (2018-08-04 09:13:30 UTC)
    Discogs Tagger 2.14
foo_dsp_effect.dll (2018-08-21 07:06:15 UTC)
    Effect DSP 0.32
foo_dsp_eq.dll (2018-07-24 10:53:56 UTC)
    Equalizer 1.2.1
foo_dsp_std.dll (2018-07-24 10:53:58 UTC)
    Standard DSP Array 1.3.1
foo_dynamic_range.dll (2018-08-13 10:49:58 UTC)
    Dynamic Range Meter 1.1.1
foo_enhanced_playcount.dll (2018-09-10 14:15:46 UTC)
    Enhanced Playback Statistics 3.0.4
foo_facets.dll (2011-08-27 18:05:16 UTC)
    Facets 1.0
foo_fileops.dll (2018-07-24 10:54:00 UTC)
    File Operations 2.3
foo_freedb2.dll (2018-07-24 10:54:14 UTC)
    Online Tagger 0.7
foo_input_shorten.dll (2018-11-20 20:50:15 UTC)
    Shorten decoder 0.4.2.3
foo_input_std.dll (2018-07-24 10:54:34 UTC)
    FFmpeg Decoders 3.2.4
    Standard Input Array 1.0
foo_jesus.dll (2010-09-23 00:34:06 UTC)
    Autosave & Autobackup 10
foo_jscript_panel.dll (2018-08-04 09:15:08 UTC)
    JScript Panel 2.1.6
foo_navigator.dll (2010-03-02 08:43:15 UTC)
    Navigator 0.64
foo_playcount.dll (2011-07-13 10:47:18 UTC)
    Playback Statistics 3.0.2
foo_queuecontents.dll (2012-09-27 17:34:40 UTC)
    Queue Contents Editor 0.5.1
foo_random_pools.dll (2015-04-12 00:12:45 UTC)
    Random Pools 0.1.5
foo_rgscan.dll (2018-07-24 10:54:10 UTC)
    ReplayGain Scanner 2.3
foo_run.dll (2018-08-04 09:13:33 UTC)
    Run services 0.3.8
foo_scrobble.dll (2018-08-21 14:31:48 UTC)
    Scrobble 1.3.1
foo_seek.dll (2012-11-08 15:48:53 UTC)
    Seek 1.1
foo_simplaylist.dll (2018-11-27 04:19:37 UTC)
    SimPlaylist 1.0
foo_simplaylist_manager.dll (2018-11-27 04:23:49 UTC)
    SimPlaylist Manager 1.0
foo_spider_monkey_panel.dll (2018-11-20 20:50:22 UTC)
    Spider Monkey Panel 1.1.1
foo_stop_on_error.dll (2018-08-21 07:17:30 UTC)
    Stop on Error 0.6
foo_tags.dll (2018-08-20 01:28:31 UTC)
    m-TAGS 1.2
foo_textdisplay.dll (2011-08-18 21:01:03 UTC)
    Text Display UI Element 1.1 beta 1
foo_texttools.dll (2013-01-12 21:03:39 UTC)
    Text Tools 1.0.5
foo_ui_std.dll (2018-07-24 10:54:14 UTC)
    Default User Interface 0.9.5
foo_uie_albumart.dll (2007-12-15 22:22:24 UTC)
    Album Art Panel 0.2.7.1
foo_uie_lyrics3.dll (2016-03-22 02:15:14 UTC)
    Lyric Show Panel 3 0.5
foo_uie_wsh_panel_mod.dll (2015-09-27 18:40:19 UTC)
    WSH Panel Mod 1.5.10
foo_verifier.dll (2018-08-04 09:13:32 UTC)
    File Integrity Verifier 1.2.1
foo_vis_vumeter.dll (2013-02-16 09:44:26 UTC)
    VU Meter 2013-02-16
foo_wave_minibar_mod.dll (2018-09-10 14:15:46 UTC)
    Waveform Minibar (mod) 1.0.19
foo_youtube.dll (2018-10-27 16:47:52 UTC)
    Youtube Source 2.3.3

Recent events:
JSB POPULATE: init groups delay = 106 /handleList count=5271
--> populate
JSB POPULATE: init groups delay = 109 /handleList count=5271
--> populate
JSB POPULATE: init groups delay = 140 /handleList count=5271
foo_discogs: https://api.discogs.com/database/search?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=154338423729&oauth_signature=zCyEvvBlXPzbKCjSFPRlDXeQ1B0%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384237&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0&per_page=100&q=Atjazz&type=artist
foo_discogs: https://api.discogs.com/database/search?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=154338423829&oauth_signature=5mHr%2B9c%2BdMwP7lUyBqGpIxnldrw%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384238&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0&per_page=100&q=Atjazz&type=artist
foo_discogs: https://api.discogs.com/artists/83?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=154338423929&oauth_signature=NuHoOhoMKsexwoQuFDhYNXjFthg%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384239&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0
foo_discogs: https://api.discogs.com/artists/83?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=154338423929&oauth_signature=NuHoOhoMKsexwoQuFDhYNXjFthg%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384239&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0
foo_discogs: https://api.discogs.com/artists/83/releases?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=15433842404823&oauth_signature=5c6uPRDbBP3QFDdrumqWslDpU6k%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384240&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0&page=1&per_page=100
foo_discogs: https://api.discogs.com/artists/83/releases?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=15433842404823&oauth_signature=5c6uPRDbBP3QFDdrumqWslDpU6k%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384240&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0&page=1&per_page=100
foo_discogs: https://api.discogs.com/artists/83/releases?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=154338424118be&oauth_signature=IQNipnwO09eA5My0efKNZsunxgE%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384241&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0&page=2&per_page=100
foo_discogs: https://api.discogs.com/artists/83/releases?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=154338424218be&oauth_signature=S3JMMKDOgrJiH4af2iPi6L%2F7%2BjA%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384242&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0&page=2&per_page=100
foo_discogs: https://api.discogs.com/artists/83/releases?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=15433842436784&oauth_signature=m0Jv7qcAdWU%2B3%2F7%2Bx6WXpNuXGm4%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384243&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0&page=3&per_page=100
foo_discogs: https://api.discogs.com/artists/83/releases?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=15433842446784&oauth_signature=N5I6swA1MVPyeC5yrjaqAEm673w%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384244&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0&page=3&per_page=100
foo_discogs: https://api.discogs.com/artists/83/releases?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=15433842454ae1&oauth_signature=v6EUS4zPfG0HzWDNRg%2BeSheOFuQ%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384245&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0&page=4&per_page=100
foo_discogs: https://api.discogs.com/artists/83/releases?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=15433842454ae1&oauth_signature=v6EUS4zPfG0HzWDNRg%2BeSheOFuQ%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384245&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0&page=4&per_page=100
foo_discogs: https://api.discogs.com/artists/83/releases?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=154338424629&oauth_signature=CxS3wLB%2F7iQ%2FSkY5VOWF69fN7rw%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384246&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0&page=1&per_page=100
foo_discogs: https://api.discogs.com/artists/83/releases?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=15433842474823&oauth_signature=Tn1dYduJ42RWWEcLBdwxLhGS%2Fls%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384247&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0&page=2&per_page=100
foo_discogs: https://api.discogs.com/artists/83/releases?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=15433842473d6c&oauth_signature=snzn7XYogSTaSb57FjvZpLpWREY%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384247&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0&page=5&per_page=100
foo_discogs: https://api.discogs.com/artists/83/releases?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=15433842473d6c&oauth_signature=snzn7XYogSTaSb57FjvZpLpWREY%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384247&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0&page=5&per_page=100
foo_discogs: https://api.discogs.com/artists/83/releases?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=154338424718be&oauth_signature=iaj5jL%2FcgFvAXDKwvZwZHhelWnw%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384247&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0&page=3&per_page=100
foo_discogs: https://api.discogs.com/artists/83/releases?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=15433842486784&oauth_signature=e8d4avdwM18OndBHLtR9%2BreJhqw%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384248&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0&page=4&per_page=100
foo_discogs: https://api.discogs.com/artists/83/releases?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=15433842492cd6&oauth_signature=%2FDD85aOaee%2BMImdvlaZGEHkh9Nc%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384249&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0&page=6&per_page=100
foo_discogs: https://api.discogs.com/artists/83/releases?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=15433842492cd6&oauth_signature=%2FDD85aOaee%2BMImdvlaZGEHkh9Nc%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384249&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0&page=6&per_page=100
foo_discogs: https://api.discogs.com/artists/83/releases?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=15433842494ae1&oauth_signature=VMs0ZRPuSlS6wHKKKXr3BrizUMg%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384249&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0&page=5&per_page=100
foo_discogs: https://api.discogs.com/artists/83/releases?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=15433842503d6c&oauth_signature=WtlVGuEw2Q99oNwPKH%2Fq5xpSV%2BY%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384250&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0&page=6&per_page=100
foo_discogs: https://api.discogs.com/artists/83/releases?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=154338425172ae&oauth_signature=1%2FOhwEvSAUhqIPE9xQB%2FRjfBRbs%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384251&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0&page=7&per_page=100
foo_discogs: https://api.discogs.com/artists/83/releases?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=154338425172ae&oauth_signature=1%2FOhwEvSAUhqIPE9xQB%2FRjfBRbs%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384251&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0&page=7&per_page=100
foo_discogs: https://api.discogs.com/artists/83/releases?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=15433842512cd6&oauth_signature=3aSaQuEgkieKiVlphUeUQ9Jp%2FJ4%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1543384251&oauth_token=dogBrJGloKCRMuIjqxJLLaOwugjlnaKDzPUxYlwf&oauth_version=1.0&page=7&per_page=100


Machine specifications:
OS: Windows 10.0.17134 x64
CPU: Intel(R) Core(TM) i3-4005U CPU @ 1.70GHz, features: MMX SSE SSE2 SSE3 SSE4.1 SSE4.2
CPU threads: 4
Audio: Headphones (High Definition Audio Device); Speakers (High Definition Audio Device); Headset (BT SPEAKER Hands-Free)
Title: Re: foo_discogs
Post by: komhst on 2018-11-28 09:13:05
Hello,
I found another release, where foo_discogs aborts and the user needs to restart f2k. Otherwise, the foo_discogs window is not closing and accepting any pressed buttons.

https://www.discogs.com/release/9456725

See the screenshots for the error: invalid map<K, T> key

Can somebody reproduce this?

f2k v1.4.1
foo_discogs v2.14, Compiled: May  5 2018
win7 64bit



I face exactly the same problem with this particular album.
Windows 10 64bit Foobar ver 1.4
Title: most common crash to reproduce
Post by: fuffi on 2018-11-29 10:07:31
Hello,

the foobar2000 online troubleshooter states this fine component with:
Quote
foo_discogs.dll : Discogs Tagger 2.14
Reason: Repeated crash reports.
ever since I usesd this fine component back in the days and the user (you) can make it crash very easily (and repetitive).

So maybe if we fix this, the fine component wont be shown as as "bad" component any more?

So here are the steps to reproduce the crash and I would be very happy, if anyone could try and tell if f2k crashes on his system or not. 

(Please save your settings before testing: Press SHIFT and click on FILE-> RESTART to save you from trouble if f2k loses important settings/playlists)

- Now, just open the Find Release Window as usual.
- Try any Artist with more than 5 Master Releases, say Francis Goya.
- Let all Release load and than just mark the first one in the list.

- Now, press and hold the Cursor Down on the Keyboad and scroll to the bottom of the list
WITHOUT releasing the Curser Down Key.

After the fine component loads 3 or 4 releases, it crashes.

Title: Re: foo_discogs
Post by: zoomorph on 2018-12-09 06:08:34
Hello,
I found another release, where foo_discogs aborts and the user needs to restart f2k. Otherwise, the foo_discogs window is not closing and accepting any pressed buttons.

https://www.discogs.com/release/9456725

See the screenshots for the error: invalid map<K, T> key

Can somebody reproduce this?

f2k v1.4.1
foo_discogs v2.14, Compiled: May  5 2018
win7 64bit
The release date for that release on Discogs is invalid. The next release of foo_discogs will catch that error rather than crashing.
Title: Re: foo_discogs
Post by: zoomorph on 2018-12-09 07:42:18
Hello,

the foobar2000 online troubleshooter states this fine component with:
Quote
foo_discogs.dll : Discogs Tagger 2.14
Reason: Repeated crash reports.
ever since I usesd this fine component back in the days and the user (you) can make it crash very easily (and repetitive).

So maybe if we fix this, the fine component wont be shown as as "bad" component any more?

So here are the steps to reproduce the crash and I would be very happy, if anyone could try and tell if f2k crashes on his system or not. 

(Please save your settings before testing: Press SHIFT and click on FILE-> RESTART to save you from trouble if f2k loses important settings/playlists)

- Now, just open the Find Release Window as usual.
- Try any Artist with more than 5 Master Releases, say Francis Goya.
- Let all Release load and than just mark the first one in the list.

- Now, press and hold the Cursor Down on the Keyboad and scroll to the bottom of the list
WITHOUT releasing the Curser Down Key.

After the fine component loads 3 or 4 releases, it crashes.
Will be fixed in the next version. Thanks.
Title: Re: foo_discogs
Post by: fuffi on 2018-12-10 09:01:17
I found another release, where foo_discogs aborts and the user needs to restart f2k. Otherwise, the foo_discogs window is not closing and accepting any pressed buttons.

https://www.discogs.com/release/9456725

See the screenshots for the error: invalid map<K, T> key
The release date for that release on Discogs is invalid. The next release of foo_discogs will catch that error rather than crashing.
Thanks zoomorph,
I just wanted to try to fix the invalid date (now, there is a nice error description), but the date is empty?

Will the component now always show an error on empty release dates? This, I would love to silently be dropped and not shown as an error, because no date is no error, IMHO, its just no release-date.
Or am I missing something here?

Title: Re: foo_discogs
Post by: fuffi on 2018-12-10 09:07:34
So maybe if we fix this, the fine component wont be shown as as "bad" component any more?

So here are the steps to reproduce the crash and I would be very happy, if anyone could try and tell if f2k crashes on his system or not. 

(Please save your settings before testing: Press SHIFT and click on FILE-> RESTART to save you from trouble if f2k loses important settings/playlists)

- Now, just open the Find Release Window as usual.
- Try any Artist with more than 5 Master Releases, say Francis Goya.
- Let all Release load and than just mark the first one in the list.

- Now, press and hold the Cursor Down on the Keyboad and scroll to the bottom of the list
WITHOUT releasing the Curser Down Key.

After the fine component loads 3 or 4 releases, it crashes.
Will be fixed in the next version. Thanks.
The crashes are gone, thank you.
Now it seems, that some Master releases aren't opened on the fist activation with a keypress. I need to place the cursor a second time to open a skipped master release.

If you quickly scroll through the master releases, with tapping the CURSOR UP key from the last entry of the master releases list up to the first entry. every second master releases is skipped from opening and needs an extra tap to be opened. kinda strange.
Title: Re: foo_discogs
Post by: zoomorph on 2018-12-11 18:21:34
I found another release, where foo_discogs aborts and the user needs to restart f2k. Otherwise, the foo_discogs window is not closing and accepting any pressed buttons.

https://www.discogs.com/release/9456725

See the screenshots for the error: invalid map<K, T> key
The release date for that release on Discogs is invalid. The next release of foo_discogs will catch that error rather than crashing.
Thanks zoomorph,
I just wanted to try to fix the invalid date (now, there is a nice error description), but the date is empty?

Will the component now always show an error on empty release dates? This, I would love to silently be dropped and not shown as an error, because no date is no error, IMHO, its just no release-date.
Or am I missing something here?
The release date coming from the API is actually invalid (even though it shows blank on Discogs website). If you replaced it with a valid one, it would probably start to work.

If you quickly scroll through the master releases, with tapping the CURSOR UP key from the last entry of the master releases list up to the first entry. every second master releases is skipped from opening and needs an extra tap to be opened. kinda strange.
It now only loads one at a time so you'll have to scroll more slowly.
Title: Re: foo_discogs
Post by: vlad26 on 2018-12-12 01:10:16
dear hydrogenaudio community, help me please


how can i leave in field DISCOGS_FORMAT only - 7'' or LP or CD or Cassette ? Only one value

Please help me
Title: Re: foo_discogs
Post by: mjm716 on 2018-12-12 04:33:01
dear hydrogenaudio community, help me please


how can i leave in field DISCOGS_FORMAT only - 7'' or LP or CD or Cassette ? Only one value

Please help me

assuming it is not a multiple value field, you can:
select the files > get properties
right-click DISCOGS_FORMAT > Format from other fields...
pattern: $if($strstr(%title%,'7"'),'7"')$if($strstr(%title%,CD),CD)$if($strstr(%title%,LP),LP)$if($strstr(%title%,Cassette),Cassette)
Title: Re: foo_discogs
Post by: vlad26 on 2018-12-12 09:06:50
assuming it is not a multiple value field, you can:
select the files > get properties
right-click DISCOGS_FORMAT > Format from other fields...
pattern: $if($strstr(%title%,'7"'),'7"')$if($strstr(%title%,CD),CD)$if($strstr(%title%,LP),LP)$if($strstr(%title%,Cassette),Cassette)


thanks for the reply! but i meant , how to compose mapping for %DISCOGS_FORMAT% to leave only one value:

7'' or LP or CD or Cassette

SCREENSHOT1 - https://prnt.sc/ltvj4n
SCREENSHOT2 - http://prntscr.com/ltwj7s


currently mapping is next:
Quote
$zip2($multi_if($multi_greater(%<RELEASE_FORMATS_QUANTITY>%,1),$zip(%<RELEASE_FORMATS_QUANTITY>%,' x '),),%<RELEASE_FORMATS_NAME>%,$multi_if($put(D,$join(%<<RELEASE_FORMATS_DESCRIPTIONS>>%)),', ',),$get(D),$multi_if($put(T,%<RELEASE_FORMATS_TEXT>%),', ',),$multi_if2($get(T),))

so the result is:
CD, Album or Vinyl, LP, Multicolor etc.

I need to leave only one value: CD or LP or 7'' or Caseette
Title: Re: foo_discogs
Post by: SpaceAgeHero on 2018-12-12 11:49:48
Hi zoomorph,

sorry if it's been asked already but is anything planned regarding Discogs Tracks Feature (https://support.discogs.com/hc/en-us/articles/360006294054-Overview-Of-The-Tracks-Feature)?
What I'd love to have for instance is fetching genres / styles individually based on tracks.
Title: Re: foo_discogs
Post by: zoomorph on 2018-12-12 18:11:17
Hi zoomorph,

sorry if it's been asked already but is anything planned regarding Discogs Tracks Feature (https://support.discogs.com/hc/en-us/articles/360006294054-Overview-Of-The-Tracks-Feature)?
What I'd love to have for instance is fetching genres / styles individually based on tracks.
Currently tracks aren't available via the API and track pages are pretty useless (they don't have genre/style info for example). However they will likely be added too foo_discogs if Discogs fully develops the feature.
Title: Re: foo_discogs
Post by: alec.tron on 2018-12-12 20:50:48
sorry if it's been asked already but is anything planned regarding Discogs Tracks Feature (https://support.discogs.com/hc/en-us/articles/360006294054-Overview-Of-The-Tracks-Feature)?
What I'd love to have for instance is fetching genres / styles individually based on tracks.
Currently tracks aren't available via the API and track pages are pretty useless (they don't have genre/style info for example). However they will likely be added too foo_discogs if Discogs fully develops the feature.

In case you guys care about Discogs Tracks and the future thereof, I made a thread about an angle that I felt is missing from the main Tracks discussion, which is mostly about the basic writing credits at this point and most people comment on from a pop/rock/jazz angle, therefore favour certain problems most found in those very large musical areas to be solved first.
Whereas for me there's a huge fundamental/conceptual black box, as to how Compositions are linked & treated withing this future system that is developing over the next months/years, which is especially notice-able when it comes to re-interpretations [which is the core of all musical evolution & progression of genres imo] (i.e.motifs, homages, remixes, covers, mashups, etc pp ). In case you have thoughts about this and want to chime in, here's a thread:
Tracks Update - compositions & handling of remixes, covers & versions ?
https://www.discogs.com/forum/thread/771656

Churs.
c.
Title: Re: foo_discogs
Post by: fuffi on 2018-12-14 16:24:16
If you quickly scroll through the master releases, with tapping the CURSOR UP key from the last entry of the master releases list up to the first entry. every second master releases is skipped from opening and needs an extra tap to be opened. kinda strange.
It now only loads one at a time so you'll have to scroll more slowly.

Oh, thats not a good fix. Now, every second or third release will not open.

May it be possible to load the releases one after another, regardless how many times the user clicks on it?
So, if I click (or move the cursor), on a release, the fine component will remember to open it later, if all the loading has finished.

It also needs two or three clicks on a master release to load. (I guess, loading has not stopped yet, but how can I see it?)
Title: Re: foo_discogs
Post by: fuffi on 2018-12-14 16:31:26
I found another release, where foo_discogs aborts and the user needs to restart f2k. Otherwise, the foo_discogs window is not closing and accepting any pressed buttons.

https://www.discogs.com/release/9456725

See the screenshots for the error: invalid map<K, T> key
The release date for that release on Discogs is invalid. The next release of foo_discogs will catch that error rather than crashing.
Thanks zoomorph,
I just wanted to try to fix the invalid date (now, there is a nice error description), but the date is empty?

Will the component now always show an error on empty release dates? This, I would love to silently be dropped and not shown as an error, because no date is no error, IMHO, its just no release-date.
Or am I missing something here?
The release date coming from the API is actually invalid (even though it shows blank on Discogs website). If you replaced it with a valid one, it would probably start to work.

Hmm. Ok, The Release Date from the "webgui" => https://api.discogs.com/releases/9456725
shows "2008-16-12".

How can I see the invalid date, like you see it? 8-)

Or I might open a ticked at discogs, maybe there is a problem with the release?
Title: Re: foo_discogs
Post by: lvqcl on 2018-12-14 17:50:26
Hmm. Ok, The Release Date from the "webgui" => https://api.discogs.com/releases/9456725
shows "2008-16-12".

How can I see the invalid date, like you see it? 8-)
year 2008, month 16, day 12.
Title: Re: foo_discogs
Post by: fuffi on 2018-12-15 10:40:23
Hmm. Ok, The Release Date from the "webgui" => https://api.discogs.com/releases/9456725
shows "2008-16-12".

How can I see the invalid date, like you see it? 8-)
year 2008, month 16, day 12.
OMG... thank you. I fixed the release date.


Just another note to:

Oh, thats not a good fix. Now, every second or third release will not open.
Some [M]aster releases do not open after some hours of work with tagging music with the fine component.
Foobar2000 restart is necessary to open the Master Release (and show all the releases) again.

For my testing I used "Figub Brazlevič" as artists and "Audiodope" as Filter.

The two shown results were
[M] Audiodope 02, 2013
and
[M] Audiodope 03, 2016
but the first (Audiodope 02, 2013) couldnt be opened.

(I guess its hard to reproduce as it worked fine after some tests, the glitch came after some hours of tagging...)
Title: Re: foo_discogs
Post by: zoomorph on 2018-12-18 22:39:11
2.16 fixes another crash I encountered when parsing certain track positions.
Title: Re: foo_discogs
Post by: zoomorph on 2018-12-19 05:25:34
2.17:
* Ignore/skip releases which 404 when updating tags.
* Wait longer with each successive http 429.
* Fix a problem with arrays only getting depth 1 when they should have depth 2, causing certain tagging strings not to work as they should.
* Fix wrongly parsing single track mix releases which use "1.x" for every track position.
* Skip "(silence)" when parsing hidden tracks, but add the duration of silence to the track duration.
* Add the duration of hidden tracks to the track duration. This is returned by DISCOGS_DURATION_SECONDS and used in matching tracks to files by duration.
Title: Re: foo_discogs
Post by: 2tec on 2018-12-19 11:57:28
Zoomorph, thanks again for this most excellent extension and all your efforts to maintain it, great job!
Title: Re: foo_discogs
Post by: zoomorph on 2018-12-24 09:40:47
2.18:
* Fix update tags not actually working if tag is set to update only (not write+update) and remove other tags option is enabled.
* During updating tags, write all tags in one task rather than opening a separate task for every release (potentially hundreds all at once).
* Error pop up to notify user when releases skipped due to 404 in updating tags.
* Use index track duration as track duration when only 1 track (including hidden tracks) is under the index track, if sub-track durations aren't specified.
* Fix parsing hidden tracks on vinyl with positions such as "A.1".
* New option to skip parsing Video tracks. (Skips any tracks in Discogs tracklist with "Video" or "DVD" in the track position.)
* "Previous" button to go backwards when matching tracks for multiple releases during updating tags.
Title: Re: foo_discogs
Post by: mjm716 on 2018-12-26 05:06:50
I think something broke over the updates from the past week?

I've tagged several releases with it (currently 2.18) and for some reason many of them do not fetch release or track CREDITS tag?

e.g.
https://www.discogs.com/Nova-Mob-The-Last-Days-Of-Pompeii/release/4826914


(https://i.imgur.com/jjNNtXw.png)

(https://i.imgur.com/D6Xqkrj.png)

(https://i.imgur.com/GJHbdv5.png)

Title: Re: foo_discogs
Post by: zoomorph on 2018-12-27 16:36:01
I think something broke over the updates from the past week?

I've tagged several releases with it (currently 2.18) and for some reason many of them do not fetch release or track CREDITS tag?

e.g.
https://www.discogs.com/Nova-Mob-The-Last-Days-Of-Pompeii/release/4826914
Those credits use "-" instead of " to " (as per the guidelines) to specify track ranges. This has never been supported by foo_discogs, but I just added it so the next version will support it.
Title: Re: foo_discogs
Post by: mjm716 on 2018-12-28 03:20:37
I just added it so the next version will support it.

thanks much - your work and this plugin are invaluable!
Title: Re: foo_discogs
Post by: fuffi on 2018-12-30 14:46:29
* "Previous" button to go backwards when matching tracks for multiple releases during updating tags.
Hi zoomorph,
thanks for the enhancements.
May it be possible to set some kind of keyboard-shortcut to all the buttons in your fine component?
So the users can simply use the keyboard to navigate and does not need to press buttons.
Say, the Previous button is accessible via ALT+P and the Next button via ALT+N.
The Write Tags button will be quickly usable via ALT+W.
The most important would be (for me): ALT+U and ALT+D for move up and down,
or ALT+R access the Remove button.

All those little helpers can make the fine component even more userfriendly.

Btw: I have not activated the Automatic Matching of tracklenghts, but the reddish indicator still shows me (some kind of useless) information about being not able to match. How can I disable the automatic matching?
Please see the attached images.
Title: Re: foo_discogs
Post by: fuffi on 2018-12-31 18:06:03
smallish "bug":
prev button is not very useful when the user is on page 1 while updating some tags via "update tags..."


EDIT: Silly question:

What will happen, if the user selects "skip" while on match number 2 and 3, but then uses the prev-button and walks straight to match number 1 ?
Are the "skips" memorized?
 (Maybe we can get a little yellow skipped icon/text to recognize if a match is skipped or not)
Title: Re: foo_discogs
Post by: zoomorph on 2019-01-02 00:02:02
I just added it so the next version will support it.

thanks much - your work and this plugin are invaluable!
Actually, I take that back. My change to support this caused problems parsing the credits on some other releases so I reverted it. For the time being I suggest correcting the credit for this release on Discogs as per the guidelines (use eg. "1 to 5" for a range of tracks, not "1-5").

What will happen, if the user selects "skip" while on match number 2 and 3, but then uses the prev-button and walks straight to match number 1 ?
Are the "skips" memorized?
 (Maybe we can get a little yellow skipped icon/text to recognize if a match is skipped or not)
Skips are not remembered if you go back. The "previous" button was added mostly in case you make a mistake clicking "next" too soon and need to go back one. Yes, it's useless on page 1, but it's harmless.

If your files are in sorted order before tagging, I suggest checking both "match using track length durations" and "assume tracks are in sorted order". On the releases I'm tagging, about 75% of the time it's successful. Something like the example screenshot you show wouldn't need to be reviewed manually. :-)
Title: Re: foo_discogs
Post by: XPEHOPE3 on 2019-01-02 00:56:14
I think I found a bug in the plugin, or I completely miss a setting.
The plugin doesn't seem to force UTF8 encoding where necessary. I have a cue file with "Track##" filenames in ANSI codepage, and I'm searching for an album with tracks named in Polish with letters like ł and ń. I found correct release, pressed "Write tags" and saw correct letters in the playlist view. However the cue file got written in ANSI codepage instead of UTF8.
Title: Re: foo_discogs
Post by: fuffi on 2019-01-02 08:27:26
I think I found a bug in the plugin, or I completely miss a setting.
The plugin doesn't seem to force UTF8 encoding where necessary. I have a cue file with "Track##" filenames in ANSI codepage, and I'm searching for an album with tracks named in Polish with letters like ł and ń. I found correct release, pressed "Write tags" and saw correct letters in the playlist view. However the cue file got written in ANSI codepage instead of UTF8.
I'm not quite sure, I can help, nor, if this component is responsible for this, but maybe you can test with this foobar2000 internal setting.
Title: Re: foo_discogs
Post by: fuffi on 2019-01-02 08:34:13
What will happen, if the user selects "skip" while on match number 2 and 3, but then uses the prev-button and walks straight to match number 1 ?
Are the "skips" memorized?
 (Maybe we can get a little yellow skipped icon/text to recognize if a match is skipped or not)
Skips are not remembered if you go back. The "previous" button was added mostly in case you make a mistake clicking "next" too soon and need to go back one. Yes, it's useless on page 1, but it's harmless.

If your files are in sorted order before tagging, I suggest checking both "match using track length durations" and "assume tracks are in sorted order". On the releases I'm tagging, about 75% of the time it's successful. Something like the example screenshot you show wouldn't need to be reviewed manually. :-)
Thanks,
are you sure skips are not remembered ? In my tests, they were. funny.

Most of my files are in sorted order too, but the reason, I barely use this -maybe good working- function, is, that I need to switch the settings to see if it worked for the current release. Maybe you can think about a way to place some buttons on the Match Tracks window to get all the sorting options all at once? No settings-changing would be needed if there were 3 buttons with different sorting options. And its directly accessible from the gui, no need to fiddle with settings for each different-sorted release.
I think, this would be a benefit for most users, who then, just click a button to activate the sorting or revert it.
Title: Re: foo_discogs
Post by: alec.tron on 2019-01-03 05:49:04
Heya,
yea, it does work if the files have discogs tag syntax previously... try tagging completely empty files, and it will fail to inject the feat artist correctly. So you will need to run it once, to get the main tags, then run it again where it injects the feat artist on top. Odd & an annoyance, but works, once just has to remembeer to run the foo_discogs tagger twice on each new tagged release...

ah, I think I know what it's due as well now... but no idea how to fix it.
When running first, the %DISCOGS_CREDIT_FEATURING% field on file is empty, so once it's run, it's filled correctly, and only then does the $if engage... just a hunch, and not sure why it's not detecting the incoming foo_discogs data correctly here, but needs it to sit in file tags seemingly for this to work.
c.
What you're doing is reading the value of the DISCOGS_CREDIT_FEATURING tag when creating your TITLE tag, but the DISCOGS_CREDIT_FEATURING tag hasn't been written yet so it's blank. None of the tags actually get written to file until the end.

What you can do is use the special $pput(N,V) function to store the value of the DISCOGS_CREDIT_FEATURING tag when it's created, then use the $pget(N) function to retrieve the value when creating the TITLE tag. Note that the DISCOGS_CREDIT_FEATURING tag should come first in the list of tags for this to work.

Heya,
the above was one of those holiday projects to look into when I have more time...  as I would love to have a foobar/discogs title formatting code that:
- writes the track title
and - IF these credits exist:
- adds (Ft. '%DISCOGS_CREDIT_FEATURING%')
- adds ('%DISCOGS_CREDIT_REMIXED_BY%' Remix)
to the
%TITLE%
resulting in:
%TITLE% (Ft. '%DISCOGS_CREDIT_FEATURING%') ('%DISCOGS_CREDIT_REMIXED_BY%' Remix)
if either of the credits is available.

Alas, I only managed to get these to work IF the DISCOGS_CREDIT_FEATURING / DISCOGS_CREDIT_REMIXED_BY are set on the files itself previously... i.e. via:
$if(%DISCOGS_CREDIT_FEATURING%,%TRACK_TITLE%' (Ft. '%DISCOGS_CREDIT_FEATURING%')',%TRACK_TITLE%))
$if(%DISCOGS_CREDIT_REMIXED_BY%,%TRACK_TITLE%' ('%DISCOGS_CREDIT_REMIXED_BY%' Remix)',%TRACK_TITLE%))
which means I have to run the tagger 3 times...  :/
Any other attempt to do multi layered IFs & gets into foo_discogs ended up producing nothing usually... or utter nonsense in a hand full of cases...

In case zoomorph or anyone else fluid with Discogs formatting logic has examples of how one would cache discogs api/server data via
$put(N,V)
&
$get(N)
for discogs formatting of other fields; or maybe even post the above example, which seems to be a queried here as to how to get both injected correctly on the foo_discogs formatting documentation, that would be grand...

Churs.
c.
Title: Re: foo_discogs
Post by: fuffi on 2019-01-03 19:02:28
Another Bug was found
It's a big one IMHO, I only had it a few times the last year(s), but now I could reproduce it.
Please see the attached animated GIF.

steps to reproduce:

Search for "The Vandals" with filter set to "Christmas With The Vandals".
It all releases are shown,  click "Vandals (10)" and then back to "The Vandals".

First, the fine component displays all found entries, after I clicked on "Vandals (10)" and back to "The Vandals" some releases are vanished.

Empty the cache and start again. All releases are shown.

Hope this helps.
Title: Re: foo_discogs
Post by: fuffi on 2019-01-03 19:11:25
Hello alec.tron,

I'm not sure, I understood what you're trying to accomplish, but I read zoomorph stated $pput and $pget, but you trying to use $put and $get instead? I never have worked with those, so I cannot tell if one might be of better use.

What you can do is use the special $pput(N,V) function to store the value of the DISCOGS_CREDIT_FEATURING tag when it's created, then use the $pget(N) function to retrieve the value when creating the TITLE tag. Note that the DISCOGS_CREDIT_FEATURING tag should come first in the list of tags for this to work.
In case zoomorph or anyone else fluid with Discogs formatting logic has examples of how one would cache discogs api/server data via
$put(N,V)
&
$get(N)
for discogs formatting of other fields; or maybe even post the above example, which seems to be a queried here as to how to get both injected correctly on the foo_discogs formatting documentation, that would be grand...
Title: Re: foo_discogs
Post by: alec.tron on 2019-01-03 20:02:05
I'm not sure, I understood what you're trying to accomplish, but I read zoomorph stated $pput and $pget, but you trying to use $put and $get instead? I never have worked with those, so I cannot tell if one might be of better use.
True.
Looks like I grabbed $put & $get from:
https://wiki.hydrogenaud.io/index.php?title=Foobar2000:Title_Formatting_Reference#
which does not list $pput or $pget as available at all.

My main problem is understanding caching discogs API/server data to be used for other fields within foobars' scritpting/formatting syntax, and/or, constructing multiple nested IFs.
Oh how I wish there was python in foobar/foo_discogs...
c.
Title: Re: foo_discogs
Post by: fuffi on 2019-01-04 15:14:57
Another Bug was found
It's a big one IMHO, I only had it a few times the last year(s), but now I could reproduce it.
Please see the attached animated GIF.
Another bug found (maybe the same origin)

This bug is similar to reproduce.
Please see the attached Screenshots to see the differens "before" -> "after" (check the "UK" in the Releases list)

search for "Andy Ash", filter "White Leaf".
Open the release, via Next-Button and then go back via Back-Button.
Click again on "Andy Ash", in the results list, or type something in the filter-window, or just click the Search-Button.
"UK" now shows up.
Title: Re: foo_discogs
Post by: fuffi on 2019-01-04 15:20:23
Hello zoomorph,

I just remember you have this issue tracker https://bitbucket.org/zoomorph/foo_discogs/issues?status=new&status=open

Would it be better to post bugs/feature requests here in the thread or in the tracker on bitbucket ?
Title: Re: foo_discogs
Post by: fuffi on 2019-01-05 13:04:50
Hello zoomorph,

woud it be possble to enhance the Release ID / URL filter to get all releases from a master release link ? (Its always a great'n'fast pleasure to just paste a link from the discogs websites, even if the fine component is still loading the trillions of releases via the api..)

Given, the user pastes a master-link, say, https://www.discogs.com/master/11392 or https://www.discogs.com/The-Beatles-A-Hard-Days-Night/master/24003
your fine component would show only those releases, related to their master release.

I think, both, the discogs-servers and the users will benefit from this addition, because we do not need to load all releases (speed ups) and then can easily chose from a master-list which release we want to tag our tracks.

Now, when the user inputs a master-release-link, nothing useful is done ;->
Title: Re: foo_discogs
Post by: zoomorph on 2019-01-07 15:33:09
I'm not sure, I understood what you're trying to accomplish, but I read zoomorph stated $pput and $pget, but you trying to use $put and $get instead? I never have worked with those, so I cannot tell if one might be of better use.
True.
Looks like I grabbed $put & $get from:
https://wiki.hydrogenaud.io/index.php?title=Foobar2000:Title_Formatting_Reference#
which does not list $pput or $pget as available at all.

My main problem is understanding caching discogs API/server data to be used for other fields within foobars' scritpting/formatting syntax, and/or, constructing multiple nested IFs.
Oh how I wish there was python in foobar/foo_discogs...
c.
What you're asking about should be pretty simple. The "featuring" value is already calculated in DISCOGS_CREDIT_FEATURING. Use $pput() to save that to a variable, make sure that tag formatting string is higher than TITLE in the list, and then use $pget() to retrieve it in the TITLE string.

You can find info on $pput() and $pget() in the foo_discogs HTML help page which is accessible by clicking "syntax help" on the edit tag mappings dialog. These functions persist across all tags for a file whereas builtin $put() and $get() only persist across a single tag formatting string.
Title: Re: foo_discogs
Post by: zoomorph on 2019-01-07 16:09:34
Another Bug was found
It's a big one IMHO, I only had it a few times the last year(s), but now I could reproduce it.
Please see the attached animated GIF.
Filtering bug. Will be fixed next release. :-)

Another Bug was found
It's a big one IMHO, I only had it a few times the last year(s), but now I could reproduce it.
Please see the attached animated GIF.
Another bug found (maybe the same origin)

This bug is similar to reproduce.
Please see the attached Screenshots to see the differens "before" -> "after" (check the "UK" in the Releases list)

search for "Andy Ash", filter "White Leaf".
Open the release, via Next-Button and then go back via Back-Button.
Click again on "Andy Ash", in the results list, or type something in the filter-window, or just click the Search-Button.
"UK" now shows up.

Strangely I can't reproduce this one. Note that sometimes country is or is not included in the format field coming from the Discogs API (but it shouldn't change like that).

Hello zoomorph,

I just remember you have this issue tracker https://bitbucket.org/zoomorph/foo_discogs/issues?status=new&status=open

Would it be better to post bugs/feature requests here in the thread or in the tracker on bitbucket ?
Posting in this thread is fine.

Hello zoomorph,

woud it be possble to enhance the Release ID / URL filter to get all releases from a master release link ? (Its always a great'n'fast pleasure to just paste a link from the discogs websites, even if the fine component is still loading the trillions of releases via the api..)

Given, the user pastes a master-link, say, https://www.discogs.com/master/11392 or https://www.discogs.com/The-Beatles-A-Hard-Days-Night/master/24003
your fine component would show only those releases, related to their master release.

I think, both, the discogs-servers and the users will benefit from this addition, because we do not need to load all releases (speed ups) and then can easily chose from a master-list which release we want to tag our tracks.

Now, when the user inputs a master-release-link, nothing useful is done ;->
Interesting suggestion although I think it would have limited value. If you are already on Discogs master page, why not just find the correct release ID while you're there? You could add it to the issue tracker if you want me to think about it more and consider it if/when I get time to add more features.
Title: Re: foo_discogs
Post by: alec.tron on 2019-01-09 05:59:07
What you're asking about should be pretty simple. The "featuring" value is already calculated in DISCOGS_CREDIT_FEATURING. Use $pput() to save that to a variable, make sure that tag formatting string is higher than TITLE in the list, and then use $pget() to retrieve it in the TITLE string.

You can find info on $pput() and $pget() in the foo_discogs HTML help page which is accessible by clicking "syntax help" on the edit tag mappings dialog. These functions persist across all tags for a file whereas builtin $put() and $get() only persist across a single tag formatting string.

Sweet, that sort of makes sense. Thanks!
Next difficulty - I see no way to re-order the 'Edit Tags Mappings' list to make sure that:
DISCOGS_CREDIT_FEATURING
as well as
DISCOGS_CREDIT_REMIXED_BY
appear before
TITLE
and could be cached into a pput variable, to be used with pget on the TITLE formatting...?
Is there a trick to this ?
I tried exporting as well (to no .ext, as well as .txt, .csv & .xml) but nothing seems to give me anything I would have control over the field order, seemingly. csv in UTF-8 did show some ascii, but the fields/separation was all busted. No success with any of the others, which were just binary and did not give a hint as to what .ext these exported mapping files are meant to be...?
Mind you, I'm on an old foo_discogs... 2.14 from the looks, in case some sort of re-ordering functionality came in later versions.

Cheers.
c.
Title: Re: foo_discogs
Post by: alec.tron on 2019-01-11 21:45:41
So, instead of re-ordering, I gave it a try to double up on field declarations...

So this, in the following order (at the end / after all other foo_discogs mappings) does at least cache the values seemingly, but would create artifical tag fields to hold the variable, which seemingly then also have to be written to file, as there's only 'Write', 'Update' and 'Disable', whereas the later not only disables the field write, but also the query / variable declaration... :/

On top of which, these issues I'm seeing & battlign with foo/foo_discogs syntax,,,:
TEMP_Discogs_feat
=
$pput(feat,$flatten($multi_if($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),'Featuring')),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$joinnames($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$get(aj)),$get(an)),)))

TEMP_Discogs_rmx
=
$pput(rmx,$flatten($multi_if($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),'Remix')),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$joinnames($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$get(aj)),$get(an)),)))

Which creates the variable and fills it appropriately, but also would be written as a custom field, which I would not want....
And thirdly, the re-injection into TITLE... just to test IF this would work, IF I were to write the fields to be able to cache the variable... which is where it gets error-y...

TITLE
=
$if($pget(feat),%TRACK_TITLE%' (Ft. '$pget(feat)')',%TRACK_TITLE%))
=
"(FATAL) Error: Error generating tag TITLE [Corrupted array string: missing start byte] for file file://D:\bla\bla.flac"

or

TITLE
=
$if(%$pget(feat)%,%TRACK_TITLE%' (Ft. '%$pget(feat)%')',%TRACK_TITLE%))
=
Is just re-injecting TITLE into TITLE as it was, as %$pget(feat)% seems to be considered not available/ None when it reaches this... despite displaying it properly in its' own %TEMP_Discogs_feat% field just above...


Any ideas / suggestions would be muchly welcome.
Churs.
c.
Title: Re: foo_discogs
Post by: zoomorph on 2019-01-16 21:58:22
Version 2.19:
- Fix $filter() function not removing empty strings from array.
- Fix $pput() and $pget() to operate per track as expected, rather than per release.
- Fix filtering on expanding master release on find release dialog.
Title: Re: foo_discogs
Post by: zoomorph on 2019-01-16 22:00:30
alec.tron,

There's no way to reorder the tag list but you can delete a tag and add it at the bottom.

If you want to clear a "temp" tag, you can define the same tag again later on with an empty tag formatting string. That will delete it.

I accomplished what you were asking for with the following tag formatting strings:

TEMP=$pput(feat,$filter($flatten($multi_if($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),'Featuring')),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$joinnames($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$get(aj)),$get(an)),)),))

and

TITLE=%TRACK_TITLE%$if($any($pget(feat)),' (Ft. '$join($pget(feat))')',)

I encountered a couple bugs on the way which were fixed in 2.19!
Title: Re: foo_discogs
Post by: alec.tron on 2019-01-17 22:33:17
Awesome, thanks for fixing those bugs which I wouldn't have ever be able to identify as such, and updating to 2.19 !!!
Following your examples, I was able to get the compound version of the above working as well. So as this took me a bit of poking around again, so for anyone who wants/needs something like this, i.e to combine Featuring & Remix credits into the title of a track in one go - you need to add these to the Mapping Dialogue as new fields at the end:

Tag Name
Formatting String


TEMP_feat
$pput(feat,$filter($flatten($multi_if($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),'Featuring')),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$joinnames($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$get(aj)),$get(an)),)),))


TEMP_rmx
$pput(rmx,$filter($flatten($multi_if($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),'Remix')),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$joinnames($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$get(aj)),$get(an)),)),))


TITLE
%TRACK_TITLE%$if($any($pget(feat)),' (Ft. '$join($pget(feat))')',)$if($any($pget(rmx)),' ( '$join($pget(rmx))' Remix)',)


TEMP_feat


TEMP_rmx


Whereas as explained by zoomorph above, the last 2 need to be 'empty' in order not to write the temp variable into an actual tag field.
Thanks a ton @zoomorph !
c.
Title: Re: foo_discogs
Post by: zoomorph on 2019-01-18 08:06:48
Yup. And you don't actually need any temp tags, you could just put it all in one tag, unless you find it too unwieldy.
Title: Re: foo_discogs
Post by: amiti on 2019-01-18 10:54:33
I used to work with older versions with no problem.
Latest 2.18 and 2.19 though, doesn't allow me to authorize. The OAuth process hangs and then I get "Error: Network exceptionNetwork authentication error (80090302)".



Title: Re: foo_discogs
Post by: zoomorph on 2019-01-19 17:15:42
I used to work with older versions with no problem.
Latest 2.18 and 2.19 though, doesn't allow me to authorize. The OAuth process hangs and then I get "Error: Network exceptionNetwork authentication error (80090302)".
1. Your system clock must be set correctly for OAuth authentication to work.
2. As of mid-2018, Discogs requires TLS 1.2 support to access its API.
Title: Re: foo_discogs
Post by: amiti on 2019-01-20 02:11:03
1. Your system clock must be set correctly for OAuth authentication to work.
2. As of mid-2018, Discogs requires TLS 1.2 support to access its API.
Thanks. TLS was my problem. Once enabled, it works.
Title: Re: foo_discogs
Post by: Lee James on 2019-02-01 15:23:55
Could anyone please help me with a problem I have?…

I love this plugin and I've used it to tag quite a few CDs now. But what I really want to do is rip and tag my entire CD collection (including over 1,000 double CD compilations). The trouble is that the plugin takes time to download the release lists for each CD, so it just isn't possible to process so many CDs. It would require me to spend about a solid month working 8-hour days just sitting and waiting for release lists to download!

Does anyone know any way that I could batch process my CDs quickly? This would be possible if the plugin was able to:

1. Batch download the release lists of multiple albums, ready so that tagging can be done later.
2. Send all artwork downloads to a queue in the background.
Title: Re: foo_discogs
Post by: fuffi on 2019-02-01 16:37:41
Version 2.19:
- Fix filtering on expanding master release on find release dialog.

Hello,
there now is a new smallish, but inconvenient bug, which came with this update.
It mostly finds attention, when the list of releases is very long, for example, take the beatles or m. jackson.

Wenn you expand a master release (say, at the bottom of the list of releases), the focus/cursor/pointer jumps back to the first entry in the list. So the user needs to scroll all the way down to that expanded master release. Which is, if you want to expand multiple master-releases, a bit annoying.

On the other hand, this bug is very handy too, because if you want to expand ALL master releases, you just need to hold the cursor down key for 10 minutes and the fine component will open all the master releases. One after each other from the top to the bottom of the list.

(I wish, there were a button: Expand all master-releases)
Title: Re: foo_discogs
Post by: fuffi on 2019-02-01 17:21:50
Another bug found (maybe the same origin)

This bug is similar to reproduce.
Please see the attached Screenshots to see the differens "before" -> "after" (check the "UK" in the Releases list)

search for "Andy Ash", filter "White Leaf".
Open the release, via Next-Button and then go back via Back-Button.
Click again on "Andy Ash", in the results list, or type something in the filter-window, or just click the Search-Button.
"UK" now shows up.

Strangely I can't reproduce this one. Note that sometimes country is or is not included in the format field coming from the Discogs API (but it shouldn't change like that).
I re-tested it against Version 2.19 and it is reproducable. Please see the attached and (poorly) animated GIF.
Maybe it helps to reproduce it yourself. Just click/type around, *after* you came back from the Match Tracks window.
You then will see the UK, which is not there from the beginning.
And, of course, you need to restart f2k or reset your cache.
Title: Re: foo_discogs
Post by: fuffi on 2019-02-03 10:41:44
Hello zoomorph,

woud it be possble to enhance the Release ID / URL filter to get all releases from a master release link ? (Its always a great'n'fast pleasure to just paste a link from the discogs websites, even if the fine component is still loading the trillions of releases via the api..)

Given, the user pastes a master-link, say, https://www.discogs.com/master/11392 or https://www.discogs.com/The-Beatles-A-Hard-Days-Night/master/24003
your fine component would show only those releases, related to their master release.

I think, both, the discogs-servers and the users will benefit from this addition, because we do not need to load all releases (speed ups) and then can easily chose from a master-list which release we want to tag our tracks.

Now, when the user inputs a master-release-link, nothing useful is done ;->
Interesting suggestion although I think it would have limited value. If you are already on Discogs master page, why not just find the correct release ID while you're there? You could add it to the issue tracker if you want me to think about it more and consider it if/when I get time to add more features.
The value of this new feature is exactly the reason you don't mention in your example ;-)
Speed!  :)
I prefer "comparing" releases <->my files inside the fine component. Its just faster to check, if the filenames/tracklenghts/trackcounts /etc matches or not. It saves time and time is a worthy value, if you trying to tag a lot of music, like I do. (You added a preview-page, which is not available on the discogs-website, so checking tracks inside the fine component is so much more userfriendly and convenient.)


Btw, while we are about links (and convenience aka lazyness or inattentiveness), would you mind to let the fine component strip/remove the "?ev=rr" from a link, pasted into the "Release ID / URL" field?

i.e. https://www.discogs.com/Esquivel-Space-Age-Bachelor-Pad-Music/release/396870?ev=rr

Now, an error occours.
Code: [Select]
(FATAL) Error: Error loading release rr: Page Deleted or Missing (404)(url: https://api.discogs.com/releases/rr)

[ESCAPE to close]

Those ?ev=rr are coming from a recommanded album, please see the screenshot:
(https://i.imgur.com/OHhG7nG.jpg)
Title: Re: foo_discogs
Post by: simcut on 2019-02-04 08:39:49
Hi all

Apologies if these questions have already been answered, I would like some help with the following 2 questions please.

1) Is there a way of setting the script up so that it wont tag "Disc Number" and "Total Discs" if the Total number of discs is only 1? The reason I ask is that at the moment it's adding those 2 tags for single disc CD releases, and on my foobar skin its adding "Disc 1" at the end of the entry in my playlist (Artist - Title - Record Label - Cat # - Disc#

I only want it to add those tags if the number of discs is greater than 1

2) Is there a way of stopping the script adding a duplicated record label tag? For example, some discogs releases have 2 variations of the cat number, so it appears as, for example, "Diverse System, Diverse System - DVSP-100; DVSP 100" (it's a made up example of what I've seen). I would like to be able to only have the record label appear the once, with the 2 cat number variations appearing after it still

Hope both of these are achievable :)

Thanks again for this brilliant component!
Title: Re: foo_discogs
Post by: frogworth on 2019-02-04 09:16:25
1) Is there a way of setting the script up so that it wont tag "Disc Number" and "Total Discs" if the Total number of discs is only 1? The reason I ask is that at the moment it's adding those 2 tags for single disc CD releases, and on my foobar skin its adding "Disc 1" at the end of the entry in my playlist (Artist - Title - Record Label - Cat # - Disc#

You can do this. You could do it in your skin's configuration, but I agree that it's annoying having redundant 1/1 for those values!
Go to Edit tag mappings, which you can get to from various parts of the Discogs tagger dialog.
For DISCNUMBER, put:
Code: [Select]
$ifgreater(%RELEASE_TOTAL_DISCS%,1,%DISC_NUMBER%,)
And for TOTALDISCS put:
Code: [Select]
$ifgreater(%RELEASE_TOTAL_DISCS%,1,%RELEASE_TOTAL_DISCS%,)

Second one looks like something that @zoomorph might need to look into.
Title: Re: foo_discogs
Post by: simcut on 2019-02-04 09:27:43
1) Is there a way of setting the script up so that it wont tag "Disc Number" and "Total Discs" if the Total number of discs is only 1? The reason I ask is that at the moment it's adding those 2 tags for single disc CD releases, and on my foobar skin its adding "Disc 1" at the end of the entry in my playlist (Artist - Title - Record Label - Cat # - Disc#

You can do this. You could do it in your skin's configuration, but I agree that it's annoying having redundant 1/1 for those values!
Go to Edit tag mappings, which you can get to from various parts of the Discogs tagger dialog.
For DISCNUMBER, put:
Code: [Select]
$ifgreater(%RELEASE_TOTAL_DISCS%,1,%DISC_NUMBER%,)
And for TOTALDISCS put:
Code: [Select]
$ifgreater(%RELEASE_TOTAL_DISCS%,1,%RELEASE_TOTAL_DISCS%,)

Second one looks like something that @zoomorph might need to look into.

Thanks very much, will give this a go now :)
Title: Re: foo_discogs
Post by: zoomorph on 2019-02-05 15:35:03
Does anyone know any way that I could batch process my CDs quickly? This would be possible if the plugin was able to:

1. Batch download the release lists of multiple albums, ready so that tagging can be done later.
2. Send all artwork downloads to a queue in the background.
There are no options for batch processing (until you've already tagged them once, then you can use the Update Tags feature). foo_discogs could be slow for artists/releases with a lot of releases/versions as the Discogs API applies rate-limiting. Still, compared with the time it takes to rip CDs tagging should be quick.

2) Is there a way of stopping the script adding a duplicated record label tag? For example, some discogs releases have 2 variations of the cat number, so it appears as, for example, "Diverse System, Diverse System - DVSP-100; DVSP 100" (it's a made up example of what I've seen). I would like to be able to only have the record label appear the once, with the 2 cat number variations appearing after it still
Use the $unique() function for the labels tag, such as:

$unique(%<RELEASE_LABELS_NAME>%)
Title: Re: foo_discogs
Post by: simcut on 2019-02-06 11:48:55
Does anyone know any way that I could batch process my CDs quickly? This would be possible if the plugin was able to:

1. Batch download the release lists of multiple albums, ready so that tagging can be done later.
2. Send all artwork downloads to a queue in the background.
There are no options for batch processing (until you've already tagged them once, then you can use the Update Tags feature). foo_discogs could be slow for artists/releases with a lot of releases/versions as the Discogs API applies rate-limiting. Still, compared with the time it takes to rip CDs tagging should be quick.

2) Is there a way of stopping the script adding a duplicated record label tag? For example, some discogs releases have 2 variations of the cat number, so it appears as, for example, "Diverse System, Diverse System - DVSP-100; DVSP 100" (it's a made up example of what I've seen). I would like to be able to only have the record label appear the once, with the 2 cat number variations appearing after it still
Use the $unique() function for the labels tag, such as:

$unique(%<RELEASE_LABELS_NAME>%)

Excellent, works great, thanks guys!
Title: Re: foo_discogs
Post by: simcut on 2019-03-09 23:23:30
Not quite sure what's happening but the clear cache function doesnt seem to be clearing the cache. I tried using the script on a release which is multi-disc and had the wrong numbering format, so the script didnt properly detect it as a multi-disc release. I updated the entry on discogs to the correct numbering format (1-1 etc), I then tried tagging again and it's still detecting the old information even though the website has been updated. I tried pressing the 4 clear cache buttons in the caching tab on the script, then restarted foobar, and tried doing the tags again on the same release, but no change.

Hope you can help
Title: Re: foo_discogs
Post by: zoomorph on 2019-03-15 23:54:43
Not quite sure what's happening but the clear cache function doesnt seem to be clearing the cache. I tried using the script on a release which is multi-disc and had the wrong numbering format, so the script didnt properly detect it as a multi-disc release. I updated the entry on discogs to the correct numbering format (1-1 etc), I then tried tagging again and it's still detecting the old information even though the website has been updated. I tried pressing the 4 clear cache buttons in the caching tab on the script, then restarted foobar, and tried doing the tags again on the same release, but no change.

Hope you can help
The Discogs API caches the only info and sometimes it takes a few hours for the API to start returning the new info.
Title: Re: foo_discogs
Post by: simcut on 2019-03-16 11:28:26
Not quite sure what's happening but the clear cache function doesnt seem to be clearing the cache. I tried using the script on a release which is multi-disc and had the wrong numbering format, so the script didnt properly detect it as a multi-disc release. I updated the entry on discogs to the correct numbering format (1-1 etc), I then tried tagging again and it's still detecting the old information even though the website has been updated. I tried pressing the 4 clear cache buttons in the caching tab on the script, then restarted foobar, and tried doing the tags again on the same release, but no change.

Hope you can help
The Discogs API caches the only info and sometimes it takes a few hours for the API to start returning the new info.

Hiya

Thanks for the fast response. I'm guessing they made changes to their API as I remember old versions of the plugin had a button to clear cache and it was pretty instantaneous when recognising updates to the database.

I meant to ask before, is their a way of making the plugin detect multi-disc releases using the wrong numbering format?

for example:-

multi-disc releases using 1-1, 1-2, 2-1, 2-2, etc, obviously work fine with the plugin, as the numbering format is as per guidelines

However, for example, releases with 1.01, 1.02, 2.01, 2.02, etc, are not recognised as multi-disc releases and are instead counted as 1 through to 40 tracks (if there were 20 tracks on CD1 and 20 tracks on CD2, for example)

Thanks again for the plugin, it's such a godsend!
Title: Re: foo_discogs
Post by: ricecake on 2019-03-20 05:42:15
Hi, I am trying to get your plugin working on my system. I am running Windows Vista. I have installed the TLS 1.2 patches and enabled them on my system, but I still get authentication errors. However, I can successfully authenticate when manually sending OAuth commands using curl. I took some packet captures and from what I can find, even though TLS 1.2 is enabled on my system, Vista does not support the "modern" ciphers needed (as listed here: https://wiki.mozilla.org/Security/Server_Side_TLS#Modern_compatibility), which is what is causing the authentication to fail.

From what I understand, curl and other browsers (besides Internet Explorer) use their own crypto libraries and thus are not directly dependent on what the OS provides or supports.

Not being familiar with the foobar plugin architecture, would it be possible to use e.g. libcurl for network communications instead of the built-in Windows libraries?

Also, does the plugin really need to use OAuth Authentication, or would it be possible to use Discogs Authentication (https://www.discogs.com/developers/#page:authentication,header:authentication-discogs-auth-flow)? It looks like it wouldn't need the user to generate their own tokens, so the plugin should work right out of the box.

Thanks for any insight!
Title: Re: foo_discogs
Post by: lvqcl on 2019-03-20 16:10:58
Discogs Authentication

From that URL:
Quote
If you do not plan on building an app which others can log into on their behalf,
so it's definitely not for this plugin.
Title: Re: foo_discogs
Post by: ricecake on 2019-03-20 18:02:27
Discogs Authentication

From that URL:
Quote
If you do not plan on building an app which others can log into on their behalf,
so it's definitely not for this plugin.
Hmm, looking through the configuration and usage documentation at https://bitbucket.org/zoomorph/foo_discogs, I didn't see anything that needed access to a user's account information, since it looks like it's just doing lookups against the general catalog, not against a user's collection. The closest thing I found talked about fetching images, but the Discogs documentation implies it can also be done with Discogs authentication:
Quote from: https://www.discogs.com/developers/#page:images
The Image resource represents a user-contributed image of a database object, such as Artists or Releases. Image requests require authentication and are subject to rate limiting.

It’s unlikely that you’ll ever have to construct an image URL; images keys on other resources use fully-qualified URLs, including hostname and protocol. To retrieve images, authenticate via OAuth or Discogs Auth and fetch the object that contains the image of interest (e.g., the release, user profile, etc.). The image URL will be in the response using the HTTPS protocol, and requesting that URL should succeed.
Am I missing something?
Title: Re: foo_discogs
Post by: zoomorph on 2019-03-21 15:57:54
I meant to ask before, is their a way of making the plugin detect multi-disc releases using the wrong numbering format?

for example:-

multi-disc releases using 1-1, 1-2, 2-1, 2-2, etc, obviously work fine with the plugin, as the numbering format is as per guidelines

However, for example, releases with 1.01, 1.02, 2.01, 2.02, etc, are not recognised as multi-disc releases and are instead counted as 1 through to 40 tracks (if there were 20 tracks on CD1 and 20 tracks on CD2, for example)

Thanks again for the plugin, it's such a godsend!
The plugin uses the standardized track formatting described (somewhat loosely) in the Discogs guidelines. Unfortunately, the Discogs guidelines say that this standardized formatting is less preferred than using whatever is printed on the release (which is not standardized). So in general there's no way for foo_discogs to know exactly how to process the tracklisting. It could definitely be modified to make a smarter guess based on the # of files and different ways the tracklisting could be parsed, but I don't have any time to work on such changes right now.
Title: Re: foo_discogs
Post by: zoomorph on 2019-03-21 16:05:03
Hi, I am trying to get your plugin working on my system. I am running Windows Vista. I have installed the TLS 1.2 patches and enabled them on my system, but I still get authentication errors. However, I can successfully authenticate when manually sending OAuth commands using curl. I took some packet captures and from what I can find, even though TLS 1.2 is enabled on my system, Vista does not support the "modern" ciphers needed (as listed here: https://wiki.mozilla.org/Security/Server_Side_TLS#Modern_compatibility), which is what is causing the authentication to fail.

From what I understand, curl and other browsers (besides Internet Explorer) use their own crypto libraries and thus are not directly dependent on what the OS provides or supports.

Not being familiar with the foobar plugin architecture, would it be possible to use e.g. libcurl for network communications instead of the built-in Windows libraries?

Also, does the plugin really need to use OAuth Authentication, or would it be possible to use Discogs Authentication (https://www.discogs.com/developers/#page:authentication,header:authentication-discogs-auth-flow)? It looks like it wouldn't need the user to generate their own tokens, so the plugin should work right out of the box.

Thanks for any insight!
foo_discogs uses the http library built into foobar2000 which I suspect uses native OS calls. It would be possible to use something else, just a matter of the work to change it over, which could be quite substantial to support an old OS that few people are using.

As for using the token instead of oauth (well, providing an option to use either - I don't think oauth should be removed), yes that would be possible and probably should be done. Again it's just a matter of implementing and that shouldn't be too hard but I have no motivation to do it right now as too busy with other things. :-(
Title: Re: foo_discogs
Post by: ricecake on 2019-03-21 16:09:19
OK, thanks for the info! If I get the time to dig into the foobar API (not sure how likely that is at the moment though), would you mind if I take a crack at it?
Title: Re: foo_discogs
Post by: zoomorph on 2019-03-21 16:12:12
OK, thanks for the info! If I get the time to dig into the foobar API (not sure how likely that is at the moment though), would you mind if I take a crack at it?
Go for it, it is open source for that purpose. :-) Adding the token as an alternative to oauth would be simplest.
Title: Re: foo_discogs
Post by: mjm716 on 2019-03-25 06:50:36
However, for example, releases with 1.01, 1.02, 2.01, 2.02, etc, are not recognised as multi-disc releases and are instead counted as 1 through to 40 tracks (if there were 20 tracks on CD1 and 20 tracks on CD2, for example)

Thanks again for the plugin, it's such a godsend!
The plugin uses the standardized track formatting described (somewhat loosely) in the Discogs guidelines...but I don't have any time to work on such changes right now.

Your component and maintenance are invaluable. When you do find time once more...  :))

When I scan multi-discs with x.xx format, it only shows the first track per disc and lists the others as +HIDDEN.

e.g : https://www.discogs.com/master/view/233656
[r2086887]
In the future, it would be great if it were possible to expand +XX HIDDEN and apply the data to the files
Title: Re: foo_discogs
Post by: zoomorph on 2019-03-31 18:28:31
However, for example, releases with 1.01, 1.02, 2.01, 2.02, etc, are not recognised as multi-disc releases and are instead counted as 1 through to 40 tracks (if there were 20 tracks on CD1 and 20 tracks on CD2, for example)

Thanks again for the plugin, it's such a godsend!
The plugin uses the standardized track formatting described (somewhat loosely) in the Discogs guidelines...but I don't have any time to work on such changes right now.

Your component and maintenance are invaluable. When you do find time once more...  :))

When I scan multi-discs with x.xx format, it only shows the first track per disc and lists the others as +HIDDEN.

e.g : https://www.discogs.com/master/view/233656
[r2086887]
In the future, it would be great if it were possible to expand +XX HIDDEN and apply the data to the files
That's because in the standardized formatting, "x.x" means hidden tracks, "x-x" means multiple tracks on a disc. Unfortunately, if the artwork is written as "x.x" for multiple tracks on a disc then Discogs prefers that, breaking the standardized formatting.

It would be possible to add buttons to expand/collapse hidden tracks to deal with those rare cases, but would not be trivial.

In many cases, older releases on Discogs were entered with "x.x" format but should be changed to "x-x".
Title: Re: foo_discogs
Post by: lh11 on 2019-04-21 10:07:53
Hi, since I downgraded to Windows 7 I have issues getting OAuth to work, there's a "Network exceptionNetwork authentication" error (80090302) on api.discogs.com/oauth/request token (yes it's HTTPS). I tried on my XP Virtual Machine but it kept requesting OAuth, nothing else.

Does anybody know why this does happen, and if so, is there a fix for it?

Here's the screen proof below.
Title: Re: foo_discogs
Post by: kode54 on 2019-04-22 01:54:07
Windows 7 doesn't enable TLS 1.2/1.3 by default in the system libraries, so this must be enabled manually.
Title: Re: foo_discogs
Post by: lh11 on 2019-04-22 13:58:55
I did something on Internet Options, but that did nothing. Do I need to get deeper? (I am used to be in Windows 8.x so idk)
Title: Error generating tag ALBUM ARTIST []
Post by: fuffi on 2019-04-25 21:24:52
Hello,

I got this Error:

Quote
(FATAL) Error: Error generating tag ALBUM ARTIST [] for file file://C:\Users\mp3\N13\1_Boby Acid Addiction - Raw Modulator.mp3
[ESCAPE to close]

When trying to tag files with this release: https://www.discogs.com/release/9374815

What could be wrong with the Album Artist?
Title: Re: foo_discogs
Post by: fuffi on 2019-04-25 21:28:25
I did something on Internet Options, but that did nothing. Do I need to get deeper? (I am used to be in Windows 8.x so idk)
I remember we had this (solved) in this tread for many users. Unfortunately, you need to use the search for this issue. try something with TLS as a searchterm.
(And don't forget to mention/link the msg-id if you've found it, so others might solve their issue faster  :-)
Title: Re: foo_discogs
Post by: fuffi on 2019-04-25 21:37:26
It would be possible to add buttons to expand/collapse hidden tracks to deal with those rare cases, but would not be trivial.
I'd prefer just a simple button in the Find Release Window, where the user easily can switch between the settings: Parse hidden tracks.... [ x ] on or [ ] off.

The need to click multiple times, to change a single setting, which -in a daily tagging business- is needed to be switched very often, is somehow inconvenient and irritating.

Why not implement a button, where the hidden track information is downloaded automaticly or on the users request? Easy to reach/click button are more intuitive than a setting, hidden somewhere in the preferences, IMHO.

Title: Re: foo_discogs
Post by: fuffi on 2019-04-25 21:49:40
The plugin uses the standardized track formatting described (somewhat loosely) in the Discogs guidelines. Unfortunately, the Discogs guidelines say that this standardized formatting is less preferred than using whatever is printed on the release (which is not standardized). So in general there's no way for foo_discogs to know exactly how to process the tracklisting. It could definitely be modified to make a smarter guess based on the # of files and different ways the tracklisting could be parsed, but I don't have any time to work on such changes right now.
My 2 cents:
A nice idea would be to let the user enter the pattern, which is used in the discogs Database.

So a free-text-field (in the prefs or mainwindow) would be of good help, where the user can enter something like
Quote
#.#
or
##-##
or
CD#.##
or whatever is shown i.e. on the discogs-release.

The fine component then replaces the # and the char(s) between the # with the numbering parts of the release.

Entering something in this free-text-field will DISABLE the automatic (and maybe smart) "guessing" of the fine component.
Emptying the free-text-field will ENABLE the "guessing" (which should be mentioned to the user anywhere...)
Title: Re: foo_discogs
Post by: zoomorph on 2019-04-29 01:09:56
Hello,

I got this Error:

Quote
(FATAL) Error: Error generating tag ALBUM ARTIST [] for file file://C:\Users\mp3\N13\1_Boby Acid Addiction - Raw Modulator.mp3
[ESCAPE to close]

When trying to tag files with this release: https://www.discogs.com/release/9374815

What could be wrong with the Album Artist?
Artist "Razernij" is 404 in the database. Editing the release might fix it.
Title: Re: foo_discogs
Post by: fuffi on 2019-05-01 11:31:46
Quote
(FATAL) Error: Error generating tag ALBUM ARTIST [] for file file://C:\Users\mp3\N13\1_Boby Acid Addiction - Raw Modulator.mp3
[ESCAPE to close]
When trying to tag files with this release: https://www.discogs.com/release/9374815
What could be wrong with the Album Artist?
Artist "Razernij" is 404 in the database. Editing the release might fix it.
Thanks for pointing out. "Album Artist" has mislead me 8-]
(I do not know how to fix the artist, so I asked in the discogs forum. We'll see what comes up and how I can fix that.)
EDIT: Oh, those guys are fast: https://www.discogs.com/forum/thread/792339

Anyways,
I removed track no. 3 from the Tracklist (out of the Match tracks window),
but the fine component throws the error again.

We discussed this "greedy feature" some time ago, the fine component fetches ALL information from the DB, also if it is not needed (user removed tracks, so those artists shoudnt be fetched (saves bits&bytes&time&bandwith...).
Example: For a Various Artists Album with 100 Tracks on 5 CDs, where you only want to tag the last 20 Tracks, the fine component fetches ALL the artist info, which takes ages to finish and needlessly "stresses" the database.

Of course, if those artists are mentioned in the credits (or the users formatting strings need them), they surely should be fetched, but -please correct me, if I did not checked carefully enough- for this (https://www.discogs.com/release/9374815) release, the error is an unnecessary showstopper.

Do you plan to "optimize" the fine component to this effect, or is this something, we will learn to live with? ;-)
Title: Re: foo_discogs
Post by: zoomorph on 2019-05-05 16:17:01
Anyways,
I removed track no. 3 from the Tracklist (out of the Match tracks window),
but the fine component throws the error again.

We discussed this "greedy feature" some time ago, the fine component fetches ALL information from the DB, also if it is not needed (user removed tracks, so those artists shoudnt be fetched (saves bits&bytes&time&bandwith...).
Example: For a Various Artists Album with 100 Tracks on 5 CDs, where you only want to tag the last 20 Tracks, the fine component fetches ALL the artist info, which takes ages to finish and needlessly "stresses" the database.
foo_discogs only fetches info that is used by the tag formatting strings. Some of the tag formatting strings are fetching the artists of the other tracks on the release. This would be cached for subsequent tracks. :-)
Title: Re: foo_discogs
Post by: darkflame23 on 2019-05-06 09:00:17
Sorry if it has already been answered, I did search but didn't turn up anything.

Is there a way to get it to download just the artwork from Discogs and apply it to the files, without changing anything else? I've looked at the main settings and can't work out how to do it.
Title: Re: foo_discogs
Post by: zoomorph on 2019-05-09 08:09:49
Sorry if it has already been answered, I did search but didn't turn up anything.

Is there a way to get it to download just the artwork from Discogs and apply it to the files, without changing anything else? I've looked at the main settings and can't work out how to do it.
You can download artwork to the directories and disable all tag formatting strings so no tags will be written.
Title: Re: foo_discogs
Post by: darkflame23 on 2019-05-09 13:46:27
Thanks, I'll give it a go.
Title: Re: foo_discogs
Post by: cassel on 2019-06-18 13:41:15
Hi, since I downgraded to Windows 7 I have issues getting OAuth to work, there's a "Network exceptionNetwork authentication" error (80090302) on api.discogs.com/oauth/request token (yes it's HTTPS). I tried on my XP Virtual Machine but it kept requesting OAuth, nothing else.

Does anybody know why this does happen, and if so, is there a fix for it?


If you haven't solved this try...
https://manage.accuwebhosting.com/knowledgebase/3008/How-do-I-enable-TLS-12-on-Windows-7.html
This worked for me.
Title: Re: foo_discogs
Post by: fuffi on 2019-06-23 03:38:07
Anyways,
I removed track no. 3 from the Tracklist (out of the Match tracks window),
but the fine component throws the error again.

We discussed this "greedy feature" some time ago, the fine component fetches ALL information from the DB, also if it is not needed (user removed tracks, so those artists shoudnt be fetched (saves bits&bytes&time&bandwith...).
Example: For a Various Artists Album with 100 Tracks on 5 CDs, where you only want to tag the last 20 Tracks, the fine component fetches ALL the artist info, which takes ages to finish and needlessly "stresses" the database.
foo_discogs only fetches info that is used by the tag formatting strings. Some of the tag formatting strings are fetching the artists of the other tracks on the release. This would be cached for subsequent tracks. :-)
Thanks zoomorph,
your explanation makes sense and seems desirable to me,
but I don't understand, why 58 artists (see screenshots below) are fetched (cache tells me so), when I only fetch a single track with a single artist.

To end the confusion,
please let me show, what I am doing, so maybe we can figure out, what is wrong (with my thinking) :-)

attachment 1:
I start f2k, cache is empty.

attachment 2:
the used formatting strings. (very simple, no fancy stuff.)

attachment 3:
I select only the first song of this release (https://www.discogs.com/x/release/11914574)

attachment 4:
after the fine component has done its job, this is what the cache tells.

So it is correct, that 58 artists are fetched, when only one single is needed?
(or maybe I left some formatting string in the config, which leads to fetch all the artists? If so, which one?)




(sorry, I cannot figure out how to place the attached screenshots into this post, so the numbering. It seems my broswer cannot drag&drop the attachments into this post.)
Title: Re: foo_discogs
Post by: fuffi on 2019-06-23 03:54:21
Sorry if it has already been answered, I did search but didn't turn up anything.

Is there a way to get it to download just the artwork from Discogs and apply it to the files, without changing anything else? I've looked at the main settings and can't work out how to do it.
You can download artwork to the directories and disable all tag formatting strings so no tags will be written.
I prefer to open the Update Artwork function via a keyboard shortcut or a customized button.

See screenshots how to use/accomplish.

No tags are written this way and you don't need to touch your foo_discogs settings. it just simply downloads the art, you have set up in the artwork tab inside the components configuration.
Unfortunately the component can't embed artwork in the files via the component, but f2k can.
I have included two more screenshots, which show my configuration for fetching artwork via the fine component and then embed them into the files. (of course, you need to first check the artwork it it suits your visual needs)
Title: Re: foo_discogs
Post by: darkflame23 on 2019-06-23 08:30:19
Thank you, I still haven't managed to work out how to do it, but will give your instructions a go and report back!
Title: Re: foo_discogs
Post by: darkflame23 on 2019-06-23 09:43:20
When I add an album, and select all the files in the the main FB2K playlist window, and right click, tagging, Discogs, the 'Update album/artist art' is greyed out, along with most of the other options. Same if I select the album folder in the file browser. Any clues?
Title: Re: foo_discogs
Post by: lvqcl on 2019-06-23 10:44:38
Do these files have proper tags, such as DISCOGS_RELEASE_ID, DISCOGS_ARTIST_ID?
Title: Re: foo_discogs
Post by: darkflame23 on 2019-06-23 10:57:49
Thanks. No, I've never been really into tags, I just have "Artist - Album" folders with "Track number - Track title" files names within, has always been fine for me. I was just wondering if there was a way to get foo_discogs to automatically download the cover.jpg for all the folders, and apply it to the individual files, so it shows up in the cover art box when playing.

Hopefully a clearer description of exactly what I am trying to achieve will make it easier for people to let me know if foo_discogs can do this or not. I don't really want it to go automatically adding meta-data into my files (except for the cover art).
Title: Re: foo_discogs
Post by: frogworth on 2019-06-23 11:07:15
Thanks. No, I've never been really into tags, I just have "Artist - Album" folders with "Track number - Track title" files names within, has always been fine for me. I was just wondering if there was a way to get foo_discogs to automatically download the cover.jpg for all the folders, and apply it to the individual files, so it shows up in the cover art box when playing.

Hopefully a clearer description of exactly what I am trying to achieve will make it easier for people to let me know if foo_discogs can do this or not. I don't really want it to go automatically adding meta-data into my files (except for the cover art).

foo_discogs needs to know which specific release to use for your cover art. If you don't have DISCOGS_RELEASE_ID in there already, you'll have to nominate the specific release in Discogs for each album you want to get the artwork for. If you have a look at releases on the Discogs site, you'll see that even different variants of an album may have different artwork. You can always use the Master release, but even then you'll have situations like an album and a single or EP with the same name by the same artist - not to mention multiple artists with the same name.

So if you want something to automatically download artwork, this component definitely won't be able to do that without your intervention.

I'd be surprised if anything can do it without explicit ID3 tags though. You'd have to at least setup some filter to identify the release by artist & album based on your folder structure - and that's potentially fairly ambiguous as mentioned above.
Title: Re: foo_discogs
Post by: frogworth on 2019-06-23 11:13:38
When I add an album, and select all the files in the the main FB2K playlist window, and right click, tagging, Discogs, the 'Update album/artist art' is greyed out, along with most of the other options. Same if I select the album folder in the file browser. Any clues?

So, if you ONLY want to get the artwork from Discogs, you can configure the component to fetch the album artwork and save it as cover.jpg in the folder with the album files (this should be standard behaviour but it's in the Artwork tab of the configuration), and you can literally set ALL of the tag mappings to Disabled (see attachment).
Then you can set a keyboard shortcut for Tagging -> Discogs -> Write Tags. You will still get a dialog where you'll have to search for the artist and then select the release, but then the only thing that will happen is that the artwork is downloaded.

As others have mentioned, the artwork will NOT be embedded. You'll have to do that with something else like foo_run (I've never done this...)
Title: Re: foo_discogs
Post by: darkflame23 on 2019-06-23 12:42:37
Excellent, thanks for all the help!
Title: Re: foo_discogs
Post by: tolyapsh on 2019-07-04 19:32:26
I am trying to fill multi-value tag, creating an array from the string with the split function. But function also returns initial string as a first element of the array. What am I doing wrong?

I already tried the synthetic example and get the same behaviour: $split('aaa, bbb, ccc') -> aaa, bbb, ccc; aaa; bbb; ccc
Title: Re: foo_discogs
Post by: zoomorph on 2019-07-12 02:20:12
Anyways,
I removed track no. 3 from the Tracklist (out of the Match tracks window),
but the fine component throws the error again.

We discussed this "greedy feature" some time ago, the fine component fetches ALL information from the DB, also if it is not needed (user removed tracks, so those artists shoudnt be fetched (saves bits&bytes&time&bandwith...).
Example: For a Various Artists Album with 100 Tracks on 5 CDs, where you only want to tag the last 20 Tracks, the fine component fetches ALL the artist info, which takes ages to finish and needlessly "stresses" the database.
foo_discogs only fetches info that is used by the tag formatting strings. Some of the tag formatting strings are fetching the artists of the other tracks on the release. This would be cached for subsequent tracks. :-)
Thanks zoomorph,
your explanation makes sense and seems desirable to me,
but I don't understand, why 58 artists (see screenshots below) are fetched (cache tells me so), when I only fetch a single track with a single artist.

To end the confusion,
please let me show, what I am doing, so maybe we can figure out, what is wrong (with my thinking) :-)

attachment 1:
I start f2k, cache is empty.

attachment 2:
the used formatting strings. (very simple, no fanc
Anyways,
I removed track no. 3 from the Tracklist (out of the Match tracks window),
but the fine component throws the error again.

We discussed this "greedy feature" some time ago, the fine component fetches ALL information from the DB, also if it is not needed (user removed tracks, so those artists shoudnt be fetched (saves bits&bytes&time&bandwith...).
Example: For a Various Artists Album with 100 Tracks on 5 CDs, where you only want to tag the last 20 Tracks, the fine component fetches ALL the artist info, which takes ages to finish and needlessly "stresses" the database.
foo_discogs only fetches info that is used by the tag formatting strings. Some of the tag formatting strings are fetching the artists of the other tracks on the release. This would be cached for subsequent tracks. :-)
Thanks zoomorph,
your explanation makes sense and seems desirable to me,
but I don't understand, why 58 artists (see screenshots below) are fetched (cache tells me so), when I only fetch a single track with a single artist.

To end the confusion,
please let me show, what I am doing, so maybe we can figure out, what is wrong (with my thinking) :-)

attachment 1:
I start f2k, cache is empty.

attachment 2:
the used formatting strings. (very simple, no fancy stuff.)

attachment 3:
I select only the first song of this release (https://www.discogs.com/x/release/11914574)

attachment 4:
after the fine component has done its job, this is what the cache tells.

So it is correct, that 58 artists are fetched, when only one single is needed?
(or maybe I left some formatting string in the config, which leads to fetch all the artists? If so, which one?)




(sorry, I cannot figure out how to place the attached screenshots into this post, so the numbering. It seems my broswer cannot drag&drop the attachments into this post.)

y stuff.)

attachment 3:
I select only the first song of this release (https://www.discogs.com/x/release/11914574)

attachment 4:
after the fine component has done its job, this is what the cache tells.

So it is correct, that 58 artists are fetched, when only one single is needed?
(or maybe I left some formatting string in the config, which leads to fetch all the artists? If so, which one?)




(sorry, I cannot figure out how to place the attached screenshots into this post, so the numbering. It seems my broswer cannot drag&drop the attachments into this post.)

If you view the console while doing this you'll see that only 1 artist is loaded. I believe the other 58 are stubs created from the release information, but it's not actually loading any info for those artists other than what comes with the release information. :-)
Title: Re: foo_discogs
Post by: zoomorph on 2019-07-12 02:32:08
I am trying to fill multi-value tag, creating an array from the string with the split function. But function also returns initial string as a first element of the array. What am I doing wrong?

I already tried the synthetic example and get the same behaviour: $split('aaa, bbb, ccc') -> aaa, bbb, ccc; aaa; bbb; ccc
Looks like a bug in foo_discogs where $split returns full string as first element of array. Attached dll fixes it, next release (no clue when that will be) will also contain the fix.
Title: Re: foo_discogs
Post by: tolyapsh on 2019-07-12 23:50:49
Thank you for your attention, zoomorph!
Title: Re: foo_discogs
Post by: euamotubaina on 2019-07-23 18:18:02
Can we retrieve information under the Companies, etc. section? Thanks!
Title: Re: foo_discogs
Post by: fuffi on 2019-07-30 13:27:27
Hello anybody :=)

I'm having trouble getting a $unique() working with a single mp3file and this realease (https://www.discogs.com/release/1839259).

After tagging, the tag of the single file looks like this:
Code: [Select]
Artist Name : Chevron / Chevron  Chevron  Chevron
Track Title : Alsation Doorstep / The Battle Of Tasting / Pikies / I'm On Benefits For You
Track Title is ok, but Artist Name should be Chevron, IMHO, because its the same artist.

The Formatting String in the Tag Mappings I use, is:
Code: [Select]
$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0,$joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%),$join($unique($array($joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%),$joinnames(%<TRACK_HIDDEN_TRACKS_ARTISTS_NAME>%,%<TRACK_HIDDEN_TRACKS_ARTISTS_JOIN>%))),' / '))

I have tried other combinations, but I don't get it to work so the result is:
Code: [Select]
Artist Name : Chevron
and not
Code: [Select]
Artist Name : Chevron / Chevron  Chevron  Chevron

Any help will be tolerated :-))
Title: Re: foo_discogs
Post by: fuffi on 2019-08-04 19:04:52
I'm having trouble getting a $unique() working with a single mp3file and this realease (https://www.discogs.com/release/1839259).
Whyever, it works for this release (https://www.discogs.com/x/release/648859), but not with the above mentionend.
Title: Re: foo_discogs
Post by: zoomorph on 2019-08-07 18:11:49
Hello anybody :=)

I'm having trouble getting a $unique() working with a single mp3file and this realease (https://www.discogs.com/release/1839259).

After tagging, the tag of the single file looks like this:
Code: [Select]
Artist Name : Chevron / Chevron  Chevron  Chevron
Track Title : Alsation Doorstep / The Battle Of Tasting / Pikies / I'm On Benefits For You
Track Title is ok, but Artist Name should be Chevron, IMHO, because its the same artist.

The Formatting String in the Tag Mappings I use, is:
Code: [Select]
$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0,$joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%),$join($unique($array($joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%),$joinnames(%<TRACK_HIDDEN_TRACKS_ARTISTS_NAME>%,%<TRACK_HIDDEN_TRACKS_ARTISTS_JOIN>%))),' / '))

I have tried other combinations, but I don't get it to work so the result is:
Code: [Select]
Artist Name : Chevron
and not
Code: [Select]
Artist Name : Chevron / Chevron  Chevron  Chevron

Any help will be tolerated :-))
This works, are you trying to change it for some other purpose?
Code: [Select]
$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0,$joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%),$join($unique($extend($array($joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%)),$joinnames(%<<TRACK_HIDDEN_TRACKS_ARTISTS_NAME>>%,%<<TRACK_HIDDEN_TRACKS_ARTISTS_JOIN>>%))),' / '))[/quote]
Title: Re: foo_discogs
Post by: zoomorph on 2019-08-07 20:27:45
Can we retrieve information under the Companies, etc. section? Thanks!
Added companies to new version 2.20.

Example:
Code: [Select]
$zip(%<RELEASE_COMPANIES_ENTITY_TYPE_NAME>%,' ',%<RELEASE_COMPANIES_NAME>%)
Title: Re: foo_discogs
Post by: lvqcl on 2019-08-07 21:27:27
By the way, http://www.foobar2000.org/components/view/foo_discogs still says "Works with foobar2000 v1.0 and newer"
but version 2.20 requires at least foobar2000 1.3.
Title: Re: foo_discogs
Post by: fuffi on 2019-08-08 10:37:58
This works, are you trying to change it for some other purpose?
Code: [Select]
$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0,$joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%),$join($unique($extend($array($joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%)),$joinnames(%<<TRACK_HIDDEN_TRACKS_ARTISTS_NAME>>%,%<<TRACK_HIDDEN_TRACKS_ARTISTS_JOIN>>%))),' / '))[/quote]
Thank you zoomorph,
so $extend() is responsible that $unique() finally works as I like! Thanks for pointing out!!

Can we retrieve information under the Companies, etc. section? Thanks!
Example:
Code: [Select]
$zip(%<RELEASE_COMPANIES_ENTITY_TYPE_NAME>%,' ',%<RELEASE_COMPANIES_NAME>%)
Thanks again, also for the Example.
1 Example is worth a 1000 words :-)
Title: Re: foo_discogs
Post by: fuffi on 2019-08-09 14:07:39
Hello,

today must one of these days....

I'm not getting a "Band" tag from the fine component! From this release: https://www.discogs.com/Freddy-Quinn-Ein-Konzert-Mit-Dem-Orchester-Bert-Kaempfert/release/10624136

It is coming via API: https://api.discogs.com/releases/10624136 (See Band.PNG)

My formatting string (copied from a working one of my setup)
Code: [Select]
$puts(ROLE,Band)[$flatten($multi_if($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),$get(ROLE))),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$joinnames($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$get(aj)),$get(an)),))]

But I still don't get anything. (f2k 1.4.6, component 2.20)

Debug in "Preview tags" shows [,,,,,,] (see DebugView.png)

When I change the "Band" to "Engeneer", I get correct info of Engeneer, so the formatting String is correct.

Any Ideas?


Title: Re: foo_discogs
Post by: zoomorph on 2019-08-23 23:14:43
Hello,

today must one of these days....

I'm not getting a "Band" tag from the fine component! From this release: https://www.discogs.com/Freddy-Quinn-Ein-Konzert-Mit-Dem-Orchester-Bert-Kaempfert/release/10624136

It is coming via API: https://api.discogs.com/releases/10624136 (See Band.PNG)

My formatting string (copied from a working one of my setup)
Code: [Select]
$puts(ROLE,Band)[$flatten($multi_if($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),$get(ROLE))),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$joinnames($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$get(aj)),$get(an)),))]

But I still don't get anything. (f2k 1.4.6, component 2.20)

Debug in "Preview tags" shows [,,,,,,] (see DebugView.png)

When I change the "Band" to "Engeneer", I get correct info of Engeneer, so the formatting String is correct.

Any Ideas?
Strange, your example works for me. Maybe the tag is getting overwritten or cleared after it is written?

Ah, I see someone edited the page 6 days ago. Prior to that the way the credits were written was wrong so they probably weren't getting parsed correctly.
Title: Re: foo_discogs
Post by: fuffi on 2019-08-24 23:11:21
Hello,

today must one of these days....

I'm not getting a "Band" tag from the fine component! From this release: https://www.discogs.com/Freddy-Quinn-Ein-Konzert-Mit-Dem-Orchester-Bert-Kaempfert/release/10624136

It is coming via API: https://api.discogs.com/releases/10624136 (See Band.PNG)

My formatting string (copied from a working one of my setup)
Code: [Select]
$puts(ROLE,Band)[$flatten($multi_if($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),$get(ROLE))),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$joinnames($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$get(aj)),$get(an)),))]

But I still don't get anything. (f2k 1.4.6, component 2.20)

Debug in "Preview tags" shows [,,,,,,] (see DebugView.png)

When I change the "Band" to "Engeneer", I get correct info of Engeneer, so the formatting String is correct.

Any Ideas?
Strange, your example works for me. Maybe the tag is getting overwritten or cleared after it is written?

Ah, I see someone edited the page 6 days ago. Prior to that the way the credits were written was wrong so they probably weren't getting parsed correctly.

Zoomorph, you say, It is working for you, so you are getting a band tag? with this formatting string?
Code: [Select]
$puts(ROLE,Band)[$flatten($multi_if($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),$get(ROLE))),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$joinnames($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$get(aj)),$get(an)),))]

I still not getting a band tag.

I see the "band" role in the API, but it gets not written to the tags.

And I double checked, I do not overwrite it via another formatting string:

I re-tested with a fresh install f2k 1.4.6 or 1.5b10 and only v2.20 of your fine component. Thats strange...
Title: Re: foo_discogs
Post by: GroovyWaves on 2019-08-28 20:26:25
Hi zoomorph,

First, thank you for continuing the development of that Foobar plugin, it probably is the best option to get the most metadata from Discogs nowadays.

I do vinyl restoration regularly and I was thinking about writing matrix / runout infos in audio files, I'm guessing it's not implemented in the plugin at the moment? I tested the "barcode" field for CDs and this works great though.

Seems like the field for vinyl is called "Matrix / Runout" in the Discogs API.
Title: Re: foo_discogs
Post by: zoomorph on 2019-09-01 16:40:06
Hi zoomorph,

First, thank you for continuing the development of that Foobar plugin, it probably is the best option to get the most metadata from Discogs nowadays.

I do vinyl restoration regularly and I was thinking about writing matrix / runout infos in audio files, I'm guessing it's not implemented in the plugin at the moment? I tested the "barcode" field for CDs and this works great though.

Seems like the field for vinyl is called "Matrix / Runout" in the Discogs API.
Correct, it's currently not available in foo_discogs. There can be multiple Matrix / Runout variants for a single release. Not sure how this should be handled.
Title: Re: foo_discogs
Post by: matthies on 2019-09-03 21:56:29
how to force the plugin to add a "0" digit if the tracks are numbered like on the CD?
01
02
03
etc

i havent been tagging for some time and i cant remember where and how to make it :(

i have a command like this:
VINYLTRACK -- > %TRACK_DISCOGS_TRACK_NUMBER%
Title: Re: foo_discogs
Post by: JDPCC on 2019-09-03 22:18:08
Is it necessary to have a Discogs Account in order to use this plugin?
Title: Re: foo_discogs
Post by: JDPCC on 2019-09-04 00:16:48
After locating the correct album release from Discogs a lot of metadata is written/updated which is great.  However the "Track Name" of the track is not. I believe this is the actual file name. The "Title" of the track is updated but not the "Track Name"/File Name as it appears in the file tree in Foobar2K and as it appears in the file tree on windows 10.  The "Track Name"/File Name appears as "01 Track1", after clicking on "01 Track 1" in the Foobar2K file tree the "Track Title" in the metadata appears as "Phonograph Blues".  Is there a way to get the "Track Name"/File Name as displayed in the file tree to be updated?  I looked at the Discogs tag mappings and there is not an option for File Name.
Title: Re: foo_discogs
Post by: JDPCC on 2019-09-04 00:24:28
Update:  Yes it is necessary to have a Discogs account for this plugin to work properly
Title: Re: foo_discogs
Post by: frogworth on 2019-09-04 00:30:16
Sounds like you're looking at a CD. When you tag it in foobar it saves the metadata to foobar's database. There's no central metadata database for Windows - it's reading those values from the CD-TEXT or showing you default values if the CD was mastered without any metadata.
If you rip the CD, the tags will be read correctly from the files in Windows explorer and everywhere else.
Title: Re: foo_discogs
Post by: Sandrine on 2019-09-06 07:45:34
Hello, I'm using this excellent plugin on a regular basis with good results but I have some small grievances.

1. Everytime I tag a release via this component it overwrites my carefully manually tagged genres with the generical genres from Discogs. This is especially annoying when substituting "Progressive Rock" with "Rock", "Folk" with "Folk, Country & World" etc. In the plugin configuration I have already set it to not "Remove any pre-existing tags" but that's obviously not enough.

2. The plugin writes disc information even for media that doesn't have multiple discs, like digital media. An option to only write disc information for multiple discs would be nice.

Thanks in advance!
Title: Re: foo_discogs
Post by: alec.tron on 2019-09-07 08:17:16
for 1:
I re-route the discogs genre value to its' own field (you can do this with any, adjstting the foo_discogs templates/"edit mappings"...). i.e. I generate "discogs_genre" metadata field so it doesn't overwrite my 'genre' field I've set by hand, but are still accessible if I want to.
for 2:
you can construct IF queries into your tagging scripts inside of foo_discogs, see:
https://wiki.hydrogenaud.io/index.php?title=Foobar2000:Title_Formatting_Reference

Hope this helps.
c.
Title: Re: foo_discogs
Post by: zoomorph on 2019-09-07 17:57:07
After locating the correct album release from Discogs a lot of metadata is written/updated which is great.  However the "Track Name" of the track is not. I believe this is the actual file name. The "Title" of the track is updated but not the "Track Name"/File Name as it appears in the file tree in Foobar2K and as it appears in the file tree on windows 10.  The "Track Name"/File Name appears as "01 Track1", after clicking on "01 Track 1" in the Foobar2K file tree the "Track Title" in the metadata appears as "Phonograph Blues".  Is there a way to get the "Track Name"/File Name as displayed in the file tree to be updated?  I looked at the Discogs tag mappings and there is not an option for File Name.
foo_discogs does not rename files, but there is a built in plugin "file operations" which can be used to bulk rename based on tags. Alternatively, you may be able to configure your UI plugin to use tags instead of file names. I don't use the file tree so not sure about that one in specific.
Title: Re: foo_discogs
Post by: zoomorph on 2019-09-07 18:00:04
Hello, I'm using this excellent plugin on a regular basis with good results but I have some small grievances.

1. Everytime I tag a release via this component it overwrites my carefully manually tagged genres with the generical genres from Discogs. This is especially annoying when substituting "Progressive Rock" with "Rock", "Folk" with "Folk, Country & World" etc. In the plugin configuration I have already set it to not "Remove any pre-existing tags" but that's obviously not enough.

2. The plugin writes disc information even for media that doesn't have multiple discs, like digital media. An option to only write disc information for multiple discs would be nice.

Thanks in advance!
Both can be solved by editing the tag formatting strings in your foo_discogs configuration.
1. Something like only update style if it's not already set, or merge the update with what's already set.
2. Check if multiple discs, if not leave that tag blank.
See the "syntax help" page in the foo_discogs tag mappings config dialog.
Title: Re: foo_discogs
Post by: Sandrine on 2019-09-07 23:21:43
Yeah thanks, but that is way over my head. Just looking at that monster of mathematical expression makes my eyes water. I'll just keep correcting manually. Sorry, was looking at the track formatting string. Editing tag mappings now... :-)
Title: Re: foo_discogs
Post by: Sandrine on 2019-09-08 00:47:20
I need some help with these:

1. Want to join RELEASE_GENRES with existing GENRE
Code: [Select]
$join($append(%<RELEASE_GENRES>%,$if(%GENRE%,%GENRE%)))
makes the values comma separated. To make them multi-value, I still have to "Split values". Also, would generate something like "Classical, Classical" instead of merging the two matching names.

2. Want to replace "Prog Rock" with "Progressive Rock" in Styles
Code: [Select]
$join($multi_replace(%<RELEASE_STYLES>%,'Prog Rock','Progressive Rock'),%<RELEASE_STYLES>%)
doesn't quite work...
Title: Re: foo_discogs
Post by: frogworth on 2019-09-08 02:23:31
1. Want to join RELEASE_GENRES with existing GENRE
Code: [Select]
$join($append(%<RELEASE_GENRES>%,$if(%GENRE%,%GENRE%)))
makes the values comma separated. To make them multi-value, I still have to "Split values". Also, would generate something like "Classical, Classical" instead of merging the two matching names.

Check out the Syntax help link from the tag mapping configuration.
$array() should turn a comma-separated list into an array. edit: but you're using $join() to turn an existing array into a string. If you want a multi-value field, shouldn't you leave it as an array?

On the array, you can use $unique() to get rid of duplicates.
Title: Re: foo_discogs
Post by: Sandrine on 2019-09-08 14:27:55
What? No entiendo... I'd appreciate a code solution, I already looked through the help page.
Title: Re: foo_discogs
Post by: fuffi on 2019-09-09 14:11:33
Hello,

today I entered "100%100TKA" in Artists Search Field and I got this error:

Code: [Select]
(FATAL) Error: Authorization Failed (401) [Is OAuth working?](url: https://api.discogs.com/database/search)

[ESCAPE to close]

At the same time, other artists work fine, I tried several others (i.e. Madonna), not in the cache,
so I guess, the artist string breaks the search :-]

Tested with f2k 1.5b12 and component version 2.20
Title: Re: foo_discogs
Post by: fuffi on 2019-09-15 12:53:34
Hi,

I'm getting too less results from the search of the fine component and I'm not sure why:

When searching the DiscoGS site via https://www.discogs.com/search/?q=Franck+Pourcel+Et+Son+Grand+Orchestre&type=artist
I get all releases of Franck Pourcel Et Son Grand Orchestre (https://www.discogs.com/artist/443337-Franck-Pourcel-Et-Son-Grand-Orchestre)

Then, searching the Discography for "Une Belle Histoire", I get 5 LPs from the Master Release Page => https://www.discogs.com/Franck-Pourcel-E-La-Sua-Grande-Orchestra-Une-Belle-Histoire-UnOrchestra-Nella-Sera-N-21/master/939071
(Screenshot: une belle histoire master release.png)

Thats fine, because I'm looking for a special Version of "Une Belle Histoire".

Now, using the fine components search, I only get singles (7") as a result: (Screenshot: "only singles as a result.png")

I'm not 100% sure, I used the correct API call to show you the output, but please, have a look:
Code: [Select]
https://api.discogs.com/database/search?oauth_consumer_key=kQFLKuHXrEsVfZTDvOdz&oauth_nonce=156854656929&oauth_signature=<YOUR_oauth_signature_here>%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1568546569&oauth_token=<YOUR_oauth_token_here>&oauth_version=1.0&per_page=100&q=Franck%20Pourcel%20Et%20Son%20Grand%20Orchestre&type=artist
(I catched this from the f2k console log)

This is the JSON output (Screenshot: JSON output.png)
It tells something about "Invalid object" for "master_url":
Code: [Select]
{"pagination": {"per_page": 100, "pages": 1, "page": 1, "urls": {}, "items": 3}, "results": [{"thumb": "https://img.discogs.com/_cXZ5aYga-dxfAbshl3CKc80Dg4=/150x150/smart/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/A-443337-1538615737-6882.jpeg.jpg", "title": "Franck Pourcel Et Son Grand Orchestre", "user_data": {"in_collection": false, "in_wantlist": false}, "master_url": null, "uri": "/artist/443337-Franck-Pourcel-Et-Son-Grand-Orchestre", "cover_image": "https://img.discogs.com/LJi6K8oeukCFrtiQL2_uJka_iCc=/600x830/smart/filters:strip_icc():format(jpeg):mode_rgb():quality(90)/discogs-images/A-443337-1538615737-6882.jpeg.jpg", "resource_url": "https://api.discogs.com/artists/443337", "master_id": null, "type": "artist", "id": 443337}, {"thumb": "", "title": "Franck Pourcel And His French Strings", "user_data": {"in_collection": false, "in_wantlist": false}, "master_url": null, "uri": "/artist/920722-Franck-Pourcel-And-His-French-Strings", "cover_image": "https://img.discogs.com/590af34984117956bc045947e853efe852d39c92/images/spacer.gif", "resource_url": "https://api.discogs.com/artists/920722", "master_id": null, "type": "artist", "id": 920722}, {"thumb": "https://img.discogs.com/6VTuAYzWCg8FgUhVaiNGC0cJ3Ks=/150x150/smart/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/A-322090-1458156191-5622.jpeg.jpg", "title": "Raymond Lef\u00e8vre", "user_data": {"in_collection": false, "in_wantlist": false}, "master_url": null, "uri": "/artist/322090-Raymond-Lef\u00e8vre", "cover_image": "https://img.discogs.com/WjK8sclYjhk0JfCof66hAZb4yds=/415x490/smart/filters:strip_icc():format(jpeg):mode_rgb():quality(90)/discogs-images/A-322090-1458156191-5622.jpeg.jpg", "resource_url": "https://api.discogs.com/artists/322090", "master_id": null, "type": "artist", "id": 322090}]}

Anybody an Idea on how to solve this, so the fine component shows ALL results (master release and LPs) ?

Thank you.
Title: Re: foo_discogs
Post by: zoomorph on 2019-09-19 18:04:28
Anybody an Idea on how to solve this, so the fine component shows ALL results (master release and LPs) ?

Thank you.
Your example seems to be working correctly for me. Perhaps something changed on the Discogs side.
Title: Re: foo_discogs
Post by: fuffi on 2019-09-20 08:01:09
Anybody an Idea on how to solve this, so the fine component shows ALL results (master release and LPs) ?
Your example seems to be working correctly for me. Perhaps something changed on the Discogs side.
Thank you for testing. Strange....I don't know if something changed on the discogs side, because their API give and gave the correct result.
I just wasn't shown in the releases tab of the fine component.

I tested this again (new virtual machine, new f2k1.5b15) and on a fresh start of f2k  (empty cache of the component) it worked as it should.
After a hard working day (say 5 hours of doing stuff with f2k and tagging with your component), it did not work as expected anymore.

So there is a kind of "workaround" with restarting f2k, but that eliminates all the cache, which took so many time to load (escpecially, when dealing with artist which have a looooooooong list of releases, i.e. >30 releases) 

I guess its the same strange phenomen in the component like here: https://hydrogenaud.io/index.php?topic=50523.msg967983#msg967983 (you clearly see it in the animated gif)

The component swallows some information retrieved from the cache under some unclear circumstances :-)
Title: Re: foo_discogs
Post by: SonicoXD on 2019-09-21 00:21:40
Anybody an Idea on how to solve this, so the fine component shows ALL results (master release and LPs) ?
Your example seems to be working correctly for me. Perhaps something changed on the Discogs side.
Thank you for testing. Strange....I don't know if something changed on the discogs side, because their API give and gave the correct result.
I just wasn't shown in the releases tab of the fine component.

I tested this again (new virtual machine, new f2k1.5b15) and on a fresh start of f2k  (empty cache of the component) it worked as it should.
After a hard working day (say 5 hours of doing stuff with f2k and tagging with your component), it did not work as expected anymore.

So there is a kind of "workaround" with restarting f2k, but that eliminates all the cache, which took so many time to load (escpecially, when dealing with artist which have a looooooooong list of releases, i.e. >30 releases) 

I guess its the same strange phenomen in the component like here: https://hydrogenaud.io/index.php?topic=50523.msg967983#msg967983 (you clearly see it in the animated gif)

The component swallows some information retrieved from the cache under some unclear circumstances :-)
Working fine for me, first time ever installing it.
Title: Re: foo_discogs
Post by: kode54 on 2019-09-21 02:46:18
@fuffi It may also depend on which OS you're running foobar2000 on. I can't guess what you're running from your user agent, because that's kind of prying, and the two user agents I have seen from you don't agree completely.

Windows virtual machine? Which Windows? It may be a case of legacy Windows versions not being tested properly, if you're using the long out of support XP. It almost makes me wonder why Peter and I continue to build with the XP supporting toolchains, when at least I don't actually bother to do any testing to see if anything actually blows up there, and I don't know what Peter does for old OS testing, other than maybe doing some targeted testing when someone points out a bug.

Of course, this discogs issue is a different developer entirely, I don't know if they build for XP, or if that is even applicable in this case.
Title: Re: foo_discogs
Post by: zoomorph on 2019-09-22 07:54:08
Thank you for testing. Strange....I don't know if something changed on the discogs side, because their API give and gave the correct result.
I just wasn't shown in the releases tab of the fine component.

I tested this again (new virtual machine, new f2k1.5b15) and on a fresh start of f2k  (empty cache of the component) it worked as it should.
After a hard working day (say 5 hours of doing stuff with f2k and tagging with your component), it did not work as expected anymore.

So there is a kind of "workaround" with restarting f2k, but that eliminates all the cache, which took so many time to load (escpecially, when dealing with artist which have a looooooooong list of releases, i.e. >30 releases) 

I guess its the same strange phenomen in the component like here: https://hydrogenaud.io/index.php?topic=50523.msg967983#msg967983 (you clearly see it in the animated gif)

The component swallows some information retrieved from the cache under some unclear circumstances :-)
If it worked the first time, then it should continue to display the same result while the info is in the foo_discogs cache (unless there's a bug in foo_discogs). Not working 5 hours later suggests to me that some or all of the info was probably kicked out of the foo_discogs cache by then and so it was reloaded from the Discogs API. The Discogs API could have returned something different at that point, or there could be a bug in foo_discogs (ie. maybe something goes wrong if part of the data is cached while another part is reloaded).

It's always hard to investigate a bug that can't be reliably reproduced. This seems to happen rarely so perhaps it's not worth putting much effort into. I played around a little with a small cache size in foo_discogs, but wasn't able to trigger it.

As for that other one about the country being displayed in the find release dialog, I suspect that one is probably related to the Discogs API search endpoint sometimes returning country and sometimes not (at least that's how it used to be). The release endpoint, which is loaded after you press "Next>>", always returns country. So when the results are repopulated when you go back and change the filter, the new information is reflected there.

Testing for foo_discogs is minimal. I use it for tagging my personal collection so that constitutes most of the testing aside from problems reported by other users. My configuration and workflow don't cover all possible ones that others might use. I've never used foo_discogs on XP or anything other than Windows 7. foo_discogs shouldn't care about the OS, but it is possible that Discogs API could behave differently.
Title: Re: foo_discogs
Post by: hoopsa65 on 2019-10-08 00:23:02
I'm having trouble tagging this box set :

Paul Weller - Hit Parade (https://www.discogs.com/release/1560471)

I keep getting this message:

"(FATAL) Error: Error loading release 1560471: JSON Parser ExceptionError parsing release credits."

Is there anything I can do to get past this?
Title: Re: foo_discogs
Post by: frogworth on 2019-10-08 00:46:33
The problem is likely that the ranges given for Paul Weller as Written-By span discs. 1-16 to 2-6 and 2-16 to 3-1 are probably not situations that the parser has come across!

You could separate out the credit ranges per disc on there, or maybe @zoomorph thinks this is an edge case worthy of an update...
Title: Re: foo_discogs
Post by: hoopsa65 on 2019-10-08 00:55:58
The problem is likely that the ranges given for Paul Weller as Written-By span discs. 1-16 to 2-6 and 2-16 to 3-1 are probably not situations that the parser has come across!

You could separate out the credit ranges per disc on there, or maybe @zoomorph thinks this is an edge case worthy of an update...

Hi frogworth,

Thanks for replying to my problem so quickly.

You suggest that "You could separate out the credit ranges per disc", how would I go about this?

I'd like to give it a try if possible, if not I'll wait and see if @zoomorph can suggest an alternative.

Appreciate the help.
Title: Re: foo_discogs
Post by: frogworth on 2019-10-08 01:07:05
You suggest that "You could separate out the credit ranges per disc", how would I go about this?

I'd like to give it a try if possible, if not I'll wait and see if @zoomorph can suggest an alternative.

Hi @hoopsa65,
I mean that you could edit the release on Discogs, and carefully change the credit.
Instead of:
1-16 to 2-6
write:
1-16 to 1-21, 2-1 to 2-6
and instead of:
2-16 to 3-1
write:
2-16 to 2-18, 3-1 to 3-15

Actually, now that I look at it, it's quite possibly not the ranges spanning discs.
It's more likely this:
2-16 to 3-1 to 3-15
That makes no sense. You could try simply removing "to 3-1" so it reads:
2-16 to 3-15

If you have not edited many Discogs entries in the past, your changes will probably be held until somebody approves them, so you may not be able to do it immediately.
Title: Re: foo_discogs
Post by: frogworth on 2019-10-08 01:09:36
@hoopsa65 I've gone and changed that one credit with the two ranges.
It's now got 2-16 to 3-15. See if that works better!
Title: Re: foo_discogs
Post by: hoopsa65 on 2019-10-08 01:14:07
@hoopsa65 I've gone and changed that one credit with the two ranges.
It's now got 2-16 to 3-15. See if that works better!

Still the same message appearing, should I give it some time or are the changes you made instant?
Title: Re: foo_discogs
Post by: frogworth on 2019-10-08 01:21:18
Still the same message appearing, should I give it some time or are the changes you made instant?
I think the changes should be immediate.

It could still be because of the ranges that start on one disc and finish on the next.
I'm reluctant to change that on Discogs, as there's no strong reason to do so.

I suggest we wait for @zoomorph to take a look.
Title: Re: foo_discogs
Post by: hoopsa65 on 2019-10-08 01:24:00
Still the same message appearing, should I give it some time or are the changes you made instant?
I think the changes should be immediate.

It could still be because of the ranges that start on one disc and finish on the next.
I'm reluctant to change that on Discogs, as there's no strong reason to do so.

I suggest we wait for @zoomorph to take a look.

Thanks frogworth, really appreciate the help.

Let's see if zoomorph can come up with something.
Title: Re: foo_discogs
Post by: 2tec on 2019-10-08 03:12:46
If you have not edited many Discogs entries in the past, your changes will probably be held until somebody approves them, so you may not be able to do it immediately.

Discogs edits now happen immediately and anyone with a Discogs account can edit a release. If some other user disagrees with the edit, they can choose to comment, vote or revert the change. Any edits have to conform to Discogs RSG (https://support.discogs.com/hc/en-us/articles/360004016474-Overview-of-Submission-Guidelines-for-Releases)
Title: Re: foo_discogs
Post by: hoopsa65 on 2019-10-08 17:01:57
If you have not edited many Discogs entries in the past, your changes will probably be held until somebody approves them, so you may not be able to do it immediately.

Discogs edits now happen immediately and anyone with a Discogs account can edit a release. If some other user disagrees with the edit, they can choose to comment, vote or revert the change. Any edits have to conform to Discogs RSG (https://support.discogs.com/hc/en-us/articles/360004016474-Overview-of-Submission-Guidelines-for-Releases)

I've updated the page on discogs and it is working fine now.

I'll know what to do in future.

Thanks for all the help.
Title: Re: foo_discogs
Post by: zoomorph on 2019-10-13 09:33:18
Discogs edits are immediate but the Discogs API can cache older info so sometimes you have to wait a few hours for the new info to come. foo_discogs also caches info so you'd need to clear the cached releases in the component settings (or restart foobar2000).
Title: Re: foo_discogs
Post by: GroovyWaves on 2019-10-25 21:11:17
Hi zoomorph,

First, thank you for continuing the development of that Foobar plugin, it probably is the best option to get the most metadata from Discogs nowadays.

I do vinyl restoration regularly and I was thinking about writing matrix / runout infos in audio files, I'm guessing it's not implemented in the plugin at the moment? I tested the "barcode" field for CDs and this works great though.

Seems like the field for vinyl is called "Matrix / Runout" in the Discogs API.
Correct, it's currently not available in foo_discogs. There can be multiple Matrix / Runout variants for a single release. Not sure how this should be handled.

Late reply on my end.

If there are matrix variants for a single release, I seem to recall each should be separated in its own release page. I don't think I've seen one release page with multiple matrix variants, but I could be wrong.
Title: Re: foo_discogs
Post by: zoomorph on 2019-10-28 04:36:48
Late reply on my end.

If there are matrix variants for a single release, I seem to recall each should be separated in its own release page. I don't think I've seen one release page with multiple matrix variants, but I could be wrong.
See: https://support.discogs.com/hc/en-us/articles/360005054893-Database-Guidelines-5-Barcodes-Identifiers

Quote
One edition of a release may have many different matrix numbers on individual copies - especially for major label releases. These are considered manufacturing variations for the purposes of cataloguing on Discogs, and not unique releases, so one Discogs 'release' may contain multiple variations in matrix numbers etc. For smaller releases, or in special cases, the matrix variation may indicate a unique release / edition, so please ask in the Database Forum Topic if in doubt.
Title: Re: foo_discogs
Post by: fuffi on 2019-11-17 11:22:56
Oh, very late reply, sorry!

@kode54

I'm on Win7 64Bit. (Both the VMs and my working computer).
Don't trust my User Agents as I use a lot of different browsers with a lot of different addons which -some of the time- will fake the User Agent/the OS.

If there ever is something special you or anybody else, that needs to be tested, you always can ask and I'll try to brute test it...

@fuffi It may also depend on which OS you're running foobar2000 on. I can't guess what you're running from your user agent, because that's kind of prying, and the two user agents I have seen from you don't agree completely.

Windows virtual machine? Which Windows? It may be a case of legacy Windows versions not being tested properly, if you're using the long out of support XP. It almost makes me wonder why Peter and I continue to build with the XP supporting toolchains, when at least I don't actually bother to do any testing to see if anything actually blows up there, and I don't know what Peter does for old OS testing, other than maybe doing some targeted testing when someone points out a bug.

@zoomorph

I know, that I'm out of the ordinary, when using your fine component. Most of the time (90% of 100%) if works very well and it is so damn useful, I couldnt live w/o it!
The other 10%, well, I'm trying to reproduce it as best and precice as I can, so others might reproduce it as well and we might track the cause down and maybe fix/improve the component. If not, well, 90% are being top when using a software nowadays! :-)

About the "not always returning country":
I pers. think, its not a problem with the API, but with your caching routine.
You can clearly see the country is shown at first, and after some clicking (no reloads from the API, just fooling around with some buttons in the component) the country vanishes.
Seems to me, that the concatenation of the used strings to be shown in the list of releases has a bug, when using cached information.

I also miss the useful info like CD, 2xCD, 3xCD,... in the list of releases. They appeared some months/years ago and suddenly vanished completely. (I'm not sure, if its a new boundary of the API, but it was very useful to filter all non-LP releases)


Thank you for testing. Strange....I don't know if something changed on the discogs side, because their API give and gave the correct result.
I just wasn't shown in the releases tab of the fine component.

I guess its the same strange phenomen in the component like here: https://hydrogenaud.io/index.php?topic=50523.msg967983#msg967983 (you clearly see it in the animated gif)

The component swallows some information retrieved from the cache under some unclear circumstances :-)
If it worked the first time, then it should continue to display the same result while the info is in the foo_discogs cache (unless there's a bug in foo_discogs). Not working 5 hours later suggests to me that some or all of the info was probably kicked out of the foo_discogs cache by then and so it was reloaded from the Discogs API. The Discogs API could have returned something different at that point, or there could be a bug in foo_discogs (ie. maybe something goes wrong if part of the data is cached while another part is reloaded).

It's always hard to investigate a bug that can't be reliably reproduced. This seems to happen rarely so perhaps it's not worth putting much effort into. I played around a little with a small cache size in foo_discogs, but wasn't able to trigger it.

As for that other one about the country being displayed in the find release dialog, I suspect that one is probably related to the Discogs API search endpoint sometimes returning country and sometimes not (at least that's how it used to be). The release endpoint, which is loaded after you press "Next>>", always returns country. So when the results are repopulated when you go back and change the filter, the new information is reflected there.

Title: Re: foo_discogs
Post by: mjm716 on 2019-12-03 00:45:05
Not sure if dev wants individual releases that cause errors, but here's one:

https://www.discogs.com/Sonny-Rollins-The-Freelance-Years-The-Complete-Riverside-Contemporary-Recordings/release/5315647
Title: Re: foo_discogs
Post by: fuffi on 2019-12-03 10:46:58
Not sure if dev wants individual releases that cause errors, but here's one:

https://www.discogs.com/Sonny-Rollins-The-Freelance-Years-The-Complete-Riverside-Contemporary-Recordings/release/5315647
That would be an:
Code: [Select]
(FATAL) Error: Error loading release 5315647: JSON Parser ExceptionError parsing release credits.

[ESCAPE to close]
error.

I guess, this is (on of the) the problematic part (taken from the credits part of the link you posted):
Code: [Select]
Thelonious Monk (tracks: 1-1 to 1-)
(The  "to 1-" which indicates, a  missing tracknumber)

Unfortunately, the fine component cannot do anything about it (otherwise it would lead to false tagging of your files), so you have to correct the release on the discogs site/db yourself or kindly ask in the discogs forum (https://www.discogs.com/forum/) anyone to do it.

Next time, please show us the error message too (not only the link to the release), so it is easier for us to guess the problem :-D
Title: Re: foo_discogs
Post by: fuffi on 2019-12-05 20:44:01
(f2k 1.5, but earlier version too and component Version: 2.20, Compiled: Aug  7 2019, but earlier versions too)

Today I'd like to show a screenshot of a greyed-out NEXT button. :-)

I had this from time to time (and when this is comming, its time to restart f2k, otherwise the finde component will cause a crash the next couple of invocations), but closing the Find Release window (via Cancel) and start the component again will help to reappear that NEXT button. So its not critical (the crash is, but its not reproducable. I guess, the more I have used the compoent = big cache and other stored things in RAM...)

The NEXT button is never greyed-out from the beginning (aka start of the fine component), I have to go to the Match Tracks windows and go back a few times and and check other releases too.

So its not really reproducable ...

Just wanted it to mention, maybe others can better reproduce or I'll find a way the next years :-)

Beside the (from time to time) crashes, I'm very thankful for such a usefull, solid and reliable helper here in foobar2000!!
Title: Re: foo_discogs
Post by: alec.tron on 2019-12-07 19:25:23
Hai.
Does anyone see anything on here:
https://www.discogs.com/Various-Confluencias-I-Selva/release/11123050
why track 2 & 4 would cause foo_discogs to spew out:
"(FATAL) Error: Error generating tag DISCOGS_ARTISTS_ALIASES [] for file file://D:\* *\02-Kraut feat. Bachan-Lentamente.flac

[ESCAPE to close]"
?

Cheers.
c.
Title: Re: foo_discogs
Post by: fuffi on 2019-12-07 22:02:41
why track 2 & 4 would cause foo_discogs to spew out:
"(FATAL) Error: Error generating tag DISCOGS_ARTISTS_ALIASES [] for file file://D:\* *\02-Kraut feat. Bachan-Lentamente.flac
Interesting...

My error is not in ALBUM ALIASES, but in ALBUM ARTISTS:

Code: [Select]
(FATAL) Error: Error generating tag ALBUM ARTIST [] for file file://E:\test\test.mp3

[ESCAPE to close]

Here is my code:
Code: [Select]
$multi_if($multi_and($any($contains($first(%<<RELEASE_FORMATS_DESCRIPTIONS>>%),$array(Compilation,Mixed))),$multi_greater($length($unique($flatten(%<<RELEASE_TRACKS_ARTISTS_NAME>>%))),$div(%RELEASE_TOTAL_TRACKS%,2)),$multi_greater($length($unique($flatten(%<<RELEASE_TRACKS_ARTISTS_REAL_NAME>>%))),$div(%RELEASE_TOTAL_TRACKS%,2))),Various Artists,$joinnames($multi_replace(%<RELEASE_ARTISTS_NAME>%,'Various','Various Artists'),%<RELEASE_ARTISTS_JOIN>%))

Lets compare it with your code, maybe we find the culprit...
but i guess, its the empty VARIOUS .... https://www.discogs.com/artist/194-Various
Title: Re: foo_discogs
Post by: frogworth on 2019-12-07 23:34:19
Hai.
Does anyone see anything on here:
https://www.discogs.com/Various-Confluencias-I-Selva/release/11123050
why track 2 & 4 would cause foo_discogs to spew out:
"(FATAL) Error: Error generating tag DISCOGS_ARTISTS_ALIASES [] for file file://D:\* *\02-Kraut feat. Bachan-Lentamente.flac"
If you click through on Bachan (2) and Yeahman!, both artists give 404 pages.
I've seen this happen now and again lately - I'm not sure how it would happen, because surely when they're listed on a release they would get an artist page of some sort, even if they have no releases other than appearing on this compilation?

Could be worth posting in the Discogs forums about them?
Title: Re: foo_discogs
Post by: alec.tron on 2019-12-08 08:30:06
If you click through on Bachan (2) and Yeahman!, both artists give 404 pages.
I've seen this happen now and again lately - I'm not sure how it would happen, because surely when they're listed on a release they would get an artist page of some sort, even if they have no releases other than appearing on this compilation?

Could be worth posting in the Discogs forums about them?
Good catch, thanks!
Will flag this on the forums and see what comes out of it.
Churs.
c.
Title: question about %RELEASE_SEARCH_FORMATS%
Post by: fuffi on 2019-12-22 17:41:04
Hi,
question about %RELEASE_SEARCH_FORMATS%,
used in
Find Release Window
configured via
Configuration->Searching Tab->Master Sub-release formatting string

short:
The formattingstrings output now shows:

"Raging Beauty, Stereo, Creative Tapes, none, Germany, 1984"

And I'd like to have

"Raging Beauty, Cassette, Stereo, Creative Tapes, none, Germany, 1984"

Is this possible?

long:
The "formats" shown in the json from this release https://api.discogs.com/releases/1285086

are "Stereo", C40, chrome" and "cassette",

but the fine component's default string only shows "Stereo".

So I'd like to change the formatting string, but cannot figue out, how to get the "cassette" string from the array.

My attemps with $join() or $zip() did not change anything...

Anyone an Idea?



Title: Re: foo_discogs
Post by: zoomorph on 2020-01-04 10:13:31
Hi,
question about %RELEASE_SEARCH_FORMATS%,
used in
Find Release Window
configured via
Configuration->Searching Tab->Master Sub-release formatting string
....
Good question. The %RELEASE_SEARCH_FORMATS% field comes from this API endpoint, since it's a master release:
https://api.discogs.com/masters/164846/versions

foo_discogs currently uses the "format" field. It looks like "Cassette" is not in there, but it's below in a "major_formats" field. I'm not sure if it was always this way or if they changed it.

For releases that aren't part of a master release, %RELEASE_SEARCH_FORMATS% comes from the artists/<id>/releases API endpoint. That endpoint still returns "Cassette" in the "format" field, there is no "major_formats" field.

foo_discogs would need to be changed to better support this.
Title: Re: foo_discogs
Post by: fuffi on 2020-01-10 19:08:32
foo_discogs would need to be changed to better support this.
Thanks for the reply/explanation!

So I cross my fingers, that some night, you wake up from an enlighten dream and know what to code :-D

Title: Re: foo_discogs
Post by: kohai_kuna on 2020-01-20 17:11:04
Hi guys, been using foo2k for years now with discogs tagger along to it. Recenty I formatted my PC, and installed foo2k with discogs but when i try to update the tags on files it always says access denied. I have tried every obvious solution I found on the webs but I cant make it work. Any luck here?
Title: Re: foo_discogs
Post by: DJRenFromDonFM on 2020-01-21 23:29:37
Sup y'all? I just jumped in here real quick to let you know that everything was working fine until the last 20 mins or so. I've been tagging for the past few days, using it until literally just now when the Discogs site said it was down shortly for maintenance. Sure enough, it came back online shortly after, but since then, the plugin no longer works.

It's not the first time Discogs have changed something to which you (bubblegumm and other rockstars like you) have to patch, but this is the first time I've personally seen it occur while I'm actually using it so maybe I'm just one of the first to notice this time.

I could be wrong; It could be something my end and if so I'll come back and say. But literally nothing's changed except Discogs shut down for a little while and now I'm getting exception errors.

(FATAL) Error: Network exceptionSecurity error (url: https://api.discogs.com/database/search)

[ESCAPE to close]

Title: Re: foo_discogs
Post by: Miltiades on 2020-01-22 07:11:42
The same here!
Title: Re: foo_discogs
Post by: refried on 2020-01-22 07:29:40
Sup y'all? I just jumped in here real quick to let you know that everything was working fine until the last 20 mins or so. I've been tagging for the past few days, using it until literally just now when the Discogs site said it was down shortly for maintenance. Sure enough, it came back online shortly after, but since then, the plugin no longer works.

It's not the first time Discogs have changed something to which you (bubblegumm and other rockstars like you) have to patch, but this is the first time I've personally seen it occur while I'm actually using it so maybe I'm just one of the first to notice this time.

I could be wrong; It could be something my end and if so I'll come back and say. But literally nothing's changed except Discogs shut down for a little while and now I'm getting exception errors.

(FATAL) Error: Network exceptionSecurity error (url: https://api.discogs.com/database/search)

[ESCAPE to close]

Same. It's something on their side that they've done. Maybe they messed up their TLS. I'd give it a couple days as I know yadg works still.
Title: Re: foo_discogs
Post by: fuffi on 2020-01-22 09:29:27
Yes, lets wait some days, meanwhile, thats the errornumber I get:
Code: [Select]
[10:25:34] foo_discogs: Networking Error: Network authentication error (80090326) - Retrying: 1
[10:25:37] foo_discogs: Networking Error: Network authentication error (80090326) - Retrying: 2
[10:25:39] foo_discogs: Networking Error: Network authentication error (80090326) - Retrying: 3
[10:25:41] foo_discogs: Networking Error: Network authentication error (80090326) - Retrying: 4
[10:25:44] foo_discogs: Networking Error: Network authentication error (80090326) - Retrying: 5
Title: Re: foo_discogs
Post by: DJRenFromDonFM on 2020-01-22 14:02:46
Meh. FWIW, I just updated foobar from 1.3 to 1.5 and foo_discogs from 2.14 to 2.20 but no change. Also did a Win7 update to enable TLS 1.1 and 1.2 (this has been an issue for some users in the past) but that did nothing either.

I get that these things happen and I might just have to wait it out but I'm so pushed for time I'm desperate to get this working again. For now, I'll keep trying. lol
Title: Re: foo_discogs
Post by: DJRenFromDonFM on 2020-01-22 19:36:41
So. I've just installed foobar on another (Win 10) machine and run a test and it's all working so I'm gonna pack up and move over to that station. I'd still like to resolve this, seemingly Win 7 issue on this machine, but at least I can continue for now.

I'll come back to this thread but before I go, I just wanted to say that I've tried, tested and learned a few things since this first happened... 

1. I mentioned bubbleguuum earlier because that's who I remember set this up initially, but I also wanna shout out zoomorph and anyone else who contributes to this free tool and others like it. And big up fuffi as well. You seem like you're very active and quick to help others on here. Thanks.

2. I followed all the steps to enable the TRS 1.2, but that doesn't seem to have worked. I did it from the official windows update file (http://www.catalog.update.microsoft.com/search.aspx?q=kb3140245) as well as manually and with another tool that was recommended. None of them worked.

3. it's not the system clock (fixed the issue for others).

4. It's not because I had my artwork set to fetch automatically 9fixed the issue for others).

The fact I literally watched it 'break' right after a Discogs maintenance update and the fact others are having the issue leads me to think it's something that got broken as opposed to something I broke. Not sure I can do any more except to tell you I'm running Win7 SP1 on a Bootcamped Macbook Pro. Same on the other machine except it's a Bootcamped iMac running Win10.

Anyway, i hope it gets resolved soon and thanks to everyone for all your efforts. This little 'event' reminded me just how vulnerable my system is as it relies on several key components to work and I have no alternative or backup if things go wrong. I've been doing it like this a long time and it just works. But because of that, I think I've become complacent as to how and why it works and it's reminded me how much I appreciate all that goes on behind the scenes.

This plugin is one of the best things on the Internet. And has been for many years. Thank you to all who keep it evolving. 
Title: Re: foo_discogs
Post by: fuffi on 2020-01-22 23:11:40
Thanks for summarizing all the possible flixes to get this fine component back to work, which are loose mixed in a lot of different posts here.

This plugin is one of the best things on the Internet. And has been for many years.
definately!
I second that!
Title: Re: foo_discogs
Post by: refried on 2020-01-22 23:52:06
Yeah, changing to a different OS just because discogs wants to be in cahoots with unnecessary TLS certs, or even microsoft for that matter (if it's the case) is stupendously ridiculous - and something I could see discogs staff doing as they're known assholes. I like this plugin, but there are fine alternatives if discogs just up and decided to give us the middle finger.

Also, the TLS registry change to 1.2  you were referring to is as follows (in a .reg file):

Code: [Select]
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Client]
"DisabledByDefault"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client]
"DisabledByDefault"=dword:00000000
Title: Re: foo_discogs
Post by: frogworth on 2020-01-23 01:01:48
Folks, if you're using Windows 7 your OS is now out of support.
The internet cannot be expected to continue to support out-of-date security protocols because you want to use an out-of-support OS.
You continue to use Windows 7 at your own risk.
Title: Re: foo_discogs
Post by: randomglen on 2020-01-23 01:26:44
Foobar2000 discogs tagging stopped working, ruining my life. Also I messed up my OAuth settings in Foobar while trying to troubleshoot this. How do I get a PIN CODE from discogs? It been 2 years since I authorized it I forgot everything.  I use foo_discogs component everyday and really hope it works soon. please help thanks
Title: Re: foo_discogs
Post by: fuffi on 2020-01-23 02:19:27
there are fine alternatives if discogs just up and decided to give us the middle finger.
Please, tell us more in detail.
Names, links. So we can check.
Title: Re: foo_discogs
Post by: DJRenFromDonFM on 2020-01-23 02:51:10
Also, the TLS registry change to 1.2  you were referring to is as follows (in a .reg file):
Yeah, thx. But mine already looks just like that and still nudda.

You continue to use Windows 7 at your own risk.
I hear you. And already have alternative systems for this very reason. But experience has taught me to only ever update when I'm forced to. And even then, I'll try and hang on as long as I can. It's caused me to finally try out the newer QT version though. It definitely has benefits, but operationally, I'm finding it more awkward than NS; like how I can't just sort a column by size -- got to try and setup filters instead. We'll see. I'll have to migrate over at some point so we'll see how this trial goes.

I messed up my OAuth settings in Foobar while trying to troubleshoot this. How do I get a PIN CODE from discogs? 
I think I did the same. Couldn't get it to work again after having messed with it. The good news is it's mad easy though (on a working system anyway).

Go to Settings>Applications in your Discogs Profile. Then either revoke the existing token, or go to 'Manage your applications and API keys here'. From here, you can generate tokens but I'm not 100% sure that applies here. It didn't seem to for me, earlier.

What I had to do (it's amazing how quickly you start to forget) was go to the Configuration>OAuth in foo_discogs and start from there.  Step 1. Click the Authorize button. That opened a page on Discogs that gave me a code (looks something like eFIGuJMGLc) which you then copy and paste into the field next to the button. Step 2 - press the 'Generate' button to populate step 2's fields. Step 3 - Test to see if it works. To help avoid confusion, you might wanna clear out all text boxes before starting. It's as easy as that though (unless I've mis-remembered something already).

Please, tell us more in detail.
Names, links. So we can check.
word. I don't know of ANY site that rivals Discogs. None of the other music databases I've tried or that tag editors often come compatible with come close to giving me the amount and type of info I need. I'd be screwed without it, as the past 24 hours have reminded me.
Title: Re: foo_discogs
Post by: DJRenFromDonFM on 2020-01-23 03:15:04
btw, I love the fact we can export and import our settings so easily. But while doing it I figured I'd ask about something I could never get to work right before.

I want the Label field to be populated, but I've noticed if it's set to $unique(%<RELEASE_LABELS_NAME>%) it doesn't work (or at least, they don't show up in another tag editor). However, if I paste the same string into the COPYRIGHT field, it shows up in the Copyright tag, as expected. This means I have to then use another tag editor which has a rare feature that lets you copy data from one tag file to another at the click of a button.

This works great but it's an extra step that I could do without. Plus you either have to go back and clean up the Copyright field or leave it falsely displaying the label name.

From what I can tell (but would love someone to confirm), there is no copyright info from Discogs, nor seemingly a way to display it in foo_discogs so in that sense, sacrificing the copyright field is a small price to pay. But I'd much prefer to set it all up properly in the first place.

Can anyone shed any light as to why this might be happening and how to fix it? I have a similar issue with getting the Cat No. field populated. I have t do it via the Composer field and then copy/paste as before. Thx
Title: Re: foo_discogs
Post by: refried on 2020-01-23 04:09:05
Folks, if you're using Windows 7 your OS is now out of support.
The internet cannot be expected to continue to support out-of-date security protocols because you want to use an out-of-support OS.
You continue to use Windows 7 at your own risk.

This is bullshit, and an assumption you have to rely on microsoft to protect you. I never update my OS from first install, and have zero problems. Zero. You don't update unless you have problems, or are simply prone to falling for traps. I don't have any problems.
Just because Microsoft decided to end their updates to patch holes in the ones they created in their operating system as they went, causing it to become more vulnerable, and bloated, and slow, doesn't suddenly mean that some how I, personally, am at risk...

Besides, I have another box dualed with 8/10 and it doesn't work there either. If discogs wants to be in league with MS then I'll just tag with musicbrainz, it's not that big a deal.

there are fine alternatives if discogs just up and decided to give us the middle finger.
Please, tell us more in detail.
Names, links. So we can check.

https://www.foobar2000.org/components/view/foo_musicbrainz is one. For "Album ID", if you want to use that, it's just the MBID under details on musicbrainz like so: https://musicbrainz.org/release/0916d462-2814-4f01-9c04-29c7723e48c2/details - or, it's just the number after the /release/. Unlike the discogs API, there's nothing special you have to handshake like with discogs (they don't log your actions)...
Title: Re: foo_discogs
Post by: frogworth on 2020-01-23 05:17:58
Besides, I have another box dualed with 8/10 and it doesn't work there either. If discogs wants to be in league with MS then I'll just tag with musicbrainz, it's not that big a deal.

Lol, enjoy
Title: Re: foo_discogs
Post by: refried on 2020-01-23 05:40:04
Besides, I have another box dualed with 8/10 and it doesn't work there either. If discogs wants to be in league with MS then I'll just tag with musicbrainz, it's not that big a deal.
Lol, enjoy

Lol, I will. (◔_◔)
Title: Re: foo_discogs
Post by: fuffi on 2020-01-23 12:04:42
there are fine alternatives if discogs just up and decided to give us the middle finger.
Please, tell us more in detail.
Names, links. So we can check.

https://www.foobar2000.org/components/view/foo_musicbrainz is one. For "Album ID", if you want to use that, it's just the MBID under details on musicbrainz like so: https://musicbrainz.org/release/0916d462-2814-4f01-9c04-29c7723e48c2/details - or, it's just the number after the /release/. Unlike the discogs API, there's nothing special you have to handshake like with discogs (they don't log your actions)...
Thats just one single alternative? And, its not really an alternative, its maybe a tiny addition (as a f2k component, I don't talk about picard or the MB-database itself).

To be honest, MB has good a lot of data, but the implementation into the f2k compoent is the worst (or better ridiculous) I ever seen and used. (No offence here to the developers or any user, its just my usecase which don't fit to such a poorly equipped software.)

One can use them, of course, but if you want to tag more than 5 Albums a day you're lost.

Search results suck. Most of the time, I get zero results. Not even a selection of similar searchterms. I have to go to the MB release page and copy the MBID manually and paste it into the component to get the correct tags. While this is easy possible, it takes too much time to work with.

There is NO flexibillity with the tags the component writes as in the discogs component. (Check the Formatting Strings and  Formatting Syntax from the fine discogs component! Hell, zoomorph did such a tremendous work here! Giving us the most flexibillity a f2k component has ever had! I have rarely seen such a flexibly configurable, fast, and robust software in commercial fields)

I could continue to rant, but this thread is not about ranting, its about supporting the fine discogs component. ;-D

And I don't have any usefull to add here (making the component work again), so I will wait a couple of days and cross my fingers that somebody find a solution for us all. Or at least, a workaround or something, which not results in upgrading the operating system to Win10....

Title: Re: foo_discogs
Post by: randomglen on 2020-01-23 19:04:49
What I had to do (it's amazing how quickly you start to forget) was go to the Configuration>OAuth in foo_discogs and start from there.  Step 1. Click the Authorize button. That opened a page on Discogs that gave me a code (looks something like eFIGuJMGLc) which you then copy and paste into the field next to the button. Step 2 - press the 'Generate' button to populate step 2's fields. Step 3 - Test to see if it works. To help avoid confusion, you might wanna clear out all text boxes before starting. It's as easy as that though (unless I've mis-remembered something already).

Ok thanks, I tried this and get the following when I click Authorize button

Error: Network exceptionNetwork authentication error (80090326)

Sorry a newbie here, don't know how to properly quote someone, but top was a previous reply I am responding too from DJRenFromDonFM
Title: Re: foo_discogs
Post by: zoomorph on 2020-01-24 00:15:51
It looks like there is a TLS handshake failure when attempting to connect. My guess is that Discogs disallowed all the TLS 1.2 ciphers supported by Windows 7. Maybe someone more knowledgeable about this can chime in.

Someone could try asking on the Discogs API forum. However, as was mentioned, they are assholes so I wouldn't be too hopeful about them helping.
Title: Re: foo_discogs
Post by: refried on 2020-01-24 00:18:36
One can use them, of course, but if you want to tag more than 5 Albums a day you're lost.
I've done more than 5 a day, so I'm not sure what you're having to do to where you'd be lost... grabbing tags is hardly a strenuous task or difficult with either of these components. I like discogs foobar tagger as much as everyone else, but I'm not going to change my damn OS for it, that's just plain stupidity.
I don't know what you're doing, and I'm not going to defend one component over another. You asked for an alternative, that's an alternative, and it works fine. They each do the job of tagging accurately. If it doesn't work for what ever you're doing than don't use it, what can I tell you - do what you're gonna do.

Title: Re: foo_discogs
Post by: refried on 2020-01-24 00:22:21
It looks like there is a TLS handshake failure when attempting to connect. My guess is that Discogs disallowed all the TLS 1.2 ciphers supported by Windows 7. Maybe someone more knowledgeable about this can chime in.

Someone could try asking on the Discogs API forum. However, as was mentioned, they are assholes so I wouldn't be too hopeful about them helping.
Would it be possible to ghost the header sent to them, I wonder. Like x-forwarding a different OS that can be specified directly into the component. Seems possible.
Title: Re: foo_discogs
Post by: refried on 2020-01-24 00:22:52

It looks like there is a TLS handshake failure when attempting to connect. My guess is that Discogs disallowed all the TLS 1.2 ciphers supported by Windows 7. Maybe someone more knowledgeable about this can chime in.

Someone could try asking on the Discogs API forum. However, as was mentioned, they are assholes so I wouldn't be too hopeful about them helping.
Would it be possible to ghost the header sent to them, I wonder. Like x-forwarding a different OS header that can be specified directly into the component. Seems possible.
Title: Re: foo_discogs
Post by: DJRenFromDonFM on 2020-01-24 01:28:26
It looks like there is a TLS handshake failure when attempting to connect. My guess is that Discogs disallowed all the TLS 1.2 ciphers supported by Windows 7. Maybe someone more knowledgeable about this can chime in.
Yeah, it has to be Discogs. It's like I literally watched them switch it off before my eyes. It would also explain why none of the previous fixes are working either. As much as I'd like to resolve it, I need to keep it moving so I'll do the work I need to do on the Win10 machine for now. Appreciate you chiming in though. Helps to confirm which way to go.
Someone could try asking on the Discogs API forum. However, as was mentioned, they are assholes so I wouldn't be too hopeful about them helping.
I vote refried. You seem like you got the right energy. Go give them some of that rah rah talk. :D
Title: Re: foo_discogs
Post by: DJRenFromDonFM on 2020-01-24 01:40:20
ok, so I've lived with and worked around this issue for years, but it's time to try and get to the bottom of it, as I'm clearly lacking some understanding here. Hoping someone can help. I've screen-shotted the process to hopefully make it a bit easier to convey and to identify what's going on.

01. foo_discogs: copyright and label tags being mapped
(https://i.ibb.co/Wf2kg1R/01-copyright-and-label-tags-being-mapped.png) (https://ibb.co/Wf2kg1R)

02. foo_discogs: data confirmed showing in foo prior to tagging
(https://i.ibb.co/tXVMbTW/02-data-showing-in-foo-discogs.png) (https://ibb.co/tXVMbTW)

03. Tag&Rename: data present is in the composer field but not the copyright field
(https://i.ibb.co/m4PhqvB/03-data-is-in-the-composer-field-but-not-the-copyright-field.png) (https://ibb.co/m4PhqvB)

04. Tag&Rename: the label and cat no tag should be populated but aren't
(https://i.ibb.co/PrvQJ94/04-the-label-and-cat-no-tag-should-be-populated-but-aren-t.png) (https://ibb.co/PrvQJ94)

05. VLC: some data has been passed to the tags, but some not
(https://i.ibb.co/ZcFvS5G/05-some-data-has-been-passed-to-the-tags-but-some-not.png) (https://ibb.co/ZcFvS5G)

06. VLC: data present in metadata, but not in tags
(https://i.ibb.co/6vdZHCS/06-data-in-metadata-but-not-in-tags.png) (https://ibb.co/6vdZHCS)

Just to confrim, these are mp3 files, though I regularly work with flac and mp4.
Title: Re: foo_discogs
Post by: refried on 2020-01-24 02:17:19
I vote refried. You seem like you got the right energy. Go give them some of that rah rah talk. :D
I appreciate the vote of confidence, haha. But, I've tried to work with them while helping build yadg, and they are just unbelievably stubborn, arrogant and anal retentive. They will not budge even when it comes to simple things like proper song titles. For instance, if a title is lowercase or a word in it is lowercase, literally by the artist, they change it to upper case to follow their half-assed guidelines - causing the majority of tags that people get from them to be incorrect.
They're just a nightmare, and the only way to circumvent their horseshit is to make work-a-rounds from your end. This is why I'm contemplating a spoof header so they think it's a different OS for the handshake to get information. But I can't do that, bubbleguuum would.

It's strange, my python script to grab information: https://pastebin.com/raw/hk7ajVbt
Works fine from a non win8-10 OS. Which leads me to believe that their paranoia is in league with MS and targeting the TLS handshake directly from an OS below win8, and in what ever manner the component is using.



Title: Re: foo_discogs
Post by: zoomorph on 2020-01-24 04:24:23

It looks like there is a TLS handshake failure when attempting to connect. My guess is that Discogs disallowed all the TLS 1.2 ciphers supported by Windows 7. Maybe someone more knowledgeable about this can chime in.

Someone could try asking on the Discogs API forum. However, as was mentioned, they are assholes so I wouldn't be too hopeful about them helping.
Would it be possible to ghost the header sent to them, I wonder. Like x-forwarding a different OS header that can be specified directly into the component. Seems possible.
At the TLS level I don't think they know what OS you have, they just know what ciphers you support and if you don't support the ones they allow, no connection would be possible.

This site analyzes and shows what they allow:
https://www.ssllabs.com/ssltest/analyze.html?d=api.discogs.com
Looks like 3 cipher suites for TLS 1.2, none of which are available in Windows 7.

foo_discogs could use its own libraries instead of using the foobar2000 SDK which uses the Windows built-in functions, if it was really important to support Windows 7 and other older OSes, like Chrome and Firefox which is why they work fine. But that seems like a lot of unnecessary bloat for a foobar2000 component, and there's probably no good reason Discogs can't just allow this to work. Maybe there's some way to add newer ciphers to Windows 7, I don't know.
Title: Re: foo_discogs
Post by: zoomorph on 2020-01-24 04:29:29
duplicate
Title: Re: foo_discogs
Post by: DJRenFromDonFM on 2020-01-24 05:07:56
Another update: I knew the act of putting it out there and asking for help would make me want to do more to look into it myself. Not only so I don't look TOO foolish but mainly so I'm not wasting the time of anyone good enough to try and help.

So on that note, ignore me for now. i need to start over. I've already learned more since making all these posts and have alredy changed my mind about some of that I've said.

i.e. apparently, there is no Label tag as such in ID3v2. It's Publisher. It just so happens that the other tag editor I use (tag&rename) has options to include an unofficial Label tag which I've been using, but am now questioning the point for if t&r is the only app that can read it. Some people seem to think it stores them in the comments, but since they're not visible in the comments field in any other program (or even tag&rename), I can't see how.

If anyone's familiar with t&r and can shed some light on some of its quirks or more advanced options I'd appreciate it, but otherwise I need to look that up separately and focus this chat on foo_discogs.

I've also got to learn more about the difference between the different formats and their tagging conventions so I can come up with an all in one solution, or at least know to use slightly different scripts in order to acheive the same thing across formats. What works with mp3s won't work for flacs, so I need to eventually come up with a system that caters for both and it would help if I understood the differences better.

Anyway, I'll try looking into this all a bit more. Although this foobar/foo_discogs combination is super-customisable, fast and powerful, and arguably the best tool I've ever used for this purpose, it's probably the least user-friendly out of them all or at least has a steeper learning curve and requires a depth of understanding beyond mine to really get the best out of it.

The documentation on the plug in is helpful (I can see that I'm eventually going to learn a lot from that syntax page), but the rest iss a bit sparse or outdated, though I'm sure some more digging through the forums will be time well spent. Wish me luck.

Peace.
Title: Re: foo_discogs
Post by: refried on 2020-01-24 05:57:56
But that seems like a lot of unnecessary bloat for a foobar2000 component, and there's probably no good reason Discogs can't just allow this to work. Maybe there's some way to add newer ciphers to Windows 7, I don't know.
You're right. And I'm willing to bet dollars to donuts they will not do this. They could easily make it work and unless someone lit a candle under their asses, they won't. I was looking about and realized people have been trying to get TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 & TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 into windows 7 for like 5 years and MS refused. They are, however, in 08 server. Maybe something will turn up that you can tweak it into win7&8, or discogs gets their heads out of their asses, but I doubt it the latter.
Title: Re: foo_discogs
Post by: xsdaver on 2020-01-24 11:39:08
I don't see where it states in this thread that Windows 7 is the problem but that seems to have been accepted as the issue.  Can someone verify that the plug-in is working with W10?
Title: Re: foo_discogs
Post by: Miltiades on 2020-01-24 13:04:59
I don't see where it states in this thread that Windows 7 is the problem but that seems to have been accepted as the issue.  Can someone verify that the plug-in is working with W10?

+1 ...and/or if someone can verify that it doesn't working under Win10?
Title: Re: foo_discogs
Post by: DJRenFromDonFM on 2020-01-24 13:12:53
Definitely working for me now on Win10
Title: Re: foo_discogs
Post by: xsdaver on 2020-01-24 13:35:06
Definitely working for me now on Win10

Well that does suck, at least for those of us that choose not to leave W7.
Title: Re: foo_discogs
Post by: DJRenFromDonFM on 2020-01-24 15:20:19
Yeah; seems to be affecting Win8 too.
https://community.mp3tag.de/t/discogs-failed-to-authenticate-error/47597/23
Title: Re: foo_discogs
Post by: Alexander Ostuni on 2020-01-24 15:43:06
fer me it works as well on 10
Title: Re: foo_discogs
Post by: Miltiades on 2020-01-24 15:50:26
I think that all the "oldies (but goodies)" of us we need a discogs plugin which doesn't need/use the fb2k/IE/Win7 TLS settings, but his own, just i.e. other browsers use under Win7-systems.
Title: Re: foo_discogs
Post by: Oby on 2020-01-24 21:26:56
Latest news on discogs side regarding this "granny has issue" problem, are:
Discussion: https://www.discogs.com/forum/thread/809470
And obviously good news: https://www.discogs.com/forum/thread/809378?page=1#8040266
Title: Re: foo_discogs
Post by: refried on 2020-01-24 23:26:24
Well that does suck, at least for those of us that choose not to leave W7.

Actually, on windows 7 it works again today. A lot of people (myself including, but I won't tell you my "super secret" discogs nick) have been hassling them on their forums:
https://www.discogs.com/forum/thread/809470 & here https://www.discogs.com/forum/thread/809378 specifically.

Try to remove your current app key on discogs, and then reauth from scratch in the discogs tagger config to see if you can get it going again.

*Clinch your butt cheeks, 'cause who knows how long it'll last.
Title: Re: foo_discogs
Post by: Miltiades on 2020-01-25 08:08:25

Try to remove your current app key on discogs, and then reauth from scratch in the discogs tagger config to see if you can get it going again.
[/quote]

Good news!
Thank You refried for all Your efforts.
For me it's working again under Win7 and the latest fb2k.
 
May I have please a question?
Do You think is it necessary to remove my old key on discogs-website and then reauth in the discogs-tagger-config?
Title: Re: foo_discogs
Post by: refried on 2020-01-25 11:06:15
Try to remove your current app key on discogs, and then reauth from scratch in the discogs tagger config to see if you can get it going again.

Good news!
Thank You refried for all Your efforts.
For me it's working again under Win7 and the latest fb2k.
 
May I have please a question?
Do You think is it necessary to remove my old key on discogs-website and then reauth in the discogs-tagger-config?

Not if it's already working, no. They rolled back on their end, so if you're back up and running no need to redo it unless it errors.
Title: Re: foo_discogs
Post by: Miltiades on 2020-01-25 18:40:22
Many thanks for Your quick response refried!
Yes, it's already working fine.
Title: Re: foo_discogs
Post by: randomglen on 2020-01-25 18:55:14
It's working for me today! I'm on windows 7, I did a re-authorization and no problems. Tagging away and very happy again! Read previous threads on this working again and cant figure out why or who fixed it, but whoever is responsible thank you so much!
Title: Re: foo_discogs
Post by: fuffi on 2020-01-25 20:37:47
It's working for me today! I'm on windows 7, I did a re-authorization and no problems.
I didn't change anthing and it just worked as if it has never stopped ;-)
Title: Re: foo_discogs
Post by: DJRenFromDonFM on 2020-01-30 13:59:38
Hey all, hoping someone can help me out with a bit of scripting. I've had a look at the syntax help page but I can't fully make it out.

With certain genres (Drum n Bass, Jungle, House etc), Discogs lists the genre simply as Electronic, so I mapped my tags to take the info from Styles instead (i.e. %<RELEASE_STYLES>%). This works just fine. But with other genres (like Hip Hop), Discogs actually lists the genre as Hip Hop and the styles field is blank. But of course my current script returns an empty genre tag, as Styles is empty. So what I need is a bit of code that does one of two things:

1) If Genre = Electronic, display Styles instead, or
2) If Styles is not blank, display styles, otherwise display Genre.

Something like this, anyway. I'm sure I could figure it out eventually but if someone could help, I'd really appreciate it. Thanks.
Title: Re: foo_discogs
Post by: zoomorph on 2020-01-31 18:11:00
2) If Styles is not blank, display styles, otherwise display Genre.
Code: [Select]
$ifequal($count(%<RELEASE_STYLES>%),0,%<RELEASE_GENRES>%,%<RELEASE_STYLES>%)
Title: Re: foo_discogs
Post by: DJRenFromDonFM on 2020-02-01 01:34:21
Thank you so much! This is exactly what I've asked for, except now that I've tried it out on several release types, I've realised a better and simpler way to do it would be to combine both Genre AND Style, rather than selecting or omitting one or the other.

I figure this would be some sort of $join command but it would also have to take into account whether the genre or the syles fields are populated or not, so that it works regardless how 'complete' the release is. I'll also need the delimiters between the fields to be commas so that they're compatible with my subsequent scripts.

So in the case of an EDM release, the Genre tag would ultimately read 'Electronic, Jungle' for example, whereas for Hip Hop it might read as 'Hip Hop, Conscious'. Again though, I just don't understand it enough to do it. Think you could help?

Sorry to mess you about, but to show my appreciation, I'd like to make a donation. Is your pp still jsilver.pmc@gmail.com?
Title: Re: foo_discogs
Post by: zoomorph on 2020-02-03 21:14:05
Thank you so much! This is exactly what I've asked for, except now that I've tried it out on several release types, I've realised a better and simpler way to do it would be to combine both Genre AND Style, rather than selecting or omitting one or the other.

I figure this would be some sort of $join command but it would also have to take into account whether the genre or the syles fields are populated or not, so that it works regardless how 'complete' the release is. I'll also need the delimiters between the fields to be commas so that they're compatible with my subsequent scripts.

So in the case of an EDM release, the Genre tag would ultimately read 'Electronic, Jungle' for example, whereas for Hip Hop it might read as 'Hip Hop, Conscious'. Again though, I just don't understand it enough to do it. Think you could help?
This would return all genres and styles in a single array:
Code: [Select]
$extend(%<RELEASE_GENRES>%,%<RELEASE_STYLES>%)

Which would get written as multiple values to the tag. If you want to write them as a single string value that is comma separated, then:
Code: [Select]
$join($extend(%<RELEASE_GENRES>%,%<RELEASE_STYLES>%))

Sorry to mess you about, but to show my appreciation, I'd like to make a donation. Is your pp still jsilver.pmc@gmail.com?
Yes you can donate there. Thanks. :-)
Title: Re: foo_discogs
Post by: zoomorph on 2020-02-03 21:15:09
duplicate
Title: Re: foo_discogs
Post by: DJRenFromDonFM on 2020-02-06 00:02:34
All done. Thanks again.
Title: Re: foo_discogs
Post by: DarkSol on 2020-03-04 23:37:23
Maybe someone can help me because I am seriously puzzled on what to do.  I want to set an album list view that is by release country

I've done the following:
Code: [Select]
%<release_country>%|[%album artist% - ]%album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title%

But all that comes up is a ? for the release country.  I see countries in <DISCOGS_COUNTRY> tags for my music.

Am I doing something wrong?
Title: Re: foo_discogs
Post by: mjm716 on 2020-03-05 04:11:09
Am I doing something wrong?

Code: [Select]
[%<DISCOGS_COUNTRY>%]|[%album artist% - ]%album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title%
Title: Re: foo_discogs
Post by: DarkSol on 2020-03-06 01:01:48
Am I doing something wrong?

Code: [Select]
[%<DISCOGS_COUNTRY>%]|[%album artist% - ]%album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title%

Cool! That sort of works.  If I click "Album List / Media Library view", I see a list of countries, but I don't see it in the main foobar window itself.

Any more tips would be appreciated, of course. :-[


Edit: Figured it out. It also needed to go in Album List Panel. Derrrrp!
Title: Re: foo_discogs
Post by: Sea Monkey on 2020-03-24 03:39:52
Is there a way to change the formatting string for the field mappings so it's conditional?  I'd like DISCNUMBER and TOTALDISCS to only be written if TOTALDISCS > 1.
Title: Re: foo_discogs
Post by: alec.tron on 2020-03-31 14:32:32
From yonks ago...:

...
Tag Name
Formatting String


TEMP_feat
$pput(feat,$filter($flatten($multi_if($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),'Featuring')),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$joinnames($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$get(aj)),$get(an)),)),))


TEMP_rmx
$pput(rmx,$filter($flatten($multi_if($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),'Remix')),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$joinnames($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$get(aj)),$get(an)),)),))


TITLE
%TRACK_TITLE%$if($any($pget(feat)),' (Ft. '$join($pget(feat))')',)$if($any($pget(rmx)),' ( '$join($pget(rmx))' Remix)',)


TEMP_feat

TEMP_rmx

Yup. And you don't actually need any temp tags, you could just put it all in one tag, unless you find it too unwieldy.

If anyone feels in a syntax-helpy-mood for the foobar-scripting-syntax-handicapped such as me....
I still do use the above 5 line & 2 empty fields to store & apply feat & remixer info.
The one annoyance I found with this is - if there's a release, that has Remixer Credits, as well as the remixer in the track title.... so as an example, with the above, and for this release:
https://www.discogs.com/Fauna-Flash-Confusion-The-Fusion-Mixes/release/82935

I end up with a double ups, like:
C1
Alone Again (Dixon's Stripped Down Dub) (Steffen "Dixon" B. Remix)
D2
Ten (Pole Remix) (Pole Remix)

So I've been trying to think how to best avoid this. And the next best approach would probably to string it into an IF... but, from how it looks, the foo_discogs IF syntax can only IF between an empty and a filled string... which means, no wildcard matching, i.e. IF '*remix*' is already in title...
Would anyone have a suggestions at how to 'put it all in one tag' and/or avoid the double up liek the above...?
Churs.
c.
Title: How to set Album Art for CDS?
Post by: Bassquake on 2020-04-04 12:49:50
Hi

I'm trying to have Album Art work for CDs. For some reason discogs_foo can show track names of the CD so it's storing that info somewhere, but not the album art. It complains it can't write to the folder when I attempt to Update Album Art which seems to default to the CD directory.

So I tried the following:

Went to discogs_foo configuration (Right click a track and go to Tagging > Discogs > Configuration... > Artwork tab) and set a path for the Album Art to:
C:\Temp\%ARTISTS_NAME% - %RELEASE_TITLE%
and set prefix to:
cover
So far so good. It creates the folder and downloads a cover.jpg when I use the Update Album/Artist Art option.

But then I try setting the path for Columns UI in the Artwork tab of FooBars Preferences to:
C:\temp\%album artist% - %album%
Also tried C:\temp\%album artist% - %album%\cover.*
But nothing shows.

Built-in foobar2000 artwork reader mode is set for Embedded and external artwork. And the "Provide artwork to other artwork viewers" is ticked under Biography Server Misc tab.

What gives?

Would be much easier if the discogs_foo could save the album art where the track details are kept if it can't write to the albums directory such as a CD or write only drive.

Help appreciated.
Title: Re: foo_discogs
Post by: a3aan on 2020-04-04 12:58:21
I've got an '(FATAL) Error: Error parsing discs/tracks' for this one: https://www.discogs.com/release/6917812 (https://www.discogs.com/release/6917812). Cheers.
Title: Re: foo_discogs
Post by: DJRenFromDonFM on 2020-04-05 01:36:49
^I've got a similar issue with the following release:
https://www.discogs.com/Silver-Bullet-Bring-Down-The-Walls-No-Limit-Squad-Returns/release/2775423

Except mine says:
(FATAL) Error: Error loading release 2775423: JSON Parser ExceptionError parsing release credits.

Any ideas? Thanks
Title: Re: foo_discogs
Post by: zoomorph on 2020-04-05 05:06:53
foo_discogs 2.21:
* New options to embed album/artist artwork
** Currently only saves the first release image as the front cover and the first artist image as the artist
** Note: If you want to save for each artist of compilation, set the titleformatting string for artist IDs to %DISCOGS_ARTIST_ID%
* Fix the bug mentioned in post above
* Upgraded to the latest SDK version. This means foo_discogs will no longer be backwards compatible with old foobar2000 versions.
Title: Re: foo_discogs
Post by: zoomorph on 2020-04-05 05:08:58
^I've got a similar issue with the following release:
https://www.discogs.com/Silver-Bullet-Bring-Down-The-Walls-No-Limit-Squad-Returns/release/2775423

Except mine says:
(FATAL) Error: Error loading release 2775423: JSON Parser ExceptionError parsing release credits.

Any ideas? Thanks
That error means release credits on the release are not entered in a valid way as per the guidelines. So you would need to fix the release credits, then wait for the API to serve the updated version, then try again.
Title: Re: foo_discogs
Post by: marc2k3 on 2020-04-05 05:20:43
Just tried the latest 2.21,

Quote
Failed to load DLL: foo_discogs.dll, reason: Not a valid Win32 application.

foobar2000 v1.5.3, Windows 10 1909
Title: Re: foo_discogs
Post by: lvqcl on 2020-04-05 10:56:52
It requires MSVCR120.DLL and MSVCP120.DLL.
Download and install https://support.microsoft.com/en-us/help/4032938/update-for-visual-c-2013-redistributable-package
Title: Re: foo_discogs
Post by: marc2k3 on 2020-04-05 11:19:23
Thanks.

The album art embedding can be improved by using file_lock_manager from the SDK which lets you update the playing track. Currently, you get an exception dialog.
Title: Re: foo_discogs
Post by: Bassquake on 2020-04-05 12:54:07
Hi

I'm trying to have Album Art work for CDs. For some reason discogs_foo can show track names of the CD so it's storing that info somewhere, but not the album art. It complains it can't write to the folder when I attempt to Update Album Art which seems to default to the CD directory.

So I tried the following:

Went to discogs_foo configuration (Right click a track and go to Tagging > Discogs > Configuration... > Artwork tab) and set a path for the Album Art to:
C:\Temp\%ARTISTS_NAME% - %RELEASE_TITLE%
and set prefix to:
cover
So far so good. It creates the folder and downloads a cover.jpg when I use the Update Album/Artist Art option.

But then I try setting the path for Columns UI in the Artwork tab of FooBars Preferences to:
C:\temp\%album artist% - %album%
Also tried C:\temp\%album artist% - %album%\cover.*
But nothing shows.

Built-in foobar2000 artwork reader mode is set for Embedded and external artwork. And the "Provide artwork to other artwork viewers" is ticked under Biography Server Misc tab.

What gives?

Would be much easier if the discogs_foo could save the album art where the track details are kept if it can't write to the albums directory such as a CD or write only drive.

Help appreciated.

Fixed by adding:
c:\Temp\%artist% - %album%\cover.jpg
To the Preferences > Display then Album art Front cover search patterns.
Title: Re: foo_discogs
Post by: zoomorph on 2020-04-05 19:31:14
Thanks.

The album art embedding can be improved by using file_lock_manager from the SDK which lets you update the playing track. Currently, you get an exception dialog.
Thanks for the recommendation. The next version of foo_discogs will use this.

People who embed artwork are welcome to provide feedback if this feature needs more work. foobar2000 seems to support front/back/artist/disc/icon embedded images. Discogs can have many images for a release but we can only guess the front cover (first image). It could be possible to embed more images outside of those 5 that foobar2000 supports, as well, if desired.
Title: Re: foo_discogs
Post by: fuffi on 2020-04-06 20:50:43
People who embed artwork are welcome to provide feedback if this feature needs more work. foobar2000 seems to support front/back/artist/disc/icon embedded images. Discogs can have many images for a release but we can only guess the front cover (first image). It could be possible to embed more images outside of those 5 that foobar2000 supports, as well, if desired.
Thank you,
in the meantime, it would be very helpful to add two options only available in the prefs window to the "update art" feature (see screenshot).
that'll save some time looking for the right images. Not always going to the prefs when you want to only download a single image or vice versa  :-D

Title: Re: foo_discogs
Post by: fuffi on 2020-04-07 17:12:30
there must be something new within the artwork fetching process.
before the componets update, it saved only 1 image for a release, now it is fetching an image for each selected file.

how can I set up the old behaviour, only save 1 image, regardless of how much files (of a release, aka discogs_id) are selected?

(downgrading the component is a workaround to archieve the old behaviour.)
Title: Re: foo_discogs
Post by: fuffi on 2020-04-07 18:57:12
also, when writting filenames which contain like "Надежда" it does not write but skips foreign chars
filename:
Code: [Select]
01. «Эй, моряк» (из кф «Человек-а.mp3
will be
Code: [Select]
01. ,  (  -_cover1.jpg
where _cover1.jpg is my suffix.

I would expect the same filename for the image :
01. «Эй, моряк» (из кф «Человек-а.mp3
will be
01. «Эй, моряк» (из кф «Человек-а _cover1.jpg
Title: Re: foo_discogs
Post by: zoomorph on 2020-04-08 02:29:54
foo_discogs 2.22:
* Fix embedding artwork in active playing file
* Fix unicode characters being removed from file names
* Fix writing duplicate images for every track (if path+file name is the same, it will now be skipped)
Title: Re: foo_discogs
Post by: Der Internet on 2020-04-08 18:41:46
is it intended that only the first file of a release get a picture embedded? would be nice  if all files would be included. thank you very much for your work, i'm using your plugin since forever!
Title: Re: foo_discogs
Post by: zoomorph on 2020-04-08 23:00:09
is it intended that only the first file of a release get a picture embedded? would be nice  if all files would be included. thank you very much for your work, i'm using your plugin since forever!
The intent is to embed in all files. Currently there is a bug where, if you are also saving images to directory, it only embeds in the first file. This will be fixed in the next release. Thanks.
Title: Re: foo_discogs
Post by: fuffi on 2020-04-09 08:54:05
Hello,

I'm now using:
Version: 2.22
Compiled: Apr  7 2020
(my settings are in the screenshot)

is it intended that only the first file of a release get a picture embedded? would be nice  if all files would be included. thank you very much for your work, i'm using your plugin since forever!
The intent is to embed in all files.
I really would have the fine component to save ONLY ONE single file for each album (bound with %discogs_id%) as it was the behaviour in the first place and I have not to delete 30 fetched images files on a 31 track album.

Typicly, I embedd those single image as a front cover, but as you can never be sure, those images are of good/bad/sad quality, I save those images to the albums directory and check the image file manually.

Now, I have to delete a lot of duplicates and this is a lot of unnecessary work to do. (Imagine 200 albums to tag with the fine component a day, which have 30 tracks each and the fine component is now saving 30*200 files instead of 1*200 files...
take into consideration the amount of time to delete those space/time consuming files.

And thats only, if the settings for the current album are to fetch only the first image. if you select to fetch all images, what amount of files would it be?
With the new version of the fine component, I noticed a remarkable lag (1-3secs) before finishing an album. That seems to be the case, because of the fetchhing and writting 30 imagefiles to my harddrive instead of just a single imagefile.

It would be great, (because other users prefer to save images for each file and not just a single one) to make this choice (1 image or 30 images) optional in the settings anywhere.



Title: Re: foo_discogs
Post by: fuffi on 2020-04-09 11:32:53
When updating images (via the screenshotted dialogue-popup), the fine component also fetches redundant images.

When selecting 4 files of an album (same %discogs_id%) 4 identical images are fetched, but for my usecase it should only be 1 image.

how can I set up the component to only fetch a single image?

I don't have enabled "save  all images" in configuration->artwork.
Title: Re: foo_discogs
Post by: Bassquake on 2020-04-09 21:19:24
I can't get the plugin to pull artist images. Album art works.

Its not recognising the tags I put in the directory settings. Its putting "/? - ?" in the file path.

https://ibb.co/S6RL5Q7

The configuration is set as:

https://ibb.co/xMx4j2v

The directory is set as:

C:\Temp\Album Art\%ARTISTS_NAME% - %RELEASE_TITLE%

It's exactly the same as the Album Art directory which works fine so not sure what's going on or if it's a bug.

Edit:
Versions:
Windows 10
Foobar v1.5.3
discogs_foo v2.22
Title: Re: foo_discogs
Post by: r0lZ on 2020-04-10 08:39:44
I'm getting this when f2k starts:
Code: [Select]
Failed to load DLL: foo_discogs.dll
Reason: This component is missing a required dependency, or was made for different version of foobar2000.
As suggested by lvqcl, I have tried to install the update-for-visual-c-2013-redistributable-package, but I cannot.  The installer complains that this update cannot be installed on my system.  If I understand correctly, it applies to Visual Studio, that is not installed on my system.

Note that the previous version of foo_discogs did not trigger that error.  I'm using Win10 Pro with all official updates installed, and f2k v1.5.3.
Title: Re: foo_discogs
Post by: r0lZ on 2020-04-10 08:48:24
OK, I've found the problem.  I was just missing Visual C++ Redistributable Package 2013 x86, found here: https://www.microsoft.com/en-us/download/details.aspx?id=40784
There is no need (for me) to install the update.

Not sure it's possible with a f2k component, but when a dependency is missing, the program should offer to install it.  Currently, installing the tagger is the obstacle course.
Title: Re: foo_discogs
Post by: zoomorph on 2020-04-10 21:27:45
When updating images (via the screenshotted dialogue-popup), the fine component also fetches redundant images.

When selecting 4 files of an album (same %discogs_id%) 4 identical images are fetched, but for my usecase it should only be 1 image.

how can I set up the component to only fetch a single image?

I don't have enabled "save  all images" in configuration->artwork.

Could you remove %filename% from the name? That will result in a different path for each file, resulting in saving the same image to multiple files.
Title: Re: foo_discogs
Post by: zoomorph on 2020-04-10 21:54:31
I can't get the plugin to pull artist images. Album art works.

Its not recognising the tags I put in the directory settings. Its putting "/? - ?" in the file path.

https://ibb.co/S6RL5Q7

The configuration is set as:

https://ibb.co/xMx4j2v

The directory is set as:

C:\Temp\Album Art\%ARTISTS_NAME% - %RELEASE_TITLE%

It's exactly the same as the Album Art directory which works fine so not sure what's going on or if it's a bug.
Currently, ARTISTS (shortcut for RELEASE_ARTISTS) isn't available in the album art formatting string as RELEASE isn't available, only ARTIST is available. This will be changed in the next release so it will work.
Title: Re: foo_discogs
Post by: zoomorph on 2020-04-10 21:57:19
OK, I've found the problem.  I was just missing Visual C++ Redistributable Package 2013 x86, found here: https://www.microsoft.com/en-us/download/details.aspx?id=40784
There is no need (for me) to install the update.

Not sure it's possible with a f2k component, but when a dependency is missing, the program should offer to install it.  Currently, installing the tagger is the obstacle course.
I suspect that is due to the latest foobar2000 SDK which is now being used by the plugin, but I am not sure about that. Maybe another developer more familiar with Windows could chime in.
Title: Re: foo_discogs
Post by: Case on 2020-04-11 06:30:22
The SDK defaults to dynamic C runtime linking. Since foobar2000 v1.4 the Visual C++ 2015-2019 runtimes have been bundled by the player. But they only help if you use Visual Studio 2015 or newer. If you use older Visual Studio it's recommended you change the C/C++ -> Code Generation -> Runtime Library setting to "Multi-threaded (/MT)" to statically link the required libraries to the component.
Title: Re: foo_discogs
Post by: fuffi on 2020-04-11 07:34:52
When updating images (via the screenshotted dialogue-popup), the fine component also fetches redundant images.

When selecting 4 files of an album (same %discogs_id%) 4 identical images are fetched, but for my usecase it should only be 1 image.

how can I set up the component to only fetch a single image?

I don't have enabled "save  all images" in configuration->artwork.

Could you remove %filename% from the name? That will result in a different path for each file, resulting in saving the same image to multiple files.
Thank you, I had tried this, but, it seems to break my other scripts, relaying to *_cover.jp*g when adding artwork to the files. (i.e. Screenshot BatchAttachPicture) (The script is meant to search for an imagefilename, with the same name as the musicfile, if found, it takes that imagefile to embed it into all selected files. If no imagefile with the same name is found, it searches for more generic filenames to use for embedding)

Saving an image to, say, cover.jpg will overwrite all existing cover.jpg in the same directory, which should not be overwritten. Thats why I choosed a pattern like %filename%*_cover.jp*g to have only the images overwritten, which are precisely for those DISCOGS_IDs, I have selected in f2k. (Unfortunately, not all files with different DISCOGS_IDs are in different folders, which would help with using a generic image-filename like cover.jpg.

I'm not 100% sure, how I can benefit from the new handling of the fine component, but I'm willing to change my workflow, if needed. If I could only realize how 8-)

Also, if there would be an option in the components settings which allow the user to choose to either save a single imagefile for each DISCOGS_ID (as it was before the components update) or to save multiple imagefiles, that could help :)
Title: Re: foo_discogs
Post by: zoomorph on 2020-04-11 12:08:57
When updating images (via the screenshotted dialogue-popup), the fine component also fetches redundant images.

When selecting 4 files of an album (same %discogs_id%) 4 identical images are fetched, but for my usecase it should only be 1 image.

how can I set up the component to only fetch a single image?

I don't have enabled "save  all images" in configuration->artwork.

Could you remove %filename% from the name? That will result in a different path for each file, resulting in saving the same image to multiple files.
Thank you, I had tried this, but, it seems to break my other scripts, relaying to *_cover.jp*g when adding artwork to the files. (i.e. Screenshot BatchAttachPicture) (The script is meant to search for an imagefilename, with the same name as the musicfile, if found, it takes that imagefile to embed it into all selected files. If no imagefile with the same name is found, it searches for more generic filenames to use for embedding)

Saving an image to, say, cover.jpg will overwrite all existing cover.jpg in the same directory, which should not be overwritten. Thats why I choosed a pattern like %filename%*_cover.jp*g to have only the images overwritten, which are precisely for those DISCOGS_IDs, I have selected in f2k. (Unfortunately, not all files with different DISCOGS_IDs are in different folders, which would help with using a generic image-filename like cover.jpg.

I'm not 100% sure, how I can benefit from the new handling of the fine component, but I'm willing to change my workflow, if needed. If I could only realize how 8-)

Also, if there would be an option in the components settings which allow the user to choose to either save a single imagefile for each DISCOGS_ID (as it was before the components update) or to save multiple imagefiles, that could help :)
Could you save the image as %DISCOGS_RELEASE_ID%.jpg, then look up $directory_path(%path%)\%DISCOGS_RELEASE_ID%.jpg in your attach script?

Of course having foo_discogs directly embed your artwork would simplify the process the most unless it's not sufficient for your needs.
Title: Re: foo_discogs
Post by: zoomorph on 2020-04-11 12:24:08
The SDK defaults to dynamic C runtime linking. Since foobar2000 v1.4 the Visual C++ 2015-2019 runtimes have been bundled by the player. But they only help if you use Visual Studio 2015 or newer. If you use older Visual Studio it's recommended you change the C/C++ -> Code Generation -> Runtime Library setting to "Multi-threaded (/MT)" to statically link the required libraries to the component.
Ah, thank you. That had inadvertently been changed when upgrading to the latest SDK. I'll have to look into upgrading to a newer visual studio.

foo_discogs version 2.23 is now released which fixes this and the 2 other issues recently mentioned in here.
Title: Re: foo_discogs
Post by: Bassquake on 2020-04-11 14:33:10
Quote
foo_discogs version 2.23 is now released which fixes this and the 2 other issues recently mentioned in here.

Cool. Artists images working now, thanks.
Title: Re: foo_discogs
Post by: fuffi on 2020-04-16 21:17:16
Hi,
when on a single album (or just a single file) and starting the Update Tags... dialogue,
there is a PREVIOUS button, but there is no such previous where the user could go to.
The button does nothing.

I expect not PREV button in this case, because there is not previous and consider this as a (tiny) harmless but irritating bug.
Title: Re: foo_discogs
Post by: fuffi on 2020-04-17 03:27:55
That text became quite long, sorry....
Of course having foo_discogs directly embed your artwork would simplify the process the most unless it's not sufficient for your needs.
You wrote it already,
DiscoGS users don't have the choice to determine if the uploaded images will be front/back/medium/booklet/flyer/boxcovers/etc.

So a manual renaming of the downloaded images by the fine component is unavoidably needed, as nobody can assume, what images will have what content.

Thats only, if you want to add not only the front-cover, but also disc/tape and back-covers. Maybe artist images too.

I once batched about 10k of files, where I only downloaded the first image and automaticly attached it later via Batch Attach Picture option, BUT I definately had a preview of all the images, because some images (thank god, only ~5%) were too small or creepy or just total wrong. Embedding those images w/o checking them in the first place is not a good idea, if you are picky about your music.

btw: I almost never use the preview-tab, where we are able to preview the *first* downloaded image, just because it takes too much time when tagging more than 100 releases a day. I have set up CUI to show me all important tags, so, if something went wrong with the fine component (which almost never happens), I immediately recognize that.

My bottom line:
As long, as there is no way to overview *all* images at once in the fine component and choose/select/define the types of each image (front/back/etc) there will be no userfriendly/satisfying way to automaticly embedd images and meet the demands of the users, IMHO.

When updating images (via the screenshotted dialogue-popup), the fine component also fetches redundant images.

When selecting 4 files of an album (same %discogs_id%) 4 identical images are fetched, but for my usecase it should only be 1 image.

how can I set up the component to only fetch a single image?

I don't have enabled "save  all images" in configuration->artwork.

Could you remove %filename% from the name? That will result in a different path for each file, resulting in saving the same image to multiple files.
Thank you, I had tried this, but, it seems to break my other scripts, relaying to *_cover.jp*g when adding artwork to the files. (i.e. Screenshot BatchAttachPicture) (The script is meant to search for an imagefilename, with the same name as the musicfile, if found, it takes that imagefile to embed it into all selected files. If no imagefile with the same name is found, it searches for more generic filenames to use for embedding)

Saving an image to, say, cover.jpg will overwrite all existing cover.jpg in the same directory, which should not be overwritten. Thats why I choosed a pattern like %filename%*_cover.jp*g to have only the images overwritten, which are precisely for those DISCOGS_IDs, I have selected in f2k. (Unfortunately, not all files with different DISCOGS_IDs are in different folders, which would help with using a generic image-filename like cover.jpg.

I'm not 100% sure, how I can benefit from the new handling of the fine component, but I'm willing to change my workflow, if needed. If I could only realize how 8-)

Also, if there would be an option in the components settings which allow the user to choose to either save a single imagefile for each DISCOGS_ID (as it was before the components update) or to save multiple imagefiles, that could help :)
Could you save the image as %DISCOGS_RELEASE_ID%.jpg, then look up $directory_path(%path%)\%DISCOGS_RELEASE_ID%.jpg in your attach script?

Thanks for the idea.

I have tested now,
but until now, I need a "visual connection" between the music-file and the proper image-file. That can not be a random number (discogs_id), stored anywhere in the directory.



3 examples:

C)
time-consuming expample with a lot of different vinyl records (https://www.discogs.com/J-Dilla-Donuts-45-Box-Set/release/4248463)
I rename all the single vinyl records to %filename%_cover_disc.jpg so that the Batch Attach Picture script can easily add those files (%filename%*_disc.jpg) to the matching files (%filename%) in one go.

A)
Simple example with only a vinly record and two disc-images (or frontcover, as you wish) (https://www.discogs.com/FKY-Modular-03/release/428084)
Side A and B become both %filename%_cover.jpg, because of the different filename for Side A and B, it is easy to embedd them in one go.

B)
example to only 3 different record sides (https://www.discogs.com/J-Dilla-Pandemonium-Louder/release/660266)
3 files for Side A and 3 files for Side B: %filename%_cover.jpg


For the last 2 examples (A+B) it would be ok to download all the doublettes to the directory, as I rename/copy/duplicate those files anyway, but with CD/DVD/WEB releases I have to delete them, because its too confusing having such a lot of images files in the current dir.
(Imagine releases with not just a single CD and therefore a single front-cover, but a CD collection-box-set with a front-cover for each CD (https://www.discogs.com/Yes-The-Steven-Wilson-Remixes/release/12231071), as in many remastered box sets of old artists :-) I'd like to keep a cover for each album, not just a box-cover for all albums inside the box.

Also I have to switch the components configuration a lot between releases, and that is cumbersome too with the fine component, as those switches are not easy/well-arranged to reach from the components windows (Match Tracks window or Update Tags window). The user/me has to open and close the configuration a lot, while it would be more intuitive to check/uncheck a checkbox for all or one image to download, inside the current window (Match Tracks window or Update Tags window).

Beside that,
maybe it is possible to don't write duplicate images (with same attributes like filesize, or original discoGS filename from the api) to harddisc?

While fetching the images from the api, I guess/hope you have filesizes/filenames and other attributes? Its just an untested idea.
If they match to a saved file, don't save it again. Maybe that would be a "workaround" to not fill up our harddrive with doublettes for a release like this (https://www.discogs.com/ACDC-Box-Set/release/4350325) or this (https://www.discogs.com/Wiener-Philharmoniker-175th-Anniversary-Edition/release/11876648) (~75MB for fetching all images for 1 single track. I have not counted all the tracks, but I guess, its more than 1GB for all the tracks)

Enuff for today! and thank you for reading this long!
Title: Re: foo_discogs
Post by: RWCH on 2020-04-17 10:45:25
Hi,

I am using your plugin and it works great.
However, it seems impossible to update (some of the) incorrect values in a cue file.

Let's say my cue file looks like this:

Code: [Select]
FILE "The Police - Every Breath You Take-The Classics.dts" WAVE
  TRACK 01 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 01:00:00
  TRACK 03 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 02:00:00
  TRACK 04 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 03:00:00
  TRACK 05 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 04:00:00
  TRACK 06 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 05:00:00
  TRACK 07 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 06:00:00
  TRACK 08 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 07:00:00
  TRACK 09 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 08:00:00
  TRACK 10 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 09:00:00
  TRACK 11 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 10:00:00
  TRACK 12 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 11:00:00
  TRACK 13 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 12:00:00
  TRACK 14 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 13:00:00

Why would my cue file look like this in the first place?

I created it manually. I grabbed the DTS track from a blu-ray I own, which I want to play in FooBar. I know there are 14 tracks, so this is what it looks like. I open the file in FooBar and it plays perfectly fine (with the incorrect playings times).
Now I can update it with the your plugin (menu Taggings/Discogs/Write Tags...). See the screenshot:

(https://i.ibb.co/FqTzwn1/2020-04-16-135919.png)    

The first thing we notice is the message "FAILED TO MATCH TRACK ORDER". This message should read something else. The track order does match and is correct. This is a minor bug (if you would even call it a bug).

After writing the tags the file looks like this:

Code: [Select]
REM GENRE Rock
REM DATE 1995
PERFORMER "The Police"
TITLE "Every Breath You Take (The Classics)"
FILE "The Police - Every Breath You Take-The Classics.dts" WAVE
  TRACK 01 AUDIO
    TITLE "Roxanne"
    PERFORMER "The Police"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "Can't Stand Losing You"
    PERFORMER "The Police"
    INDEX 01 01:00:00
  TRACK 03 AUDIO
    TITLE "Message In A Bottle"
    PERFORMER "The Police"
    INDEX 01 02:00:00
  TRACK 04 AUDIO
    TITLE "Walking On The Moon"
    PERFORMER "The Police"
    INDEX 01 03:00:00
  TRACK 05 AUDIO
    TITLE "Don't Stand So Close To Me"
    PERFORMER "The Police"
    INDEX 01 04:00:00
  TRACK 06 AUDIO
    TITLE "De Do Do Do, De Da Da Da"
    PERFORMER "The Police"
    INDEX 01 05:00:00
  TRACK 07 AUDIO
    TITLE "Every Little Thing She Does Is Magic"
    PERFORMER "The Police"
    INDEX 01 06:00:00
  TRACK 08 AUDIO
    TITLE "Invisible Sun"
    PERFORMER "The Police"
    INDEX 01 07:00:00
  TRACK 09 AUDIO
    TITLE "Spirits In The Material World"
    PERFORMER "The Police"
    INDEX 01 08:00:00
  TRACK 10 AUDIO
    TITLE "Every Breath You Take"
    PERFORMER "The Police"
    INDEX 01 09:00:00
  TRACK 11 AUDIO
    TITLE "King Of Pain"
    PERFORMER "The Police"
    INDEX 01 10:00:00
  TRACK 12 AUDIO
    TITLE "Wrapped Around Your Finger"
    PERFORMER "The Police"
    INDEX 01 11:00:00
  TRACK 13 AUDIO
    TITLE "Don't Stand So Close To Me '86"
    PERFORMER "The Police"
    INDEX 01 12:00:00
  TRACK 14 AUDIO
    TITLE "Message In A Bottle (New Classic Rock Mix)"
    PERFORMER "The Police"
    INDEX 01 13:00:00

That's absolutely great, but the durations of the tracks have not been updated, That's a pitty.
Can you add this as a feature? Maybe with a checkbox "Overwrite track durations" or something?

It would be even better if you can update a cue file based on all the information retrieved from Discogs, overwriting everything. In that case a valid cue file looking like this would be sufficent to use the current feature:
Code: [Select]
FILE "The Police - Every Breath You Take-The Classics.dts" WAVE
  TRACK 01 AUDIO
    TITLE "Unknown"
    INDEX 01 00:00:00

Or what about adding a feauture to create a cue file in Foobar, without the need for an existing cue file at all?  ;)
Just search for an album by title or Discogs Catalog ID and have it created. Maybe something for a future release?

You would make a lot of people happy. Not only people who rip tracks of their Blu-ray's or DVD's, but also many people who make digital copies of their old lp's.  ;D  

Thank you for creating a fantastic plugin.  :)
Title: Re: foo_discogs
Post by: zoomorph on 2020-04-17 15:44:52
While fetching the images from the api, I guess/hope you have filesizes/filenames and other attributes? Its just an untested idea.
If they match to a saved file, don't save it again. Maybe that would be a "workaround" to not fill up our harddrive with doublettes for a release like this (https://www.discogs.com/ACDC-Box-Set/release/4350325) or this (https://www.discogs.com/Wiener-Philharmoniker-175th-Anniversary-Edition/release/11876648) (~75MB for fetching all images for 1 single track. I have not counted all the tracks, but I guess, its more than 1GB for all the tracks)

Enuff for today! and thank you for reading this long!
That would be possible.

A preview screen for selecting which images to save as front/cd/back/artist would also be possible. But I have no time to implement such a feature.

Hi,

I am using your plugin and it works great.
However, it seems impossible to update (some of the) incorrect values in a cue file.
Interesting idea. However I suspect it belongs in a separate tool to create a CUE sheet based on a Discogs release, rather than adding that functionality to foo_discogs. In fact, I'm sure I've seen such tools before so maybe there is a working one out there that you could use. Not that I would be opposed to having that functionality in foo_discogs, but it's not something I can commit to adding.

Personally I usually create CUE sheets manually since Discogs durations aren't actually reliable and are often off by many seconds. But I don't do that very often so maybe I have an inefficient workflow. :-)
Title: Re: foo_discogs
Post by: Monno on 2020-04-18 02:13:02
I might have found a small bug.

When trying to map SUB TRACKS the preview appears correct but only the first SUB TRACK is being written to tags.

SUB_TITLE = %TRACK_SUBTRACK_TITLE%
I tried %<TRACK_SUBTRACK_TITLE>% but since the field is documented as a STRING it returned null.

To me it looks like it's trying to write each sub track to its own track. However, in most cases I'm guessing users aren't going to want physically split the main file into sub files to accommodate this... if that's how it's even functioning.

Great work on the plugin. Here is an example album to test this with.
https://www.discogs.com/Michael-Kamen-Orbital-Event-Horizon-Selections-From-The-Motion-Picture-Soundtrack/release/144690
Title: Re: foo_discogs
Post by: zoomorph on 2020-04-20 03:28:10
To me it looks like it's trying to write each sub track to its own track. However, in most cases I'm guessing users aren't going to want physically split the main file into sub files to accommodate this... if that's how it's even functioning.

Great work on the plugin. Here is an example album to test this with.
https://www.discogs.com/Michael-Kamen-Orbital-Event-Horizon-Selections-From-The-Motion-Picture-Soundtrack/release/144690
foo_discogs does a bad job of parsing some tracklists. I may publish an improvement on this in the future but am not sure when I'll have time to do that. Unfortunately the root of the problem is that Discogs does not use a standardized tracklist format, so the best we can do is guess and there will always be some corner cases that will be parsed incorrectly.
Title: Re: foo_discogs
Post by: a3aan on 2020-04-20 21:51:28
When trying to download artwork for releases
https://www.discogs.com/release/320435 (https://www.discogs.com/release/320435) and
https://www.discogs.com/release/433146 (https://www.discogs.com/release/433146),
I only get the first image. Some issue with the other images? Size? Dimensions?

Cheers.
Title: Re: foo_discogs
Post by: fuffi on 2020-04-26 02:24:13
I only get the first image. Some issue with the other images? Size? Dimensions?
Thats because, there is ONLY 1 single image stored for each of the above releases.
Title: Re: foo_discogs
Post by: a3aan on 2020-04-26 09:10:09
I only get the first image. Some issue with the other images? Size? Dimensions?
Thats because, there is ONLY 1 single image stored for each of the above releases.
There are more images, but somehow discogs only showed one indeed. I pulled of a reorder trick and now all is fine. Cheers.
Title: Re: foo_discogs
Post by: fuffi on 2020-04-26 09:32:49
I only get the first image. Some issue with the other images? Size? Dimensions?
Thats because, there is ONLY 1 single image stored for each of the above releases.
There are more images, but somehow discogs only showed one indeed. I pulled of a reorder trick and now all is fine. Cheers.
Ah, so that was obivously a problem on discogs‘ side,
not with the fine component then.
yesterday, there was only 1 image SHOWN via the website, today, I see more.

So when the release webside only shows 1 image per release, the api sure will too.
Thats why only 1 image was downloaded by the fine component.

Anyways,
I did not know about „reorder tickets“, so thank you for bringing this to my attention ;-)
Title: Re: foo_discogs
Post by: NateHigs on 2020-05-11 15:18:33
Hello everyone,

I see there's been some discussion on this issue but no resolution. When tagging certain vinyl rips, I have a lot of 'hidden track' issues - see pic.

Can I resolve this somehow? Or is there the option to ignore it? It's killing me writing in 40+ artist and titles by hand :-(

The example is https://www.discogs.com/Alan-Lomax-Diego-Carpitella-Southern-Italy-And-The-Islands/release/3459577
Title: Re: foo_discogs
Post by: mjm716 on 2020-05-11 15:31:48
Can I resolve this somehow?

Yes, fix the release on discogs for everyone's benefit.

Releases should have dashes on track numbers, not periods. eg. A1-1, A1-2

Title: Re: foo_discogs
Post by: NateHigs on 2020-05-11 15:36:51
Can I resolve this somehow?

Yes, fix the release on discogs for everyone's benefit.

Releases should have dashes on track numbers, not periods. eg. A1-1, A1-2



I've done that, same result.
Title: Re: foo_discogs
Post by: zoomorph on 2020-05-11 15:48:56
Can I resolve this somehow?

Yes, fix the release on discogs for everyone's benefit.

Releases should have dashes on track numbers, not periods. eg. A1-1, A1-2



I've done that, same result.
Wait a couple hours as Discogs API caches the old version. May need to clear the foo_discogs releases cache as well.
Title: Re: foo_discogs
Post by: JohnBuckWLD on 2020-05-12 02:47:33
Can I resolve this somehow?

Yes, fix the release on discogs for everyone's benefit.

Releases should have dashes on track numbers, not periods. eg. A1-1, A1-2



I've done that, same result.
Wait a couple hours as Discogs API caches the old version. May need to clear the foo_discogs releases cache as well.
The advice to change to dashes was incorrect, because those tracks were subtracks of songs (bands), they reverted your correction to the way it was.
Title: Re: foo_discogs
Post by: mjm716 on 2020-05-12 03:06:55
I'm seeing two releases:
[r3459577] gives me individual tracks for the release via discogs
[r7091878] returns two tracks with subtracks hidden
Title: Re: foo_discogs
Post by: NateHigs on 2020-05-12 07:41:07
I'm seeing two releases:
[r3459577] gives me individual tracks for the release via discogs
[r7091878] returns two tracks with subtracks hidden

Yes because I selfishly edited one
Title: Re: foo_discogs
Post by: fuffi on 2020-05-12 12:11:06
When tagging certain vinyl rips, I have a lot of 'hidden track' issues
Can I resolve this somehow?
Although, it seems obvious, did you have tried to resolve those hidden tracks *inside* the fine component before changing the release? - see pic.
That'll help in 60%


Title: Re: foo_discogs
Post by: NateHigs on 2020-05-12 12:41:27
When tagging certain vinyl rips, I have a lot of 'hidden track' issues
Can I resolve this somehow?
Although, it seems obvious, did you have tried to resolve those hidden tracks *inside* the fine component before changing the release? - see pic.
That'll help in 60%




Fuffi, thank you for this. Yes that fixed my issue. I feel like a moron for not seeing that option before (although to be fair I think I skipped the caching tab).

Apologies for all the noise over a non-issue, and thanks again Fuffi.
Title: Subtrack/hidden track credits
Post by: $1@ck3r on 2020-05-19 13:24:07
Hello! I've been toying with Discogs Tagger and I tried to make it fill in subtrack info. In that, I was mostly successful, except for retrieving credits on sub-track basis (i.e., using HIDDEN_TRACKS sub-object).
If I set "Parse hidden tracks as regular tracks", per-track credits just work; it's obvious that the data gets retrieved. But once I try to get them using something like
%<<TRACK_HIDDEN_TRACKS_CREDITS_ROLES>>%
or
%<<TRACK_HIDDEN_TRACKS_CREDITS_ARTISTS_NAME>>%
I immediately get an error.

However, this one works fine:
%<<TRACK_HIDDEN_TRACKS_CREDITS_ROLES_RAW>>%

I tried to use singular brackets, tried to address the respective fields in many ways, to no avail. Is there something I'm missing?
Other that that issue, I was able to make it tag all the subtracks/hidden tracks the way I wanted using help from your posts, guys. Thank for that!
Title: Re: foo_discogs
Post by: bkh on 2020-05-23 17:22:30
Hello, i'd like to merge RELEASE_GENRES and RELEASE_STYLES as separate values (as layd down in the array) into GENRE-Tag. I tried several variations, but always get an error.

Am i right, that there is no field in the database similar to Musicbrainz ALBUMARTiSTSORTORDER?
THX bkh

Edit: Sorry, i found the solution, THX

$extend(%<RELEASE_GENRES>%,%<RELEASE_STYLES>%)
Title: Re: foo_discogs
Post by: fuffi on 2020-06-19 12:59:50
Hi all, its been a while... hope you are still happy and healthy :)

I'd like to access an artist "Edgar Wallace" or "Achim Schülke" shown via the api (https://api.discogs.com/releases/779115) (see screenshot too), but can not manage to get it via the fine component v2.23.

On the website (https://www.discogs.com/release/779115) those artists are visually shown and linked as "normal" artsts, but it seems, something is different here.

Anybody an idea, why is that and HOW do I get those information via the fine component?




Title: Re: foo_discogs
Post by: fuffi on 2020-06-19 13:02:06
Am i right, that there is no field in the database similar to Musicbrainz ALBUMARTiSTSORTORDER?
Yes, as far as I have seen, the discogs database does not offer such an information.
Title: Re: foo_discogs
Post by: fuffi on 2020-06-19 13:15:39
I was mostly successful, except for retrieving credits on sub-track basis (i.e., using HIDDEN_TRACKS sub-object).
I try to get them using something like
%<<TRACK_HIDDEN_TRACKS_CREDITS_ROLES>>%
or
%<<TRACK_HIDDEN_TRACKS_CREDITS_ARTISTS_NAME>>%
I immediately get an error.

However, this one works fine:
%<<TRACK_HIDDEN_TRACKS_CREDITS_ROLES_RAW>>%
I'm sorry, but I'm not really sure, I understand, what exactly data you want to retreive.
So it might be possible, my answer has nothing to do with your problem :-)

My formatting strings look like this (not sure atm, if those are default or my own...):

ARTIST:
Code: [Select]
$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0,$joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%),$join($unique($extend($array($joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%)),$joinnames(%<<TRACK_HIDDEN_TRACKS_ARTISTS_NAME>>%,%<<TRACK_HIDDEN_TRACKS_ARTISTS_JOIN>>%))),' / '))

TITLE:
Code: [Select]
$ifequal(%TRACK_TOTAL_HIDDEN_TRACKS%,0,%TRACK_TITLE%,$join($extend($array(%TRACK_TITLE%),%<TRACK_HIDDEN_TRACKS_TITLE>%),' / '))

Other than that, I have not used any *HIDDEN_TRACKS* references in my formatting strings and I have not missed any important information in my tags. Until now :-)

Maybe you point out, what information exactly you want to get, i.e. name/link a release and show us what you want.
Title: Re: foo_discogs
Post by: zoomorph on 2020-06-22 00:30:48
Hi all, its been a while... hope you are still happy and healthy :)

I'd like to access an artist "Edgar Wallace" or "Achim Schülke" shown via the api (https://api.discogs.com/releases/779115) (see screenshot too), but can not manage to get it via the fine component v2.23.

On the website (https://www.discogs.com/release/779115) those artists are visually shown and linked as "normal" artsts, but it seems, something is different here.

Anybody an idea, why is that and HOW do I get those information via the fine component?
That information could be exposed under TRACK_INDEXTRACK_ARTIST_*, but it's not currently supported.
Title: Re: foo_discogs
Post by: snk on 2020-07-30 22:08:43
Hi there,
i'm using this plugin since maybe 2016 or 2017, but never took time to come and thank the developers.
So, thanks a lot for this wonderful plugin, it helps me a lot to keep my audio library clean!
Cheers!
Title: Re: foo_discogs
Post by: Monno on 2020-08-13 03:07:51
Hi there,
i'm using this plugin since maybe 2016 or 2017, but never took time to come and thank the developers.
So, thanks a lot for this wonderful plugin, it helps me a lot to keep my audio library clean!
Cheers!

I agree as well!!! Amazing work. This plugin really helps me with my library.
Title: Re: foo_discogs
Post by: Bassquake on 2020-08-15 16:59:38
How do I use this plugin when playing a 2 CD album?

See attached image of the issue.

Seems it wants all the tracks listed.
Title: Re: foo_discogs
Post by: sacduser on 2020-08-15 17:57:02
You just select and remove unwanted Discogs entries using the interface
Title: Re: foo_discogs
Post by: Bassquake on 2020-08-15 19:02:38
You just select and remove unwanted Discogs entries using the interface

Coolio will give it a whirl, thanks.
Title: how to fetch extraartists information?
Post by: fuffi on 2020-09-09 11:27:33
Hello,
how can I fetch those extraartists information,
like here (https://api.discogs.com/releases/5378055)?
and put them into the Discogs track formatting string in the Configuration's Matching tab?
Thanks!
Title: Re: foo_discogs
Post by: alec.tron on 2020-09-14 16:48:47
Is there an option to apply hidden tracknames ?
i.e.
https://www.discogs.com/Actress-88/release/15631339

The above shows as:
01 - 88  (Blurring Celt) [+ 21 Hidden Tracknames]

Whereas if I split a full album of hidden tracks, it would be awesome if there were a way to use the hidden tracks as singular ones (if wanted).

Cheers.
c.

ps. oh, actually found the option in the preferences. Nevermind. Thanks for implementing this! Never knew that was around now.
Title: Re: foo_discogs
Post by: zoomorph on 2020-09-23 02:44:49
Hello,
how can I fetch those extraartists information,
like here (https://api.discogs.com/releases/5378055)?
and put them into the Discogs track formatting string in the Configuration's Matching tab?
Thanks!

Those extraartists are exposed via CREDITS on the tracks. I think it should be possible to access them in the matching tab formatting string.
Title: Re: foo_discogs
Post by: Anakunda on 2020-09-23 16:51:36
I need to know if I could customize, how multiple values are formatted when writing the tags.
For example release with more labels writes them as comma separated list (Warner Records, Arnold Stiefel Entertainment), while I need to use different divisior literal, slash or semicolon, not comma. This value can be however nowhere set.
Title: Re: foo_discogs
Post by: zoomorph on 2020-09-28 05:11:58
I need to know if I could customize, how multiple values are formatted when writing the tags.
For example release with more labels writes them as comma separated list (Warner Records, Arnold Stiefel Entertainment), while I need to use different divisior literal, slash or semicolon, not comma. This value can be however nowhere set.
$join() function can change that. ", " is just the default.
Title: Re: foo_discogs
Post by: Fletchesus on 2020-09-30 23:56:41
Curious if any other users of this plugin are experiencing multiple copies of artwork being downloaded when tagging. As of a few days ago every time I tag using the discogs plugin in foobar, artwork is downloaded for each individual track (IE for a 10 track release, when I tag using discogs in foobar, artwork is downloaded 10 times into the folder, each of which is assigned a "track number" corresponding the each track, but is identical). Don't believe I changed any setting or preference. Any help appreciated, with thanks..
Title: Re: foo_discogs
Post by: zoomorph on 2020-10-03 00:58:19
Curious if any other users of this plugin are experiencing multiple copies of artwork being downloaded when tagging. As of a few days ago every time I tag using the discogs plugin in foobar, artwork is downloaded for each individual track (IE for a 10 track release, when I tag using discogs in foobar, artwork is downloaded 10 times into the folder, each of which is assigned a "track number" corresponding the each track, but is identical). Don't believe I changed any setting or preference. Any help appreciated, with thanks..
What is the "File prefix" configured as? If track number is part of it, that should be removed to avoid duplicating the artwork.
Title: Re: foo_discogs
Post by: Fletchesus on 2020-10-03 03:00:06
Curious if any other users of this plugin are experiencing multiple copies of artwork being downloaded when tagging. As of a few days ago every time I tag using the discogs plugin in foobar, artwork is downloaded for each individual track (IE for a 10 track release, when I tag using discogs in foobar, artwork is downloaded 10 times into the folder, each of which is assigned a "track number" corresponding the each track, but is identical). Don't believe I changed any setting or preference. Any help appreciated, with thanks..
What is the "File prefix" configured as? If track number is part of it, that should be removed to avoid duplicating the artwork.
Thanks - %_filename%_cover%IMAGE_NUMBER% and it is returning artwork for each track;
Title: Re: foo_discogs
Post by: Fletchesus on 2020-10-03 03:04:17
Curious if any other users of this plugin are experiencing multiple copies of artwork being downloaded when tagging. As of a few days ago every time I tag using the discogs plugin in foobar, artwork is downloaded for each individual track (IE for a 10 track release, when I tag using discogs in foobar, artwork is downloaded 10 times into the folder, each of which is assigned a "track number" corresponding the each track, but is identical). Don't believe I changed any setting or preference. Any help appreciated, with thanks..
What is the "File prefix" configured as? If track number is part of it, that should be removed to avoid duplicating the artwork.
Thanks - %_filename%_cover%IMAGE_NUMBER% and it is returning artwork for each track

Correction - it is NOT retruning with this 'file prefix". It seems to have sorted it self - believe it did so when I re installed the plug in. Thanks and apologies.
Title: Re: foo_discogs
Post by: forestasia on 2020-10-27 12:13:32
Thanks very much for this great plugin, been using it for years, will donate :)
Title: Re: foo_discogs
Post by: NoNameNeeded on 2020-11-01 21:23:52
How can I get this to work in the first place?
As it seems, it needs to be authorized, confirmed and probably blessed by a priest or something but nothing of this crap works, even though everyone can look up things on discogs without even having an account.
I do have one but still there is an error message telling me the following after clicking on Authorize in the discogs plugin settings:
(FATAL) Error: Network exceptionNetwork authentication error (80090302) (url: https://api.discogs.com/oauth/request_token)

[ESCAPE to close]

Is the server down or why doesn't it work?

Title: Re: foo_discogs
Post by: 2tec on 2020-11-02 15:24:31
{"message": "An internal server error occurred (code: c811abe5cd164e948ede85ae69b6fc4f)."}
Title: Re: foo_discogs
Post by: NoNameNeeded on 2020-11-05 02:37:13
But that's always the case.

Title: Re: foo_discogs
Post by: zoomorph on 2020-11-06 15:09:15
How can I get this to work in the first place?
As it seems, it needs to be authorized, confirmed and probably blessed by a priest or something but nothing of this crap works, even though everyone can look up things on discogs without even having an account.
I do have one but still there is an error message telling me the following after clicking on Authorize in the discogs plugin settings:
(FATAL) Error: Network exceptionNetwork authentication error (80090302) (url: https://api.discogs.com/oauth/request_token)

[ESCAPE to close]

Is the server down or why doesn't it work?
Do you have TLS 1.2? You could try searching this thread.
Title: Re: foo_discogs
Post by: alec.tron on 2020-11-07 21:26:36
Hello @zoomorph
when you're submitting new bits to discogs often, copy/paste errors often sneak in. So, upon first tagging, these copy paste errors are much easier to spot on the files than the discogs input UI... (extra spaces, etc)
Unfortunately, the current caching & timing between discogs & foo_discogs on recently tagged/cached releases means one might have to wait a few hours up to a day, until recent changes of a release will also show in foo_discogs.
Is there a way to force a re-cache of the latest discogs data, and if not - any chance to add a 'force re-cache' button & functionality into the 'Match Tracks' window ?
Cheers.
c.
Title: Re: foo_discogs
Post by: alec.tron on 2020-11-08 13:42:02
what is the different between 'write, ''update' and 'write & update') ?
simple as this: ;-)
- write will only write, not update. (if no tag exists, write a tag. if a tag exists, don't overwrite/update it.)
necro bump on this - I always had troubles with this for some reason.
And I tested around after installing the lartest 2.23 version, and for me - having a field set to 'write' (on a field that eg already holds a release date value of 2017, whereas it has been changed on discogs since to be unique for the digital release, i.e. 2020) - this still/again acts like I expect 'write + update' to work... i.e. 2017 is updated with 2020, despite only having 'write' set as the appropriate behaviour for %RELEASE_YEAR%.

Any double checks that 'write' & 'write + update' do behave as expected, and 'write' does NOT update an existing field, would be much appreciated, as for me, they behave the same...!?

Cheers.
c.
Title: Re: foo_discogs
Post by: zoomorph on 2020-11-10 16:40:00
Hello @zoomorph
when you're submitting new bits to discogs often, copy/paste errors often sneak in. So, upon first tagging, these copy paste errors are much easier to spot on the files than the discogs input UI... (extra spaces, etc)
Unfortunately, the current caching & timing between discogs & foo_discogs on recently tagged/cached releases means one might have to wait a few hours up to a day, until recent changes of a release will also show in foo_discogs.
Is there a way to force a re-cache of the latest discogs data, and if not - any chance to add a 'force re-cache' button & functionality into the 'Match Tracks' window ?
Cheers.
c.
Caching is on the Discogs side, so there's no way around that other than to wait. foo_discogs does caching too, which can be cleared in the settings.
Title: Re: foo_discogs
Post by: zoomorph on 2020-11-10 16:45:19
necro bump on this - I always had troubles with this for some reason.
And I tested around after installing the lartest 2.23 version, and for me - having a field set to 'write' (on a field that eg already holds a release date value of 2017, whereas it has been changed on discogs since to be unique for the digital release, i.e. 2020) - this still/again acts like I expect 'write + update' to work... i.e. 2017 is updated with 2020, despite only having 'write' set as the appropriate behaviour for %RELEASE_YEAR%.

Any double checks that 'write' & 'write + update' do behave as expected, and 'write' does NOT update an existing field, would be much appreciated, as for me, they behave the same...!?

Cheers.
c.
That does appear to be a bug.
Title: Re: foo_discogs
Post by: alec.tron on 2020-11-24 20:33:08
That does appear to be a bug.
Thanks for the info!
Out of curiousity - if you can you reproduce iton your end - are there plans to fix or leave as is ?
Just wondering, as I'll then keep checking back regularly here an on the component update - as I would love to switch a lot of fields to a reliable 'write' without update.

Cheerio.
c.
Title: Re: foo_discogs
Post by: zoomorph on 2020-11-26 05:00:29
Unfortunately, I have no plans to continue working on foo_discogs at this time. If I were to do so, I'd have to migrate my development environment to Linux which I now use exclusively.
Title: Re: foo_discogs
Post by: alec.tron on 2020-11-27 09:18:41
That does appear to be a bug.
Out of curiousity - if you can you reproduce iton your end - are there plans to fix or leave as is ?

Unfortunately, I have no plans to continue working on foo_discogs at this time. If I were to do so, I'd have to migrate my development environment to Linux which I now use exclusively.


Thanks for the info zoomorph - what a bummer... end of an era then, seemingly.
But, a lot more thanks for all the work you have invested in this component since you took over and have carried it for years!

Fingers crossed someone else with the skills required feels strongly about this and takes over from you some time - source is all here:
https://bitbucket.org/zoomorph/foo_discogs/src/master/
correct ?

Cheers & all the bestest!
c.
Title: Re: foo_discogs
Post by: NateHigs on 2020-11-28 08:27:56
Is anyone else finding that this is now incredibly slow? 10+ minutes to find results?
Title: Re: foo_discogs
Post by: forestasia on 2020-12-06 13:26:57
Is anyone else finding that this is now incredibly slow? 10+ minutes to find results?
Same here, been slow for the past week or so for me.
Maybe Discogs are doing some rate limiting?
Title: Re: foo_discogs
Post by: da yuyu on 2020-12-09 06:17:50
Many thanks zoomorph (and all the people helping with tests and proposals)
I hope you'll find the way to continue working with this component, maybe under Linux...
Done a fine work anyway!

Quote
Quote from: alec.tron on 2020-11-24 20:33:08
    Quote from: zoomorph on 2020-11-10 16:45:19
        That does appear to be a bug.

Quote
Fingers crossed someone else with the skills required feels strongly about this and takes over from you some time

@alec.tron, in the meantime, if you'd like, please check:
https://bitbucket.org/fooDaYuyu/foo_discogs (https://bitbucket.org/fooDaYuyu/foo_discogs)

Contains sources and binary to include foo_discogs into fb2k preferences panel
and a rookie attempt to solve the tag write/update bug.

Best regards,
(sorry for bad english)

X
Title: Re: foo_discogs
Post by: alec.tron on 2020-12-09 10:09:22
@alec.tron, in the meantime, if you'd like, please check:
https://bitbucket.org/fooDaYuyu/foo_discogs (https://bitbucket.org/fooDaYuyu/foo_discogs)

Contains sources and binary to include foo_discogs into fb2k preferences panel
and a rookie attempt to solve the tag write/update bug.
Hello  @da yuyu
I gave it a spin - and write+update seems to work now and spotted no other issues on a hand ful of test runs.
Thanks muchly for taking on the bug fix!!!
All the best.
c.
Title: Re: foo_discogs
Post by: stevehero on 2020-12-09 12:27:50
 ...in the meantime, if you'd like, please check:
https://bitbucket.org/fooDaYuyu/foo_discogs (https://bitbucket.org/fooDaYuyu/foo_discogs)

Contains sources and binary to include foo_discogs into fb2k preferences panel
and a rookie attempt to solve the tag write/update bug.
 
Thanks for this. Is there any way to watch this page for any new releases? https://bitbucket.org/fooDaYuyu/foo_discogs/downloads/. I cannot see anything like github where you can subscribe to any new releases.
Title: Re: foo_discogs
Post by: da yuyu on 2020-12-11 16:29:51
I gave it a spin - and write+update seems to work now and spotted no other issues on a hand ful of test runs.

You are welcome, I am glad the fix is working so far!

Well, I found a crash scenario, clicking on 'Write tags..." followed by closing fb2k (having
wrong OAuth settings and/or no internet connection). Did not happen on zoomorph's original v2.23.
It is now fixed in the latest mod release.

I cannot see anything like github where you can subscribe to any new releases.
Thanks for the suggestion, that could surely come quite handy...
(repository is now located at GitHub: https://github.com/ghDaYuYu/foo_discogs (https://github.com/ghDaYuYu/foo_discogs))

Although the intention was just fixing the write/update and next mod updates will surely focus on solving
glitches introduced by the mod itself.

Best regards
Title: Re: foo_discogs
Post by: stevehero on 2020-12-12 00:06:58
@da yuyu (https://hydrogenaud.io/index.php?action=profile;u=132910)‍ 

Thanks. Seeing as the original plugin is no longer being developed, this seems like a good alternative, thanks to @zoomorph (https://hydrogenaud.io/index.php?action=profile;u=117002) for working on it til now.
Title: Re: foo_discogs
Post by: kengs51 on 2021-01-19 16:47:27
I can't get this plugin to work. The plugin is installed but the tag writing display under preferences doesn't appear and therefore discogs doesn't appear.
Title: Re: foo_discogs
Post by: kengs51 on 2021-01-19 16:58:00
I got it to work. For the new release it appears under Tagging. Did you have to get a Pin number from Discogs. I did.
Title: Re: foo_discogs
Post by: kola on 2021-01-21 21:57:11
Hmm i wish the Foobar Devs would implement it
Title: Re: foo_discogs
Post by: adktz on 2021-01-31 06:04:08
Hi all. Via tag mappings it is possible to write to different tags based on the file format?
My library is mostly FLAC with some MP3 and M4As, and I use foo_discogs to prepare my files before adding them to musicbee. I use the "Grouping" field in MusicBee but for some reason it writes this to %CONTENTGROUP% on FLAC files and %GROUPING% in MP3/M4A files.

Ideally I'd like foo_discogs to write to %CONTENTGROUP% on FLACs and %GROUPING% for everything else. Thanks for any help

EDIT: I'm not 100% sure this perfect but I think it works:
%CONTENTGROUP%: $if($stricmp($ext(%path%),flac),,blah)
%GROUPING%: $if($stricmp($ext(%path%),flac),blah,)
Title: Re: foo_discogs
Post by: kola on 2021-02-10 06:51:39
foobar is dead without this tool, thats for sure!
Title: Re: foo_discogs
Post by: stevehero on 2021-02-12 00:13:32
Do anyone know how to get the line breaks right for RELEASE_NOTES.

It's inserting just a line feed as opposed to CRLF $crlf().

The release is https://www.discogs.com/release/1714607 but this happens on all albums that have notes with \n in them and not \r\n.

I've tried 
Code: [Select]
$trim($replace(%RELEASE_NOTES%,\n,$crlf()))
but no joy.

It currently looks like this in the edit tag info:
(https://i.imgur.com/ajcAZod.png)

Whereas it should be:
Quote
Comes with Obi, a regular 4 sheets colour booklet and an extra 8 sheets black and white booklet in English/Japanese with all lyrics (among others).

℗ and © 2007 Kitchenware Records Ltd under exclusive license to Sony BMG Music Entertainment (UK) Limited.
Manufactured by BMG JAPAN, INC., Tokyo, Japan.
Printed in Japan.
Pressed by Sonopress - Hong Kong.
 
 


Title: Re: foo_discogs
Post by: da yuyu on 2021-02-13 20:58:48
@stevehero

Fixed CRLFs will be available soon in next release...

Thanks for noticing!
Title: Re: foo_discogs
Post by: stevehero on 2021-02-13 21:05:45
No problem, I had to revert back to the original here, see your github issue I left. 

https://github.com/ghDaYuYu/foo_discogs/issues/3
Title: Re: foo_discogs
Post by: AxelR8 on 2021-02-16 02:14:39
Hello everybody!
Why I can't see "CD" in "Find release - Releases"?
All searching configurations are default.
Thanks!
Title: Re: foo_discogs
Post by: frogworth on 2021-02-16 02:39:44
Why I can't see "CD" in "Find release - Releases"?

Agreed, this has been like this for a while. It's odd because CDs and cassettes come through as just Album, but LPs are labelled.
Would be good if @da yuyu could look into this :)
Title: Re: foo_discogs
Post by: da yuyu on 2021-02-16 18:11:37
@AxelR8 @frogworth

Yes, LPs are labeled but not as 'Vinyl'...

I am currently testing some changes to the code (new %RELEASE_SEARCH_MAJOR_FORMATS% field in Config Panel->Searching sub-release string).

So far is working fine, hopefully a new mod release will be a available in a few days.

Regards
Title: Re: foo_discogs
Post by: frogworth on 2021-02-16 20:55:47
That new field sounds great!
It would also be good if the format showed in the list of releases so you could easily pick which ones are CD versions.
Title: Re: foo_discogs
Post by: da yuyu on 2021-02-16 21:50:33
The screenshot below shows the release panel I am getting here,
I believe that´s what we are after, please correct me if not.

Also I've just found this...

Good question. The %RELEASE_SEARCH_FORMATS% field comes from this API endpoint, since it's a master release:
https://api.discogs.com/masters/164846/versions

foo_discogs currently uses the "format" field. It looks like "Cassette" is not in there, but it's below in a "major_formats" field. I'm not sure if it was always this way or if they changed it.

For releases that aren't part of a master release, %RELEASE_SEARCH_FORMATS% comes from the artists/<id>/releases API endpoint. That endpoint still returns "Cassette" in the "format" field, there is no "major_formats" field.

foo_discogs would need to be changed to better support this.


The new %RELEASE_SEARCH_MAJOR_FORMATS%  field will add major_formats support to foo_discogs.

I still need to double check the 'comes from the artists/<id>/releases' part in the code before packing the new release.

X
Title: Re: foo_discogs
Post by: simcut on 2021-02-17 19:15:02
Hi all

Hope you're well

Anyone else suddenly getting issues from the plugin? just tried searching a release and got the following:-

(FATAL) Error: HTTP Error (403)(url: https://discogs-images.discogs.com/R-34241-1268156664.jpeg?expiry=2021-02-17T19%3A09%3A16.258426&fit=contain&format=auto&height=150&quality=40&width=150&signature=3QbaPAHNCX/lSm7BHwUYZ7BioYGVzOwRS1F2cRcRTrY%3D)

[ESCAPE to close]

Any ideas?

Cheers
Title: Re: foo_discogs
Post by: da yuyu on 2021-02-18 06:24:48
New mod release update...
Reminder: This is a modified version of the original/official component available here (https://www.foobar2000.org/components/view/foo_discogs)

v2.23-mod.02


To add media descriptions, open Configuration panel > Searching tab
and modify Release & Master sub-release formatting as follows:

%RELEASE_SEARCH_FORMATS%
becomes
%RELEASE_SEARCH_MAJOR_FORMATS%,%RELEASE_SEARCH_FORMATS%

Regards  :))

v2.23-mod.02 (https://github.com/ghDaYuYu/foo_discogs/releases/tag/v2.23-mod.02)
Title: Re: foo_discogs
Post by: paregistrase on 2021-02-18 10:03:00
Hi da yuyu.

I got a question about the tag DISCOGS_ARTISTS_URLS.

In tag mapping the sintax is like DISCOGS_ARTISTS_MEMBERS but artist members writes a multivalue and artists urls a single value with all the urls.

How can I write the urls as multivalue?
Title: Re: foo_discogs
Post by: frogworth on 2021-02-18 10:26:25
New mod release update...
Excellent, thanks for continuing to make updates!
Title: Re: foo_discogs
Post by: da yuyu on 2021-02-18 12:34:47


mapping the sintax is like DISCOGS_ARTISTS_MEMBERS but artist members writes a multivalue and artists urls a single value with all the urls.

How can I write the urls as multivalue?

Sorry, I am not sure about this.
On my default tag mapping both ARTIST_URLS and ARTIST_MEMBERS generate comma separated string lists,
to have semicolons instead, you may try this?

Code: [Select]
$join(%<<RELEASE_ARTISTS_URLS>>%,; )

I believe there is an excellent help file :-[  included in distribution that I should be reading.

@frogworth, you are welcome and thanks for testing...
Update is not very accurate for releases that aren't part of a master releases
but still provides some assistance.

Hopefully @Zoomorph might come back at some point,
or another developer with more expertise than I do will show up and continue developement,
in the interim, of course I am absolutely in the obligation to keep releasing mod updates  :)

Title: Re: foo_discogs
Post by: paregistrase on 2021-02-18 15:06:23


mapping the sintax is like DISCOGS_ARTISTS_MEMBERS but artist members writes a multivalue and artists urls a single value with all the urls.

How can I write the urls as multivalue?

Sorry, I am not sure about this.
On my default tag mapping both ARTIST_URLS and ARTIST_MEMBERS generate comma separated string lists,
to have semicolons instead, you may try this?

Code: [Select]
$join(%<<RELEASE_ARTISTS_URLS>>%,; )

Yeah is strange...Is the only tag that does this.

Anyway your code solves the problem.

Thanks you  8)


I talked too soon.

The situation is more bizarre now.

The code write the urls with ; but in a single value.

for example:

With Buckethead - Grand Gallery Discogs Rel. ID : 5742047

DISCOGS_ARTIST_URLS return "http://www.bucketheadland.com; http://bucketheadpikes.com; https://music.bucketheadpikes.com/; https://books.discogs.com/credit/546378-buckethead"

But if I do $meta(DISCOGS_ARTIST_URLS,1) returns nothing

but $meta(DISCOGS_ARTIST_URLS,) returns "http://www.bucketheadland.com; http://bucketheadpikes.com; https://music.bucketheadpikes.com/; https://books.discogs.com/credit/546378-buckethead"

Its my foobar haunted?
Title: Re: foo_discogs
Post by: paregistrase on 2021-02-18 15:24:44



mapping the sintax is like DISCOGS_ARTISTS_MEMBERS but artist members writes a multivalue and artists urls a single value with all the urls.

How can I write the urls as multivalue?

Sorry, I am not sure about this.
On my default tag mapping both ARTIST_URLS and ARTIST_MEMBERS generate comma separated string lists,
to have semicolons instead, you may try this?

Code: [Select]
$join(%<<RELEASE_ARTISTS_URLS>>%,; )

Yeah is strange...Is the only tag that does this.

Anyway your code solves the problem.

Thanks you  8)


I talked too soon.

The situation is more bizarre now.

The code write the urls with ; but in a single value.

for example:

With Buckethead - Grand Gallery Discogs Rel. ID : 5742047

DISCOGS_ARTIST_URLS return
Code: [Select]
http://www.bucketheadland.com; http://bucketheadpikes.com; https://music.bucketheadpikes.com/; https://books.discogs.com/credit/546378-buckethead


But if I do $meta(DISCOGS_ARTIST_URLS,1) returns nothing

but $meta(DISCOGS_ARTIST_URLS,) returns
Code: [Select]
http://www.bucketheadland.com; http://bucketheadpikes.com; https://music.bucketheadpikes.com/; https://books.discogs.com/credit/546378-buckethead

Its my foobar haunted?
Title: Re: foo_discogs
Post by: da yuyu on 2021-02-18 16:47:45

The code write the urls with ; but in a single value.



remembered to set the field as multivalue in fb2k Preferences,

or maybe need to right click on the field and split the values?
Title: Re: foo_discogs
Post by: paregistrase on 2021-02-18 17:06:56

The code write the urls with ; but in a single value.



remembered to set the field as multivalue in fb2k Preferences,

Is already in the list

or maybe need to right click on the field and split the values?

I use a script to correct the tags before using discogs that split the field...
and now that I check, it corrects aliases, in groups, members and others supossed multivalues fields so my discogs isn't writen multivalues fields for arrays.

I only noticed URLs at first cause a run service entry to open the links
Title: Re: foo_discogs
Post by: da yuyu on 2021-02-18 21:03:23
@paregistrase
Thanks for sharing your use case.

I guess value splitting is out of this component scope.
I'd say that foo_discogs doesn't differentiate between artists members and url arrays.
When it comes to writing their tags, it performs a single call to 'meta_set' passing a string of a comma separated list of members and another single call for the urls.
Title: Re: foo_discogs
Post by: paregistrase on 2021-02-19 06:21:33
@paregistrase
Thanks for sharing your use case.

I guess value splitting is out of this component scope.
I'd say that foo_discogs doesn't differentiate between artists members and url arrays.
When it comes to writing their tags, it performs a single call to 'meta_set' passing a string of a comma separated list of members and another single call for the urls.

No problem, just curious at this point why genres or labels writes multivalues and members and urls doesn't.

Anyway this is a old problem of mine, so old that I forgot that a fix was inside my correct tags script  :D

Thanks for your time
Title: Re: foo_discogs
Post by: da yuyu on 2021-02-23 06:28:11
Another mod release available... hope you enjoy it!

v2.23-mod.03

Change log:




v2.23-mod.03 (https://github.com/ghDaYuYu/foo_discogs/releases/tag/v2.23-mod.03)

Thanks for testing  :)
Title: Re: foo_discogs
Post by: alec.tron on 2021-02-23 10:35:55
Thanks for the update!!

A quick note re:
Thanks for testing  :)

I just did a quick test with a release that had an old/wrong ReleaseID. So in that process I needed to update some info with the different release ID.
The componenet (mod 3) correctly took & displayed all release info, but only applied most of it.
The one that didn't I noticed was the ReleaseID - i.e it was shown in the overview with the new ID, but the old one persisted afterwards and the new was not written to the files.
Also - in the mapping dialogue - ReleaseID  was set to write+update, but the whole line/field was greyed out in the mapping overview. So to my understanding this should have been written, but wasn't.
Could someone else see if this is replicatable for others ?

Cheers.
c.
Title: Re: foo_discogs
Post by: da yuyu on 2021-02-23 12:29:41
... in the mapping dialogue - ReleaseID  was set to write+update, but the whole line/field was greyed out in the mapping overview. So to my understanding this should have been written, but wasn't.
Could someone else see if this is replicatable for others ?

How did you set ReleaseID as write+update, did versions  < v.2.23 allowed it ?

I've just tested updating DISCOGS_XXXX_IDs either by removing them before rewrite or by adding duplicate mappings set as write + update. Both methods working here  ::)


Title: Re: foo_discogs
Post by: stevehero on 2021-02-23 12:53:40
$multi_replace_exp(%COMPOSER%,'^(.+)\s(.+)$','$2, $1')[/li][/list]

Legend for adding this. If FB2K had this it would be the icing on the cake.
Title: Re: foo_discogs
Post by: da yuyu on 2021-02-23 14:10:51
@stevehero
Just lightly tested regular expressions... please test with caution.
Hopefully the following days I'll find time to further test these funtions and the issue raised by alec.tron above...

Regards
Title: Re: foo_discogs
Post by: frogworth on 2021-02-24 23:41:17
I have found that the mod versions are only writing the first value of multi-value fields.
I have the tag mappings as default, and I have even set those fields to be multivalue in the advanced settings (which I didn't have to do with the original plugin).

For this release: https://www.discogs.com/x/release/3316537
track 1 should have four entries in DISCOGS_TRACK_CREDITS, but I'm only getting one.
I reverted to the on-mod 2.23 version and it wrote all the values as expected.
Title: Re: foo_discogs
Post by: da yuyu on 2021-02-25 19:51:43
@frogworth

Ouch!... bug found,  and fix is on its way  :-[

@alec.tron,
I am still unsure about a proper solution to ReleaseId overwrites... although I am including code that should help troubleshooting (preview summaries).

Thanks again for your feedback


Title: Re: foo_discogs
Post by: alec.tron on 2021-02-25 20:43:05
I've just tested updating DISCOGS_XXXX_IDs either by removing them before rewrite or by adding duplicate mappings set as write + update. Both methods working here  ::)
I'm not sure what you mean by "DISCOGS_XXXX_IDs" (?).
The Release ID field I had troubles with was:
DISCOGS_RELEASE_ID

As for:
How did you set ReleaseID as write+update, did versions  < v.2.23 allowed it ?
My bad - this is greyed out and is set to 'write' only. (DISCOGS_MASTER_RELEASE_ID, DISCOGS_ARTIST_ID & DISCOGS_LABEL_ID are all greyed out too, but set to 'write+update').

So it makes sense that it was not updating in one way.
But, if I as a user consciously pass on a different DISCOGS_RELEASE_ID in the very first dialogue window than to what it previously had, and all values (artist, title, etc) are updated accordingly from the new DISCOGS_RELEASE_ID page I state, then the DISCOGS_RELEASE_ID should also be updated/rewritten(or rather take the explicit DISCOGS_RELEASE_ID value I passed in the beginning). If not - then that would be a way to create disconnected data.... i.e. the DISCOGS_RELEASE_ID from one release, but the actual data applied to the files for every field from a different DISCOGS_RELEASE_ID...

Might be it's a legacy issue as well.... but never encountered it, and I'm sure I did update a given DISCOGS_RELEASE_ID field to a different DISCOGS_RELEASE_ID value when it was more appropriate/available to fetch the data from.

Churs.
c.
Title: Re: foo_discogs
Post by: frogworth on 2021-02-25 22:12:00
@frogworth

Ouch!... bug found,  and fix is on its way  :-[

@alec.tron,
I am still unsure about a proper solution to ReleaseId overwrites... although I am including code that should help troubleshooting (preview summaries).

Thanks again for your feedback




Awesome, thanks so much! Now saving all fields fully :)
Title: Re: foo_discogs
Post by: alec.tron on 2021-02-26 09:31:16
Might be it's a legacy issue as well.... but never encountered it, and I'm sure I did update a given DISCOGS_RELEASE_ID field to a different DISCOGS_RELEASE_ID value when it was more appropriate/available to fetch the data from.
Just FYI, as this works and I can get around the issue of the DISCOGS_RELEASE_ID  not being re-written when updated in foo_discogs - so my current workflow for that then is, if I need to re-tag from a different release ID:
- Edit DISCOGS_RELEASE_ID on all files by hand to the new release to fetch data from
- run foo_discogs, picks up the new correct DISCOGS_RELEASE_ID , then applies all the data

This way I can get around not having disconnected data, i.e. the DISCOGS_RELEASE_ID  from the previous release, and the data from the new one, stated in the foo_discogs first window ID input (which does not get rewritten, iif updated by hand).

Churs.
c.
Title: Re: foo_discogs
Post by: da yuyu on 2021-02-27 19:06:35
@frogworth

That's great news...

I was scrathing my head about @paregistrase comments earlier  :)

@alec.tron

Thanks for the info... started to have a look at the cache, and soon will start testing if a button to delete the cache for a particular release would help... your comments are a source of inspiration!

Hope you enjoy testing
Mod#5 (v2.23-mod05) (https://github.com/ghDaYuYu/foo_discogs/releases/tag/v2.23-mod.05)

Cheers!

Change log:

- Text box with number of tags being modified.
- Added Context menu to the Match Tracks panel..
- Fix for crash when arranging song order using the Control key.
Title: Re: foo_discogs
Post by: paregistrase on 2021-02-28 00:03:39
I was scrathing my head about @paregistrase comments earlier  :)

Me too man, it doesn't have any logic

I removed the component and the configuration file, all multivale and install it again.

Without modifications it writes:

DISCOGS_ALBUM_ARTISTS, DISCOGS_ARTIST_ID, DISCOGS_ARTIST_REALNAME, DISCOGS_ARTISTS, DISCOGS_RELEASE_CREDITS with ";" as separator

but
DISCOGS_ARTISTS_ALL_NAME_VARIATIONS, DISCOGS_ARTISTS_INGROUPS, DISCOGS_ARTISTS_URLS with ","

if I put DISCOGS_ARTISTS_URLS, for example, in multivalue and tag the file again the "Use ; character to separate multiple values" of edit window is active but the component write the values with "," as separator in a single value

Not logic at all
Title: Re: foo_discogs
Post by: da yuyu on 2021-02-28 13:53:20

Hi @paregistrase,

First, I apologize,

I guess value splitting is out of this component scope.
I'd say that foo_discogs doesn't differentiate between artists members and url arrays.
When it comes to writing their tags... blah blah

I realize now this is rubbish...

I tested using:

Code: [Select]
$split(%DISCOGS_ARTISTS_MEMBERS%) or
$split(%DISCOGS_ARTISTS_MEMBERS%,',')

... and multi-value was saved accordingly (in the original component and in modded version after v04)
$meta works directly afterwards.

Quote
Not logic at all
:)
Title: Re: foo_discogs
Post by: alexinc on 2021-02-28 15:30:28
Hope you enjoy testing
Mod#5 (v2.23-mod05) (https://github.com/ghDaYuYu/foo_discogs/releases/tag/v2.23-mod.05)

Cheers!

Change log:

- Text box with number of tags being modified.
- Added Context menu to the Match Tracks panel..
- Fix for crash when arranging song order using the Control key.
First of all many thanks for keeping this plugin updated! :-)

I tried the modded version for the first time today and it's crashing as soon as i'm trying to write the tags to the file. Not sure what i'm doing wrong. Last step could be deleting the discogs_plugin config file, which i'm trying to avoid for now (with non modded version everything worked as expected).

I added the reports. As you can see, i tried different combinations first to no success. Let me know if you need further information. For now back to non modded version... Looking forward the next releases!  O:)

EDIT: Out of pure interest i tried it with clean installation and config of your mod, but it's still crashing.
Title: Re: foo_discogs
Post by: paregistrase on 2021-02-28 18:37:54

Hi @paregistrase,

First, I apologize,

I guess value splitting is out of this component scope.
I'd say that foo_discogs doesn't differentiate between artists members and url arrays.
When it comes to writing their tags... blah blah

I realize now this is rubbish...

No problem.

I tested using:

Code: [Select]
$split(%DISCOGS_ARTISTS_MEMBERS%) or
$split(%DISCOGS_ARTISTS_MEMBERS%,',')

... and multi-value was saved accordingly (in the original component and in modded version after v04)
$meta works directly afterwards.

Quote
Not logic at all
:)

That is what I was doing after tagging with discogs component as a workarround all this time

Spliting the single value "," sepparate that discogs tagger writes make the tag multivalue.

Maybe I understand wrong but the field must be writen as multivalue for the component, like the others. right?



Title: Re: foo_discogs
Post by: da yuyu on 2021-02-28 19:24:09
That is what I was doing after tagging with discogs component as a workarround all this time

Spliting the single value "," sepparate that discogs tagger writes make the tag multivalue.
Maybe I understand wrong but the field must be writen as multivalue for the component, like the others. right?

I dont know what you mean by 'after tagging'. Why not doing it in one single step? Adding a new tag for example MY_ARTISTS_MEMBERS and keeping the DISCOGS_ARTISTS_MEMBERS for updates. No further step needed afaik.

Your understanding is right, using the FB2K API, it means calling meta_add_value instead of meta_set. After that, FB2K deals with the API request, taking into consideration the tag type specifications, or maybe delegating to another library...  ???

Title: Re: foo_discogs
Post by: alexinc on 2021-02-28 19:35:30
First of all many thanks for keeping this plugin updated! :-)

I tried the modded version for the first time today and it's crashing as soon as i'm trying to write the tags to the file. Not sure what i'm doing wrong. Last step could be deleting the discogs_plugin config file, which i'm trying to avoid for now (with non modded version everything worked as expected).

I added the reports. As you can see, i tried different combinations first to no success. Let me know if you need further information. For now back to non modded version... Looking forward the next releases!  O:)

EDIT: Out of pure interest i tried it with clean installation and config of your mod, but it's still crashing.
Now the non-modded version crashed on me too. From today on i (tried) adding [%RELEASE_TOTAL_TRACKS% Track'('s')'] to end of master sub-release formatting string (as i liked the ability to see on first view how many tracks a release includes when being in find release window). Fetching of course is slower now, but worked so far. Maybe it's too much information for caching or something like that?
Title: Re: foo_discogs
Post by: da yuyu on 2021-02-28 19:44:58

EDIT: Out of pure interest i tried it with clean installation and config of your mod, but it's still crashing.


i've sent you a pm,
would you check if the crash no longer occurs in the attached version, please?

Title: Re: foo_discogs
Post by: da yuyu on 2021-02-28 20:38:03
Thanks for testing and the crash dumps...
Crash was fixed, but alexinc reported also problems in track ordering,
another release in a few days seems to be unavoidable  :-[


Title: Re: foo_discogs
Post by: alexinc on 2021-02-28 20:40:20
Thanks for testing and the crash dumps...
Crash was fixed, but alexinc reported also problems in track ordering,
another release in a few days seems to be unavoidable  :-[



Take your time! I'm sure we're all more than patient and thankful for the time and work you're spending keeping this project alive.
Title: Re: foo_discogs
Post by: paregistrase on 2021-03-01 01:10:07
That is what I was doing after tagging with discogs component as a workarround all this time

Spliting the single value "," sepparate that discogs tagger writes make the tag multivalue.
Maybe I understand wrong but the field must be writen as multivalue for the component, like the others. right?

I dont know what you mean by 'after tagging'. Why not doing it in one single step? Adding a new tag for example MY_ARTISTS_MEMBERS and keeping the DISCOGS_ARTISTS_MEMBERS for updates. No further step needed afaik.

Your understanding is right, using the FB2K API, it means calling meta_add_value instead of meta_set. After that, FB2K deals with the API request, taking into consideration the tag type specifications, or maybe delegating to another library...  ???

Ok. Now I get what you're saying.

Correct the tag in tag mapping of discogs tagger.

I don't know that the component can do that, I thought that it only worked with the discogs info.

Anyway I need to run a script to correct other tag like genre and style so it is not a big deal.

.
Title: Re: foo_discogs
Post by: alec.tron on 2021-03-18 19:46:34
Hello hai.
The latest release
v2.23-mod.09
crashed foobar pretty hard when attempting to update a release (it did show the release, and the file to discogs entry UI, crash occured when going to the changes/overview page, without showing it).

Hope this helps. Let me know if/how I should send the logs, or better even, which part.

Churs,
c.

ps.
2nd attempt, with a release that did not have tags, it went through fine without the crash...
3rd attempt on a previously tagged release = no crash either.
odd.
Title: Re: foo_discogs
Post by: frogworth on 2021-03-23 12:30:13
Hey @da yuyu, a few minor annoyances when using the tagger.
When I first open the tagging dialogue, the focus does not seem to be in the Artist search field. I think it used to be, although I may be wrong.
Also, when I've typed the artist name, hitting Enter no longer activates the search - I need to click the Search button.
So there are two mouse clicks needed where I would like not to have to use the mouse at all.

Separately, although I do like the new album results listing, there are a few regressions.
When the artist has multiple pages to be loaded before the results show, I like to already type in the release title. This used to be fine, but now that filter is erased when the results are loaded!
Also, we used to be able to double click on any release to open it in a browser window. This was very useful for previewing which release I was actually looking for - I'd really like that back.

Thanks for all your work!
Title: Re: foo_discogs
Post by: da yuyu on 2021-03-23 14:53:46
Hello frogworth, thanks for your feedback  :o
Sorry for the regressions you're noticing...
I need time to get some of those UI optimizations back when possible.
For now you may avoid clicking the search by TAB + Enter?

Nevertheless, some thoughts we can take into consideration... the trick vs the price:
- Enter key trick vs form Tab key navigation (was it broken?)
- Automatic expansion of masters on selection vs Up\Down arrow key list scrolling.
- Double clicking on releases vs mouse expand/collapse master branches.
- Automatic fill of filter with album name vs fill with master name.
- ...

IMHO, tab navigation is a quite essential, would rather choose expand/collapse at the expense of double clickin, also use right click a lot. Up\Down arrow key navigation is also a must, quite basic.

But I'm determined to have all original features back to normal (at least as configurable options)...
This mod is still quite starting to crawl, wouldnt even call it a pre-beta  O:)
Title: Re: foo_discogs
Post by: da yuyu on 2021-03-23 15:52:47
Hi Alec.tron, sorry about that... a few bugs and crashes have been fixed.
Next release will be much more usable I hope.

Thanks for the update!!

A quick note re:
Thanks for testing  :)

I just did a quick test with a release that had an old/wrong ReleaseID. So in that process I needed to update some info with the different release ID.
The componenet (mod 3) correctly took & displayed all release info, but only applied most of it.
The one that didn't I noticed was the ReleaseID - i.e it was shown in the overview with the new ID, but the old one persisted afterwards and the new was not written to the files.
Also - in the mapping dialogue - ReleaseID  was set to write+update, but the whole line/field was greyed out in the mapping overview. So to my understanding this should have been written, but wasn't.
Could someone else see if this is replicatable for others ?

Cheers.
c.

I also noticed some unexpected results in both the original and modded component
The component allows updating Release Id (and other fields) in some circumstances...

I tried this:
-track 1: with release Id, track 2: empty release Id
Select both tracks, Write Tags... and both tracks are tagged with the new Release id.
Is that explained anywhere in the components docs?


Title: Re: foo_discogs
Post by: frogworth on 2021-03-23 22:53:39
For now you may avoid clicking the search by TAB + Enter?
Ah OK, yes Tab a couple of times does work - thanks!
I would prefer to hit Enter - my muscle memory does it every time, so I believe the component used to behave like that(?)

I love the idea of more keyboard navigation and functionality mind you!
Title: Re: foo_discogs
Post by: vladim1r on 2021-04-06 16:13:53
When I add an album, and select all the files in the the main FB2K playlist window, and right click, tagging, Discogs, the 'Update album/artist art' is greyed out, along with most of the other options. Same if I select the album folder in the file browser. Any clues?

Sorry I know this is old but I am having this exact issue. I didn't see a resolution posted below. Did you or anyone figure how to fix this? (greyed out options, can no longer download album art, tried on numerous songs, tried restarting).
Title: Re: foo_discogs
Post by: eljeffe on 2021-04-06 17:46:36
Howdy everyone

Consistently getting the following error using DiscogsTagger->Write Tags in foobar under wine:
Code: [Select]
(FATAL) Error: Network exceptionNetwork authentication error (80096004) (url: https://img.discogs.com/Tncd2sGO2n5XlJfltN0iXBylWLY=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-472708-1194159595.jpeg.jpg)

You'll notice that whole thing starting w/ http is actually a valid link, but I don't understand why I'm getting the authentication error.
Writing tags without album art works fine though.

Thank you for any help!
Title: Re: foo_discogs
Post by: eljeffe on 2021-04-08 18:14:14
As an addendum to my last message, OAuth is working according to the plugin. I can write tags fine, but it seems when I use album art, it fails.

Thank yall
Title: Re: foo_discogs
Post by: da yuyu on 2021-04-08 20:14:11
@vladim1r

These options become available when the selected tracks have been tagged...

Update Album/Artist Art (DISCOGS_RELEASE_ID)
View Release Page (DISCOGS_RELEASE_ID)
View Master Release Page (DISCOGS_RELEASE_ID or DISCOGS_MASTER_RELEASE_ID)
View Artist Page (DISCOGS_ARTIST_ID)
View Artist Art Page (DISCOGS_ARTIST_ID)
View Label Page (DISCOGS_LABEL_ID)
View  Album Art Page (DISCOGS_RELEASE_ID)

@eljeffe

Just in case it may help... I tested under wine v6.5 and artwork downloads normally. Maybe not your case but limited access to Discogs servers (OAuth working and artwork failing) can be caused by iptables blocking Discogs connections.

Cheers
Title: Re: foo_discogs
Post by: eljeffe on 2021-04-09 16:16:47
Just in case it may help... I tested under wine v6.5 and artwork downloads normally. Maybe not your case but limited access to Discogs servers (OAuth working and artwork failing) can be caused by iptables blocking Discogs connections.

Thanks for the tip! Care to elaborate on how I can check my iptables? Is that a Wine setting?
Title: Re: foo_discogs
Post by: da yuyu on 2021-04-09 17:42:52
If you are not familiar with iptables, they surely can be discarded.
I mentioned it in case you were managing network traffic yourself.

Just giving some more tips you may have already taken into consideration...

- You might have reached some image limits in the api
- There might be some temporal issues accessing Discogs infrastructure from your location.
- The problem might only be affecting a particular release.
Title: Re: foo_discogs
Post by: eljeffe on 2021-04-09 22:11:31
- You might have reached some image limits in the api
- There might be some temporal issues accessing Discogs infrastructure from your location.
- The problem might only be affecting a particular release.
Not only affecting one release, it does it for all of them.
Discogs is mostly working - I can still write tags, just not download images.
I'm thinking there might be a limit I have hit - I've done 700 of these things over the last few months and this month has been particularly busy. I'll take a look see if I can find out limits.

Found this, I wonder if it's of any use?
https://www.discogs.com/forum/thread/863968

Quote
Finally figured it out. I needed to set a User-Agent in my direct urllib request to pull down the cover art. Used to work for a long time without it, but now that that's added I'm back in business. I used the same user agent I sent to the discogs_client.Client() constructor. hope that helps someone.
Thanks
Title: Re: foo_discogs
Post by: da yuyu on 2021-04-10 15:04:01
I don't know whether changing the component user agent would make any difference in relation to reaching image limits or if doing so would end up getting into more complicated situations.

As you say, image limit seams quite plausible, getting the image via internet browser sort of a consolation prize to people reaching api limits.

It would be best if someone in the forum could shed some light on how long does the image limit flag last, if it is worth creating another account...

I am working on the part of my collection still missing metadata in a few days, so might as well end up in the same situation.

Thanks
Cheers
Title: Re: foo_discogs
Post by: paregistrase on 2021-05-04 18:27:34
As you say, image limit seams quite plausible, getting the image via internet browser sort of a consolation prize to people reaching api limits.

I'm getting this

Code: [Select]
(FATAL) Error [release 1521081]: Unknown network exception.(url: https://img.discogs.com/t_sYcVDr16RUl-bD4FIpAhN0fgM=/fit-in/264x263/filters:strip_icc():format(jpeg):mode_rgb():quality(90)/discogs-images/R-1521081-1225753143.jpeg.jpg)
(FATAL) Error: Unknown network exception.(url: https://img.discogs.com/t_sYcVDr16RUl-bD4FIpAhN0fgM=/fit-in/264x263/filters:strip_icc():format(jpeg):mode_rgb():quality(90)/discogs-images/R-1521081-1225753143.jpeg.jpg)

[ESCAPE to close]

and I didn't tag any released in a long time, maybe weeks

Also running in wine and no changes in iptables beyond the defaults distribution settings

I try with wine stable, wine-devel and wine-staging. All give this error
Title: Re: foo_discogs
Post by: da yuyu on 2021-05-04 20:55:32
Can you open the artwork link from your browser? What component version are you running?
I was under the impression that small album art errors were not treated as fatal since v2.23-mod.07.
Title: Re: foo_discogs
Post by: paregistrase on 2021-05-04 23:38:26
Can you open the artwork link from your browser?
Yes
What component version are you running?

This

Code: [Select]
A tagger using the Discogs (https://www.discogs.com) database.

Original Author:  zoomorph (2.23)
Version: 2.23-mod.05 by DaYuyu
Compiled: Feb 27 2021
Website: https://bitbucket.org/zoomorph/foo_discogs
Mod Website: https://github.com/ghDaYuYu/foo_discogs

Thanks to Michael Pujos (aka bubbleguuum) for starting this project (up to version 1.32).

This plugin uses the following open source libraries (thanks to their respective authors):

jansson - JSON Parser: http://www.digip.org/jansson/
liboauthcpp - OAuth library: https://github.com/sirikata/liboauthcpp

I was under the impression that small album art errors were not treated as fatal since v2.23-mod.07.

So i have mod 05 so i miss some release.

I'll search and install mod 07 and come back with the results


A moment later...

There is a lot of new release in your github. I only follow this forum so i must bookmark your github too.




Title: Re: foo_discogs
Post by: paregistrase on 2021-05-05 00:03:20
Trying v2.23-mod.15

with wine-staging no luck

Code: [Select]
(FATAL) Error [release 1521081]: Unknown network exception.(url: https://img.discogs.com/t_sYcVDr16RUl-bD4FIpAhN0fgM=/fit-in/264x263/filters:strip_icc():format(jpeg):mode_rgb():quality(90)/discogs-images/R-1521081-1225753143.jpeg.jpg)
(FATAL) Error: Unknown network exception.(url: https://img.discogs.com/t_sYcVDr16RUl-bD4FIpAhN0fgM=/fit-in/264x263/filters:strip_icc():format(jpeg):mode_rgb():quality(90)/discogs-images/R-1521081-1225753143.jpeg.jpg)

[ESCAPE to close]

but with wine-stable works, so looks like a regression in wine staging

Title: Re: foo_discogs
Post by: paregistrase on 2021-05-06 17:14:33
I found a solution to download images and using wine-staging.

In foobar2000-Preferences-Advanced-Networking-Suppress HTPPS certificate checks for domains add img.discogs.com,api.discogs.com and the errors gone away.
Title: Re: foo_discogs
Post by: frogworth on 2021-05-08 07:43:59
I'm finding the component is crashing foobar2000 when I'm trying to filter the results frequently.
It will be when I'm typing in the filter field, and it's trying to filter the results window itself. If there are a lot of results, it will just die.
Latest crash logs here:
https://www.dropbox.com/sh/pwzhxltc4uu230w/AAAa4ncLJCyl9j-S02Oth4Ksa?dl=0
Title: Re: foo_discogs
Post by: da yuyu on 2021-05-15 20:39:15
@frogworth
Thanks for the dump file, I tried crashing the component by following the description in your post but couldn´t. The .dmp file showed the code routine causing it though. Need to set aside some time for it, hopefully that crash won´t occur in next update.

Next update will focus on...
- Browse to current master/release item to make it visible when opening the release panel
- Refine release filter typing
- Custom columns on release panel
Title: Re: foo_discogs
Post by: stevehero on 2021-05-25 00:23:06
Just thought I'd leave my syntax here for Title and featuring artist(s) with help from alec.trons post (https://hydrogenaud.io/index.php?topic=50523.msg967272#msg967272) and zoomorphs post (https://hydrogenaud.io/index.php?topic=50523.msg967252#msg967252).

It replaces (Original Mix) and formats the TITLE like so: Title feat. Artist 1, Artist 2

Code: [Select]
$trim($pputs(Vartitle,$replace(%TRACK_TITLE%, '('Original Mix')',)))$trim($pputs(varFeat,$filter($flatten($multi_if($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),'Featuring')),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$joinnames($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$get(aj)),$get(an)),)),))$if($any($pget(varFeat)),$pget(Vartitle) 'feat. '$join($pget(varFeat)),$pget(Vartitle)))
Title: Re: foo_discogs
Post by: zoomorph on 2021-05-31 18:47:23
I haven't been following & don't have any time for this right now, but nice work da yuyu. If you make a MR on bitbucket some time I would review them and merge into the main release, once they are stable.

Did you ever fix the issue of it being very slow (at least under wine)? That seemed like a major issue.
Title: Re: foo_discogs
Post by: paregistrase on 2021-06-02 04:14:28
Hi people !

I have a question about artists art download.

Some discogs release have various artists ID, like Michael Nyman & Motion Trio ‎– Michael Nyman & Motion Trio (https://www.discogs.com/es/x/release/3688460) have Michael Nyman (https://www.discogs.com/es/artist/39574-Michael-Nyman) and Motion Trio (https://www.discogs.com/es/artist/903923-Motion-Trio).

What expression should i use for downloading both artists images?
Title: Re: foo_discogs
Post by: frogworth on 2021-06-02 13:12:16
@frogworth
Thanks for the dump file, I tried crashing the component by following the description in your post but couldn´t. The .dmp file showed the code routine causing it though. Need to set aside some time for it, hopefully that crash won´t occur in next update.

Next update will focus on...
- Browse to current master/release item to make it visible when opening the release panel
- Refine release filter typing
- Custom columns on release panel


Thanks da yuyu... Hope to see a fix soon, as it's still frequently crashing for me.
I created a Github issue for it:
https://github.com/ghDaYuYu/foo_discogs/issues/23
with a new crash log. I can send another dump if useful.
Title: Re: foo_discogs
Post by: paregistrase on 2021-06-06 13:48:36
When I used the field %DISCOGS_ARTISTS_PROFILE% i noticed that it gets

Code: [Select]
[b] Frank Zappa[/b] grew to be one of the most accomplished composers of the rock era, his music combining an understanding and appreciation for such contemporary classical figures as [b][a=Igor Stravinsky][/b], [b][a=Karlheinz Stockhausen][/b] and [b][a=Edgard Varèse][/b]

and

Code: [Select]
[a237886] the force behind [url=http://www.discogs.com/artist/2843814-Dweezil-Zappa-Plays-Zappa] "[i]Zappa Plays Zappa[/i]" [/url] as well as an accomplished guitarist in his own right; [a296279], [a1635870] and the more reserved [a296276].

Is there any way to get the tag text like this?

Code: [Select]
Frank Zappa grew to be one of the most accomplished composers of the rock era, his music combining an understanding and appreciation for such contemporary classical figures as Igor Stravinsky, Karlheinz Stockhausen and Edgard Varèse

and

Code: [Select]
Dweezil Zappa the force behind "Zappa Plays Zappa" as well as an accomplished guitarist in his own right; Moon Zappa, Diva Zappa and the more reserved Ahmet Zappa. 
Title: Re: foo_discogs
Post by: da yuyu on 2021-06-18 23:50:22
I haven't been following & don't have any time for this right now, but nice work da yuyu. If you make a MR on bitbucket some time I would review them and merge into the main release, once they are stable.

Did you ever fix the issue of it being very slow (at least under wine)? That seemed like a major issue.

Hi zoomorph, great to see you back. I'll be glad to MR at some point in the future of course.
The thing about the poor performance is going well. The filtering is not as awful as it was last week and there is a new option to cache on disk, nice for big artist collections. I believe it is getting better.
The throughput in the connections is not so good, but that seams like a limitation at Discogs. Idk maybe something to do with the protocol, the load balancing... is hard to tell. All in all your component does a fantastic job for my needs. Looking forward for that MR at some point in the future. All the best.

Title: Re: foo_discogs
Post by: alexinc on 2021-07-23 13:15:23
Tried mod.17.1 after several weeks of abstinence and it's always crashing on me after fetching the artist releases. When it wasn't crashing and opened the match track dialogue no tracks where shown - weather the fetched release tracks nor my local files...

EDIT: crazy sh..., i found the culprit. when having foo_upnp_out selected as output device (DLNA speaker), then your plugin is crashing. Having selected primary sound driver, everything is working as expected. :-O

EDIT2: at least i can run mod.16.1 - with mod.17.1 same problem as before.
Title: Re: foo_discogs
Post by: da yuyu on 2021-07-25 11:51:27
Sorry, about that...
A crash was reported on the repo that was solved by resetting 'Release formatting string' (Searching options) to the default value. You may check that just in case... About these crash reports, I am sorry I am somehow unable to run them. Would you please test again on v18.1 (maybe check also on a fresh install) and upload them again?
Thanks for reporting!  :)
Title: Re: foo_discogs
Post by: frogworth on 2021-07-25 12:27:20
Hey @da yuyu, I've got a small issue I want to raise.
In the tagging dialog, every time you adjust anything - e.g. you're searching for Boris, and you need to click through Boris (1), Boris (3) etc to find the right one - the Filter is replaced by whatever's tagged in the album title.

This can be inconvenient. If it's a CD with no tags, or untagged files, the filter keeps getting erased and you need to retype it. If the album title has punctuation in it, you might want to filter on a fragment of the title, and you have to keep editing that each time.

Can you possible change it to the old behaviour, where the Filter is initialised with album title, but then whatever you type in there stays for as long as the dialog is open?
Thanks!
Title: Re: foo_discogs
Post by: da yuyu on 2021-07-25 14:14:16
You are welcome, sounds quite bothersome...
Hopefully a fix will be included in the next release.
Title: Re: foo_discogs
Post by: frogworth on 2021-07-25 14:31:11
You are welcome, sounds quite bothersome...
Hopefully a fix will be included in the next release.

Lovely, thanks!
Title: Re: foo_discogs
Post by: alec.tron on 2021-08-07 08:30:01
Hiya.
I just installed the new 1.1 & 1.0 releases, and had foo_discogs as well as foo_discogger both active.
Looks like the later discogger disables the right click menu for foo_discogs under Tagging named just "Discogs". Also, there seem to be some funny cross-cancelling going on.
With the above, where foo_discogs as well as foo_discogger were active and the right click menu entries from foo_discogs , the right click menu for foo_discogger also had the top 2 options, write & uodate tags greyed out / disabled.

Is anyone else seeing this ?


Nevermind, updated the 2.23 stream to the latest 18.2 as well - and all seems fine now (Discogs right Click menu entry is there, and Discogger Write option is not greyed out anymore).

Cheers.
c.
Title: Re: foo_discogs
Post by: da yuyu on 2021-08-07 09:56:04
I also experienced some short of component hiccups, on all versions, directly after installation.
There might be a common bug (maybe related to OAuth), seams to get solved after the first-run.
Thanks for the feedback,
Cheers
Title: Re: foo_discogs
Post by: Sandrine on 2021-08-11 14:18:48
The component has stopped working for me, OAUTH error:

(FATAL) Error: Authorization Failed (401) [Is OAuth working?](url: https://api.discogs.com/database/search)
[ESCAPE to close]

foobar 1.6.7
foo_discogs 2.23-mod.18.2
Title: Re: foo_discogs
Post by: fuffi on 2021-08-20 11:06:19
Wow :-)

Just a couple of months not visiting and so much has being changed.

Thank you zoomorph for all your time and efforts to bring the foo_discogs component to such an intergalactic state, nobody wants to miss in their daily work ! (and of course thanks again to bubblegum).

And thank you da yuyu for continuing to develop and making the component now even more greater while fixing the odd bugs we had in the last years :-)

it's a nice day!

Title: Re: foo_discogs
Post by: fuffi on 2021-08-20 11:15:47
The component has stopped working for me, OAUTH error:
that seems to be an problem on discogs side, I think?

We're using the old component v2.20 and when I do an OAuth TEST (from the OAuth configuration page in the components prefs) I get errors like that, immediately

Code: [Select]
(FATAL) Error: Too Many Requests (429) [Discogs API rate-limit reached.](url: https://api.discogs.com/oauth/request_token)

[ESCAPE to close]
Log:
Code: [Select]
[12:08:06] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[12:08:06] foo_discogs: Rate-limited. Retrying: 1
[12:08:08] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[12:08:08] foo_discogs: Rate-limited. Retrying: 2
[12:08:13] foo_discogs: HTTP error status: HTTP/1.1 429 Too Many Requests
[12:08:13] foo_discogs: Rate-limited. Retrying: 3

I have not made any requests this day, so the rate limit can not be the reasong, I guess...

X

When I get back laters, I'll try the new modded component with that.
Title: Re: foo_discogs
Post by: frogworth on 2021-08-20 12:13:08
There is a current issue with the Discogs API. Lots of people experiencing the same "Too Many Requests" issue:
https://www.discogs.com/forum/thread/892264
Unrelated to any changes with this plugin, and I think only in the last 24 hours or less. Hopefully somebody on the Discogs side notices soon!
Title: Re: foo_discogs
Post by: da yuyu on 2021-08-20 18:05:37
@frogworth
Thanks frogworth for the info, the service seams to be up again!
I am getting the same performance ratios and rate limits as before the issue, so at first glance, it seams as nothing much changed from the clients point of view. This issue reminded me that I have been postponing (related to the modded version) completing a full offline mode for cached artists/releases. Hopefully this feature will be available soon in next releases.

@fuffi
You are welcome, hope you enjoy having the choice of different versions, quite similar but also each with its own
specific aspects.
Title: Re: foo_discogs
Post by: Koshingg on 2021-08-20 18:50:16
Hi! I'm using foo_discogs 2.23 and I noticed for some time foo_discogger. I installed the component and it seems both are the same. What is the difference between these 2 components? Should I use both of them?
Title: Re: foo_discogs
Post by: fuffi on 2021-08-20 19:33:21
You are welcome, hope you enjoy having the choice of different versions, quite similar but also each with its own
specific aspects.
being able to use both the 2 components is a plain WIN!

Now, that the development is up again, I'd like to add some old feature requests (if I'm able to find them on this crowded thread...) and put them on github with some minor bugs, I discovered.

Question:
The last 2 hours, I had quite some crashes, so is github the place to post them, or this thread?

In the meantime, I have a question regarding the "Master release formatting string":
(see animated gif)


When I change the string, I need to restart fb2k to apply the changes, which is...inconveniant.
Is there a way, that I can change those strings and apply them *directly* (or with less clicks as possible) for testing them?

Thank you.
Title: Re: foo_discogs
Post by: fuffi on 2021-08-20 20:23:14
Hi,
can somebody tell me, how to get rid of those expandable "+"  ?

X

What code do I need (and where do I find it) to make it look like this:

X

I copied the code from the "old" component to the modded one, but I have no clue, why it is showing those expandable plusses?
Title: Re: foo_discogs
Post by: fuffi on 2021-08-20 23:10:07
I installed the component and it seems both are the same. What is the difference between these 2 components?

For me, the modded component has SO MANY great additions,
just to name some:
-the highlighter on the tag mappings
-the drag'n'drop of filenames which was not possible before (and it looks nicer now)
-the new preferences windows, integrated in fb2k
-the guis look much better now
-the new manage artwork feature
-and, of course, the component now shows the format of a release (CD/TAPE/VINYL/...), which I missed in the old component.

Magnificent !!!

Should I use both of them?

Sure, why not, use the "old" compontent as usual, and if you want to use new features (or want to report bugs), use the modded one.
The modded component might crash a little bit more than the old one did :-]

Well, you certainly have to check those new/enhanced features yourself...
Title: Re: foo_discogs
Post by: fuffi on 2021-08-20 23:26:13
@da yuyu

Tried mod.17.1 after several weeks of abstinence and it's always crashing on me after fetching the artist releases. When it wasn't crashing and opened the match track dialogue no tracks where shown - weather the fetched release tracks nor my local files...

EDIT: crazy sh..., i found the culprit. when having foo_upnp_out selected as output device (DLNA speaker), then your plugin is crashing. Having selected primary sound driver, everything is working as expected. :-O

With
Version: 1.0.4
Compiled: Aug 19 2021

I have similar crashes...directly, after opening the find release window and some fetching, fb2k crashes. Particular, when I listen to music (primary sound driver) and fb2k just was restarted and the first thing I did was pressing the keyboard-hotkey for the fine modded component to open the find release window.
I got about 20 crashes in a row, but after I just waitet 2 minutes after fb2k was startet and did the same thing, it seems to work as usual.
strange...

unfortunately, I have about 30 crash reports in the crash reports folder and dunno which it was....(I did a lot of testing and got a lot of crashes)
Title: Re: foo_discogs
Post by: da yuyu on 2021-08-21 02:31:26
Hi! I'm using foo_discogs 2.23 and I noticed for some time foo_discogger. I installed the component and it seems both are the same. What is the difference between these 2 components? Should I use both of them?

@Koshingg
I would say that the latest official foo_discogs release is the best choice to get started. I tagged most of my collection with it flawlessly (although most of my collection contained NO TAGS whatsoever). It also adds security being an official component, it has the most trustworthy documentation... and you also have this thread, with tons of useful information.

The early v2.23 modded versions, as fuffi mentioned above, included attempts to fix odd bugs, and to achieve finer grained control over tag updates. Some of the code for these fixes may eventually be merged into foo_discogs when zoomorph resumes development.

Unfortunately, the modded versions also intruduce instability problems so I wouldn't advice them.
Title: Re: foo_discogs
Post by: da yuyu on 2021-08-21 02:59:50
is github the place to post them, or this thread?

Github please.

When I change the string, I need to restart fb2k to apply the changes, which is...inconveniant.
Is there a way, that I can change those strings and apply them *directly* (or with less clicks as possible) for testing them?

I did not test it myself, I would try again after deleting the cache (from preferences->cache).
Title: Re: foo_discogs
Post by: iAmBecomeDeath on 2021-08-29 21:21:22
Hey all, I have been using foobar for quite a while and I am able and comfortable to "get my hands dirty" with using and modifying components that I choose in my foobar setup, I am struggling a bit with the language needed to get my desired results from the foo_discogs component. I have been scouring this thread and I've spent quite a bit of time playing around with editing tag mappings but i cannot come up with the right language. I need help. I have a few specific entries I would love the Discogs tagger to write to my files. For example, how to write the credits entry from a Discogs release exactly as it appears on the Discogs release page. i.e. Credits
Art Direction – Jay Vigon
Art Direction [Album Cover Concept], Design – Paul Clark (9)
Bass Guitar – Geezer Butler
Drums – Vinny Appice
Engineer – Bill Freesh, Lee De Carlo*
Illustration – Stan Watts
Keyboards – Geoff Nicholls
Lead Guitar – Tony Iommi
Liner Notes – Steffan Chirazi
Management [Product] – Jon Richards
Photography By – Mark Weiss (3), Pat Harbron*
Producer – Geezer Butler, Tony Iommi
Remastered By – Andy Pearce, Ray Staff
Vocals – Ronnie James Dio

I want to have all this info in my .flac files just as they are shown on the page. I have a Company entry, Credits entry, Notes entry and Barcode / Other entry. These 4 strings, I simply don't have the knowledge to write to correct, I will call it code. While there are examples of the Credits entry being used in a tag, it is a long single line string. I would like to have each credit on its own line.

I also am trying to right language for the Engineered by, Mastered by, Mixed by and Produced by. As of now I physically add each entry I am interested in by copy and pasting. I know there is a solution out there, I simply cannot wrap my head around it!

And one last request is to ask if anyone knows if there is a complete list of foo_discogs tag mappings. The basic list is kinda there in the editing section, but how can someone access a list of some sort either from foobar or directly from the Discogs code.

Thanks for any and all help. This is my first post here, I look forward to hearing from you! 
Title: Re: foo_discogs
Post by: lpgray@gmail.com on 2021-09-25 17:07:41
I've been using fb2k for years, but I only just discovered foo_discogs, and... wow! This will save me a lot of manual work!

I like saving both the original release date and the reissue date, and would like the full dates when available. I found RELEASE_DATE_RAW, but is there any way to get MASTER_RELEASE_DATE_RAW? I've only found that MASTER_RELEASE_YEAR works, so far.
Title: Re: foo_discogs
Post by: a3aan on 2021-09-25 17:31:24
Is use %MASTER_RELEASE_MAIN_RELEASE_DATE_RAW%.
Title: Re: foo_discogs
Post by: lpgray@gmail.com on 2021-09-25 17:41:50
Awesome, thanks!
Title: Re: foo_discogs
Post by: idro on 2021-10-25 13:45:11
I'd like to do a search about "written by" tag inside credits from discogs, but I noticed that sometime it is written as "Written By", other times as "Written-By" etc.

So how do I catch the word "written"? I'd like to do a search both inside track credits and inside album credits.  
Title: Re: foo_discogs
Post by: NateHigs on 2021-12-03 21:27:43
Really struggling to get OAuth working now

(FATAL) Error: Authorization Failed (401) [Is OAuth working?](url: https://api.discogs.com/oauth/access_token)

[ESCAPE to close]
Title: Re: foo_discogs
Post by: NateHigs on 2021-12-07 07:36:10
Really struggling to get OAuth working now

(FATAL) Error: Authorization Failed (401) [Is OAuth working?](url: https://api.discogs.com/oauth/access_token)

[ESCAPE to close]

Just me? Can anyone reproduce or confirm?
Title: Re: foo_discogs
Post by: frogworth on 2021-12-07 08:52:15
Just me? Can anyone reproduce or confirm?
It's working for me in the sense that I'm currently authorized. Not keen to wipe it out in case I can't re-do it, but as far as I can see it's OK?
Title: Re: foo_discogs
Post by: da yuyu on 2021-12-07 11:36:45
Just run a test with a new portable installation, authorization is working here too.
Title: Re: foo_discogs
Post by: NateHigs on 2021-12-07 12:35:21
Just run a test with a new portable installation, authorization is working here too.
. Thank you!
Title: Re: foo_discogs
Post by: NateHigs on 2021-12-07 13:49:31
Worked after what I think was the 30th attempt. @Da Yuyu, thanks for your help!
Title: Re: foo_discogs
Post by: BiOMeX on 2021-12-09 13:06:07
Really struggling to get OAuth working now

(FATAL) Error: Authorization Failed (401) [Is OAuth working?](url: https://api.discogs.com/oauth/access_token)

[ESCAPE to close]
Sometimes it happens due wrong time on computer. My working PC is part of domain, so admin set domain time "-5 min" of current time, so Discogs said me what you quoted. After the time was fixed -  no errors from Discogs.
Title: Re: foo_discogs
Post by: paregistrase on 2022-03-03 07:24:23
Hi people.

I install the new foo_discogger.fb2k-component and i have a problem with the release window, the master didn't expand.

I tried with previous version from https://github.com/ghDaYuYu/foo_discogs/releases and the last version that expand was v2.23-mod.16.1

Every version after that has the same problem.

I'm running foobar with wine in ubuntu.

Anyone having this problem?
Title: Re: foo_discogs
Post by: da yuyu on 2022-03-04 20:40:37
looking at wine sources (https://github.com/wine-mirror/wine/blob/1b9d48a7b01e2b715af46bc1f8d5fe6f1529782c/dlls/comctl32/treeview.c#L2115)...


Code: [Select]
FIXME("I_CHILDRENCALLBACK not supported\n");

I couldn´t find the fixme message in my logs though.
If someone want to ask for a fix this might be the place: https://www.winehq.org/mailman/listinfo/wine-devel (https://www.winehq.org/mailman/listinfo/wine-devel)
I´ll get back to this if/when I find some spare time, and maybe regretfully restore the last working version to be run just under wine environment.
Title: Re: foo_discogs
Post by: paregistrase on 2022-03-05 07:46:38
looking at wine sources (https://github.com/wine-mirror/wine/blob/1b9d48a7b01e2b715af46bc1f8d5fe6f1529782c/dlls/comctl32/treeview.c#L2115)...


Code: [Select]
FIXME("I_CHILDRENCALLBACK not supported\n");

I couldn´t find the fixme message in my logs though.
If someone want to ask for a fix this might be the place: https://www.winehq.org/mailman/listinfo/wine-devel (https://www.winehq.org/mailman/listinfo/wine-devel)
I´ll get back to this if/when I find some spare time, and maybe regretfully restore the last working version to be run just under wine environment.

Thanks @da yuyu.
Title: Re: foo_discogs
Post by: da yuyu on 2022-03-08 22:30:31
@paregistrase,
good news, nodes are now expanding also in wine.
fix will be included in the next patch, thanks for reporting!
Title: Re: foo_discogs
Post by: paregistrase on 2022-03-09 14:33:31
@paregistrase,
good news, nodes are now expanding also in wine.
fix will be included in the next patch, thanks for reporting!

Excellent 8)

Thanks a lot!!



Title: Re: foo_discogs
Post by: ojdo on 2022-03-29 10:26:53
Another basic Wine support question: what do I need to do/prepare/install/configure in order to get the OAuth flow working? Here (Arch-based EndeavourOS under KDE 5.24, current Wine 7.4), the Authorize button fails to open a browser window. I guess I must somehow redirect that request to use the native browser, but I did not manage to make any progress.

Or can I somehow perform these steps manually?
Title: Re: foo_discogs
Post by: paregistrase on 2022-03-29 11:18:10
Another basic Wine support question: what do I need to do/prepare/install/configure in order to get the OAuth flow working? Here (Arch-based EndeavourOS under KDE 5.24, current Wine 7.4), the Authorize button fails to open a browser window. I guess I must somehow redirect that request to use the native browser, but I did not manage to make any progress.

Or can I somehow perform these steps manually?

I never tried with KDE but in gnome (arch and ubuntu) always work for me.

Maybe you can take a look at the wine registry with wine regedit

In HKEY_CLASSES_ROOT -> http (and https) -> shell -> open -> command i have "C:\windows\system32\winebrowser.exe" -nohome

Also you can try to make a new key in HKEY_CURRENT_USER -> Software -> Wine called "WineBrowser". Under the newly created "WineBrowser" key, create a string called "Browsers" with the following value: xdg-open,firefox,konqueror. Don't worry about the browsers order in the above code. Just make sure "xdg-open" is the first one, as that will make sure that when you click a link in a Wine application, your default native Linux browser will be used to open that link.
Title: composer and performer
Post by: huggy020 on 2022-03-31 20:54:13
Any help with formatting string for composer and performer. I cant seem to get it right
Title: Re: foo_discogs
Post by: ojdo on 2022-04-01 10:08:48
I never tried with KDE but in gnome (arch and ubuntu) always work for me.
Good to know; on next install on a device, I'll try that path.



Quote
In HKEY_CLASSES_ROOT -> http (and https) -> shell -> open -> command i have "C:\windows\system32\winebrowser.exe" -nohome
That is all set by default; also: weblinks on foobar's "Help > About" window open in my default browser just fine. Only peculiarity: links to htm(l) files, like the link "License && Credits" spawn KDE's default text editor. But that's probably due to these defaults:
Code: [Select]
[HKEY_CLASSES_ROOT/.html] ContentType = "text/html"

Quote
Also you can try to make a new key in HKEY_CURRENT_USER -> Software -> Wine called "WineBrowser". Under the newly created "WineBrowser" key, create a string called "Browsers" with the following value: xdg-open,firefox,konqueror.

I tried that, but did not change anything, as expected. Winebrowser seems to be linked to xdg-open just fine, but it seem Discog's [kbd]Authorize[/kbd] opens the link through another code path where my registry does not link back to any browser, not even Wine's internal one.
Title: Re: foo_discogs
Post by: paregistrase on 2022-04-01 12:04:57
I never tried with KDE but in gnome (arch and ubuntu) always work for me.

I suppose that you had tried with a new wine profile profile .

In the old times when ie8 winetrick verb was necessary i used a trick to avoid using it. Like ie8 hijack the links i used to install a old firefox version and made it default browser in the profile. With
Code: [Select]
wine ~/.wine/drive_c/Program\ Files/Mozilla\ Firefox/firefox.exe -silent -setDefaultBrowser
Maybe it can help you as a workaround

Title: Re: foo_discogs
Post by: da yuyu on 2022-04-06 05:57:33
A new version of foo_discogger is out.
It fixes a few issues running the component on Wine.
download link (https://github.com/ghDaYuYu/foo_discogs/releases/tag/v1.0.6)
Title: Re: foo_discogs
Post by: alec.tron on 2022-04-06 08:25:49
A new version of foo_discogger is out.
Awesome & many thanks that you are maintaining it further!!
Tested, and a few things I noticed/worth noting potentially:
 - requirements have changed, I was on foobar 1.4.6 still, and this new version now requires a newer version for foobar sdk updates.
- after updating to foobar latest 1.6.10 I get this upon startup:
---------------------------
foo_discogger initialization
---------------------------
Error loading configuration.
---------------------------
OK  
---------------------------
- and immediate crash of foobar when calling foo_discogger.1_06. via shortcut.
- also crashing foobar when attempting to access foo_discogger settings to check the configuration file in the components window

So as is I'm a bit stuck with 1.06, and revert to 1.05 for the time being.
Anything I can do to test 1.06 further ?

Cheers.
c.

ps. bummer, old version foo_discogger1.05 is not compatible with foobar 1.6.10 anymore.
Let me know if you need anything else.
Title: Re: foo_discogs
Post by: paregistrase on 2022-04-06 14:31:26
A new version of foo_discogger is out.
It fixes a few issues running the component on Wine.
download link (https://github.com/ghDaYuYu/foo_discogs/releases/tag/v1.0.6)

Working great in wine. I had to delete all configuration files to avoid an initial crash but after that all fine, including import of old discogs tag mapping

Thank you very much
Title: Re: foo_discogs
Post by: da yuyu on 2022-04-06 18:28:15
You are welcome, thank for testing!

@alec.tron,
Touch wood the installation error should be fixed now.
Please redownload v1.06, and try installing again.
If you are still stuck in the installation process try the fix suggested in the download page.

About the requirements change, it was a decision that had to be taken (mostly on the testing aspect of it) as I could not afford supporting a pre-Windows 7 sdk... surely you do have good reasons to like 1.4.x
you might have to maybe run foo_discogger in an independent portable installation?

@paragistrase

Glad is working!  :D
Title: Re: foo_discogs
Post by: alec.tron on 2022-04-07 12:41:11
@alec.tron,
Please redownload v1.06, and try installing again.
Done, worked!

About the requirements change, it was a decision that had to be taken (mostly on the testing aspect of it) as I could not afford supporting a pre-Windows 7 sdk... surely you do have good reasons to like 1.4.x
you might have to maybe run foo_discogger in an independent portable installation?
All good, requirement change is completely understandable, just caught me by surprise so thought I'd mention it. Also running portable anyway, and version 1.4 reason was mostly that it works, & no new features for me I noticed, so it just stuck around... :D

Cheers.
c.
Title: Re: foo_discogs
Post by: paregistrase on 2022-04-07 16:30:14
Hi @da yuyu I found a problem with a pair of releases.

Various – The Shadows In Thy Glimpse: Bedouin Records Selected Discography 2016​-​2018 (https://www.discogs.com/es/release/18202627-Various-The-Shadows-In-Thy-Glimpse-Bedouin-Records-Selected-Discography-2016-2018)
and
Various – Serpent Made of the Snake's Desire: Bedouin Records Selected Discography 2014​-​2016 (https://www.discogs.com/es/release/18202423-Various-Serpent-Made-of-the-Snakes-Desire-Bedouin-Records-Selected-Discography-2014-2016)

The component find the releases but when I tried to tag the files nothing happened and the menu to write tag became gray and can not tag any other release.

The console said

Code: [Select]
foo_discogger: https://api.discogs.com/releases/18202627
foo_discogger: Url OAuth enabled
foo_discogger: RateLimit: 60 - Used: 1 - Remaining: 59 - not throttling images

Only way to continue using the component is closing the program
Title: Re: foo_discogs
Post by: da yuyu on 2022-04-08 11:34:29
@paregistrase

Releases without any artwork  :o
Bug is now fixed (v1.0.7 (https://github.com/ghDaYuYu/foo_discogs/releases/tag/v1.0.7)).
Title: Re: foo_discogs
Post by: frogworth on 2022-04-08 14:26:48
Thanks @da yuyu!
I was confused initially with this release because it seems like you have to double click on the artist name to get it to load the releases. Is there a way to make it automatic upon selection of the artist, like it was before?

I also had a crash. If that happens again I'll send the crash report.
Title: Re: foo_discogs
Post by: da yuyu on 2022-04-08 17:06:59
Hi @frogworth,

Yes, it interrupts the workflow.

Same sort of thing as the filter auto-fill that took me a while to figure out and which solution was trivial.

As you know the secondary requirement is to avoid loading artist releases when user doesn´t expect it to be done, for my own part, while browsing through artist profiles, or when there is no exact match in the artist search and the first artist in the list published have hundreds of releases.
It should be fixed fairly soon.

Thanks for testing
Regards
Title: Re: foo_discogs
Post by: The_Mule on 2022-04-21 23:04:48
I only enabled Client part of TLS (see below), and foo_discogs now works, thanks!

Code: [Select]
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Client]
"DisabledByDefault"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client]
"DisabledByDefault"=dword:00000000


P.S. Yet another reminder that Windows 7 is not exactly an up-to-date system.



Code: [Select]
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Client]
"DisabledByDefault"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client]
"DisabledByDefault"=dword:00000000

 Thanks, that worked. Just copied the code above into a 'filename.reg' file and run it to add to the registry.


Yaay!  This worked.  Long story short, never had an issue with Win 10, but my company dictated I could no longer use my laptop at work to play music, so I brought in my Win 7 laptop from home (yeah  ...  *that's* secure ...  <rolleyes>), and the Discogs tagger wouldn't work.  Now it does.  :D  Thank you!!
Title: Re: foo_discogs
Post by: frogworth on 2022-05-04 11:13:20
Hey @da yuyu I'm finding that with the latest discogger I'm getting crashes all the time during tagging. The music glitches and then it crashes.
Quote
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 137E3583h
Access violation, operation: read, address: 00000040h

Call path:
threaded_process thread

Code bytes (137E3583h):
137E3543h:  A5 A5 A5 A5 89 01 8B 4D 10 85 C9 74 05 8B 01 FF
137E3553h:  50 04 8D 85 28 FC FF FF 50 E8 C2 03 00 00 8D 8D
137E3563h:  28 FC FF FF E8 0A 43 FC FF EB 36 8B 8D E0 FC FF
137E3573h:  FF 8B 45 10 56 8B 75 28 83 EC 10 8B FC 8D 34 31
137E3583h:  A5 51 8B CC A5 A5 A5 89 01 8B 4D 10 85 C9 74 05
137E3593h:  8B 01 FF 50 04 8D 85 B4 FC FF FF 50 E8 7F 03 00
137E35A3h:  00 8D 8D B4 FC FF FF E8 C7 42 FC FF 8D 8D 88 FC
137E35B3h:  FF FF C6 45 FC 0F E8 32 42 04 00 8B BD DC FC FF

Stack (2A24EF1Ch):
2A24EEFCh:  FFFFFD34 000002EC FFFFFD34 000002CC
2A24EF0Ch:  00000021 00000000 138EA03F 00000004
2A24EF1Ch:  137E374B 137E34E2 2A24F058 35B24010
2A24EF2Ch:  37A7036C 81B78FF0 2A24F860 00000000
2A24EF3Ch:  37A70360 2A24F040 7758C39C 00000080
2A24EF4Ch:  00000000 138FBD64 138FBD80 00000000
2A24EF5Ch:  00000000 00000000 77672700 774ED1C8
2A24EF6Ch:  146509D0 146509D4 146509D4 00000016
2A24EF7Ch:  139011CC 2A24F860 00000000 00000000
2A24EF8Ch:  2A24EFE8 2A24F444 00000000 00000000
2A24EF9Ch:  00000000 139011A8 37A70360 00000000
2A24EFACh:  00000000 00000000 37C250A8 00000000
2A24EFBCh:  14650A20 14650A24 14650A24 00000016
2A24EFCCh:  00000000 00000000 2A24F838 14650B00
2A24EFDCh:  14650B04 14650B04 00000016 37D4BC14
2A24EFECh:  37D4BC08 00000040 FFFFFFFD 00000001
2A24EFFCh:  00000000 00000000 138FBD64 138FBD80
2A24F00Ch:  00000000 00000000 00000000 00000000
2A24F01Ch:  2A24F858 138FBD64 138FBD80 00000000
2A24F02Ch:  00000000 00000000 00000000 00000020

Registers:
EAX: 0E990EA8, EBX: 37A70360, ECX: 00000040, EDX: 138FA620
ESI: 00000040, EDI: 2A24EF1C, EBP: 2A24F3A4, ESP: 2A24EF1C

Crash location:
Module: foo_discogger
Offset: 43583h

Stack dump analysis:
Address: 137E374Bh (foo_discogger+4374Bh)
Address: 137E34E2h (foo_discogger+434E2h)
Address: 7758C39Ch (ntdll+AC39Ch), symbol: "fltused" (+9D708h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 138FBD80h (foo_discogger+15BD80h), symbol: "foobar2000_get_interface" (+CEFA0h)
Address: 77672700h (ntdll+192700h), symbol: "NlsAnsiCodePage" (+AFCh)
Address: 774ED1C8h (ntdll+D1C8h), symbol: "wcstoul" (+6A58h)
Address: 139011CCh (foo_discogger+1611CCh), symbol: "foobar2000_get_interface" (+D43ECh)
Address: 139011A8h (foo_discogger+1611A8h), symbol: "foobar2000_get_interface" (+D43C8h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 138FBD80h (foo_discogger+15BD80h), symbol: "foobar2000_get_interface" (+CEFA0h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 138FBD80h (foo_discogger+15BD80h), symbol: "foobar2000_get_interface" (+CEFA0h)
Address: 7700A3C0h (ucrtbase+A3C0h), symbol: "strcmp" (+0h)
Address: 77591354h (ntdll+B1354h), symbol: "fltused" (+A26C0h)
Address: 13906480h (foo_discogger+166480h), symbol: "foobar2000_get_interface" (+D96A0h)
Address: 77591354h (ntdll+B1354h), symbol: "fltused" (+A26C0h)
Address: 77672A80h (ntdll+192A80h), symbol: "NlsAnsiCodePage" (+E7Ch)
Address: 77590A6Ch (ntdll+B0A6Ch), symbol: "fltused" (+A1DD8h)
Address: 77539D8Ch (ntdll+59D8Ch), symbol: "fltused" (+4B0F8h)
Address: 77591354h (ntdll+B1354h), symbol: "fltused" (+A26C0h)
Address: 77672A80h (ntdll+192A80h), symbol: "NlsAnsiCodePage" (+E7Ch)
Address: 77539D8Ch (ntdll+59D8Ch), symbol: "fltused" (+4B0F8h)
Address: 77591354h (ntdll+B1354h), symbol: "fltused" (+A26C0h)
Address: 77176000h (ucrtbase+176000h), symbol: "EH_prolog" (+5830h)
Address: 77672A80h (ntdll+192A80h), symbol: "NlsAnsiCodePage" (+E7Ch)
Address: 7761D304h (ntdll+13D304h), symbol: "fltused" (+12E670h)
Address: 7761D304h (ntdll+13D304h), symbol: "fltused" (+12E670h)
Address: 77176000h (ucrtbase+176000h), symbol: "EH_prolog" (+5830h)
Address: 774E1BB0h (ntdll+1BB0h), symbol: "RtlAcquireSRWLockExclusive" (+0h)
Address: 6B720DD1h (MSVCP140+30DD1h), symbol: "Concurrency::details::_ReportUnobservedException" (+321h)
Address: 137B928Bh (foo_discogger+1928Bh)
Address: 6B707B09h (MSVCP140+17B09h), symbol: "Thrd_yield" (+D9h)
Address: 137B928Bh (foo_discogger+1928Bh)
Address: 6B7211F6h (MSVCP140+311F6h), symbol: "_crtIsPackagedApp" (+36h)
Address: 6B7211F6h (MSVCP140+311F6h), symbol: "_crtIsPackagedApp" (+36h)
Address: 6B707D50h (MSVCP140+17D50h), symbol: "Thrd_yield" (+320h)
Address: 6B707D59h (MSVCP140+17D59h), symbol: "Thrd_yield" (+329h)
Address: 138E7932h (foo_discogger+147932h), symbol: "foobar2000_get_interface" (+BAB52h)
Address: 137CE865h (foo_discogger+2E865h)
Address: 137E4289h (foo_discogger+44289h)
Address: 138E9FEDh (foo_discogger+149FEDh), symbol: "foobar2000_get_interface" (+BD20Dh)
Address: 137E2A72h (foo_discogger+42A72h)
Address: 137E2A00h (foo_discogger+42A00h)
Address: 139011CCh (foo_discogger+1611CCh), symbol: "foobar2000_get_interface" (+D43ECh)
Address: 774F2030h (ntdll+12030h), symbol: "fltused" (+339Ch)
Address: 139011A8h (foo_discogger+1611A8h), symbol: "foobar2000_get_interface" (+D43C8h)
Address: 77537D38h (ntdll+57D38h), symbol: "fltused" (+490A4h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 77674000h (ntdll+194000h), symbol: "NlsAnsiCodePage" (+23FCh)
Address: 13906480h (foo_discogger+166480h), symbol: "foobar2000_get_interface" (+D96A0h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 77116824h (ucrtbase+116824h), symbol: "wctype" (+101CB4h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 138FBD64h (foo_discogger+15BD64h), symbol: "foobar2000_get_interface" (+CEF84h)
Address: 138E9EBAh (foo_discogger+149EBAh), symbol: "foobar2000_get_interface" (+BD0DAh)
Address: 137FEF5Eh (foo_discogger+5EF5Eh)
Address: 77176BD0h (ucrtbase+176BD0h), symbol: "mbcasemap" (+78h)
Address: 138FBDF8h (foo_discogger+15BDF8h), symbol: "foobar2000_get_interface" (+CF018h)
Address: 138FBDF8h (foo_discogger+15BDF8h), symbol: "foobar2000_get_interface" (+CF018h)
Address: 138ED116h (foo_discogger+14D116h), symbol: "foobar2000_get_interface" (+C0336h)
Address: 137FE7A4h (foo_discogger+5E7A4h)
Address: 77176BD0h (ucrtbase+176BD0h), symbol: "mbcasemap" (+78h)
Address: 00C201FEh (foobar2000+101FEh)
Address: 138ECFE4h (foo_discogger+14CFE4h), symbol: "foobar2000_get_interface" (+C0204h)
Address: 00D2BF4Bh (foobar2000+11BF4Bh)
Address: 77176BD0h (ucrtbase+176BD0h), symbol: "mbcasemap" (+78h)
Address: 6BBF7276h (shared+7276h), symbol: "uCallStackTracker::uCallStackTracker" (+D6h)
Address: 00DE0DF0h (foobar2000+1D0DF0h)
Address: 77176BD0h (ucrtbase+176BD0h), symbol: "mbcasemap" (+78h)
Address: 00DBABA9h (foobar2000+1AABA9h)
Address: 00D2BF01h (foobar2000+11BF01h)
Address: 00DAA1F1h (foobar2000+19A1F1h)
Address: 77126798h (ucrtbase+126798h), symbol: "wctype" (+111C28h)
Address: 770628ECh (ucrtbase+628ECh), symbol: "wctype" (+4DD7Ch)
Address: 77176BD0h (ucrtbase+176BD0h), symbol: "mbcasemap" (+78h)
Address: 77062820h (ucrtbase+62820h), symbol: "wctype" (+4DCB0h)
Address: 7650012Ch (KERNEL32+1012Ch), symbol: "timeGetTime" (+97BCh)
Address: 77062820h (ucrtbase+62820h), symbol: "wctype" (+4DCB0h)
Address: 77566750h (ntdll+86750h), symbol: "fltused" (+77ABCh)
Address: 77566708h (ntdll+86708h), symbol: "fltused" (+77A74h)
Address: 76BEB6E0h (KERNELBASE+25B6E0h), symbol: "PackageSidFromProductId" (+2532E0h)
Address: 77622C3Ch (ntdll+142C3Ch), symbol: "fltused" (+133FA8h)
Address: 7766E044h (ntdll+18E044h), symbol: "RtlCaptureContext" (+E4h)
Address: 77062820h (ucrtbase+62820h), symbol: "wctype" (+4DCB0h)

Environment:
App: foobar2000 v1.6.11 beta 2
UI: Default User Interface 1.6.11 beta 2
Title: Re: foo_discogs
Post by: da yuyu on 2022-05-04 22:44:34
Yes, I also encountered new crashes running the current release. I temporarily focused on the Linux issues while doing some parsing code revisions and some of that code might have slipped out into v1.07... now track parsing will take all developing and testing efforts for the time being.

Thanks for your noticing
Title: Re: foo_discogs
Post by: da yuyu on 2022-09-13 13:42:26
Version 1.0.11 (https://github.com/ghDaYuYu/foo_discogs/releases) is now available for download.

Whats new:

    Some bug fixes related to multiple artist releases
    32/64 bits and dark mode (excl. artwork panel)
Title: Re: foo_discogs
Post by: fbuser on 2022-09-13 21:17:02
Crash while changing options using the preferences dialog.
Title: Re: foo_discogs
Post by: da yuyu on 2022-09-14 10:56:37
Thanks a lot for that report @fbuser
Discogger 1.0.11.1 (https://github.com/ghDaYuYu/foo_discogs/releases/tag/v1.0.11.1) should have fixed it.
Title: Re: foo_discogs
Post by: metal_termite on 2022-09-14 18:54:14
I went through the steps on the UI to authorize the component. The test button says OAuth is working yet the console reports "foo_discogger: Url OAuth disabled" and obv I can't access Discogs with the component. Got it working!
Title: Re: foo_discogs
Post by: da yuyu on 2022-09-17 06:06:12
 ... verbose outputs to the console should be revised, OAuth disabled just tells about access to an url not needing it.

Discogger v1.0.12 (https://github.com/ghDaYuYu/foo_discogs/releases/tag/v1.0.12)

Change log:

- Refurbished artwork panel (libPPUI drag and drop, dark mode)
Title: Re: foo_discogs
Post by: da yuyu on 2022-09-17 22:02:05
Hi
A quick fix has been released, with a fix for arwork columns not being saved.
Discogger v1.0.12.2 (https://github.com/ghDaYuYu/foo_discogs/releases):

Title: Re: foo_discogs
Post by: da yuyu on 2022-09-20 21:32:22
Hi, a new release is out... Discogger v1.0.13 (https://github.com/ghDaYuYu/foo_discogs/releases):

Whats new:

multi-artist artwork pre-loads (match track panel).
removed 'oauth disabled', 'throttle disabled' and image throttle console logs.
improved url data access saving artwork.
Title: Re: foo_discogs
Post by: alec.tron on 2022-11-04 21:10:22
Hi.
Re v1.0.14.8 - which I installed recently.
For me, this now formats incoming multi value fields as a single string values on flac files (due to, from what I see, a ";" instead of  "; " as an input separator).
i.e. it used to be this pre v1.0.14.8 (in foobar tag editor) [correctly getting set as 3 separate genre values]:
"UK Garage; Techno; Dubstep"
i.e. whereas it now  in v1.0.14.8 is set as this (in foobar tag editor) [incorrectly getting set as 1 single genre values with literal ";"s....]:
"UK Garage;Techno;Dubstep"

Is anyone else seeing this ?

Cheers.
c.
Title: Re: foo_discogs
Post by: alec.tron on 2022-11-05 12:08:34
(odd, I can't edit the above to add a ps. - so here as a new post...)
I rolled back to the last version I had downloaded - 1.0.13.1 - and with that foobar / foo_discogger formats the multi-value discogs genres & styles metadata correctly again into multiple fields.
Churs.
c.
Title: Re: foo_discogs
Post by: frogworth on 2022-11-05 12:09:58
Hey @alec.tron yes I had noticed this too, but hadn't worked out what was going on! Thanks for raising it.
Title: Re: foo_discogs
Post by: Terence on 2022-11-05 13:09:50
Hi,
It works for me, the values are correctly separated. The separator is "; ", in Mp3tag it is "\\".
I bothered da yuyu with this on the previous version.  https://github.com/ghDaYuYu/foo_discogs/issues/79 (https://github.com/ghDaYuYu/foo_discogs/issues/79)
It was doing this to me when I added a value manually. But now it works for me.
My version of Discogger is 1.0.14.8pv in Preferences > Components, with foobar 2.0 beta 12 x86.
I remapped to DISCOGS_GENRE and DISCOGS_STYLE. I always use the Preview window. Sometimes I add genres from another release.

Title: Re: foo_discogs
Post by: alec.tron on 2022-11-05 18:59:13
Hi,
It works for me, the values are correctly separated. The separator is "; ", in Mp3tag it is "\\".
I bothered da yuyu with this on the previous version.  https://github.com/ghDaYuYu/foo_discogs/issues/79 (https://github.com/ghDaYuYu/foo_discogs/issues/79)
It was doing this to me when I added a value manually. But now it works for me.
hm, thanks for the info!
I switched back to the newest version, and added all fields that I deem possible to hold multi-value in the discogger & main pref (as per Da yuyu's recommendations in the git issue).
So they now look like:
Code: [Select]
ARTIST;ALBUM ARTIST;PRODUCER;COMPOSER;PERFORMER;GENRE;instruments;DISCOGS_RELEASE_GENRES;DISCOGS_STYLES;style;DISCOGS_RELEASE_CREDITS;DISCOGS_TRACK_CREDITS;DISCOGS_CREDIT_FEATURING;DISCOGS_ARTISTS_ALL_NAME_VARIATIONS;DISCOGS_ARTISTS_ALIASES;DISCOGS_ARTISTS_MEMBERS;DISCOGS_ARTISTS_INGROUPS;DISPLAY_ARTIST

But no luck. It's still writing my custom fields, DISCOGS_RELEASE_GENRES &  DISCOGS_STYLES in the example below (with the missing space, i.e. ";" instead of "; " to trigger foobars fields separation for flac/vorbis) as a single string.
Interestingly, in the preview pane, it gets' shown as correctly, and deemed to need to be written anew -  see:
(https://i.imgur.com/L5qPfuO.png)
But when written, these are still incorrect and get picked up in the preview pane as different indefinetely :/

Also, another observation - with mp3s/id3, all is fine with foo_discogger 1.0.14.8, and they come out with correct "; " seperators (in foobar) being written as a NUL seperator in file...

Oh well. Back to 1.0.13.1 I go.
No drama.

Churs.
c.
Title: Re: foo_discogs
Post by: alec.tron on 2022-11-06 11:56:04
Oh well. Back to 1.0.13.1 I go.
One side effect - when switching back - I now seem to have a new issue that I haven't had before, where this error is thrown:
"(skipped) Error: Image URLs unavailable - Is OAuth working?
(skipped) Error [Fetching small album art]: (empty url)

[ESCAPE to close]"
When tagging a release; even though OAuth works fine (with the small oddity that I need to reset the OAuth token when reverting to 1.0.13.1 from 1.0.14.8)

Just as info / observations.

Churs.
c.
Title: Re: foo_discogs
Post by: da yuyu on 2022-11-08 12:20:42
Hi, I´ve been reading from #3064...
I am not getting notified by mail of changes in this thread despite the fact that I am subscribed it. Sorry for the late response.

First of all, I would not recommend downgrading from v1.0.14.8 to any previous version, as 14.8 is by far the best (most bug free, accurate, crash free) foo_discogger version released this far.
Also downgrading component config files is not supported, so a backup/config deletion/reset will be required.

As for the issues mentioned above:

- Incoming multi value fields written as single strings on flac files

This can now be verified/troubleshooted by activating the new Log updates feature (Preferences->Tagging)

v1.0.13.1 (and all versions below 1.0.14.8) might write multi value metadata incorrectly, either producing too much multi value metadata or erroneously writing metadata as single values.

For overall troubleshooting, I would recommend temporarily activating the new Log update feature and inspecting its console output. I will also verify that custom values title format definitions are really producing multi values (not single values including semi-colons). For example, creating custom columns  ej. $meta_sep(DISCOGS_GENRE,*)
Title: Re: foo_discogs
Post by: a on 2022-11-09 21:16:10
Is there a way to set "DISCOGS_RELEASE_ID" to "Disabled?" I use this componenent just to write the genres to tags so I don't need or want it to be required to add this field. Another solution would be to just allow for the master/"All Versions of This Release" to be written to tags.
Title: Re: foo_discogs
Post by: da yuyu on 2023-01-27 22:37:16
crtla, none for DISCOGS_RELEASE_ID as enabling that option will be somehow against the concepts of how the software is conceived.

There is an 'extended mode' combination, Shift + Right clicking protected items, in this case, currently offering either 'Write' or 'Write and Update'.

Not saying that the option is not useful or that it will never be implemented, just wondering if it's worth the effort and more importantly, if anybody will be happy with the end result.
About the Master/All versions tag, I would say that it won´t help much as it has no genres associated with it.
For now, there should be some fair way to automate the clearing by other means, but will keep it mind for future releases.
Title: Re: foo_discogs
Post by: da yuyu on 2023-01-27 22:40:18
Hi there,
There is a new Discogger release available.
It should help mitigate some of the multi-value bugs mentioned above.
Thanks again for reporting!

Release and change log:

Discogger v1.0.15 (https://github.com/ghDaYuYu/foo_discogs/releases)
Title: Re: foo_discogs
Post by: frogworth on 2023-01-28 02:06:34
This fixes my multi-value field issues. Very nice thank you!
Title: Re: foo_discogs
Post by: alec.tron on 2023-01-28 10:21:25
But no luck. It's still writing my custom fields, DISCOGS_RELEASE_GENRES &  DISCOGS_STYLES in the example below (with the missing space, i.e. ";" instead of "; " to trigger foobars fields separation for flac/vorbis) as a single string.
The above issue that was affecting flac/vorbis files now seems to be gone.

There's a new bit now though, experienced with the standard ARTIST tag on this with flac/vorbis files:
https://www.discogs.com/release/25570711-Various-Music-Lovers-Club-004
Wheras all multi value artists (single artist values are fine...!), get now written with an extra " " at the end of the last artists name.
So what should be this (on the first track of the above release):
"Altriparty; Hypsidia"
gets written as this on a flac file:
"Altriparty; Hypsidia "
with an extra space at the end - in foobar tag editor syntax. In vorbis multi value fields this then is a multiple single value fields, one with "Altriparty" the other one with the extra space i.e. "Hypsidia "


Turns out the above assumption it's due to multi value artists is not true... this actually affects all discogs ANV Artist that are listed with a ANV Number, i.e. on this release:
https://www.discogs.com/release/24727004-Various-Music-Lovers-Club-003

So also if the only artist on a track, in the above case it's:
Anima (47)  Faber (4) Deer (2) Elixir (48) Secret Act (3) Secret Act (3) Read More
that get written out with an extra space at the end now, so I see
"Anima " 
"Faber "
etc.
Anyone else seeing this ?

Cheers.
c.
Title: Re: foo_discogs
Post by: da yuyu on 2023-01-28 13:30:33
mamma mia...  :o

v1.0.15.1 (https://github.com/ghDaYuYu/foo_discogs/releases) (fix extra space at artist end)
Title: Re: foo_discogs
Post by: paregistrase on 2023-01-28 14:48:29
mamma mia...  :o

v1.0.15.1 (https://github.com/ghDaYuYu/foo_discogs/releases) (fix extra space at artist end)

Code: [Select]
Discogs Artist URLS : http://www.sixorgans.com, https://www.instagram.com/6organs , https://twitter.com/6organs , https://soundcloud.com/six-organs , http://en.wikipedia.org/wiki/Six_Organs_Of_Admittance , https://myspace.com/sixorgans
Still have a extra space at the end.

And, at least for me in linux with wine, there is a lot of fields that continous to be writen with commas and not multi value.
Code: [Select]
Discogs Artist ANV : 6 Organs Of Admittance, 6 Organs of Admittance, Electric Six Organs, Electric Six Organs Of Admittance, Six Organs, The Six Organs Of Admittance
Code: [Select]
Discogs Artist Aliases : Ben Chasny, Benja Minh

Others like DISCOGS_RELEASE_CREDITS, DISCOGS_CATALOG, DISCOGS_RELEASE_LABELS_NAME are written like multivalue
Code: [Select]
Layout [Art Layout] - Dan Osborn; Mastered By - Carl Saff; Photography By - Ben Chasny; Sounds [All Sounds] - Ben Chasny; Written-By, Recorded By, Mixed By - Ben Chasny
Discogs Catalog : DRO-007; D.R.O.-007
Discogs Release Labels : Paisley Park; Warner Bros. Records

All of them are in the component multivalue option
Code: [Select]
ARTIST;ALBUM ARTIST;PRODUCER;COMPOSER;PERFORMER;GENRE;STYLE;DISCOGS_ARTIST_URLS;DISCOGS_STYLE;DISCOGS_RELEASE_CREDITS;DISCOGS_CREDIT_VOCALS;LYRICIST;MIXED BY;VOCALS;DISCOGS_ARTIST_ID;DISCOGS_LABEL_ID;DISCOGS_ARTIST_ALL_NAME_VARIATIONS;DISCOGS_ARTIST_MEMBERS;DISCOGS_ARTISTS;DISCOGS_ALBUM_ARTISTS;WRITER;DISCOGS_CATALOG;DISCOGS_RELEASE_FORMATS_QUANTITY;DISCOGS_TRACK_CREDITS;DISCOGS_GENRE;DISCOGS_ARTIST_ALIASES;DISCOGS_ARTIST_REALNAME;DISCOGS_ARTIST_PROFILE;DISCOGS_RELEASE_LABELS_NAME;DISCOGS_RELEASE_FORMATS_DESCRIPTIONS;VINYLTRACK;DISCOGS_RELEASE_FORMATS_NAME;DISCOGS_RELEASE_FORMATS_TEXT;DISCOGS_ARTIST_INGROUPS;REMIXED BY;CONDUCTOR;DISCOGS_ARTIST_NAME_VARIATIONS;FEATURING;DISCOGS_SERIES;RELEASESERIE;DISCOGS_SERIES_NUMBER;RELEASESERIENUMBER

So far I noted this in
Code: [Select]
DISCOGS_ARTIST_REALNAME, DISCOGS_ARTIST_MEMBERS, DISCOGS_ARTIST_INGROUPS, DISCOGS_ARTIST_ALIASES, DISCOGS_ARTIST_ALL_NAME_VARIATIOS AND DISCOGS_ARTIST_URLS

The tag mapping
(https://i.imgur.com/v32RH7d.png)


Title: Re: foo_discogs
Post by: da yuyu on 2023-01-28 16:46:45
Also we can add DISCOGS_FORMAT to the list too.
Not sure yet if this is bug or feature... Those cases may diverge a bit from the original scope of the 'Multi-value fields' feature as initially intended. Will check it out asap.
Thanks for reporting
Title: Re: foo_discogs
Post by: da yuyu on 2023-01-28 20:44:28
@paregistrase

I've been running tests related to your post.
Here are some possible solutions. I hope it will be helpful.
There is also a multi-value discussion at the github repo that you are welcome to visit and contribute if you feel like it.

DISCOGS_ARTISTS_URLS
default:
%<<ARTISTS_URLS>>%
multi-value:
$split($flatten(%<<ARTISTS_URLS>>%))

DISCOGS_FORMAT
default:
<default def>
multi-value:
$split($join(<default def>))
Title: Re: foo_discogs
Post by: paregistrase on 2023-01-29 00:31:19
@paregistrase

I've been running tests related to your post.
Here are some possible solutions. I hope it will be helpful.
There is also a multi-value discussion at the github repo that you are welcome to visit and contribute if you feel like it.

DISCOGS_ARTISTS_URLS
default:
%<<ARTISTS_URLS>>%
multi-value:
$split($flatten(%<<ARTISTS_URLS>>%))

DISCOGS_FORMAT
default:
<default def>
multi-value:
$split($join(<default def>))

It works for urls and name variation etc. But with DISCOGS_ARTIST_REALNAME=%<ARTISTS_REAL_NAME>% if I change to DISCOGS_ARTIST_REALNAME=$split($flatten(%<ARTISTS_REAL_NAME>%)) I get an error
Code: [Select]
(FATAL) Error: Error generating tag DISCOGS_ARTIST_REALNAME [Error processing function $split : Corrupted array string: missing start byte] for file file://Z:\mnt\wd\Music\New\Mogwai\2006 - Mr Beast\1.01 - Mogwai - Auto Rock.flac

[ESCAPE to close]
With the default code is not writen as multivalue

Edit:

DISCOGS_ARTIST_REALNAME=$split($join(%<ARTISTS_REAL_NAME>%)) seems to work.
Title: Re: foo_discogs
Post by: alec.tron on 2023-01-29 18:31:16
mamma mia...  :o

v1.0.15.1 (https://github.com/ghDaYuYu/foo_discogs/releases) (fix extra space at artist end)
Hiya,
tried this new release, but as before, on the above release:
https://www.discogs.com/release/24727004-Various-Music-Lovers-Club-003
Anima (47)  Faber (4) etc
get written as this with the extra space still present (unless I am doing something wrong...):
"Anima "
"Faber "

Cheers.
c.
Title: Re: foo_discogs
Post by: marc2k3 on 2023-01-29 18:52:50
I've never looked at the source code for this component but assume it uses file_info meta_add / meta_set for writing tags. It could be updated to use pfc::string8(some_value).trim(' ') to make sure no extra spaces are written.
Title: Re: foo_discogs
Post by: da yuyu on 2023-01-29 22:52:26
@alec.tron

I am a bit clueless, have you already checked the tag mapping actions (write, update, ...) ?

@mark2k3

I targeted remove_number_suffix, the meta_write/meta_add_value trim... a different perspective, not better or worse  O:)
could flip a coin, same result  :))

Cheers
Title: Re: foo_discogs
Post by: alec.tron on 2023-01-30 12:42:39
I am a bit clueless, have you already checked the tag mapping actions (write, update, ...) ?
Yup, ARTIST is set to the default syntax:
 
Code: [Select]
$joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%)
and set to "write + update", and no other operation happening afterwards.
So it should just be as I get it back from Discogger.

If you use the above discogs release (and tag some dummy files on your end with it), you do not see the same @da yuyu that the ANV artists do have an extra space ?

Cheers.
c.
Title: Re: foo_discogs
Post by: da yuyu on 2023-01-30 14:46:02
It works as expected here (both 32/64bits fb2k v2 beta 24), testing the same release with a dummy FLAC file.
Tested both $joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%) and %<ARTISTS_NAME>%,
with tracks by artists containing suffix brackets.
Not essential, but I am not sure if these are ANVs, which are more like "Name1 (Name2)" or "Name 1 AKA Name 2".

@alec.tron, you could also check in the preview panel stats (Results view):
- Artist tag stats columns 'Skip W/U' and 'Equal' count is 0.
- click to edit the artist value to check if it contains extra spaces.

Maybe also you could try manually deleting those tags before running the test again.

I've changed the v1.0.15.1 status from 'preview' to 'latest release' at Github (as the latest code update is working fine here).
Maybe it is worth downloading and installing the component again to see if it makes any difference?
Title: Re: foo_discogs
Post by: da yuyu on 2023-01-31 00:32:10
Hi, parregistrase

Thanks for your feedback. I've been reviewing again some parts of your post (ANVs and Aliases, and Artist URLs.)

...
And, at least for me in linux with wine, there is a lot of fields that continous to be writen with commas and not multi value.
Code: [Select]
Discogs Artist ANV : 6 Organs Of Admittance, 6 Organs of Admittance, Electric Six Organs, Electric Six Organs Of Admittance, Six Organs, The Six Organs Of Admittance
Code: [Select]
Discogs Artist Aliases : Ben Chasny, Benja Minh
...

Considering the artist field itself is multi-value, those results look like the correct output. 1 artist, 6 comma separated ANVs and 2 comma separated aliases. You will only see multi-values dealing with multi-artist tracks.

At the end, it all depends on your use case or your preferences, if all comes down to generate one multi-value tag containing all URLs, for all artists in multi-artist tracks, then a solution could be to flatten and split.

...
DISCOGS_ARTISTS_URLS
default:
%<<ARTISTS_URLS>>%
multi-value:
$split($flatten(%<<ARTISTS_URLS>>%))
...

That's it, I hope this makes sense and clarifies how some values continue to be writen as single values with commas and not multi valued.

Cheers
Title: Re: foo_discogs
Post by: paregistrase on 2023-01-31 01:18:41
You're right. With multivalue artists, the defaults settings write multivalue field comma separated for every artist.

Discogs Artist : Ô Paradis; Nový Svět
Discogs Artist Members : Demian (3), Rosa Solé; Frl. Tost, Jürgen Weber, Raffaele Cerroni, L.L.H., Zaza (7)
Discogs Artist Real Name : Demian Recio; J. Weber, Frl. Tost
Discogs Artist ANV : O Paradis, Ô Paradise; Novy Svet, Novy Svět

Makes sense.

It is better this way. Makes a distinction in multi artists, not possible with all written like multivalue.

I had not thought of that case. But now I think that I will go with your logic too, except the urls, those are more useful to me all multivalue to make entries for the run service component.

Thanks

Title: Re: foo_discogs
Post by: da yuyu on 2023-02-09 21:45:39
@paregistrase, you are welcome, thanks for that feedback.
I am glad it worked, a new version is available, including a feature asked some time ago, the ability to disable DISCOGS_RELEASE_ID writes.

Cheers!

change log and release dowload:

foo_discogger v1.0.16 (https://github.com/ghDaYuYu/foo_discogs/releases)
Title: Re: foo_discogs
Post by: paregistrase on 2023-02-10 15:20:04
With the new version, the tags are reverted to update every time foobar starts, even after changing them.

Also in the match tracks window, reordering the tracks only work the first time. Following tracks didn't move
Title: Re: foo_discogs
Post by: da yuyu on 2023-02-10 18:26:01
@paregistrase

ow... thanks for reporting, I am working on it,
A new version will be available later on .
Title: Re: foo_discogs
Post by: da yuyu on 2023-02-12 03:05:09
Sorted out some minor issues reported by @paregistrase,
Thanks for your quick report!

foo_discogger v1.0.16.1 (https://github.com/ghDaYuYu/foo_discogs/releases)
Title: Re: foo_discogs
Post by: paregistrase on 2023-02-12 07:59:43
All working now.

Can you explain a bit about the new "plain" mode? What are the differences with normal write or benefices....?

Edit:

The tag mapping pop up every time i tried to tag a release
Title: Re: foo_discogs
Post by: da yuyu on 2023-02-12 11:52:55
Will check the tag mapping bug, noted.
About the bit of explanation, I am trying my best here...

The main idea was breaking the rule 'Write or Write/Update the sacred tag', and also, a few other considerations. Would prefer to come back to those, at a later time, as new releases evolve toward v1.0.17.

IMHO, "Write tags" and "Plain write tags" could be seen now (maybe will merge in the future) as alternative running modes.

Write tags: Optimally implies enabling disk cache, fetching (for later tagging) the 3 main Discogs indexes (release, master and artist ID) by means of the Find release dialog. Advantages: cache performance and a fully working Find release dialog to name some. Disadvantages: require cache storage and perhaps writing non-stantadarized tags.

Plain write tags: The artist list, master or versions tree UI controls add little value, the focus is on writing standardized tags, like WWW.

Don´t now how crappy it sounds so far, sincerely... would try to say it in plain english now, no offence intended:

"Plain write tag fulfills a desire to just write, say GENRE, without the obligation to write it in the company of DISCOGS_RELEASE_ID'"
Disadvantages: none, that I can think of now.

I'll try to get more descriptive at some point. My use case has been always 'Write tag' and hardly writing them. I found most value in the cache itself. Nevertheless, the new option has been repetivively requested... so here it is.

Changing subjects, nowadays I am also concerned about lack of info on this mod, hope that this little new feature gets properly defined to start working on the documentation.

If you have further questions, doubts or suggestions just fire up, will be much appreciated!

you are also welcome to visit the repo issues/discussion at the repo...
cheers!
Title: Re: foo_discogs
Post by: paregistrase on 2023-02-12 13:12:49
Could be helpful for people that didn't care about internal discogs specific tags.
I understand that is a work in progress and in the future will be an option to configure different sets of tags for every task?

As a suggestion, I miss the option to download only the art in the context menu. It was very useful when I replace the files for new ones of better quality. Copy tags, download art, delete old folder and done.
Title: Re: foo_discogs
Post by: da yuyu on 2023-02-12 14:50:28
Sorry you had to suffer the results of some of my decisions, it's just that sometimes things get to big to be manageable.
I guess nothing stops you from running that command from zoomorph's foo_discogs. I would need to write some basic network traffic registry first, then I will be happy to have it back again.  :)

Edit: That would be splendid, a full titleformat set for mp3 idv3, and its correspondent dropdown menu.
The basic feature is already there, but you are right, is a work in progress.
Title: Re: foo_discogs
Post by: paregistrase on 2023-02-12 15:00:37
The wound is already healed  :))

Instead of download art, rewrite download the art again and with the release already in place is fast enough with bypass dialog.

But it will be cool to save some clicks.
Title: Re: foo_discogs
Post by: da yuyu on 2023-02-14 06:09:03
...
The tag mapping pop up every time i tried to tag a release
...

menu fixed, it shouldn't pop up anymore....

foo_discogger v1.0.16.2 (https://github.com/ghDaYuYu/foo_discogs/releases)

Title: Re: foo_discogs
Post by: da yuyu on 2023-02-16 01:40:49
Could be helpful for people that didn't care about internal discogs specific tags.
I understand that is a work in progress and in the future will be an option to configure different sets of tags for every task?
...

I miss also sometimes not being as tied to Discogs specifics and making it easier to pack a minimal set of ID3 tags into my MP3 files. The latest changes surely help perform the specific task, but I can´t say how well they will fit into a well established way of working...

As you mentioned, I start working on new set of tags... give it a try if your're keen on trying something different  :)
Cheers!

The latest release is now available:
- Added a new dropdown menu (ID3 v2.3 tag mapping)
- Two new ID3 default sets

Full change log and release:
foo_discogger v1.0.16.3 (https://github.com/ghDaYuYu/foo_discogs/releases)
Title: Re: foo_discogs
Post by: n99 on 2023-02-16 03:03:02
Every version after v1.0.12.2 is broken for me, with the error message "Failed to load DLL: foo_discogger.dll".
Are the later versions not compatible with Windows 7?
Title: Re: foo_discogs
Post by: paregistrase on 2023-02-16 04:25:55
I miss also sometimes not being as tied to Discogs specifics and making it easier to pack a minimal set of ID3 tags into my MP3 files. The latest changes surely help perform the specific task, but I can´t say how well they will fit into a well established way of working...

As you mentioned, I start working on new set of tags... give it a try if your're keen on trying something different  :)
Cheers!

The latest release is now available:
- Added a new dropdown menu (ID3 v2.3 tag mapping)
- Two new ID3 default sets

Full change log and release:
foo_discogger v1.0.16.3 (https://github.com/ghDaYuYu/foo_discogs/releases)

The drop-down menu with standard v2.3 tags is a great addition. It is not easy when you're starting to tag music to figure it out with one is the "correct" (a lot of users and programs use different ones). v2.4 in the future will be cool, not so well-supported yet in some pieces of software, but a lot of people use it (and for a lot of people I mean to me  :P  )

Also open the component to new users that only cares about tagging and not discogs internals, and have no impact in old users habits. I see no problem with it.


Title: Re: foo_discogs
Post by: arabeh on 2023-02-16 11:46:50
Since a new version (can't remember which), I've always get three error messages when "Preview tags" window appears:

(https://i.postimg.cc/Pr1b8fWK/2023-02-16-14-19-14.jpg)
(https://i.postimg.cc/Y9dvcZB5/2023-02-16-14-19-30.jpg)
(https://i.postimg.cc/2yq8s5wW/2023-02-16-14-19-45.jpg)

and one error message when pressing "Write tags":

(https://i.postimg.cc/wxWwFjZV/2023-02-16-14-19-25.jpg)

my settings:
(https://i.postimg.cc/VLwzB1rD/Clipboard-Image-1.jpg)
Title: Re: foo_discogs
Post by: da yuyu on 2023-02-16 13:53:54
Every version after v1.0.12.2 is broken for me, with the error message "Failed to load DLL: foo_discogger.dll".
Are the later versions not compatible with Windows 7?

I am looking at this. I might have broken something in the project configuration... it was not intentional; I will try to restore Windows 7 compatibility as soon as possible,

Thanks for reporting!

Since a new version (can't remember which), I've always get three error messages when "Preview tags" window appears:
...

Is OAuth working? Have you tried using a fresh portable installation to see if it makes a difference?
Title: Re: foo_discogs
Post by: da yuyu on 2023-02-16 14:12:05
...
v2.4 in the future will be cool, not so well-supported yet in some pieces of software, but a lot of people use it (and for a lot of people I mean to me  :P  )

Also open the component to new users that only cares about tagging and not discogs internals, and have no impact in old users habits. I see no problem with it.
---

I agree and hope the new feature will integrate well after some UI adjustments.

I need to test v2.4 using this new tag map. There should be no problem using the ID3 drop-down indistinctly for both ID3v2.3 and ID3V2.4, the tags will be written appropriately according to this table (https://wiki.hydrogenaud.io/index.php?title=Foobar2000:ID3_Tag_Mapping).

The button labels are a bit misleading... they should be changed to ID3v2 maybe.

Thanks for the feedback, also sharing advances, if you successfully map some DISCOGS fields to their ID3 equivalent, will be much appreciated.

Cheers!

(there is a bug in first item in the ID3 drop-down, fix should be included in next release)
Title: Re: foo_discogs
Post by: paregistrase on 2023-02-16 15:18:06
I agree and hope the new feature will integrate well after some UI adjustments.

I need to test v2.4 using this new tag map. There should be no problem using the ID3 drop-down indistinctly for both ID3v2.3 and ID3V2.4, the tags will be written appropriately according to this table (https://wiki.hydrogenaud.io/index.php?title=Foobar2000:ID3_Tag_Mapping).

The button labels are a bit misleading... they should be changed to ID3v2 maybe.

Thanks for the feedback, also sharing advances, if you successfully map some DISCOGS fields to their ID3 equivalent, will be much appreciated.

Cheers!

(there is a bug in first item in the ID3 drop-down, fix should be included in next release)

If foobar makes the translation internally, there will be no problem in named it ID3v2 I supposed
I have no problem to make a table of equivalents but the id3.org is down for me id3v2.4.0-frames - ID3.org (https://id3.org/id3v2.4.0-frames).  I found this FramesId3v24 (https://gist.github.com/Davidblkx/9a348fe74bba03ce74a7da81572b2a63) Could this work?

Title: Re: foo_discogs
Post by: da yuyu on 2023-02-18 22:14:44
Every version after v1.0.12.2 is broken for me, with the error message "Failed to load DLL: foo_discogger.dll".
Are the later versions not compatible with Windows 7?

Windows 7 fix... foo_discogger v1.0.16.4 (https://github.com/ghDaYuYu/foo_discogs/releases)

...
I found this FramesId3v24 (https://gist.github.com/Davidblkx/9a348fe74bba03ce74a7da81572b2a63) Could this work?

Maybe... I'll have a look.
Title: Re: foo_discogs
Post by: da yuyu on 2023-02-22 05:13:54
Since a new version (can't remember which), I've always get three error messages when "Preview tags" window appears:
...

If OAuth is working, it could be that some links were updated at Discogs? If so, the component might be using invalid/unsynced URLs from the cache. You could try clearing or disabling the cache. Also the latest release includes a right-click option to invalidate/delete single releases from the disk cache.

Change log and release:

foo_discogger v1.0.16.5 (https://github.com/ghDaYuYu/foo_discogs/releases)
Title: Re: foo_discogs
Post by: Jackal29a on 2023-02-28 09:56:27
Can anyone please tell me if there is a way to get the original album release date mape to the 'Date' tag instead of getting a particular release/pressing date? eg. If I'm tagging The Beatles' Revolver I would like to get 1966 not 2009 for that years' remaster. I've searched for a field to map but found nothing.

TIA
Title: Re: foo_discogs
Post by: da yuyu on 2023-02-28 12:57:42
...
Can anyone please tell me if there is a way to get the original album release date
...

Maybe you can try to map it to  %MASTER_RELEASE_YEAR% ?
It works here.
Title: Re: foo_discogs
Post by: frogworth on 2023-02-28 13:46:49
Maybe you can try to map it to  %MASTER_RELEASE_YEAR% ?

Ohhhhh boy. I can't believe I didn't do this years ago! Thank you 🙏🏼
Title: Re: foo_discogs
Post by: Jackal29a on 2023-02-28 15:37:19
...
Can anyone please tell me if there is a way to get the original album release date
...

Maybe you can try to map it to  %MASTER_RELEASE_YEAR% ?
It works here.


That is exactly what I need, thank you!
Title: Re: foo_discogs
Post by: tuBbz on 2023-03-02 15:25:41
foobar2000 crashes when trying to write release https://www.discogs.com/release/4017092-Kylie-The-Abbey-Road-Sessions

- foobar2000 v2.0 beta 26 x64
- foo_discogger 1.0.16.5
Title: Re: foo_discogs
Post by: JohnBuckWLD on 2023-03-02 21:11:21
...foobar2000 v2.0 beta 26 x64
Discogs Tagger (https://www.foobar2000.org/components/view/foo_discogs): Supported processor architecture: x86 32-bit.
Title: Re: foo_discogs
Post by: Air KEN on 2023-03-02 21:43:39
@ JohnBuckWLD

https://hydrogenaud.io/index.php/topic,50523.msg1015560.html#msg1015560
> Some bug fixes related to multiple artist releases
> 32/64 bits and dark mode (excl. artwork panel)

https://github.com/ghDaYuYu/foo_discogs/releases
Title: Re: foo_discogs
Post by: da yuyu on 2023-03-02 23:36:10
foobar2000 crashes when trying to write release https://www.discogs.com/release/4017092-Kylie-The-Abbey-Road-Sessions

- foobar2000 v2.0 beta 26 x64
- foo_discogger 1.0.16.5

Sorry, no crash for that release here. Before testing the release in your post, I reset tag mapping to the DISCOGS default set (and all tags to write an update).
There are also two new ID3 sets, which have only been lightly tested.
Would you post the crash reports here? They may provide some hints to solve the problem.

...foobar2000 v2.0 beta 26 x64
Discogs Tagger (https://www.foobar2000.org/components/view/foo_discogs): Supported processor architecture: x86 32-bit.

Both versions can also be run on the same fb2k installation. The official foo_discogs is still only available in 32bits; its fork foo_discogger has been running in 64bits installations since September. Only a few people know about the latter, slow development, and few people are reporting some crashes here from time to time.

@Air Ken Thanks for providing the link to the repo!
Latetly I am also updating the latest version numbers and release dates at the wiki, the links to the repository and downloads are there too.

Title: Re: foo_discogs
Post by: tuBbz on 2023-03-04 17:30:03
foobar2000 crashes when trying to write release https://www.discogs.com/release/4017092-Kylie-The-Abbey-Road-Sessions

- foobar2000 v2.0 beta 26 x64
- foo_discogger 1.0.16.5

Sorry, no crash for that release here. Before testing the release in your post, I reset tag mapping to the DISCOGS default set (and all tags to write an update).
There are also two new ID3 sets, which have only been lightly tested.
Would you post the crash reports here? They may provide some hints to solve the problem.

...foobar2000 v2.0 beta 26 x64
Discogs Tagger (https://www.foobar2000.org/components/view/foo_discogs): Supported processor architecture: x86 32-bit.

Both versions can also be run on the same fb2k installation. The official foo_discogs is still only available in 32bits; its fork foo_discogger has been running in 64bits installations since September. Only a few people know about the latter, slow development, and few people are reporting some crashes here from time to time.

@Air Ken Thanks for providing the link to the repo!
Latetly I am also updating the latest version numbers and release dates at the wiki, the links to the repository and downloads are there too.



Thanks da yuyu. Crash report attached. I will reset tag mapping to default, test and report back soon.
Title: Re: foo_discogs
Post by: da yuyu on 2023-03-04 21:55:05
@tuBbz,
Sorry, I just remembered that I updated my system after releasing v1.0.16.5.
Would you mind reposting the crash report after installing the latest version below?

foo_discogger v1.0.16.6 (https://github.com/ghDaYuYu/foo_discogs/releases)

Change log:

- 'Multi-value field list' checks are now case insensitive (COMPOSER = Composer).
- Multi-values forced to single values not properly saved (multiple semicolons).










Title: Re: foo_discogs
Post by: tuBbz on 2023-03-05 12:17:41
@tuBbz,
Sorry, I just remembered that I updated my system after releasing v1.0.16.5.
Would you mind reposting the crash report after installing the latest version below?

foo_discogger v1.0.16.6 (https://github.com/ghDaYuYu/foo_discogs/releases)

Change log:

- 'Multi-value field list' checks are now case insensitive (COMPOSER = Composer).
- Multi-values forced to single values not properly saved (multiple semicolons).












Updated foo_discogger to 1.0.16.6.. see crash report attached.
Title: Re: foo_discogs
Post by: da yuyu on 2023-03-05 19:27:35
@tuBbz, Still unable to open the crash report, I´ve sent you a PM
Title: Re: foo_discogs
Post by: da yuyu on 2023-03-06 07:52:59

New release available:

foo_discogger v1.0.16.7 (https://github.com/ghDaYuYu/foo_discogs/releases)

Change log:

Remove scan codes from RELEASE_NOTES.
Fix disc cache bug introduced in last release.
Title: Re: foo_discogs
Post by: tuBbz on 2023-03-06 14:57:53
@tuBbz, Still unable to open the crash report, I´ve sent you a PM


I've sent you a PM
Title: Re: foo_discogs
Post by: GGromadzki on 2023-03-06 21:31:41
Hi,
Sorry, maybe stupid question answered 1000 times...Is this plugin runs on new 2.0b26 x 64 or only 32bit as original plugin?
EDIT: Ok...I see - It works, but it is different than old "discogs" plugin. I need to double click specific artist on left panel with artist list, then it loads release match... Could be the same as in discogs? It is confusing at the beginning.
Title: Re: foo_discogs
Post by: da yuyu on 2023-03-07 11:20:27
Thanks for testing @GGromadzki; it´s a simple component with only a few options.
I am too lazy to look for that option´s exact name and location, it is there somewhere in the preferences panel.
Please report back if it doesn´t work as you expect.

Latest fixes and release:

Change log:

- Fix crash in context menu when the release tree is empty.
- Additional bitmap error handling/console log messages.

foo_discogger v1.0.17 (https://github.com/ghDaYuYu/foo_discogs/releases)
Title: Re: foo_discogs
Post by: GGromadzki on 2023-03-07 21:28:24
Thanks for answer. I think that it should be the first option in preferences "Auto-search artist..." but it works as I described - after double-click on artist on left panel it gets artist discogs link and find a release. Not sure if intended. I am somehow used to old version, but it is matter of time.
Thanks for update.
Title: Re: foo_discogs
Post by: paregistrase on 2023-03-09 20:06:37
Hi @da yuyu

I have a corner case, maybe you could help me.

In a release with multi value %ARTISTS_ID% how can I download the artist art in different folders?

I try to explain:

If %ARTISTS_ID% is 65694; 79600, I want to have:

.../65694/65694_01, etc
.../79600/79600_01, etc

But I can figure it out how to do it.

In the directory configuration of Artwork %ARTISTS_ID% (or any other multi value) are not behaving the same as in file prefix.

In there, if I used %ARTISTS_ID% I got

.../65694_01, etc
.../79600_01, etc

But in directory I get

.../65694, 79600/65694_01, etc
.../65694, 79600/79600_01, etc

Is there any way to do what I want?
Title: Re: foo_discogs
Post by: da yuyu on 2023-03-10 03:15:05
Hi @paregistrase,

This new version should enable targeting different folders for each artist, i.e., you could save Zeitkratzer in kimonos to one folder and then Python and Jarboe to a different one!

Change log:

Revisions:

- 'Original release date' new default: $if2(%MASTER_RELEASE_YEAR%,%RELEASE_YEAR%).
- Artist art -> Save to directory: target folder per artist (multi-artist releases).
    Examples:
    $directory_path(%path%)\%ARTIST_ID%
    $directory_path(%path%)\%ARTIST_NAME%

- Throttle requests to new Discogs limit (20 artwork files per minute).
- Rephrase Search option labels in preferences.

Fixes:

- Fix crash writing Artist with more than 64 images (thanks @tuBbz).

Download:

foo_discogger 1.0.17.1 (https://github.com/ghDaYuYu/foo_discogs/releases)

Title: Re: foo_discogs
Post by: paregistrase on 2023-03-10 04:39:33
Hi @paregistrase,

This new version should enable targeting different folders for each artist, i.e., you could save Zeitkratzer in kimonos to one folder and then Python and Jarboe to a different one!

Change log:

Revisions:

- 'Original release date' new default: $if2(%MASTER_RELEASE_YEAR%,%RELEASE_YEAR%).
- Artist art -> Save to directory: target folder per artist (multi-artist releases).
    Examples:
    $directory_path(%path%)\%ARTIST_ID%
    $directory_path(%path%)\%ARTIST_NAME%

- Throttle requests to new Discogs limit (20 artwork files per minute).
- Rephrase Search option labels in preferences.

Fixes:

- Fix crash writing Artist with more than 64 images (thanks @tuBbz).

Download:

foo_discogger 1.0.17.1 (https://github.com/ghDaYuYu/foo_discogs/releases)

Perfect!!!
Title: Re: foo_discogs
Post by: paregistrase on 2023-03-10 08:27:34
Releases with various as album artist doesn't download any artist images
Title: Re: foo_discogs
Post by: Arthur01 on 2023-03-21 13:40:09
Hello,
How i can get only Headings (Writing & Arrangement, Vocals and Instruments) wiihout the others Headings from Credits for the metadata Discogs_Release_Credits and Discogs_Track_Credits?
Thanks
https://www.discogs.com/help/creditslist (https://www.discogs.com/help/creditslist)
Title: Re: foo_discogs
Post by: mezuss on 2023-04-30 10:29:23
Any chance for F2 64bit version any time soon ? :(((

I'm so glad there's Mp3Tag, I'll just stick to that for now.

It's suddenly hard to press familiar Foobar key combo and get nothing. And I really don't want to launch old Foobar JUST for the sake of discogs-tagging...
Title: Re: foo_discogs
Post by: paregistrase on 2023-04-30 10:57:48
Any chance for F2 64bit version any time soon ? :(((

I'm so glad there's Mp3Tag, I'll just stick to that for now.

It's suddenly hard to press familiar Foobar key combo and get nothing. And I really don't want to launch old Foobar JUST for the sake of discogs-tagging...

Take a look here foo_discogger.fb2k-component (https://github.com/ghDaYuYu/foo_discogs/releases/tag/v1.0.17.1)
Title: Re: foo_discogs
Post by: frogworth on 2023-05-06 03:47:55
Recently, foo_discogger has stopped saving cover images.
I'm not quite sure what I changed. I did recently move all the config files into the profile folder, to be compatible with the new way of doing things.

Here's a bit of the console log from the last Discogs operation I did:
Code: [Select]
foo_discogger: https://api.discogs.com/database/search?type=artist&q=multiphonic%20ensemble&per_page=100
foo_discogger: Url OAuth enabled
foo_discogger: Lapse: 57.1
foo_discogger: RL: 60 - Used: 2 - RMNG: 58
foo_discogger: https://api.discogs.com/masters/586272/versions?per_page=100&page=1
foo_discogger: Url OAuth enabled
foo_discogger: Lapse: 5.59
foo_discogger: RL: 60 - Used: 3 - RMNG: 57
foo_discogger: https://api.discogs.com/releases/162049
foo_discogger: Url OAuth enabled
foo_discogger: Lapse: 4.09
foo_discogger: RL: 60 - Used: 4 - RMNG: 56
foo_discogger: https://i.discogs.com/wF0CKT1j3KYV7OaP0-ocllHrKCR1pmjq4KSP_oD0crU/rs:fit/g:sm/q:40/h:150/w:150/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9SLTE2MjA0/OS0xMzA2MDU5MTI4/LmpwZWc.jpeg
foo_discogger: https://i.discogs.com/wF0CKT1j3KYV7OaP0-ocllHrKCR1pmjq4KSP_oD0crU/rs:fit/g:sm/q:40/h:150/w:150/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9SLTE2MjA0/OS0xMzA2MDU5MTI4/LmpwZWc.jpeg
foo_discogger: Unable to read thumbnail from cache (no artist), url:
foo_discogger: https://api.discogs.com/masters/586272
foo_discogger: Url OAuth enabled
foo_discogger: Lapse: 3.55
foo_discogger: RL: 60 - Used: 4 - RMNG: 56

I can still rename mp3s, update tags etc, so it's not permissions on the music folders.

That thing about "no artist" for master releases is something I've noticed too, sometimes it won't pick up the artist for a release when there's a master release I think? I'm afraid I can't reproduce the right conditions right now though.
Title: Re: foo_discogs
Post by: frogworth on 2023-05-06 10:04:12
That thing about "no artist" for master releases is something I've noticed too, sometimes it won't pick up the artist for a release when there's a master release I think? I'm afraid I can't reproduce the right conditions right now though.

Nope, it's not artists, it's the release ID.
It will often pick up the DISCOGS_MASTER_RELEASE_ID but not the DISCOGS_RELEASE_ID.
Title: Re: foo_discogs
Post by: da yuyu on 2023-05-06 21:06:38
Hi,

Hello,
How i can get only Headings (Writing & Arrangement, Vocals and Instruments) wiihout the others Headings from Credits for the metadata Discogs_Release_Credits and Discogs_Track_Credits?
Thanks
https://www.discogs.com/help/creditslist (https://www.discogs.com/help/creditslist)

In theory, you could, using title formatting scripts. In my experience, I don´t think it is worthwhile since scripting can become quite cumbersome.
There is a proof of concept (check Disclaimer) taking a different approach here (https://github.com/ghDaYuYu/foo_discogs/discussions/93). Unfortunately, the development of this new feature has stalled which is a shame really.

Recently, foo_discogger has stopped saving cover images.
I'm not quite sure what I changed. I did recently move all the config files into the profile folder, to be compatible with the new way of doing things.
...
...
Recently, foo_discogger has stopped saving cover images.
I'm not quite sure what I changed. I did recently move all the config files into the profile folder, to be compatible with the new way of doing things.
...
...
That thing about "no artist" for master releases is something I've noticed too, sometimes it won't pick up the artist for a release when there's a master release I think? I'm afraid I can't reproduce the right conditions right now though.

I was unaware of the issue saving cover images.
Maybe you should run a portable installation side by side with your current setup, comparing configuration settings?
There is a new release fixing the "no artist" log message. It would be great if you could you give it a try.
I also tweaked the filter auto-fill so I might also have accidentally introduced some related bugs.
Thanks for reporting.

Release and changelog: v1.0.17.2 (https://github.com/ghDaYuYu/foo_discogs/releases)

Title: Re: foo_discogs
Post by: frogworth on 2023-05-07 05:26:16
Thanks @da yuyu - I've just downloaded the latest version.
Here's the log from trying to tag an album and download the cover image:
Code: [Select]
foo_discogger: https://api.discogs.com/database/search?type=artist&q=Various%20Artists&per_page=100
foo_discogger: Url OAuth enabled
foo_discogger: Lapse: 133
foo_discogger: RL: 60 - Used: 0 - RMNG: 60
foo_discogger: https://api.discogs.com/artists/8319
foo_discogger: Url OAuth enabled
foo_discogger: Lapse: 0.782
foo_discogger: RL: 60 - Used: 1 - RMNG: 59
foo_discogger: HTTP error status: HTTP/1.1 404 Not Found
foo_discogger: Exception handling: https://api.discogs.com/artists/8319
foo_discogger: https://api.discogs.com/database/search?type=artist&q=Scala&per_page=100
foo_discogger: Url OAuth enabled
foo_discogger: Lapse: 6.71
foo_discogger: RL: 60 - Used: 2 - RMNG: 58
foo_discogger: https://api.discogs.com/artists/41091
foo_discogger: Url OAuth enabled
foo_discogger: Lapse: 1.87
foo_discogger: https://api.discogs.com/artists/41091
foo_discogger: Url OAuth enabled
foo_discogger: Lapse: 0.0643
foo_discogger: RL: 60 - Used: 3 - RMNG: 57
foo_discogger: RL: 60 - Used: 4 - RMNG: 56
foo_discogger: https://api.discogs.com/artists/41091/releases?per_page=100&page=1
foo_discogger: Url OAuth enabled
foo_discogger: Lapse: 0.306
foo_discogger: RL: 60 - Used: 5 - RMNG: 55
foo_discogger: https://api.discogs.com/masters/2190628/versions?per_page=100&page=1
foo_discogger: Url OAuth enabled
foo_discogger: Lapse: 3.24
foo_discogger: RL: 60 - Used: 6 - RMNG: 54
foo_discogger: https://api.discogs.com/releases/19303240
foo_discogger: Url OAuth enabled
foo_discogger: Lapse: 4.55
foo_discogger: RL: 60 - Used: 7 - RMNG: 53
foo_discogger: https://i.discogs.com/q89HNr4cPjPxnvdHyNWhAOLGFjOTclXtYE8g5nz5rNU/rs:fit/g:sm/q:40/h:150/w:150/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9SLTE5MzAz/MjQwLTE2MjQ4NzEz/MzctNjkxOC5qcGVn.jpeg
foo_discogger: https://i.discogs.com/q89HNr4cPjPxnvdHyNWhAOLGFjOTclXtYE8g5nz5rNU/rs:fit/g:sm/q:40/h:150/w:150/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9SLTE5MzAz/MjQwLTE2MjQ4NzEz/MzctNjkxOC5qcGVn.jpeg

The thumbnails at the bottom are correct, but the full-sized image just isn't saved.
Title: Re: foo_discogs
Post by: da yuyu on 2023-05-07 22:31:04
...
The thumbnails at the bottom are correct, but the full-sized image just isn't saved.

My tests on that particular VA release were successful, downloading all three album covers without issues. The last log in your post shows that there is no attempt to download full-size album covers; the component seems either configured to not save Album art (Preferences->Artwork) or to Skip artwork (Track matching/Preview panel option).

You may verify your artwork configuration settings and try to save available release artwork in the manage artwork panel. If that also silently fails...  :(  I would back up tag mappings, OAuth, and other customized setting.  Removing and reinstalling the component again might be the simplest way to get it working again.


Title: Re: foo_discogs
Post by: frogworth on 2023-05-08 02:21:05
Ahhhh that's sorted it. For some reason, on the tag matching screen "Skip artwork" had been selected.
Must have been a mis-click at some point recently! Thanks for helping me track it down :) And sorry for the false alarm!
Title: Re: foo_discogs
Post by: a3aan on 2023-05-10 17:42:30
I noticed that the 'new' component gives different (faulty) results than the original component for the following fields

%MASTER_RELEASE_MAIN_RELEASE_DATE_RAW%
%MASTER_RELEASE_MAIN_RELEASE_ID%

Obviously, those are only relevant for releases that are part of a master release.

Cheers.
Title: Re: foo_discogs
Post by: da yuyu on 2023-05-13 20:35:13
@frogworth

Never mind, glad it is working again!

@a3aan

About the main release, it is weird there is no issue reported  about its use in the Release tree panel, I´ll have a look asap.
Thanks for reporting.

New Discogger release available:

foo_discogger v1.0.17.3 (https://github.com/ghDaYuYu/foo_discogs/releases)

Change log:

- Added DPI safe window placements.
- Added fb2k SDK version to 'About component'.
Title: Re: foo_discogs
Post by: da yuyu on 2023-05-14 13:13:10
@a3aan

Bug found, fix will be included in next release.
In addition, %MASTER_RELEASE_MOST_RECENT_RELEASE_ID% will also become available.
Thanks for reporting!
Title: Re: foo_discogs
Post by: da yuyu on 2023-05-19 00:13:12
I noticed that the 'new' component gives different (faulty) results than the original component for the following fields

%MASTER_RELEASE_MAIN_RELEASE_DATE_RAW%
%MASTER_RELEASE_MAIN_RELEASE_ID%

Obviously, those are only relevant for releases that are part of a master release.

Cheers.

This new version should give proper results.

Foo Discogger v1.0.17.4 (https://github.com/ghDaYuYu/foo_discogs/releases)

Change log:

Fixes:

- Master main release tags (%MASTER_RELEASE_MAIN_RELEASE_DATE_RAW%, %MASTER_RELEASE_MAIN_RELEASE_ID%, ...) returning wrong information.
- Track credit parse exception triggered by ampersands (A1 to A5 & B1 to B3).
- Parse track credits containing more than 2 track subsets (A1, A5 & B1 to B3).
- Copy text to clipboard old fix regression.

What's new:

   %MASTER_RELEASE_MOST_RECENT_RELEASE_ID% and %MASTER_RELEASE_MOST_RECENT_RELEASE_URL% tags.

Title: Re: foo_discogs
Post by: frogworth on 2023-05-19 01:23:42
Thanks for all your work, @da yuyu!
I often find myself re-tagging a release that either initially wasn't properly in Discogs (e.g. only the vinyl was listed and I have the CD), or that I tagged a while ago, and I want to update it with the correct variant.

I'm pretty sure that foo_discogger, like foo_discogs, doesn't allow you to update the %DISCOGS_RELEASE_ID% once it's present - we can't change the behaviour for this tag to always Write. I seem to recall there was a reason for this, but for the life of me I can't work out what.
Sure, it auto-fills the ID when you run the tagger. But if you're choosing to tag with a different ID, it should honour that.

To me those use cases are a quite important use for the plugin. At the moment when I want to re-tag something I have to either delete all the Discogs tags or find and delete the %DISCOGS_RELEASE_ID%, which is easy to forget, not to mention a bit of an annoyance.
Title: Re: foo_discogs
Post by: da yuyu on 2023-05-19 02:19:47
Hi @frogworth,

IMHO, some pros and cons of allowing Release ID modification might be subjective and open to interpretation.
Leaving those behind, if your intention is to overwrite %DISCOGS_RELEASE_ID%, you should already be able to do so.
You can set it to "Write and update' using the extended menu (Shift+Right click combination) on its action column.
Would that be a proper solution for those use cases?


Title: Re: foo_discogs
Post by: frogworth on 2023-05-19 04:37:08
Oh thanks @da yuyu! I had definitely heard about the extended menu but had forgotten!
That is exactly what I need 🙏🏼
Title: Re: foo_discogs
Post by: sri on 2023-05-19 06:36:49
i have just installed the discogger component and it is successfully returning artist matches but it doesn't seem to want to populate releases? if i manually enter release id it is successful but i cant figure how to get it to return releases so i can choose them.
i've tried seemingly every combination of button and checkbox beyond altering the default matching strings and mapping.

is there any way to see what is being returned prior to filtering?
Title: Re: foo_discogs
Post by: da yuyu on 2023-05-19 09:32:05
@sri

You might already tried the following then:

- Double clicking artist items to load their releases.
- Disabling the 'main role' option.
- Clearing or using simpler filter strings, enable or disable 'filtered versions'.

There is an option to see how many items are being returned.
Preferences: Discogger->UI Options->Display artist release counter.
It enables a counter at the bottom right corner of the panel (ej. 'Found: 150 - Masters: 25').
Title: Re: foo_discogs
Post by: sri on 2023-05-19 21:57:46
@sri

- Double clicking artist items to load their releases.


genius! all those tips are excellent, cheers
Title: Re: foo_discogs
Post by: Juancar2 on 2023-05-19 23:36:35
Thanks for this modernized component
Title: Re: foo_discogs
Post by: itisljar on 2023-06-06 12:05:15
I'm lost.

I am updating tags which were made by CueTools, also from Discogs (but it happens with any already tagged release). I find the release in search within plugin, and click on Write Tags, and nothing happens.
The difference between tags is that CueTools loaded artists with some numbers beside them (I guess that's because there are more artists with same name), and this is easiest way to correct that for me (besides manually correcting each artist). The ONLY way I make it to work is to manually remove tags on that release and apply them on clean files. Option to remove pre-existing tags is turned on.

Is there a solution to this?
Title: Re: foo_discogs
Post by: forestasia on 2023-06-10 22:29:23
Is the Discogs API working now?

I'm getting:

(FATAL) Error: Authorization Failed (401) [Is OAuth working?](url: https://api.discogs.com/oauth/request_token?oauth_consumer_key=<snip>&oauth_version=1.0)
Title: Re: foo_discogs
Post by: a on 2023-07-01 05:20:42
Component still functions completely fine for me.
Title: Re: foo_discogs
Post by: da yuyu on 2023-07-06 20:30:01
Thanks for this modernized component

You are welcome  :)

New release v1.0.18 (https://github.com/ghDaYuYu/foo_discogger/releases) is now available.

This new release contains a new disc/track position parsing algorithm.
It's been rewritten from scratch, some tuning might be needed.

Thanks for testing!
Title: Re: foo_discogs
Post by: alexinc on 2023-07-19 18:26:28
For me it seems hit or miss right now, getting the tags written the way i want - or i'm not getting the meaning of the preview window with it's result, difference and original view... at least it's not writing what i'm expecting and set up once. i don't even know how to describe, as i'm not getting what it's doing!?

It shows the result - fine.
It shows the difference to the original tags - even more fine but why is it different to the result?
It writes the result and not the difference... i'm more than confused! See album artist and date for example. I just don't get whats going on here.

(1) file with "original tags"
(2) results after fetching the release from discogs
(3) viewing the differences to original tags (seems the way i want it > "album artist" not as multi value, year 4 digits)
(4) written tags > equivalent to fetched results and not to differences


Edit: Is it that i have to set all tags to "write & update" first and i never noticed it before, cause i was used to delete all tags before tagging with foo_discogger?
Title: Re: foo_discogs
Post by: da yuyu on 2023-07-19 19:19:24
The preview panel has become hardcore, I know.

All in all, I believe it works.

The Difference View together with the stats option it's mainly aimed to warn you about what differentiates your local tags from Discogs info after taking into consideration the tag mapping definitions (write, update, w/u).

Could you post a screenshot with the stats option turned on before and after writing the tags? It will show which values are being written, updated or skipped.  :-\
Title: Re: foo_discogs
Post by: alexinc on 2023-07-19 19:44:15
Thanks for getting back to me that fast. I guess my latest experience came from being way too lang away from tagging my collection and using the last versions of foo_discogger. ;-) Of course it's still a strong tool and time to say thanks again. My troubles seem to come from not erasing all tags first (for a clean start) like i used to do back then. I guess (not tried yet), if i set all tags to "write & update" not only "write" like they are now, it may work as expected (at least seems logic to me now). :-D

Just for supporting a little bit here are the requested screenshots. Oh my dear, i wasn't aware of the stats columns until i maximized the preview window! :-D
Title: Re: foo_discogs
Post by: da yuyu on 2023-07-19 20:51:40
Write & update is the master key to most issues lately : D

You are welcome and thank you also for your support!

And of course thanks to Bubleguuum and Zoomorph and all collaborators for creating the best and most powerful tagging tool ever.
 :) 
Title: Re: foo_discogs
Post by: alexinc on 2023-07-20 12:56:08
No matter what release i choose, but tagging "Paul Van Dyk - The Politics Of Dancing 3" always crashes foobar as soon as hitting preview or write. It's not the file, which can get tagged as another release just fine. ;-)
Title: Re: foo_discogs
Post by: frogworth on 2023-07-20 13:04:51
Wondering if it's the ginormous list of "Published by" credits, which surely should be track-by-track rather than for the whole release.
Have you tried tagging it with one of the other versions, which don't split the mix CD up into sub-indexes? (You probably don't want to! Just thought I'd ask.)
Title: Re: foo_discogs
Post by: alexinc on 2023-07-20 13:26:54
Wondering if it's the ginormous list of "Published by" credits, which surely should be track-by-track rather than for the whole release.
Have you tried tagging it with one of the other versions, which don't split the mix CD up into sub-indexes? (You probably don't want to! Just thought I'd ask.)

i tried it with https://www.discogs.com/de/release/7030479-Paul-van-Dyk-The-Politics-Of-Dancing-3 too (no sub-index)> same result, crashing. Also https://www.discogs.com/de/release/17194369-Various-Intricate-Sessions-Vol-02 not working (this one has sub-index again).
Title: Re: foo_discogs
Post by: da yuyu on 2023-07-20 15:22:59
@frogworth, @alexinc

Nice catch alexinc!   :)

None of the releases I've chosen to test the new disk/track detection mod (from v1.0.18) had indexed master releases.
I tested both Paul van Dyk releases without crashing foobar, so it should be fixed now.

foo_discogger v1.0.18.1 (https://github.com/ghDaYuYu/foo_discogger/releases)



Title: Re: foo_discogs
Post by: alexinc on 2023-07-20 16:28:39
Wow, that's what i call a fast delivery! Thanks. ;) With Paul Van Dyk's release it's working, but with the second example the index track title seems to get fetched within the track title now. :) I'm just getting warm... :D
Title: Re: foo_discogs
Post by: da yuyu on 2023-07-20 18:18:26
Wow, that's what i call a fast delivery! Thanks. ;) With Paul Van Dyk's release it's working, but with the second example the index track title seems to get fetched within the track title now. :) I'm just getting warm... :D

 :))

$if(%TRACK_INDEXTRACK_TITLE%,%TRACK_SUBTRACK_TITLE%,%TRACK_TITLE%)

Not sure if that would work in most cases as the TITLE expression though.
Title: Re: foo_discogs
Post by: alexinc on 2023-07-20 18:32:01
Wow, that's what i call a fast delivery! Thanks. ;) With Paul Van Dyk's release it's working, but with the second example the index track title seems to get fetched within the track title now. :) I'm just getting warm... :D

 :))

$if(%TRACK_INDEXTRACK_TITLE%,%TRACK_SUBTRACK_TITLE%,%TRACK_TITLE%)

Not sure if that would work in most cases as the TITLE expression though.

That's too easy and the basics of file tagging. ;) I'll see the next days. :)
Title: Re: foo_discogs
Post by: da yuyu on 2023-07-24 13:56:43
New version available including some Preview panel revisions:

   - 'Write selected tag' support for multiple selections.
   - 'Force Write & Update selected tags' new context menu option.

foo_discogger v1.0.19 (https://github.com/ghDaYuYu/foo_discogger/releases)
Title: Re: foo_discogs
Post by: alexinc on 2023-07-24 14:30:19
New version available including some Preview panel revisions:

   - 'Write selected tag' support for multiple selections.
   - 'Force Write & Update selected tags' new context menu option.

foo_discogger v1.0.19 (https://github.com/ghDaYuYu/foo_discogger/releases)


Backup the settings of your tag mappings before upgrading. it reset/messed mines completely.
Title: Re: foo_discogs
Post by: alexinc on 2023-07-24 15:52:40
Import of tm-file doesn't work either > "(skipped) Error: Error importing tags: Unsupported format or corrupted file [ESCAPE to close]". File was exported with 1.0.19.
Title: Re: foo_discogs
Post by: alexinc on 2023-07-24 18:03:50
Import of tm-file doesn't work either > "(skipped) Error: Error importing tags: Unsupported format or corrupted file [ESCAPE to close]". File was exported with 1.0.19.

NVM! i just noticed i had a typo in one of my re-applied formatting strings and importing seems to check for correct strings? at least after fixing the formatting string, importing that saved file works! :)
Title: Re: foo_discogs
Post by: da yuyu on 2023-07-24 19:47:22
@alexinc

Yes, only some tag names were triggering this error...
v1.0.19 started saving tag mapping GUIDS and the component was failing to detect when map files were already upgraded.

Still don't have a proper explanation about what was causing it.
This quick fix should solve the issue.

Thanks for reporting!  :)


foo_discogger v1.0.19.1 (https://github.com/ghDaYuYu/foo_discogger/releases)
Title: Re: foo_discogs
Post by: alexinc on 2023-07-24 20:02:43
@alexinc

Yes, only some tag names were triggering this error...
v1.0.19 started saving tag mapping GUIDS and the component was failing to detect when map files were already upgraded.

Still don't have a proper explanation about what was causing it.
This quick fix should solve the issue.

Thanks for reporting!  :)


foo_discogger v1.0.19.1 (https://github.com/ghDaYuYu/foo_discogger/releases)

confirmed, settings are kept now again.

one more thing i'm failing now, after having rebuild all formatting string... when trying to set %comment% to $unique(%<RELEASE_LABELS_NAME>%): %<RELEASE_LABELS_CATALOG_NUMBER>% i'm always getting error "Error generating tag COMMENT [Tried decoding corrupt string: embedded start]"!? got it working once, but with the next attempt it's failing again. my fault or bug? ;)
Title: Re: foo_discogs
Post by: da yuyu on 2023-07-24 20:47:16
I believe you need to join the two arrays:

$zip($join(%<RELEASE_LABELS_NAME>%),': ',$join(%<RELEASE_LABELS_CATALOG_NUMBER>%))

Not sure about the $unique part. Please provide some release ID to test multiple values on it if you can.
... or maybe post your solution if you sort it out already :))
Title: Re: foo_discogs
Post by: JohnBuckWLD on 2023-07-24 21:45:14
"Error generating tag COMMENT [Tried decoding corrupt string: embedded start]"!? got it working once, but with the next attempt it's failing again...
Even though it's not likely the cause of your issue, it's worth repeating to those new to the component, don't select [master] releases from the Releases: section of the Find Release window
Title: Re: foo_discogs
Post by: da yuyu on 2023-07-24 23:51:01
@JohnBuckWLD

Aye... whatever you do... Don't push that button!  :))

A new quick fix is available, still fixing the mess of introducing tag mapping GUIDs too early, should have been included in the forthcoming v1.0.20...

foo_discogger v1.0.19.2 (https://github.com/ghDaYuYu/foo_discogger/releases)

Title: Re: foo_discogs
Post by: paregistrase on 2023-07-25 13:25:44
Question about the new matching system...

In this release Fall Of Because – Life Is Easy (https://www.discogs.com/es/release/421577-Fall-Of-Because-Life-Is-Easy)
the last two tracks have multiple titles (10a, 10b, etc..)
I tried with the merge hidden tracks and all I managed to get was

(https://i.imgur.com/uMRrbXj.png)

There is something I must change in the setting to get the main title and the a,b,c,... merged?
Title: Re: foo_discogs
Post by: da yuyu on 2023-07-25 19:55:32
There is no option but a manual merge.
Maybe just discard the first 10 and 11 and fix it in the Preview panel?

Most hidden tracks I merge comply with 12.17.2 use of Hidden tracks.
I am not sure about r1271656 nor if it will be worth the extra elaboration.
Title: Re: foo_discogs
Post by: alexinc on 2023-07-25 20:00:25
I believe you need to join the two arrays:

$zip($join(%<RELEASE_LABELS_NAME>%),': ',$join(%<RELEASE_LABELS_CATALOG_NUMBER>%))

Not sure about the $unique part. Please provide some release ID to test multiple values on it if you can.
... or maybe post your solution if you sort it out already :))

so far it's working fine for all tested releases, no need to investigate another solution yet. ;-) tagging strong the last days! :-D
Title: Re: foo_discogs
Post by: da yuyu on 2023-07-25 20:30:44
@alexinc

Fair enough...

Modded the expression to gather from multiple catalog numbers...

$zip($join($unique(%<RELEASE_LABELS_NAME>%)),': ',$join(%<RELEASE_LABELS_CATALOG_NUMBER>%))

Thank you in advance for your next bug report!   :)
Title: Re: foo_discogs
Post by: paregistrase on 2023-07-25 20:57:01
There is no option but a manual merge.
Maybe just discard the first 10 and 11 and fix it in the Preview panel?

Most hidden tracks I merge comply with 12.17.2 use of Hidden tracks.
I am not sure about r1271656 nor if it will be worth the extra elaboration.

Yeah I did that. Just checking if I missed some option.
Title: Re: foo_discogs
Post by: alexinc on 2023-07-26 13:12:23
@alexinc

Fair enough...

Modded the expression to gather from multiple catalog numbers...

$zip($join($unique(%<RELEASE_LABELS_NAME>%)),': ',$join(%<RELEASE_LABELS_CATALOG_NUMBER>%))

Thank you in advance for your next bug report!   :)

i have to admit, i'm glad if everything is working as expected! ;-) there is one thing i still don't get. i enabled "remove any pre-existing tags" in tagging options. when i'm not writing e.g. "genre"-tag with discogger (genre-tag disabled) and it is pre-filled, i'm expecting it to get deleted, but that's not the case. so "remove any pre-existing tags" is just working for the fields written by discogger?
Title: Re: foo_discogs
Post by: frogworth on 2023-07-26 13:41:41
Oh no, it's overwritten my previous tag mappings again 😢
I'll have to see if I have a backup that I can boot up in a separate process and copy them out. Didn't expect it to happen again!
Title: Re: foo_discogs
Post by: da yuyu on 2023-07-26 17:38:08

i have to admit, i'm glad if everything is working as expected! ;-) there is one thing i still don't get. i enabled "remove any pre-existing tags" in tagging options. when i'm not writing e.g. "genre"-tag with discogger (genre-tag disabled) and it is pre-filled, i'm expecting it to get deleted, but that's not the case. so "remove any pre-existing tags" is just working for the fields written by discogger?

It removes any pre-existing tags not defined in the Tag Mapping (enabled or not), nor those defined in the 'Excluding (comma separated) field list. It's been working that way since foo_discogs v23, although foo_discogger now kind of attempts to make the process case-insensitive.

The genre-tag example/method you mention makes sense, but also to assume that disabling tags does not imply future removal?
Some alternatives could also be considered:
- replacing 'Remove any pre-existing tags' with a more accurate description.
- $if(TRUE,%<RELEASE_GENRES>%,) and manually change to FALSE to remove Genre.
- Masstagger scripts

It will be revised in future updates, thanks for reporting!

Oh no, it's overwritten my previous tag mappings again 😢
I'll have to see if I have a backup that I can boot up in a separate process and copy them out. Didn't expect it to happen again!

Oh dear, I can feel your pain :(
Any news? Hope you managed to restore your setting somehow.
Could you explain what happened so we can avoid falling into the same trap?




Title: Re: foo_discogs
Post by: frogworth on 2023-07-27 03:22:23
Tbh I'm not sure - I had recreated them but then when I started foobar yesterday and went to tag something, it was all gone. I have everything on W+A and they were back to just write, and my custom mappings were gone.
I've hopefully recreated them again now - didn't have an older copy easily accessible, although I can go back if need be.
Title: Re: foo_discogs
Post by: alexinc on 2023-07-27 13:47:31
wondering, if there is a simple/fast way to update date with master_release_date if available, as i'm missing the context menu discogger > update? :-) i don't want to fetch every single release first. :-D
Title: Re: foo_discogs
Post by: da yuyu on 2023-07-27 21:04:03
@alexinc

The update option might return someday, an informal estimation could be by v1.0.30 :D

However, the component still needs some more testing, and debugging and some basic features might not be mature enough.
Until then updates will remain disabled to minimize the risks.

Once the basic features can be trusted enough, my plan is to attempt updating the offline cache, maybe using DISCOGS_DATE_ADDED/UPDATED. Then see how updates can be distributed back to releases.  If I can accomplish that I'll give it a try restoring the old update feature.

@frogworth

Glad you still can go back if needed.
v1.0.19.0 was probably the reason... there are two 'emergency' fixes after that release.

I am linking below the latest release before I take a brief break from the project. This time is namely a Beta release, just for the enthusiasts, in case someone it is foolish enough to test it. Best run on new portable installations.

foo_discogger v1.0.20 Beta (https://raw.githubusercontent.com/ghDaYuYu/foo_discogger/master/compiled_beta/foo_discogger_v1.0.20.Beta.fb2k-component)

Change log:

- Tag mappings export as JSON files
- Renamed 'Id3 tags...' to 'Std. tags...'
- Message tip 'Shift + RClick' on Discogs ID tag selections
- 'Add tag...' submenu revisions
Title: Re: foo_discogs
Post by: marabalos on 2023-08-21 18:27:03
Hi! First of all, this is the best plugin I could have ever wished for! THANKS!!

I'm really struggling to get a tag mapping working to distribute the correct RELEASE_FORMATS_NAME, DESCRIPTIONS, and TEXT for each album of a box set (instead of receiving the same string for all of them).

The first or last value in these arrays is a general description, always including "Box set" (https://www.discogs.com/release/9147559: "Box Set, Compilation, Limited Edition, Numbered"). I'll place that in the DISCOGS_FORMAT tag. However, I want another tag, SOURCEMEDIA, to contain the NAME, DESCRIPTION, and TEXT corresponding to each proper album.

I know I can get how to identify the value including "Box set", so use first to last-1 or 2nd to last, and there's an array with the same value for each album (%DISCNUMBER%), but I can't find a way to output the correct array.

I was thinking of something like:
Code: [Select]
$arrayn(
$element(%<RELEASE_FORMATS_NAME%>,[2 to Last or 1 to Last-1]) ,
[the quantity of times the value 1 appears in %DISCNUMBER%])

However, as you can see, I'm considering this as a loop, so I can't find a proper way to implement it. Do you have any advice?

Thanks in advance!
Title: Re: foo_discogs
Post by: da yuyu on 2023-08-22 00:34:37

However, as you can see, I'm considering this as a loop, so I can't find a proper way to implement it. Do you have any advice?


Hi, vinyl disc parsing is limited to single char vinyl sides. I would tag %DISC_NUMBER% first, and refer to it as $meta(DISCNUMBER) after that, $put the offset, then $add or $sub it to the disc number in the $element expression.
Just a suggestion, I would probably use the same description for all and fix the differences manually  :)
Title: Re: foo_discogs
Post by: da yuyu on 2023-09-01 20:43:55
Hi there!

A new release is now available.

What´s new:

- Track artists used for VA release search instead of Album artist (requires album/tracks with 'Album artist' equal or prefixed by 'VA' or 'Various').
- Experimental feature: VA artist artwork download.

Fixes:
- Close the Preview dialog after writing tags.
- Do not throw fatal error loading 404 artist previews.

Notes:
The experimental VA release image downloads feature is limited to artwork download (not file tagging).

foo_discogger v1.0.20 (https://github.com/ghDaYuYu/foo_discogger/releases)

Thanks for testing!
Title: Re: foo_discogs
Post by: paregistrase on 2023-09-02 05:39:50
- Experimental feature: VA artist artwork download.

Notes:
The experimental VA release image downloads feature is limited to artwork download (not file tagging).


I found a problem with this new feature:

Selecting the option Beta: Include all artists credited in tracks (auto reset) in Discogger preferences ->Artwork disable the Write tags and Preview buttons in the Track Matching & Artwork dialog

(https://i.imgur.com/JRzvwFH.png)

Closing this dialog, makes the preference option be disabled without intervention

(https://i.imgur.com/NiDtaWj.png)

and the buttons works again

(https://i.imgur.com/KPX9rUg.png)
Title: Re: foo_discogs
Post by: ms1602 on 2023-09-02 11:59:46
Is it possible to include a guest performance in the name of the song? In the first photo it is as after using the discogger: https://imgbox.com/47d9R5az In the second as I would like it to be: https://imgbox.com/mmp2JR6P

Link to release on discogs: https://www.discogs.com/release/24964276-Brodka-Sadza

The same situation applies to remixes.

Thanks for your help in advance.
Title: Re: foo_discogs
Post by: da yuyu on 2023-09-02 14:39:45
@paregistrase

The new feature is still in a very early stage, it will take some time to get properly defined and integrated.
Not sure if you refer to the note mentioning that limitation or something else.

Also in relation the this new feature, after reading ms1602 post above, featuring artist's artwork might be included.
Unrelated to this, I see in the screenshot that forgot to document the included Wine patch for the 'Write tags' icon transparency.

@ms1602

I do not have much experience with tag formatting, someone else could probably provide a better solution...

Code: [Select]
$multi_if($contains($zip($join(%<<TRACK_CREDITS_ROLES>>%),' - ',$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%)),[Featuring]),%TRACK_TITLE%,$zip($array(%TRACK_TITLE% '('),$zip($join(%<<TRACK_CREDITS_ROLES>>%),' - ',$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%)),')')))


Patch v1.0.20.1, fixes the release memory cache after running the Download all artists artwork beta feature:

foo_discogger v1.0.20.1 (https://github.com/ghDaYuYu/foo_discogger/releases)

Title: Re: foo_discogs
Post by: paregistrase on 2023-09-03 01:47:40
@paregistrase

The new feature is still in a very early stage, it will take some time to get properly defined and integrated.
Not sure if you refer to the note mentioning that limitation or something else.

Also in relation the this new feature, after reading ms1602 post above, featuring artist's artwork might be included.
Unrelated to this, I see in the screenshot that forgot to document the included Wine patch for the 'Write tags' icon transparency.


Ah Ok, just not totally implemented yet. Anyway, a great idea. I still have the old discoggs to do an update artists art in VA releases in order to get all artist images, It would be good to let him rest in peace.

The note about write to tag not supported? No, I always use download images. It was only to tell you that with the new option selected, the buttons in the dialog became not clickable. But knowing that it is not finished yet, maybe too soon to report bugs...

Waiting for future versions, looks promising, and thanks for working to update this component

Title: Re: foo_discogs
Post by: ms1602 on 2023-09-03 05:14:42
@paregistrase

The new feature is still in a very early stage, it will take some time to get properly defined and integrated.
Not sure if you refer to the note mentioning that limitation or something else.

Also in relation the this new feature, after reading ms1602 post above, featuring artist's artwork might be included.
Unrelated to this, I see in the screenshot that forgot to document the included Wine patch for the 'Write tags' icon transparency.

@ms1602

I do not have much experience with tag formatting, someone else could probably provide a better solution...

Code: [Select]
$multi_if($contains($zip($join(%<<TRACK_CREDITS_ROLES>>%),' - ',$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%)),[Featuring]),%TRACK_TITLE%,$zip($array(%TRACK_TITLE% '('),$zip($join(%<<TRACK_CREDITS_ROLES>>%),' - ',$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%)),')')))


Patch v1.0.20.1, fixes the release memory cache after running the Download all artists artwork beta feature:

foo_discogger v1.0.20.1 (https://github.com/ghDaYuYu/foo_discogger/releases)



Maybe guest artists could be put in artist name, but I don't know how to do that.
Title: Re: foo_discogs
Post by: paregistrase on 2023-09-03 07:45:22
Maybe guest artists could be put in artist name, but I don't know how to do that.

You could make a new tag mapping for featuring, remix, etc...

I have this:
Code: [Select]

Featuring

$flatten($multi_if($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),'Featuring')),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$joinnames($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$get(aj)),$get(an)),))


For remixer, change 'Featuring' to 'Remix'.

Same for 'Mixed By', 'Producer', etc.....

Then you could add them easily to any other place.

For example, formatting artist with

Code: [Select]

%artist%[' featuring '%featuring%]


Or title with

Code: [Select]

%title%[' ('%remixer%' Remix)']

Title: Re: foo_discogs
Post by: ms1602 on 2023-09-03 09:46:27
Maybe guest artists could be put in artist name, but I don't know how to do that.

You could make a new tag mapping for featuring, remix, etc...

I have this:
Code: [Select]

Featuring

$flatten($multi_if($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),'Featuring')),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$joinnames($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$get(aj)),$get(an)),))


For remixer, change 'Featuring' to 'Remix'.

Same for 'Mixed By', 'Producer', etc.....

Then you could add them easily to any other place.

For example, formatting artist with

Code: [Select]

%artist%[' featuring '%featuring%]


Or title with

Code: [Select]

%title%[' ('%remixer%' Remix)']


Thanks for your help!
Title: Re: foo_discogs
Post by: ms1602 on 2023-09-03 16:29:41
Maybe guest artists could be put in artist name, but I don't know how to do that.

You could make a new tag mapping for featuring, remix, etc...

I have this:
Code: [Select]

Featuring

$flatten($multi_if($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),'Featuring')),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$joinnames($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$get(aj)),$get(an)),))


For remixer, change 'Featuring' to 'Remix'.

Same for 'Mixed By', 'Producer', etc.....

Then you could add them easily to any other place.

For example, formatting artist with

Code: [Select]

%artist%[' featuring '%featuring%]


Or title with

Code: [Select]

%title%[' ('%remixer%' Remix)']


Everything is fine with the guest appearances now (thanks for your help again), but I don't know how to make it show me who the remix artist is after the song title, e.g. "Lato (Pocałuj Mnie) (Mandee Remix)", it still shows despite different combinations in tag mapping "Lato (Pocałuj Mnie)". Sorry, but I don't think I can master foobar enough to fix this myself. Thanks in advance for your help.
Title: Re: foo_discogs
Post by: paregistrase on 2023-09-03 20:14:24
Everything is fine with the guest appearances now (thanks for your help again), but I don't know how to make it show me who the remix artist is after the song title, e.g. "Lato (Pocałuj Mnie) (Mandee Remix)", it still shows despite different combinations in tag mapping "Lato (Pocałuj Mnie)". Sorry, but I don't think I can master foobar enough to fix this myself. Thanks in advance for your help.

Try this

Make new tag mapping
Code: [Select]
Remixer

$flatten($multi_if($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),'Remix')),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$joinnames($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$get(aj)),$get(an)),))

and after that you could use this to add it to the title

Code: [Select]
%title%[' ('%remixer%' Remix)']

Note that the trick is changing the text between '' after the second %<<RELEASE_CREDITS_SHORT_ROLES>>% for the text that foobar use.

You can see them with

Track credits

Code: [Select]
DISCOGS_TRACK_CREDITS

$zip($join(%<<TRACK_CREDITS_ROLES>>%),' - ',$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%))

Release credits

Code: [Select]
DISCOGS_RELEASE_CREDITS

$zip($join(%<<RELEASE_CREDITS_ROLES>>%),' - ',$join(%<<RELEASE_CREDITS_ARTISTS_NAME>>%))

You get something like that

Code: [Select]
DISCOGS_TRACK_CREDITS

Lyrics By - Tharen

Code: [Select]
DISCOGS_RELEASE_CREDITS

Music By, Vocals - Tharen; Painting [Credits Page] - Sophie Lemoine; Programmed By [Keyboard Programming] - Tharen; Recorded By, Mixed By - Georg Hrauda, Tharen; Vocals - Elisabeth Toriser


To extract the vocals for example use 'Vocals' in a new tag mapping

Code: [Select]
VOCALS

$flatten($multi_if($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),'Vocals')),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$joinnames($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$get(aj)),$get(an)),))

and you will get

Code: [Select]
VOCALS

Tharen; Elisabeth Toriser

Hope that this help

Is a bit tricky at first but when you start to get the dinamic is very powerful
Title: Re: foo_discogs
Post by: ms1602 on 2023-09-05 04:43:42
Everything is fine with the guest appearances now (thanks for your help again), but I don't know how to make it show me who the remix artist is after the song title, e.g. "Lato (Pocałuj Mnie) (Mandee Remix)", it still shows despite different combinations in tag mapping "Lato (Pocałuj Mnie)". Sorry, but I don't think I can master foobar enough to fix this myself. Thanks in advance for your help.

Try this

Make new tag mapping
Code: [Select]
Remixer

$flatten($multi_if($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),'Remix')),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$joinnames($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$get(aj)),$get(an)),))

and after that you could use this to add it to the title

Code: [Select]
%title%[' ('%remixer%' Remix)']

Note that the trick is changing the text between '' after the second %<<RELEASE_CREDITS_SHORT_ROLES>>% for the text that foobar use.

You can see them with

Track credits

Code: [Select]
DISCOGS_TRACK_CREDITS

$zip($join(%<<TRACK_CREDITS_ROLES>>%),' - ',$join(%<<TRACK_CREDITS_ARTISTS_NAME>>%))

Release credits

Code: [Select]
DISCOGS_RELEASE_CREDITS

$zip($join(%<<RELEASE_CREDITS_ROLES>>%),' - ',$join(%<<RELEASE_CREDITS_ARTISTS_NAME>>%))

You get something like that

Code: [Select]
DISCOGS_TRACK_CREDITS

Lyrics By - Tharen

Code: [Select]
DISCOGS_RELEASE_CREDITS

Music By, Vocals - Tharen; Painting [Credits Page] - Sophie Lemoine; Programmed By [Keyboard Programming] - Tharen; Recorded By, Mixed By - Georg Hrauda, Tharen; Vocals - Elisabeth Toriser


To extract the vocals for example use 'Vocals' in a new tag mapping

Code: [Select]
VOCALS

$flatten($multi_if($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),'Vocals')),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$joinnames($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$get(aj)),$get(an)),))

and you will get

Code: [Select]
VOCALS

Tharen; Elisabeth Toriser

Hope that this help

Is a bit tricky at first but when you start to get the dinamic is very powerful


Thanks for your help, but I still don't know what to set in the title to achieve this effect: https://imgbox.com/87FTS6hs
Title: Re: foo_discogs
Post by: paregistrase on 2023-09-05 15:59:08
Thanks for your help, but I still don't know what to set in the title to achieve this effect: https://imgbox.com/87FTS6hs

Let's try with images

first, you must add the tags in the discogger tag mapping

(https://i.imgur.com/oO4AH0y.png)

With that when you tag one release with discogger you have independent tags for artist, title, featuring, remixed by

(https://i.imgur.com/WDVdrus.png)

Now to display it in the playlist you must change the artist and title formatting display in the playlist This depends on the component you are using for the playlist.

For example, I have all the tags and use facets and Simplaylist. I used the artist, featuring, composer, remis, etc to display all artist in facets and title and track artist in the playlist. it looks like this

(https://i.imgur.com/VxUuJhI.png)

To display the remixer in the playlist I have to change the settings in SimPlaylist.

Code: [Select]
%TITLE%[' ['%SUBTITLE%']'][ '('%REMIXED BY%' Remix)'][>>' | '$if(%TRACK ARTIST%,$meta_sep(ARTIST,', ',' & '),)<<]

to get

(https://i.imgur.com/i9SDKpu.png)

so you need to go to the configuration of your choice playlist and change the way it display title.

Other way is changing the title itself. To do that you have to open propierties select ttitle and right click Format from other fields...

(https://i.imgur.com/Pi6DEJW.png)

With this only using %title% display the info (it will show in any playlist) without modifications

(https://i.imgur.com/mev6vtt.png)










Title: Re: foo_discogs
Post by: anamorphic on 2023-09-05 20:08:58
^ And today I learned that 'Sex' has a subtitle!  :D

(Nice screens paregistrase, thanks for the ideas)
Title: Re: foo_discogs
Post by: paregistrase on 2023-09-05 23:30:48
^ And today I learned that 'Sex' has a subtitle!  :D

(Nice screens paregistrase, thanks for the ideas)

Only the scandalous one :P
Title: Re: foo_discogs
Post by: ms1602 on 2023-09-06 06:11:28
Thanks for your help so far! One more question - what to do so that when the issue has only a year and month, it does not display something like - 1990-09-00, only 1990-09. I've had several situations like this. "00" is added unnecessarily when a release has no release day.

Edit: One more thing - using your suggestion for guest appearances, in a situation where there is no guest appearance - nothing is tagged in the artist name tag. This causes a problem in particular when I want to tag a Various Artists release like this: https://www.discogs.com/release/1127053-Various-CMJ-Presents-Certain-Damage-Volume-38

Wouldn't it be better if it tagged the name of the artist and the guest appearance next to it?
Title: Re: foo_discogs
Post by: paregistrase on 2023-09-06 08:07:30
Thanks for your help so far! One more question - what to do so that when the issue has only a year and month, it does not display something like - 1990-09-00, only 1990-09. I've had several situations like this. "00" is added unnecessarily when a release has no release day.

Edit: One more thing - using your suggestion for guest appearances, in a situation where there is no guest appearance - nothing is tagged in the artist name tag. This causes a problem in particular when I want to tag a Various Artists release like this: https://www.discogs.com/release/1127053-Various-CMJ-Presents-Certain-Damage-Volume-38

Wouldn't it be better if it tagged the name of the artist and the guest appearance next to it?

The full date is a bit tricky because not all releases have it.

My routine for tagging is first tagging with MusicBrainz that write date and original date. I uncheck write original release date to date and use year instead of full date. That write full date when available in %DATE% and %ORIGINAL RELEASE DATE%.

Second step with discogger. I have disabled %DATE% to not overwrite the previous. I write the tags

Code: [Select]
DISCOGS_RELEASE_MONTH                    %RELEASE_MONTH%
DISCOGS_RELEASE_DAY                           %RELEASE_DAY%
DISCOGS_RELEASE_YEAR                          %RELEASE_YEAR%
DISCOGS_RELEASED                                 %RELEASE_DATE_RAW%
DISCOGS_MASTER_RELEASE_YEAR           %MASTER_RELEASE_YEAR%

Then I fill the %DATE%, %RELEASE DATE% and %ORIGINAL RELEASE DATE% manually with that info. It is not always available, even using the 2 taggers, so I use the https://github.com/Wil-B/Biography (http://Wil-B Biography panel for Spider Monkey) to get info from wikipedia, last.fm and allmusic.

As %DATE% is the most normal tag used for others programs I like that it have the original release date but that a personal taste.

A Various Artist release

(https://i.imgur.com/XPpDdHT.png)


The code in the Title + Trcak Artist field is

Code: [Select]
%TITLE%[' ['%SUBTITLE%']'][' ('$meta_sep(REMIXED BY,', ',' & ')' Remix)'][>>' | '$if(%TRACK ARTIST%,$meta_sep(ARTIST,', ',' & ')[' Featuring '$meta_sep(FEATURING,', ',' & ')],)<<]

Note the %TRACK ARTIST% tag. This is a foobar internal mapping. It is present when %ALBUM ARTIST% is present and is different for the %ARTIST% tag. With this the artist is only displayed when is different from the album artist

I like to have the %album artist%, %artist% and %title% write as tis released and in a single value. This is useful with other players (like car player) and for scrobbling to last.fm. Then I used other tags like %artists%, %featuring%, % remixed by%, %producer%, etc as separate multivalues. Mostly to display in facets, make auto-playlists, google searching and uses it in the bio panel.

(https://i.imgur.com/kT1jlEa.png)

The decision to add the remixer to tiitle or the featuring to artist is a personal taste, but the way is displayed depend on the component that is used for the playlist. You must search a way to modifies the playlist component you are using to your personal taste.





Title: Re: foo_discogs
Post by: ms1602 on 2023-09-06 09:57:30
Thanks for your help so far! One more question - what to do so that when the issue has only a year and month, it does not display something like - 1990-09-00, only 1990-09. I've had several situations like this. "00" is added unnecessarily when a release has no release day.

Edit: One more thing - using your suggestion for guest appearances, in a situation where there is no guest appearance - nothing is tagged in the artist name tag. This causes a problem in particular when I want to tag a Various Artists release like this: https://www.discogs.com/release/1127053-Various-CMJ-Presents-Certain-Damage-Volume-38

Wouldn't it be better if it tagged the name of the artist and the guest appearance next to it?

The full date is a bit tricky because not all releases have it.

My routine for tagging is first tagging with MusicBrainz that write date and original date. I uncheck write original release date to date and use year instead of full date. That write full date when available in %DATE% and %ORIGINAL RELEASE DATE%.

Second step with discogger. I have disabled %DATE% to not overwrite the previous. I write the tags

Code: [Select]
DISCOGS_RELEASE_MONTH                    %RELEASE_MONTH%
DISCOGS_RELEASE_DAY                           %RELEASE_DAY%
DISCOGS_RELEASE_YEAR                          %RELEASE_YEAR%
DISCOGS_RELEASED                                 %RELEASE_DATE_RAW%
DISCOGS_MASTER_RELEASE_YEAR           %MASTER_RELEASE_YEAR%

Then I fill the %DATE%, %RELEASE DATE% and %ORIGINAL RELEASE DATE% manually with that info. It is not always available, even using the 2 taggers, so I use the https://github.com/Wil-B/Biography (http://Wil-B Biography panel for Spider Monkey) to get info from wikipedia, last.fm and allmusic.

As %DATE% is the most normal tag used for others programs I like that it have the original release date but that a personal taste.

A Various Artist release

(https://i.imgur.com/XPpDdHT.png)


The code in the Title + Trcak Artist field is

Code: [Select]
%TITLE%[' ['%SUBTITLE%']'][' ('$meta_sep(REMIXED BY,', ',' & ')' Remix)'][>>' | '$if(%TRACK ARTIST%,$meta_sep(ARTIST,', ',' & ')[' Featuring '$meta_sep(FEATURING,', ',' & ')],)<<]

Note the %TRACK ARTIST% tag. This is a foobar internal mapping. It is present when %ALBUM ARTIST% is present and is different for the %ARTIST% tag. With this the artist is only displayed when is different from the album artist

I like to have the %album artist%, %artist% and %title% write as tis released and in a single value. This is useful with other players (like car player) and for scrobbling to last.fm. Then I used other tags like %artists%, %featuring%, % remixed by%, %producer%, etc as separate multivalues. Mostly to display in facets, make auto-playlists, google searching and uses it in the bio panel.

(https://i.imgur.com/kT1jlEa.png)

The decision to add the remixer to tiitle or the featuring to artist is a personal taste, but the way is displayed depend on the component that is used for the playlist. You must search a way to modifies the playlist component you are using to your personal taste.







Thanks for the answer. I also use musicbrainz in the first place, if only because of the more faithful representation of the case (Discogs has a scheme for naming everything in capital letters), I use Discogger only for releases that are not found on Musicbrainz. As for remixes - I decided to add them manually (the number of albums that contain remixes and are not on Musicbrainz is a really rare situation).

When it comes to Discogger, I want this effect: https://imgbox.com/Vy84jJFh

Is it possible to set tag mapping like this?
Title: Re: foo_discogs
Post by: paregistrase on 2023-09-06 10:56:17
Thanks for the answer. I also use musicbrainz in the first place, if only because of the more faithful representation of the case (Discogs has a scheme for naming everything in capital letters), I use Discogger only for releases that are not found on Musicbrainz. As for remixes - I decided to add them manually (the number of albums that contain remixes and are not on Musicbrainz is a really rare situation).

When it comes to Discogger, I want this effect: https://imgbox.com/Vy84jJFh

Is it possible to set tag mapping like this?

Transform a multi value in a single value?

Format from other tags in artist

$meta_sep(artist,', ')

for existing tags

In discogger

ARTIST                 $joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%) to join the artist with the discogs joiner (+, &, with, etc)

or $join(%<ARTISTS_NAME>%) to joint with ', '


You have all the functions in Help-Title formating help and in the discogger help in tag mapping
Title: Re: foo_discogs
Post by: ms1602 on 2023-09-06 12:09:41
Thank you very much!





MOD edit: Removed unnecessary full quote
Title: Re: foo_discogs
Post by: ms1602 on 2023-09-06 13:25:18
I don't know how to do it, I try different variants, for example: $joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%,%<DISCOGS_CREDIT_FEATURING>%) or $join(%<ARTISTS_NAME>%,'Featuring') and either an error pops up when trying to tag or it doesn't work. I don't know, I'm probably not able to understand it :D - I'll write directly what should I enter in the "Artist" tag to display the name of the artist and the guest appearance next to it (if there is)? Sorry for bothering you, but I really don't know anything about it, plus my English is very bad and I can't handle it.
Title: Re: foo_discogs
Post by: paregistrase on 2023-09-06 21:08:07
I don't know how to do it, I try different variants, for example: $joinnames(%<ARTISTS_NAME>%,%<ARTISTS_JOIN>%,%<DISCOGS_CREDIT_FEATURING>%) or $join(%<ARTISTS_NAME>%,'Featuring') and either an error pops up when trying to tag or it doesn't work. I don't know, I'm probably not able to understand it :D - I'll write directly what should I enter in the "Artist" tag to display the name of the artist and the guest appearance next to it (if there is)? Sorry for bothering you, but I really don't know anything about it, plus my English is very bad and I can't handle it.

In the tag mapping dialog in the upper left corner, there is a ? that open the formatting help.


DISCOGS_CREDIT_FEATURING is the name you give to the fields to be written, not an internal discogger variable.
There is no specific featuring variable in discogs. This makes almost impossible to make a script that fit all variations because you must search for all the possibilities in the credits roles and release roles.

For example in John Mayall's Bluesbreakers* Featuring Walter Trout – Life In The Jungle (https://www.discogs.com/es/release/13505984-John-Mayalls-Bluesbreakers-Featuring-Walter-Trout-Life-In-The-Jungle-) the featuring comes with the artists_name, No problem with the $joinname script.

But in others, like 7 Notas 7 Colores – 77 (https://www.discogs.com/es/release/1507927-7-Notas-7-Colores-77) the featured artists are in the track roles as Vocals [Featuring] , Rap [Featuring]
In this one the featuring that search for 'featuring' in the roles didn't catch it, but is found by the one that search for 'vocals' and the one that have rap is not cached at all
There are a lot of different scenarios and it is almost impossible to cover all.
That is basically why I used different tags mapping to search for specific strings in the credits roles like featuring, vocals, chorus, orchestra, etc. and tried to uses alternatives tags for the data written for the different sources.
First I get all the info then II apply a masstager script with all the common scenarios that I have found over time to format the data.
This cover almost 99%, But even with that, there are always releases that need a last manual intervention.

There is also a version of discogger in UI integration and credit templates (https://github.com/ghDaYuYu/foo_discogger/discussions/93) that add an experimental mode to deal with credit tags that Includes public release v1.0.18 updates. Maybe in the future it will be included in the normal release.

I tried to make a tag formatting that search for various strings (for example featuring, rap, Scratches, etc i) in a single one allowing strings to be added as needed but I can't find a way to do it.
If anyone know how to do it, it will be very appreciated








Title: Re: foo_discogs
Post by: ms1602 on 2023-09-06 21:52:58
Thank you!





MOD edit: Removed unnecessary full quote
Title: Re: foo_discogs
Post by: da yuyu on 2023-09-08 18:07:16
...
There is also a version of discogger in UI integration and credit templates (https://github.com/ghDaYuYu/foo_discogger/discussions/93) that add an experimental mode to deal with credit tags that Includes public release v1.0.18 updates. Maybe in the future it will be included in the normal release.

I tried to make a tag formatting that search for various strings (for example featuring, rap, Scratches, etc i) in a single one allowing strings to be added as needed but I can't find a way to do it.
If anyone know how to do it, it will be very appreciated

I hope the credit template feature can be included reasonably soon, but the concept is still quite unclear to me.
I will try to continue updating it to match the changes from the public releases.
In the meantime, the discussion is open to collaborations at the github repo.
Regards!
Title: Re: foo_discogs
Post by: frogworth on 2023-10-28 09:18:26
Hey dear @da yuyu,
I have a couple of things I'd like to raise.

The first, and main, one is to do with filtering releases in the Find Releases dialog.
It seems like *some* details of the individual releases, when inside a master release, are accounted for in the filter, and some make it display no results.
For instance, I might want to be searching for ALBUM NAME but I only want releases from 2013, or I only want ones that match a particular catalog number, etc. I think this is how the old foo_discogs component worked, although it's been a while :)
It may be hard to make the filter apply to all details listed, given that we can use an arbitrary titleformatting string for each level of the releases window. But it would make a massive difference when there are a lot of variants!

The second one is that sometimes the component does switch to "skip artwork" even though I always have that unselected. I'm not quite sure under what circumstances it defaults to "skip artwork" I'm afraid.
I do want to skip cover.jpg if the file already exists, but that's a difference preference to the "skip artwork" checkbox.
Title: Re: foo_discogs
Post by: da yuyu on 2023-10-28 13:34:01
Hi @frogworth,
I am not sure about the arbitrary format part.
Is the filtering not already applying to all fields (all details listed) included in the master and release formatting strings?

Just as a refresher, here are the requirements to enable master version filtering:
- The search value should be included in the titleformat expression.
- The 'filtered versions' option should be enabled.
- The master (tree node) should have been previously loaded. On tree node expansion, the Discogs database is queried and the results are then added as master releases/versions. All branches already loaded are marked with a dot icon.

Are you suggesting modifying these requirements? In which way specifically? If this is just a case of a bug you found in the filtering, please provide test data so I can reproduce it.

About the second issue, Discogger v1.0.20.3 (https://github.com/ghDaYuYu/foo_discogger/releases) should fix it.
Title: Re: foo_discogs
Post by: frogworth on 2023-10-28 13:41:42
Ahhhh thanks so much. I had missed part of that, or forgotten! Yes, with "filtered versions" checked, it does indeed filter like I was wanting!

And thanks for quickly releasing the fix for "skip album art". I'll test it over the next few days.
Title: Re: foo_discogs
Post by: da yuyu on 2023-10-28 13:52:01
you are welcome  :)
thanks for reporting!
Title: Re: foo_discogs
Post by: n99 on 2023-11-04 03:47:01
Since the last update, Discogger doesn't overwrite any existing values anymore. How do I fix this?
Title: Re: foo_discogs
Post by: da yuyu on 2023-11-06 23:20:27
@n99
I didn´t encounter any problem.
It could help providing some screenshots, maybe the preview panel displaying the stat columns.
Title: Re: foo_discogs
Post by: da yuyu on 2023-11-06 23:23:32
Discogger v1.0.20.4 (https://github.com/ghDaYuYu/foo_discogger/releases)

Fixes:

    Mismatched master/release tree crash.
    Enter/Double click artist when preference option 'Auto-load releases opening Find Release' is disabled.

Title: Re: foo_discogs
Post by: Juancar2 on 2023-11-09 00:48:47
Since the last update, Discogger doesn't overwrite any existing values anymore. How do I fix this?
I could solve the issue just moving the edge of the headlines in the panel of the tagging information because the information was hidden to the far right of the panel
Title: Re: foo_discogs
Post by: frogworth on 2023-11-10 08:09:17
Hi @da yuyu
I want to show the number of discs in the search dialog for sub-releases. I've been tagging deluxe editions and the like, where the original is a single disc but the deluxe is multiple discs, and currently there's no way to tell in the search results.

However, I really don't understand the formatting for search. In the Master sub-release formatting string field, whenever I try to add anything like %RELEASE_FORMAT_QUANTITY% or %DISC_QUANTITY% or variants with SEARCH_ prepended, anything I add just makes foobar crash when opening up a master release.
I even tried %DISCOGS_FORMAT% which was referenced way up in this thread in the @zoomorph days, but... it crashed foobar too.
The included HTML help page is no help for this section of the config.

Can you shed any light?
Title: Re: foo_discogs
Post by: da yuyu on 2023-11-10 20:23:03
Hi @frogworth,
Check the default search formatting strings for reference, they make use of most available fields.
You can also open foo_discogger-cache\artist\12345\releases\page-0\root.json files. Each record contains the fields available at that stage. Currently, format quantities, as tracks, are unknown until the release referenced by each listed version is loaded individually.
I don't know if this might change in the future, as far as I know, is a Discogs API endpoint limitation.

Titleformat crashes should be addressed at some point. It might require a new preference option depending on what's the performance penalty, if any.
Title: Re: foo_discogs
Post by: frogworth on 2023-11-11 03:01:33
Thanks @da yuyu
Weirdly, even though New Order's releases were cached, initially I had no 3909 folder in my foo_discogger_cache\artist folder.
So I deleted the whole thing and restarted foobar2000, and then it did appear.

I've also now made some direct API queries, and yes I can see that there is nothing in the JSON response that refers to the number of discs or anything like that. (Not that I mistrusted you!)
It's strange as I do recall being able to scroll through the sub-releases in the past and see something that indicated something was a multi-disc set. I must have imagined it!

It's frustrating then, because on the master release on the Discogs site, you get this kind of thing, e.g. for https://www.discogs.com/master/4071-New-Order-Power-Corruption-Lies
CD, Album, Reissue; CD, Compilation; All Media, Remastered

More starkly, AFX SAW II:
https://www.discogs.com/master/481-Aphex-Twin-Selected-Ambient-Works-Volume-II
All the versions have something like:
2XCD, Album, Reissue

If I did use to see that in the foo_discogs search results, I guess it was either returned in format, which currently just holds "Album, Reissue", or somehow in the major_formats array.
But nope. The info's just not available from the masters endpoints.
Geez, Discogs.
Title: Re: foo_discogs
Post by: xsdaver on 2023-11-20 12:50:43
I'm trying to migrate to 64 bit and am trying out discogger.  Everything works as expected except the track title field is not being written correctly.  All I'm getting is 01, 02, 03... instead of the actual track titles.  Discogger appears to have the correct mapping, TITLE is set to %TRACK_TITLE% but no joy.  What am I missing?
Title: Re: foo_discogs
Post by: da yuyu on 2023-11-21 08:21:10
You could try adding a new tag MYTITLE also as %TRACK_TITLE% and check the result in the preview panel.
Is it also failing in a new portable installation?
Title: Re: foo_discogs
Post by: xsdaver on 2023-11-21 12:03:08
I tried your suggestion and got the same result as the TITLE field.  So I tried this script which grabs the text after the last " - ":

$trim($right(%TRACK_TITLE%,$sub($len(%TRACK_TITLE%),$strrchr(%TRACK_TITLE%,'-'))))

It works, but not if the field is called TITLE.  I have to call it something else.  I tried pasting the script into the TITLE Formatting String field and it didn't work, the results were still 01, 02, 03...  This seems like a bug, but I don't feel qualified to say for sure.
Title: Re: foo_discogs
Post by: xsdaver on 2023-11-21 12:11:45
So with the script still in the TITLE field, the next disc I did did load the titles correctly.  Apparently when you hit Apply in the Tag Mapping window not everything is actually applied to the current preview.  It seems my problem has been solved.  Thanks!
Title: Re: foo_discogs
Post by: xsdaver on 2023-11-21 12:50:09
I was wrong, my problem still exists.  When I tried tagging again with the script in the TITLE field it was a disc that had already been done.  I had removed the tags with MP3Tag but apparently Foobar remembered what they were.  When I tried it on a new disc I got the same results - 01, 02, 03...  While I can move the MYTITLE field to the TITLE field by using Format from other fields... and entering %MYTITLE% it's a couple extra steps since I then have to delete the MYTITLE field.  So, I'm going back to thinking this is a bug.
Title: Re: foo_discogs
Post by: frogworth on 2023-11-21 12:56:49
@xsdaver This sounds like there's something else janky with your foobar config. Is there any chance you have something setup unusually? e.g. in the Advanced section of Preferences, there's a Standard fields section, which I have as:
Code: [Select]
Artist Name=ARTIST;Track Title=TITLE;Album Title=ALBUM;Date=DATE;Genre=GENRE;Composer=COMPOSER;Performer=PERFORMER;Album Artist=ALBUM ARTIST;Track Number=TRACKNUMBER;Total Tracks=TOTALTRACKS;Disc Number=DISCNUMBER;Total Discs=TOTALDISCS;Comment=COMMENT;
Probably a red herring, but worth checking.
Also, as @da yuyu suggested, can you try installing a new portable installation, separately so that it's got default Preferences, install foo_discogger and setup the mappings the same, and see if the problem is still there?
Title: Re: foo_discogs
Post by: xsdaver on 2023-11-21 13:03:23
I have the same string as you do in the Standard fields section.  I will try a portable installation now to see if it fixes the issue.  Thanks again.
Title: Re: foo_discogs
Post by: da yuyu on 2023-11-21 13:39:49
@xsdaver,

I have just run a test using Discogs Tagger v2.23, same result, 01,...
Could you run same test with same test tracks with both components?
Not discarding Discogger bugs/issues, but apparently I get the same result for %TITLE% in both components.
Title: Re: foo_discogs
Post by: xsdaver on 2023-11-21 14:24:58
I'm not entirely sure I understand what you are asking.  When I run Discogs Tagger in x32 Foobar it works as I expect - the title fields are populated correctly.  It doesn't when I run Discogger in x64 Foobar.  Or at least it didn't before I tried a portable installation of Foobar x64.  On the portable installation it is working as expected, so I assume based on previous comments that something in my old configuration is causing the issue.  In the end, having a portable installation of Foobar is good since I use it on numerous machines and this makes it easy to propagate any updates or revisions.  It's just a PITA to get a completely new installation configured to be like the one I've been used to using for the past decades.  In the end, it will be worth it.

I really appreciate all the input to help me with this issue.
Title: Re: foo_discogs
Post by: da yuyu on 2023-11-21 15:44:11
Geez, Discogs.

I agree.... posted that question in the Discogs API forum 10 days ago, nobody cared about it. That's life.
The alternative would be calling the API against a local database.
I normalized the whole Discogs database last year into an SQLite database, and mimicked the API, so who knows what the future will bring for this component?

You can also, if you mind, log into the Discogs API forum and add some comments to 'Master release versions format quantity'.  :(

@xsdaver,

I was just proposing installing two fresh portable installations of Discogs and Discogger, and testing both with a few tagless tracks.
I believe that might alleviate the pressure while getting to know the differences.
The most useful tip I can provide is the difference between both components Write/Update/Write and update modes.
Most people immediately set most to Write and update (from what I heard) which is kind of an equivalent to Discogs Write.

I will be glad to hear from your advances, please do not hesitate to post here any doubts you might have.
Title: Re: foo_discogs
Post by: frogworth on 2023-11-22 05:39:17
You can also, if you mind, log into the Discogs API forum and add some comments to 'Master release versions format quantity'.  :(
Good idea, I'll head over there shortly.