GNOME Bugzilla – Bug 607302
cover art search fails with 500 Client Refused
Last modified: 2010-02-22 08:56:15 UTC
this report has been filed here: https://bugs.edge.launchpad.net/ubuntu/+source/rhythmbox/+bug/507731 "cover art search fails for all tracks. In debug I see: (00:57:59) [0x1334040] [LocalCoverArtSearch.search] /usr/lib/rhythmbox/plugins/artdisplay/LocalCoverArtSearchGIO.py:159: searching for local art for file:///storage/Music/Green%20Day/Dookie/10-When%20I%20Come%20Around.mp3 (00:58:03) [0x1334040] [LocalCoverArtSearch._enum_dir_cb] /usr/lib/rhythmbox/plugins/artdisplay/LocalCoverArtSearchGIO.py:116: okay, done; got 0 files (00:58:03) [0x1334040] [EmbeddedCoverArtSearch.search] /usr/lib/rhythmbox/plugins/artdisplay/EmbeddedCoverArtSearch.py:164: not checking for embedded cover art in playing entry (00:58:03) [0x1334040] [DiscogsCoverArtSearch.search] /usr/lib/rhythmbox/plugins/artdisplay/DiscogsCoverArtSearch.py:493: searching for (Green Day, Dookie) (00:58:04) [0x1334040] [DiscogsCoverArtSearch.__search_cb] /usr/lib/rhythmbox/plugins/artdisplay/DiscogsCoverArtSearch.py:216: search returned nothing (00:58:04) [0x1334040] [CoverArtDatabase.image_search] /usr/lib/rhythmbox/plugins/artdisplay/CoverArtDatabase.py:488: didn't find image for file:///storage/Music/Green%20Day/Dookie/10-When%20I%20Come%20Around.mp3 Please note the "search returned nothing" message. But when I open the search URL manually: http://www.discogs.com/search?type=all&f=xml&q=Green%20Day%20Dookie&api_key=45be40f6dd it displays 20 matches." " I too am seeing this issue. Using tcpdump I found that discogs is returning "500 Client Refused" when RB tries to get the cover. I'm not sure, but I wonder if the fact that, at least in my case, the UserAgent is "User-Agent: gvfs/1.4.1" Of course using Firefox works just fine. " Thanks,
They appear to be doing user agent filtering. I guess I need to go talk to the discogs people to find out what we were doing wrong and whether we can fix it.
At least we're not alone: http://www.discogs.com/help/forums/topic/198561
After a cursory examination of the plugin code (I'm really not familiar with Python), it struck me that the MusicBrainz cover art engine was skipped. Any reason why this is so?
It only works if you have musicbrainz album ID tags in your files. You probably don't.
Discogs staff have confirmed that rhythmbox users were simply placing too much load on their systems, so they had to block us. Since I don't see a way for us to cut down the request volume, I've removed the discogs cover search code entirely. Now we need to find a new site to DDOS..
What do Amarok and Banshee use?