summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
authorJuan C. Muller <jcmuller@gmail.com>2010-11-23 15:17:43 -0500
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2010-11-23 22:12:29 +0100
commit91192bd1473d6a43eb27ea802ac6fbd451f28fb2 (patch)
tree5f0145b52859c1dedd2b0eaab6ef49ddd163382f /src/ui.c
parentb1ed17b08da468589c178d4a21daa77a481a04c8 (diff)
downloadpianobar-windows-91192bd1473d6a43eb27ea802ac6fbd451f28fb2.tar.gz
pianobar-windows-91192bd1473d6a43eb27ea802ac6fbd451f28fb2.tar.bz2
pianobar-windows-91192bd1473d6a43eb27ea802ac6fbd451f28fb2.zip
Add support for art covers included in the XML playlist from pandora.
See issue #56
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui.c b/src/ui.c
index d115278..cef067d 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -599,6 +599,7 @@ void BarUiStartEventCmd (const BarSettings_t *settings, const char *type,
"artist=%s\n"
"title=%s\n"
"album=%s\n"
+ "coverArt=%s\n"
"stationName=%s\n"
"pRet=%i\n"
"pRetStr=%s\n"
@@ -610,6 +611,7 @@ void BarUiStartEventCmd (const BarSettings_t *settings, const char *type,
curSong == NULL ? "" : curSong->artist,
curSong == NULL ? "" : curSong->title,
curSong == NULL ? "" : curSong->album,
+ curSong == NULL ? "" : curSong->coverArt,
curStation == NULL ? "" : curStation->name,
pRet,
PianoErrorToStr (pRet),