summaryrefslogtreecommitdiff
path: root/libpiano/src/xml.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-07-02 21:08:25 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-07-02 21:08:25 +0200
commitc3cdc31f0d3b2fd3313cba5044e1207adba81048 (patch)
treeabb478451598fd038bfd0e8a0ada849cd4c46765 /libpiano/src/xml.c
parenta711635a5a031107da3ecc0b0e1c939277e34572 (diff)
downloadpianobar-c3cdc31f0d3b2fd3313cba5044e1207adba81048.tar.gz
pianobar-c3cdc31f0d3b2fd3313cba5044e1207adba81048.tar.bz2
pianobar-c3cdc31f0d3b2fd3313cba5044e1207adba81048.zip
client: Show real station when playing quickmix song
Diffstat (limited to 'libpiano/src/xml.c')
-rw-r--r--libpiano/src/xml.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpiano/src/xml.c b/libpiano/src/xml.c
index ecd3394..a9be0a8 100644
--- a/libpiano/src/xml.c
+++ b/libpiano/src/xml.c
@@ -253,6 +253,8 @@ void PianoXmlParsePlaylistCb (char *key, xmlNode *value, void *data) {
} else {
song->rating = PIANO_RATE_NONE;
}
+ } else if (strcmp ("stationId", key) == 0) {
+ song->stationId = strdup (valueStr);
}
}