mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-04 02:09:23 +02:00
Use Requests for EchoNest API
This commit is contained in:
parent
26b0320c4a
commit
49399b8aea
2 changed files with 2 additions and 1 deletions
|
@ -218,7 +218,7 @@ class Wanted extends database_object
|
|||
$song['session'] = session_id();
|
||||
$song['album_mbid'] = $this->mbid;
|
||||
if (AmpConfig::get('echonest_api_key')) {
|
||||
$echonest = new EchoNest_Client();
|
||||
$echonest = new EchoNest_Client(new EchoNest_HttpClient_Requests());
|
||||
$echonest->authenticate(AmpConfig::get('echonest_api_key'));
|
||||
$enSong = null;
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue