summaryrefslogtreecommitdiff
path: root/libpiano/src/xml.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-07-02 20:46:38 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-07-02 20:46:38 +0200
commita711635a5a031107da3ecc0b0e1c939277e34572 (patch)
treec4f607888402c8d9d62640ab1e47c087fd3f1797 /libpiano/src/xml.c
parente3c2af78adaef60de935883bac1155b0e75d4ae1 (diff)
downloadpianobar-a711635a5a031107da3ecc0b0e1c939277e34572.tar.gz
pianobar-a711635a5a031107da3ecc0b0e1c939277e34572.tar.bz2
pianobar-a711635a5a031107da3ecc0b0e1c939277e34572.zip
client: Initial quickmix station selection support
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 3879f4a..ecd3394 100644
--- a/libpiano/src/xml.c
+++ b/libpiano/src/xml.c
@@ -210,6 +210,8 @@ void PianoXmlParseStationsCb (char *key, xmlNode *value, void *data) {
station->name = strdup (valueStr);
} else if (strcmp ("stationId", key) == 0) {
station->id = strdup (valueStr);
+ } else if (strcmp ("isQuickMix", key) == 0) {
+ station->isQuickMix = (strcmp (valueStr, "1") == 0);
}
}