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

TasteProfile#Update difficulty

$
0
0

I'm getting successful updates to a taste profile, but my TasteProfile#read response looks nothing like the sample:

{:name=>"559B8FFF-74E6-4A8D-A39F-4B8D7E143ED6",
   :items=>
    [
     {:last_modified=>"2014-07-07T22:53:08", 
      :date_added=>"2014-07-07T22:53:06", 
      :request=> {
        :item_id=>"spotify:track:0idc0XRnLRovVqpWnGQ6hC", 
        :song_id=>"spotify:track:0idc0XRnLRovVqpWnGQ6hC"}
       },
     {:last_modified=>"2014-07-07T22:53:08", 
      :date_added=>"2014-07-07T22:53:06", 
      :request=> {
        :item_id=>"spotify:track:637bsehtpL2oJruOEL6lZ7", 
        :song_id=>"spotify:track:637bsehtpL2oJruOEL6lZ7"
      }
    }
   ],
 :start=>0,
 :total=>2,
 :type=>"song",
 :id=>"CARHSDW14712D74583"
}

TasteProfile#profile tells me that there are 2 resolved items, but these items don't look to be resolved - those are simply the params that I posted in the data block on an #update call.

In addition, calling a playlist method with this taste profile as the catalog yields an empty songs response.

I've been battling this past couple of days, not sure where I'm going wrong.

Is my data set just too small? is "spotify:track:track_id" not the proper Rosetta ID for Spotify?


Viewing all articles
Browse latest Browse all 1582

Trending Articles