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 310795 - Covers not being fetched from Amazon: SoapException
Covers not being fetched from Amazon: SoapException
Status: RESOLVED DUPLICATE of bug 563101
Product: muine
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Muine Maintainers
Muine Maintainers
: 322404 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-07-18 18:31 UTC by Carl Hultquist
Modified: 2008-12-03 11:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Carl Hultquist 2005-07-18 18:31:03 UTC
Distribution/Version: Gentoo

Simply fire up Muine with some tracks that don't yet have cover art associated
with them.

Result: cover art isn't downloaded from Amazon (the tracks get assigned a blank
image as their cover art).

Expected: cover art to be downloaded from Amazon.

Other details:

By adding in some extra, code, it seems like the call to
search_service.ArtistSearchRequest in CoverGetter.DownloadFromAmazon is failing
with a SoapException. Calling e.ToString() on the exception gives me the string
"We encountered an error at our end while processing your request. Please try
again". Here's the entire ToString output:

System.Web.Services.Protocols.SoapException: We encountered an error at our end
while processing your request. Please try again

in <0x00469>
System.Web.Services.Protocols.SoapHttpClientProtocol:ReceiveResponse
(System.Net.WebResponse response,
System.Web.Services.Protocols.SoapClientMessage message,
System.Web.Services.Protocols.SoapExtension[] extensions)
in (wrapper remoting-invoke-with-check)
System.Web.Services.Protocols.SoapHttpClientProtocol:ReceiveResponse
(System.Net.WebResponse,System.Web.Services.Protocols.SoapClientMessage,System.Web.Services.Protocols.SoapExtension[])
in <0x0026d> System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke
(System.String method_name, System.Object[] parameters)
in (wrapper remoting-invoke-with-check)
System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke (string,object[])
in <0x00049> Amazon.AmazonSearchService:ArtistSearchRequest
(Amazon.ArtistRequest ArtistSearchRequest)
in (wrapper remoting-invoke-with-check)
Amazon.AmazonSearchService:ArtistSearchRequest (Amazon.ArtistRequest)
in <0x003f1> Muine.CoverGetter:DownloadFromAmazon (Muine.Album album)
in <0x00072> Muine.CoverGetter+GetAmazonThread:ThreadFunc ()

Any ideas?

Carl
Comment 1 Carl Hultquist 2005-07-18 18:32:09 UTC
Forgot to mention, this is with either 0.8.3 or CVS (as of writing of the bug
report).
Comment 2 chris 2005-07-23 21:13:56 UTC
I have noticed this bug as well.  Maybe amazon has changed something about how
they store albums online?
Comment 3 Tim-Philipp Müller 2005-07-24 20:32:58 UTC
I think they are not serving requests without a valid amazon developer ID any
longer. Up until recently, you could just leave the developer ID tag blank and
you'd still get a reply, but that doesn't seem to work any more.

 Cheers
  -Tim
Comment 4 Scott Robinson 2005-08-01 09:24:51 UTC
Is there a way to refresh album covers that failed in being downloaded?
Comment 5 Peter Oliver 2005-08-04 21:16:28 UTC
Scott: you can manually drag-and-drop images from your web browser to the albumn
in Muine to replace individual images, or delete ~/.gnome2/muine/songs.db to
attempt to refetch all images.

I've just tried inserting a valid subscription ID into the space marked "INSERT
DEV TAG HERE" in CoverGetter.cs.  Images are now being fetched as normal.

You can register an ID at
http://www.amazon.com/gp/aws/registration/registration-form.html, although I
must admit that I haven't read the small print to confirm that the licence is
reasonable.
Comment 6 Andy Hanton 2005-08-14 01:09:12 UTC
Caching images for more than 24 hours is explicitly forbidden.  They might be ok
with muine refreshing the images daily if muine has access to the amazon web
site.   If amazon stops offering a listing for a cd, muine has to delete the
user's copy of the cover image when it does the daily refresh.  

Muine would have to include a link to the product page for each cd.  The link
doesn't have to be the image, so it could be hidden in a context menu for the
album.  The albums can't be linked to the web page of an amazon competitor, but
muine could link the albums to informational pages.  They reserve the right to
crawl or access the application to verify that the images are being linked
properly and to circumvent any technical measures to prevent access.  This seems
to refer to ignoring a robots.txt, but it is worded fairly generally.  
Comment 7 b scott 2005-09-15 15:22:00 UTC
FWIW, as a quick experiment I just went to google's image search and entered the
artist/album titles of several selections from my very eclectic collection
(turkish rap, russian rock, french lounge and electronica, vintage punk, etc)
and it found 8 of ten right off the bat. A couple came back ambiguous, but
choosing the first *square* image on the page proved adequate in every search
that returned results. 

BTW this is my first exposure to muine... great job!
Comment 8 Peter Oliver 2005-10-02 21:38:53 UTC
Unfortunately, the Google search API only supports the regular web search, and
not the image search, so to use Google to get the images you'd need to
screen-scrape the results pages.  This is against Google's terms of use
(http://www.google.com/intl/en/terms_of_service.html).
Comment 9 Dean Sas 2005-12-09 11:35:53 UTC
*** Bug 322404 has been marked as a duplicate of this bug. ***
Comment 10 Peter Johanson 2006-01-22 01:05:48 UTC
This has been somewhat resolved in CVS, where we first use MusicBrainz for cover fetching if possible, and then fall back to using amazon with a devkey from gconf if that fails.

The question remains if we need to abide by the cover cache restrictions of the dev key if we ourselves aren't registering/using a key, but the user is. Just my initial reaction/question to this, it definitely need to be looked into more though I think.
Comment 11 Priit Laes (IRC: plaes) 2008-11-08 10:25:01 UTC
Amazon has "deprecated" (read: removed) the web service that muine used for cover fetching. How about we just remove the amazon fetcher for now as it is not working anyway and the new one requires devkey stuff...

Comment 12 Priit Laes (IRC: plaes) 2008-12-03 11:05:08 UTC

*** This bug has been marked as a duplicate of 563101 ***