diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2011-11-09 13:32:05 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2011-11-09 14:50:37 +0100 |
commit | 1be3f982c472341d7997a8fefcfe288a41568634 (patch) | |
tree | 0874516495bce073ae54024aee37e02ce44f25df /src/libpiano/xml.c | |
parent | 208731ffa981e3c0a448be23ccd58ae1b5acca4d (diff) | |
download | pianobar-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/xml.c')
-rw-r--r-- | src/libpiano/xml.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libpiano/xml.c b/src/libpiano/xml.c index de554b3..a4250a7 100644 --- a/src/libpiano/xml.c +++ b/src/libpiano/xml.c @@ -216,6 +216,8 @@ static void PianoXmlParseUserinfoCb (const char *key, const ezxml_t value, user->webAuthToken = strdup (valueStr); } else if (strcmp ("authToken", key) == 0) { user->authToken = strdup (valueStr); + } else if (strcmp ("listenerId", key) == 0) { + user->listenerId = strdup (valueStr); } } @@ -301,14 +303,12 @@ static void PianoXmlParsePlaylistCb (const char *key, const ezxml_t value, } } else if (strcmp ("artistMusicId", key) == 0) { song->artistMusicId = strdup (valueStr); - } else if (strcmp ("testStrategy", key) == 0) { - song->testStrategy = atoi (valueStr); - } else if (strcmp ("songType", key) == 0) { - song->songType = atoi (valueStr); } else if (strcmp ("feedbackId", key) == 0) { song->feedbackId = strdup (valueStr); } else if (strcmp ("songDetailURL", key) == 0) { song->detailUrl = strdup (valueStr); + } else if (strcmp ("trackToken", key) == 0) { + song->trackToken = strdup (valueStr); } } |