Skip to main content

Topic: foo_discogs (Read 737805 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • db1989
  • [*][*][*][*][*]
  • Global Moderator
foo_discogs
Reply #1100
@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.

  • marc2003
  • [*][*][*][*][*]
foo_discogs
Reply #1101
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".
  • Last Edit: 09 August, 2011, 04:13:55 PM by marc2003

foo_discogs
Reply #1102
I uploaded another fixed DLL of foo_discogs 1.26 here:
http://www.multiupload.com/DXPJNJ7545

Let's see how long this will work...


Thanks so much! Works great for me.
SIG SPACE FOR SALE LONG TERM CONSIDER FIRST

  • MDMA
  • [*][*]
foo_discogs
Reply #1103
thanks for the updated dll.

  • silkcut
  • [*][*]
foo_discogs
Reply #1104
Thanks traxy!

  • bubbleguuum
  • [*][*][*][*][*]
  • Developer
foo_discogs
Reply #1105
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  doesn't return anything either.
  • Last Edit: 11 August, 2011, 08:55:13 PM by bubbleguuum

  • fuffi
  • [*][*][*][*]
foo_discogs
Reply #1106
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.

  • bubbleguuum
  • [*][*][*][*][*]
  • Developer
foo_discogs
Reply #1107
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.

  • db1989
  • [*][*][*][*][*]
  • Global Moderator
foo_discogs
Reply #1108
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  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

  • bubbleguuum
  • [*][*][*][*][*]
  • Developer
foo_discogs
Reply #1109
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  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


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.

  • tnnds
  • [*]
foo_discogs
Reply #1110
  • Last Edit: 12 August, 2011, 09:47:33 AM by tnnds

  • bubbleguuum
  • [*][*][*][*][*]
  • Developer

  • fuffi
  • [*][*][*][*]
foo_discogs
Reply #1112
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.



foo_discogs
Reply #1113
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  doesn't return anything either.


Thanks bubbleguuum, you are the master

  • $1@ck3r
  • [*]
foo_discogs
Reply #1114
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?

  • bubbleguuum
  • [*][*][*][*][*]
  • Developer
foo_discogs
Reply #1115
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.

  • $1@ck3r
  • [*]
foo_discogs
Reply #1116
Thanks for reply.
I checked, and it's not supported by API, I'll make a request at Discogs forums then.

  • fuffi
  • [*][*][*][*]
foo_discogs
Reply #1117
Hi bubbleguuum,

in addition to my other screenshots containing "html-glitches", some posts above,
here is another (very) small issue ",," with the newest version:



  • krayon
  • [*]
foo_discogs
Reply #1118
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.

  • NogginJ
  • [*][*][*]
foo_discogs
Reply #1119
I uploaded another fixed DLL of foo_discogs 1.26 here:
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?

  • frogworth
  • [*][*][*]
foo_discogs
Reply #1120
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.

  • fuffi
  • [*][*][*][*]
foo_discogs
Reply #1121
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 is not shown.

please have a look at the screenshot, which shows less artists as the discogs web-search did.


does anybody encounter such thing too? and how could i get ALL the results the discogs web-search shows inside the plugin?

  • bubbleguuum
  • [*][*][*][*][*]
  • Developer
foo_discogs
Reply #1122
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 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

Another Discogs weirdness.

  • trashcan
  • [*]
foo_discogs
Reply #1123
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.)

  • fuffi
  • [*][*][*][*]
foo_discogs
Reply #1124
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 (Biography View) and move over to the corresponding thread.