Quantcast
Channel: The Echo Nest Developer Forum
Viewing all 1582 articles
Browse latest View live

Getting Rdio track ID from WhoSampled track ID

$
0
0

There's still on Rdio track ID being returned there

I meant 'NO Rdio track ID'...


Getting Rdio track ID from WhoSampled track ID

$
0
0

You need to get the "tracks" bucket to see what tracks are available for that song:

http://developer.echonest.com/api/v4/song/profile?api_key=YOUR_API_KEY&track_id=whosampled:track:2533&bucket=id:rdio-US&bucket=tracks.

In this case, there are three different rdio tracks for that song.

Getting Rdio track ID from WhoSampled track ID

$
0
0

Ah I see! I still hadn't got my head around the buckets system. Thanks for the help!

Stop upload once media is recognized

$
0
0

plamere, thank so much for responding so quickly. I tried to build the latest Echoprint-codegen Windows executable using Visual Studio 2013 (after I successfully installed Boost/zlib C++ libraries using VS2013 online installer). Unfortunately, I'm getting errors when building it. I already opened a new issue on Github for someone to update the package for it to work with the current version of VS2013.

I would be VERY grateful if you could PLEASE point me to the latest compiled working Echoprint-codegen Windows exe (and all latest binary dependencies, ffmpeg, etc). I can't find a single copy anywhere. The only thing I could find was the ENMFP_codegen executable: http://static.echonest.com/ENMFP_codegen.zip which is NOT what I'm looking for.

Thanks again for the quick reply.

Executed a JS Demo in my own environment no output

$
0
0

Tried running this code in CodeLobster. I got the input field asking for an artist. Then no more. I've replaced the API-Key with my own. I'm a beginner having done some HTML, PHP and JS coding, even Curl. The Info I'm interested in is the Biograph only, so if you could give me an example of just that it would be great, the only input would be the artist or group name, and ofcourse my API-key. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!DOCTYPE html>

Artist Reviews

Artist Reviews

A demonstration of how to use The Echo Nest API to get recent reviews for any artist

Executed a JS Demo in my own environment no output

Executed a JS Demo in my own environment no output

$
0
0

Hi mrfoyne.

It is not a good idea to include your API key in posts, because then nefarious people are apt to find it and use it for questionable purposes, and it'll be disabled.

Besides that, this isn't the best place to get detailed help debugging your JavaScript code. Start by reading the API documentation, especially for artist/biographies, and make sure you can make the requests you want by typing them into the address bar of your web browser. If you're having trouble using the API, don't hesitate to ask.

Once you're getting the right data from the API, getting the rest of your app working is a matter of web programming, and isn't really specific to The Echo Nest. Perhaps others here can suggest some good tutorials or resources to help, but you're unlikely to get line-by-line debugging advice. -Eli

No response from the Demo "Artist News"

$
0
0

Please ignore my previous entry"Executed a JS Demo in my own environment no output" it's too hard to view.

I don't know how to delete it, sorry.

I'm a beginner having done some HTML, PHP and JS.

Here's a better description:

I copied the Demo "Artist News" and run it in CodeLobster. Having replaced the API-key with my own. The input-box was shown, I entered Bob Dylan and pressed the button. Only headlines was shown as output.

In fact I'm only interested in the Biography of different artists/groups for my CD-collection, so if anyone of you could send me a working example of such a request including taking care of the response that would be great.


Executed a JS Demo in my own environment no output

$
0
0

Hi Eli, thanks for your response. Pls delete my thread "Executed a JS Demo in my own environment no output". I've replaced it with a new much shorter and descriptive one. /Torbjorn

Variety in Song Search Results + getting mood/style info

$
0
0

Hi Paul, I ran the query you mentioned :

http://developer.echonest.com/api/v4/artist/terms?api_key=N6E4NIOVYMTHNDM8J&id=ARH6W4X1187B99274F&format=json

but there's no mood info in the results. Only styles/genres like rock, alternative,jazz, etc..

Can you please tell us how to retrieve the moods for a specific artist ? Thanks in advance,

get spotify bucket track list in ENiOS

$
0
0

Hey all,

I'm currently working with the Echonest API in iOS (ENiOS) and right now I'm trying to use the available request feature at playlist/static in order to generate a playlist of Spotify URI items. Unfortunately, the style I need is something like http://developer.echonest.com/api/v4/playlist/static?api_key=XXXXXXXXXXXX&type=artist-radio&results=10&artist=miles+davis&bucket=id:spotify-WW&bucket=tracks&limit=true

With how ENAPIRequest takes in parameters, how do I include both bucket=id:spotify-WW and bucket=tracks? Is there a way to do that? A work around?

Thanks

get spotify bucket track list in ENiOS

$
0
0

Use something like this:

NSMutableDictionary *parameters = [NSMutableDictionary new];

[parameters setValue:@"weezer" forKey:@"artist"];
[parameters setValue:@"artist-radio" forKey:@"type"];
[parameters setValue:@"true" forKey:@"limit"];

NSArray *buckets = @[@"id:spotify-WW", @"tracks"];
[parameters setValue:buckets forKey:@"bucket"];
[parameters setValue:[NSNumber numberWithInteger:15] forKey:@"results"];

[ENAPIRequest GETWithEndpoint:@"playlist/static"
       andParameters:parameters
       andCompletionBlock:^(ENAPIRequest *request) {
               NSObject * songs = [request.response valueForKeyPath:@"response.songs"];

      }];

Paul

get spotify bucket track list in ENiOS

$
0
0

That's exactly what I needed! Thanks!

foreign ids on tracks (jEN)

$
0
0

Hi, I'm trying to obtain foreign ids from tracks (in a playlist) using the java library

I tried this example:

PlaylistParams params = new PlaylistParams(); params.addIDSpace("id:rdio-US"); params.addArtist("spice girls"); params.addArtist("green day"); params.includeTracks(); params.setLimit(true);

    Playlist playlist = en.createStaticPlaylist(params);

    for (Song song : playlist.getSongs()) {
        Track track = song.getTrack("spotify-WW");
        System.out.println(track.getForeignID() + "" + song.getTitle() + " by " + song.getArtistName());
    }

However, I get this error

Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map at com.echonest.api.v4.ENItem.extractForeignIDs(ENItem.java:159) at com.echonest.api.v4.ENItem.refresh(ENItem.java:80) at com.echonest.api.v4.Track.getStatus(Track.java:75) at com.echonest.api.v4.Track.getTopLevelItem(Track.java:166) at com.echonest.api.v4.Track.getForeignID(Track.java:153) at intelligence.TestArtistEchonest.main(TestArtistEchonest.java:29)

Does anyone know a workaround for this without having to do several calls to the API?

foreign ids on tracks (jEN)

$
0
0

hcorona - the problem could be that you are asking for the rdio-US tracks in the playlist call, but are trying to get spotify tracks from the song. Try changing the id:rdio-US to spotify-WW or vice versa. -- Paul


foreign ids on tracks (jEN)

$
0
0

Hi Paul,

Sorry. I was changing the code back and forth with several ids to see if it was an id space related problem. Just now I found out I was using a maven dependency that referenced an old version of the library. I guess that was the problem.

I couldn't find the new version available in the maven repo, but I manually updated to the latest one and problem solved.

Thanks

    PlaylistParams params = new PlaylistParams();
    params.addIDSpace("id:spotify-WW");
    params.addArtist("spice girls");
    params.addArtist("green day");
    params.includeTracks();
    params.setLimit(true);

    Playlist playlist = en.createStaticPlaylist(params);

    for (Song song : playlist.getSongs()) {
        Track track = song.getTrack("spotify-WW");
        System.out.println(track.getForeignID() + "" + song.getTitle() + " by " + song.getArtistName());
    }
}

Track Upload no response

$
0
0

bcacalis,

We're taking a look. Thanks.

David

Track Upload - "Connection was reset"

$
0
0

Patrick,

We're looking at this now.

David

developer.echonest.com status

$
0
0

All,

We are (have been) experiencing an issue with track/upload. We expect to have that service back online shortly. Thank you for your patience.

David

developer.echonest.com status

$
0
0

track/upload service has been restored. We apologize for the interruption.

-- David

Viewing all 1582 articles
Browse latest View live