diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2012-05-02 17:35:40 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2012-05-02 17:35:40 +0200 |
commit | 20bb1bd73cc9b561e60a5c9e3b81c1a1d9ef6de7 (patch) | |
tree | 577afddd52296999a26f61b4094301894343c508 /src | |
parent | 22e725f545548e6b9583644987e82cb1e3b7ae1f (diff) | |
download | pianobar-windows-20bb1bd73cc9b561e60a5c9e3b81c1a1d9ef6de7.tar.gz pianobar-windows-20bb1bd73cc9b561e60a5c9e3b81c1a1d9ef6de7.tar.bz2 pianobar-windows-20bb1bd73cc9b561e60a5c9e3b81c1a1d9ef6de7.zip |
piano: Bring back detailUrl and coverArt
Diffstat (limited to 'src')
-rw-r--r-- | src/libpiano/response.c | 2 |
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; |