diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2010-07-31 20:35:30 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2010-08-01 12:12:52 +0200 |
commit | c4cbe0dbec4cbc87e8d7b086c6335715b55cdbe8 (patch) | |
tree | 1b4d9c193e0b9e0fa1daf5742fc36637f9f52fee /libpiano/src/piano.h | |
parent | b01e650546075f574068d89eb58101a88a8f5ed2 (diff) | |
download | pianobar-c4cbe0dbec4cbc87e8d7b086c6335715b55cdbe8.tar.gz pianobar-c4cbe0dbec4cbc87e8d7b086c6335715b55cdbe8.tar.bz2 pianobar-c4cbe0dbec4cbc87e8d7b086c6335715b55cdbe8.zip |
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!
Diffstat (limited to 'libpiano/src/piano.h')
-rw-r--r-- | libpiano/src/piano.h | 12 |
1 files changed, 6 insertions, 6 deletions
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 { |