Amazon web service

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

Amazon web service

Post by tdurden » Sat Aug 07, 2010 8:13 am

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: 790
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Amazon web service

Post by wbartels » Sat Aug 07, 2010 1:39 pm

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 » Sat Aug 07, 2010 2:44 pm

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: 790
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Amazon web service

Post by wbartels » Fri Aug 20, 2010 11:33 am

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest