diff options
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); } } |