Bug 155257 - Upgrade to AWS for fetching covers from Amazon
Summary: Upgrade to AWS for fetching covers from Amazon
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 1.4.8
Platform: Ubuntu Linux
: HI critical
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-08 01:49 UTC by Alf Eaton
Modified: 2008-03-04 22:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
patch for CoverFetcher::startFetch() in coverfetcher.cpp (1.82 KB, patch)
2008-01-08 01:51 UTC, Alf Eaton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alf Eaton 2008-01-08 01:49:56 UTC
Version:           1.4.8 (using KDE KDE 3.5.8)
Installed from:    Ubuntu Packages

The most recent Associates Web Service is documented at http://developer.amazonwebservices.com/connect/kbcategory.jspa?categoryID=19

Example:
http://ecs.amazonaws.com/onca/xml?Service=AWSECommerceService&Version=2007-10-29&Operation=ItemSearch&AssociateTag=webservices-20&AWSAccessKeyId=D1URM11J3F2CEH&Keywords=Nirvana&SearchIndex=Music&ResponseGroup=Small,Images

You'll also need to get a new developer token (AWSAccessKeyId), the one used in the example is no longer valid.
Comment 1 Alf Eaton 2008-01-08 01:51:05 UTC
Created attachment 22896 [details]
patch for CoverFetcher::startFetch() in coverfetcher.cpp

I'm not sure of how the whole process of fetching covers works in Amarok, but
here's an (untested, sorry) attempt at a patch.
Comment 2 Ian Monroe 2008-01-08 03:18:43 UTC
What's the point? Last I looked Amazon was suggesting for new code you use AWS, but said it was fine to continue using to older api.
Comment 3 Alf Eaton 2008-01-08 11:25:05 UTC
ECS3 will be shut down on March 31, 2008:
http://developer.amazonwebservices.com/connect/ann.jspa?annID=164

Here's the migration guide:
http://developer.amazonwebservices.com/connect/entry.jspa?categoryID=12&externalID=627
Comment 4 Mark Kretschmann 2008-01-09 12:10:42 UTC
Ouch, I guess if they really shut it down in March, that would pretty much suck.
Comment 5 Ian Monroe 2008-01-09 19:06:37 UTC
Yike, sounds like we'll have to release a 1.4.9 asap.
Comment 6 Dan Meltzer 2008-03-04 00:14:06 UTC
This my friends is now critical :)
Comment 7 Dan Meltzer 2008-03-04 22:20:36 UTC
SVN commit 782339 by dmeltzer:

Port the cover fetching to use the 'new' amazon web api.  The one we currently use is scheduled to be disabled at the end of the month.  This code is based on the patch in bug 155257 by Alf Eaton <sites@hubmed.org>  Please give this lots and lots of testing.
BUG: 155257
CCMAIL: amarok@kde.org


 M  +111 -64   coverfetcher.cpp  
 M  +4 -0      coverfetcher.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=782339