From c4cbe0dbec4cbc87e8d7b086c6335715b55cdbe8 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sat, 31 Jul 2010 20:35:30 +0200 Subject: Fix addFeedback Pandora seems to have dropped focusTraitId and matchingSeed. New arguments to addFeedback are testStrategy and songType -- no idea what they are doing right now. Beware: Incompatible libpiano abi change! --- libpiano/src/piano.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libpiano/src/piano.h') diff --git a/libpiano/src/piano.h b/libpiano/src/piano.h index 6b25b2d..aba4ebd 100644 --- a/libpiano/src/piano.h +++ b/libpiano/src/piano.h @@ -64,18 +64,18 @@ typedef enum { typedef struct PianoSong { char *artist; char *artistMusicId; - char *matchingSeed; - float fileGain; - PianoSongRating_t rating; char *stationId; char *album; char *userSeed; char *audioUrl; char *musicId; char *title; - char *focusTraitId; char *identity; + float fileGain; + PianoSongRating_t rating; PianoAudioFormat_t audioFormat; + int testStrategy; + unsigned int songType; struct PianoSong *next; } PianoSong_t; @@ -163,10 +163,10 @@ typedef struct { typedef struct { char *stationId; char *musicId; - char *matchingSeed; char *userSeed; - char *focusTraitId; PianoSongRating_t rating; + unsigned int testStrategy; + unsigned int songType; } PianoRequestDataAddFeedback_t; typedef struct { -- cgit v1.2.3