Amazon web service

General discussion about netjukebox
Locked
tdurden
User
Posts: 2
Joined: Sat Aug 07, 2010 8:05 am

Amazon web service

Post by tdurden »

Like everyone else, I want to say thank you for such a great service. Truly innovative.

My question obviously is about the Amazon web service. I signed up for the AWS, and received my access keys, and entered them here:

Code: Select all

$cfg['AWSAccessKeyId']	            = '********';
$cfg['AWSSecretAccessKey']          = '*******';
I then updated the database, and in the image search, the Amazon service does not show up. Am I missing something? Thanks for the assistance.
User avatar
wbartels
netjukebox developer
Posts: 872
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Amazon web service

Post by wbartels »

The Amazon web service is comment out in the config file!
So you have to remove /* at the begin and */ at the end.
Then the Amazon web service config section will look like:

Code: Select all

//  +------------------------------------------------------------------------+
//  | Image service                                                          |
//  +------------------------------------------------------------------------+
//  | For the Amazon web service a AWSAccessKeyId and AWSSecretAccessKey is  |
//  | needed. Get these free from: http://aws.amazon.com                     |
//  +------------------------------------------------------------------------+
$cfg['AWSAccessKeyId']	            = '***';
$cfg['AWSSecretAccessKey']          = '***';

$cfg['image_service_name'][]        = 'Amazon';
$cfg['image_service_url'][]         = 'http://ecs.amazonaws.com/onca/xml?Service=AWSECommerceService&AWSAccessKeyId=%awsaccesskeyid&Operation=ItemSearch&ResponseGroup=Images&SearchIndex=Music&Type=Lite&Artist=%artist&Title=%album&Timestamp=%timestamp';
$cfg['image_service_preg'][]        = '';

$cfg['image_service_name'][]        = 'Amazon (uk)';
$cfg['image_service_url'][]         = 'http://ecs.amazonaws.co.uk/onca/xml?Service=AWSECommerceService&AWSAccessKeyId=%awsaccesskeyid&Operation=ItemSearch&ResponseGroup=Images&SearchIndex=Music&Type=Lite&Artist=%artist&Title=%album&Timestamp=%timestamp';
$cfg['image_service_preg'][]        = '';

$cfg['image_service_name'][]        = 'Amazon (de)';
$cfg['image_service_url'][]         = 'http://ecs.amazonaws.de/onca/xml?Service=AWSECommerceService&AWSAccessKeyId=%awsaccesskeyid&Operation=ItemSearch&ResponseGroup=Images&SearchIndex=Music&Type=Lite&Artist=%artist&Title=%album&Timestamp=%timestamp';
$cfg['image_service_preg'][]        = '';
tdurden
User
Posts: 2
Joined: Sat Aug 07, 2010 8:05 am

Re: Amazon web service

Post by tdurden »

Thank you. lol...its always the little things that i miss...and i appreciate the quick response.

So in theory, with the right search string information, you could add any site to search?
User avatar
wbartels
netjukebox developer
Posts: 872
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Amazon web service

Post by wbartels »

tdurden wrote:So in theory, with the right search string information, you could add any site to search?
Yes if the site doesn't use any kind of authentication.
Locked