diff --git a/albums.php b/albums.php index 02c0675e..a857f92b 100644 --- a/albums.php +++ b/albums.php @@ -190,6 +190,7 @@ switch ($_REQUEST['action']) { } break; case 'show_missing': + set_time_limit(600); $mbid = $_REQUEST['mbid']; $artistid = $_REQUEST['artist']; $artist = new Artist($artistid); diff --git a/lib/class/wanted.class.php b/lib/class/wanted.class.php index fe8a3559..42c57308 100644 --- a/lib/class/wanted.class.php +++ b/lib/class/wanted.class.php @@ -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 {