summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libpiano/response.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libpiano/response.c b/src/libpiano/response.c
index 7ae4f1e..0379daf 100644
--- a/src/libpiano/response.c
+++ b/src/libpiano/response.c
@@ -216,6 +216,8 @@ PianoReturn_t PianoResponse (PianoHandle_t *ph, PianoRequest_t *req) {
song->title = PianoJsonStrdup (s, "songName");
song->trackToken = PianoJsonStrdup (s, "trackToken");
song->stationId = PianoJsonStrdup (s, "stationId");
+ song->coverArt = PianoJsonStrdup (s, "albumArtUrl");
+ song->detailUrl = PianoJsonStrdup (s, "songDetailUrl");
song->fileGain = json_object_get_double (
json_object_object_get (s, "trackGain"));
song->audioFormat = reqData->format;