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

TasteProfile/Catalog not updating?

$
0
0

I'm going to go ahead and assume that the following error is stupidity on my part, so bare with me. I've tried creating a tasteprofile and a catalog-radio dynamic playlist based on it. When I do playlist/dynamic/feedback (or skip/next), the changes aren't being logged onto my catalog. I'll include some details about the requests I'm making below:

first I'm GETting tasteprofile/create with {
    name: Date.now(),
    type: 'artist'
}.


Then, I'm adding a "seed" by favoriting a few artists. This works. Here's an example of what I'm POSTing to tasteprofile/update:

[
    {
        action: 'update',
        item: {
            artist_id: 'AR12345...',
            favorite: true
        }
    },
    {
        action: 'update',
        item: {
            artist_id: 'AR67890...',
            favorite: true
        }
    }
]

The following step is where the code isn't working. The dynamic playlists created with requests like the following don't seem to log their actions to the catalog specified (although the songs played are similar to the artists specified in the previous step).

{
    session_catalog: 'CAXXXXXXXXXXXXXXYZ',
    seed_catalog: 'CAXXXXXXXXXXXXXXYZ',
    type: 'catalog-radio'
}

What should I do?


Viewing all articles
Browse latest Browse all 1582

Trending Articles