summaryrefslogtreecommitdiff
path: root/src/libpiano/piano.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2011-11-09 13:32:05 +0100
committerLars-Dominik Braun <lars@6xq.net>2011-11-09 14:50:37 +0100
commit1be3f982c472341d7997a8fefcfe288a41568634 (patch)
tree0874516495bce073ae54024aee37e02ce44f25df /src/libpiano/piano.h
parent208731ffa981e3c0a448be23ccd58ae1b5acca4d (diff)
downloadpianobar-1be3f982c472341d7997a8fefcfe288a41568634.tar.gz
pianobar-1be3f982c472341d7997a8fefcfe288a41568634.tar.bz2
pianobar-1be3f982c472341d7997a8fefcfe288a41568634.zip
piano: Protocol version bump (v33)
addFeedback call changed. Input keys changed. Thanks to ZigZagJoe. Closes #171
Diffstat (limited to 'src/libpiano/piano.h')
-rw-r--r--src/libpiano/piano.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/libpiano/piano.h b/src/libpiano/piano.h
index b692a47..7267901 100644
--- a/src/libpiano/piano.h
+++ b/src/libpiano/piano.h
@@ -34,6 +34,7 @@ THE SOFTWARE.
typedef struct PianoUserInfo {
char *webAuthToken;
+ char *listenerId;
char *authToken;
} PianoUserInfo_t;
@@ -74,11 +75,10 @@ typedef struct PianoSong {
char *seedId;
char *feedbackId;
char *detailUrl;
+ char *trackToken;
float fileGain;
PianoSongRating_t rating;
PianoAudioFormat_t audioFormat;
- int testStrategy;
- unsigned int songType;
struct PianoSong *next;
} PianoSong_t;
@@ -178,11 +178,8 @@ typedef struct {
typedef struct {
char *stationId;
- char *musicId;
- char *userSeed;
+ char *trackToken;
PianoSongRating_t rating;
- unsigned int testStrategy;
- unsigned int songType;
} PianoRequestDataAddFeedback_t;
typedef struct {