Create a taste profile, add the users' songs in chunks of about a 1000 items with tasteprofile/update calls, then read them out with tasteprofile/read and the audio_summary bucket.
Multiple songs' audio_profile in a single call?
Track profile from MusicBrainz track ID
Is there any progress on this ?
Thanks
Track profile from MusicBrainz track ID
Cho,
You can use Musicbrainz "recording" IDs as song IDs. For example the request in the original query works, if you use the same MBID as a song ID rather than a track ID:
http://developer.echonest.com/api/v4/song/profile?api_key=XXX&id=musicbrainz:song:54753489-ee00-48bd-ad43-8c0f5c365bff
PHP Identify JSON Post
Hi,
i´m struggling atm with the simple action of sending the json data from the enfmp tagger to the server.
"_" => _
$file =file_get_contents('./test.json');
$jsondecode = json_decode($file,true );
foreach($jsondecode as $puffer) {
$result = $puffer['code'];
}
$post = array(
"api_key"=>"=MYAPIKEY",
"version"=>"=3.15",
"code"=>"=$result",
);
$ch = curl_init();
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_URL, "http://developer.echonest.com/api/v4/song/identify");
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/x-www-form-urlencoded'));
$json_response = curl_exec($ch);
$response = json_decode($json_response, true);
The Response is
["response"]=>
array(1) {
["status"]=>
array(3) {
["version"]=>
string(3) "4.2"
["code"]=>
int(1)
["message"]=>
string(22) "1|Invalid key: Unknown"
}
}
}
Can someone look over the code and give me some hints or examples?
greetings :)
Track.get_analysis() failure
I'm working with pyechonest and I'm trying to use the the get_analysis() method, but it never returns successfully. The minimum code to reproduce my problem is:
from pyechonest import config, track
config.ECHO _NEST _API _KEY='my key in here'
t = track.track _from _id('TRJSEBQ1390EC0B548')
t.get _analysis()
(sorry about the spaces before the underscores, otherwise they show up as _)
Which returns:
Exception: Failed to create track analysis.
I've tried this with a number of different track ID's, and have gotten the same result every time. Any suggestions about how to solve this problem?
Track.get_analysis() failure
sfleckenstein - when I call the API directly to check on the status of the track I see that it has been analyzed successfully, but it appears that the data for it is not where it should be. Our back-end engineers are checking to see where it went. In the mean time, if possible, I suggest you re-upload/analyze the track, get a new TR id and try again.
HTTP OPTIONS request causing XMLHTTPRequest failure
Hi Echonest, I am trying to use your API inside the browser to get information about some tracks. When I call http://developer.echonest.com/api/v4/track/profile with a simple GET request everything works fine. But if I want to modify that request by setting the cache-control header Chrome and Firefox do an OPTIONS request first to check if they are allowed to do that and this request fails. Do you support OPTIONS requests for that endpoint?
Track.get_analysis() failure
sfleckenstein,
"back-end engineer" here. Can you say when you first uploaded the track that gave you the ID TRJSEBQ1390EC0B548? I am looking into why that ID is not found in our database.
If you have the audio, could you possibly compute an md5 on the file and reply with that also? (On Mac, just run "md5
Thanks. David
Track.get_analysis() failure
I didn't upload the song, I got the ID from the track_from_id() example at: http://echonest.github.io/pyechonest/track.html.
I also tried with a number of ID's I got from the following query:
songs = song.search(style='rock',
max _tempo=150,
min _tempo=30,
results=100)
song _ids = [a _song.id for a _song in songs]
and got the same results.
Track.get_analysis() failure
So that old TRID from the example is no longer valid. You'll need to obtain a current TRID via API calls. Try this:
from pyechonest import config, song, track config.ECHO_NEST_API_KEY = 'APIKEY' songs = song.search(style='rock', max_tempo=150, min_tempo=30, results=100) tracks = songs[0].get_tracks('spotify-WW') t = track.track_from_id(tracks[0]['id']) t.get_analysis() print t.artist, '-', t.title, t.energy
This demonstrates the use of t.get_analysis().
Track profile from MusicBrainz track ID
How can I use MBID to query echonest database?Thanks![url=http://www.officialnflprostore.com/Cheap-Kroy-Biermann-Jersey-c-92_102.html]Kroy Biermann Jersey[/url]
How to access URLString of a song? Can i Convert Song ID to NSURL?
Thank you for sharing this information!http://www.officialnflprostore.com/Cheap-Kroy-Biermann-Jersey-c-92_102.html
Will rdio integration be continued
Since Echo Nest joined spotify, and rdio announced they are dropping Echo Nest for recommendations, will the rdio integration with the API still be present?
Track.get_analysis() failure
Ah, that fixed the problem. Thank you for your help.
How to contact you?
Anyone working in this company at all? Unfortunately I don't live in the US and drive by to check...
How to contact you?
hey floele - I'll make sure someone replies to your inquiries. -- Paul
How to contact you?
That's very kind of you, thanks.
identify error code 4
Hi, I don't understand this error :
{"response": {"status": {"version": "4.2", "code": 4, "message": "query - Missing Parameter: query is required with a POST content-type of "application/x-www-form-urlencoded" or "multipart/form-data""}}}
...when I send this command via cURL :
curl -F "api_key=XXX" -F "code=ABC" -F "version=4.12""http://developer.echonest.com/api/v4/song/identify"> info.txt
identify error code 4
Please see the documentation for song/identify.
If POSTing the call, you need to supply a query parameter in JSON format. You can query with only the code string using a GET:
curl -G http://developer.echonest.com/api/v4/song/identify?api_key=XXX&version=4.12&code=ABC
http://dentistsinsanantoniotexas.com
I am a housewife and I take care of my family's dental health on top. That is why I the best dentists in San Antonio to maintain their teeth.