summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-12-07 13:36:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-12-07 13:36:50 +0900
commit18e99f06f2b3871453023a79bc31c9454a425506 (patch)
treeee73b2a5b8b97bc98115fd92f1bd3a856a82dce7
parentca741bc0af914afa2d89b0e48d2a0ef141629c4d (diff)
downloadamarok-remove/amazon-license.tar.gz
amarok-remove/amazon-license.zip
Remove dubious Amazon key from cover fetcher service.remove/amazon-license
The functionality is currently not working, so there is no loss for the users. Long term we should consider other ways to get covers, see comments in issue #94. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--amarok/src/coverfetcher.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/amarok/src/coverfetcher.cpp b/amarok/src/coverfetcher.cpp
index bf41f59d..cc83240a 100644
--- a/amarok/src/coverfetcher.cpp
+++ b/amarok/src/coverfetcher.cpp
@@ -193,9 +193,6 @@ CoverFetcher::startFetch()
{
DEBUG_FUNC_INFO
- // Static license Key. Thanks hydrogen ;-)
- const TQString LICENSE( "11ZKJS8X1ETSTJ6MT802" );
-
// reset all values
m_coverAmazonUrls.clear();
m_coverAsins.clear();
@@ -229,7 +226,7 @@ CoverFetcher::startFetch()
TQString url;
url = "http://ecs.amazonaws." + tld
- + "/onca/xml?Service=AWSECommerceService&Version=2007-10-29&Operation=ItemSearch&AssociateTag=webservices-20&AWSAccessKeyId=" + LICENSE
+ + "/onca/xml?Service=AWSECommerceService&Version=2007-10-29&Operation=ItemSearch&AssociateTag=webservices-20"
+ "&Keywords=" + KURL::encode_string_no_slash( query, mibenum )
+ "&SearchIndex=Music&ResponseGroup=Small,Images";
debug() << url << endl;