Discogs solution

0
Discogs gives some errors sometimes and here is what I did to make it work.

1. First of all register at www.discogs.com for your API key. Insert the API key in your MC parameters. That's the easy part :P

2. Make sure that your Apache server supports the "deflate_module" and your site is GZipped :S

3. Also turn on the PHP extensions "php_curl" and "php_gd2", not sure if it's necessary.

4. Now Discogs should work like it should :woohoo:

If it seems nothing is working, like the gzinflate error, it's probably because of a Discogs problem!

It's not working on some albums, probably if they're not listed on Discogs. But sometimes the output is very weird, like when you search without a search query or with "strange" characters.

I get good results when I search on partial words from the album. Try removing the artist name, strange chars etc. And if it still does not work you can check Discogs site, if the album is actually listed there.

I hope this works on your site too!
Responses (6)
  • Accepted Answer

    Thursday, May 13 2010, 06:59 PM - #Permalink
    0
    NICE JOB! :)
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, May 13 2010, 08:01 PM - #Permalink
    0
    Cheered to quickly, it doesn't work on all albums. I first thought the album is not on Discogs, but it doesn't matter.

    Very weird :s
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, May 13 2010, 09:45 PM - #Permalink
    0
    mmm... it works sometimes and sometimes not? :S :S are any "strange" characters on the search words?

    very weird, indeed.. :S
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, May 13 2010, 10:13 PM - #Permalink
    0
    no strange chars, it just does not work on some albums. :s

    I think it's a problem with Discogs, it happens if an album does not exist or maybe the data gets corrupt in the process...

    It seems it's not a cache, server or mc problem, but the Discogs API GZip thingy
    The reply is currently minimized Show
  • Accepted Answer

    Friday, May 14 2010, 08:49 AM - #Permalink
    0
    Maybe you could use the Last.fm API in MC?

    http://www.last.fm/api
    The reply is currently minimized Show
  • Accepted Answer

    Friday, May 14 2010, 04:44 PM - #Permalink
    0
    hmm... I have never used Last.fm API, but it certainly would be something interesting. I'll study this possibility :)
    The reply is currently minimized Show
Your Reply