After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 607302 - cover art search fails with 500 Client Refused
cover art search fails with 500 Client Refused
Status: RESOLVED NOTABUG
Product: rhythmbox
Classification: Other
Component: Plugins (other)
0.12.x
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-01-18 13:33 UTC by Pedro Villavicencio
Modified: 2010-02-22 08:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pedro Villavicencio 2010-01-18 13:33:14 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,
Comment 1 Jonathan Matthew 2010-01-18 13:49:15 UTC
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.
Comment 2 Jonathan Matthew 2010-01-18 13:56:58 UTC
At least we're not alone: http://www.discogs.com/help/forums/topic/198561
Comment 3 Trevor Mettam 2010-01-31 11:11:57 UTC
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?
Comment 4 Jonathan Matthew 2010-01-31 11:14:03 UTC
It only works if you have musicbrainz album ID tags in your files.  You probably don't.
Comment 5 Jonathan Matthew 2010-02-19 10:53:46 UTC
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..
Comment 6 Trevor Mettam 2010-02-22 08:56:15 UTC
What do Amarok and Banshee use?