From 91192bd1473d6a43eb27ea802ac6fbd451f28fb2 Mon Sep 17 00:00:00 2001 From: "Juan C. Muller" Date: Tue, 23 Nov 2010 15:17:43 -0500 Subject: Add support for art covers included in the XML playlist from pandora. See issue #56 --- libpiano/src/xml.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libpiano/src/xml.c') diff --git a/libpiano/src/xml.c b/libpiano/src/xml.c index 36afc87..01294d8 100644 --- a/libpiano/src/xml.c +++ b/libpiano/src/xml.c @@ -259,6 +259,8 @@ static void PianoXmlParsePlaylistCb (const char *key, const ezxml_t value, } free (urlTail); } + } else if (strcmp ("artRadio", key) == 0) { + song->coverArt = strdup (valueStr); } else if (strcmp ("artistSummary", key) == 0) { song->artist = strdup (valueStr); } else if (strcmp ("musicId", key) == 0) { -- cgit v1.2.3