summaryrefslogtreecommitdiff
path: root/libpiano/src/xml.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2010-05-08 15:35:35 +0200
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2010-05-08 15:35:35 +0200
commit97e2e779b196621117bfb73c4be61ae9a0b2be30 (patch)
treedd56f538c13b0a963b1b6e86892efadce4b0ba54 /libpiano/src/xml.c
parent3072c5acdbb50f7571e5a72c8acb9146042968fb (diff)
downloadpianobar-97e2e779b196621117bfb73c4be61ae9a0b2be30.tar.gz
pianobar-97e2e779b196621117bfb73c4be61ae9a0b2be30.tar.bz2
pianobar-97e2e779b196621117bfb73c4be61ae9a0b2be30.zip
piano: New error QUICKMIX_NOT_PLAYABLE
Trigger this error: Delete all stations (you can't delete the quickmix) and select your quickmix station.
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 53eeca5..33fe557 100644
--- a/libpiano/src/xml.c
+++ b/libpiano/src/xml.c
@@ -85,6 +85,8 @@ static void PianoXmlIsFaultCb (const char *key, const ezxml_t value,
*ret = PIANO_RET_OUT_OF_SYNC;
} else if (strcmp ("PLAYLIST_END", matchStart) == 0) {
*ret = PIANO_RET_PLAYLIST_END;
+ } else if (strcmp ("QUICKMIX_NOT_PLAYABLE", matchStart) == 0) {
+ *ret = PIANO_RET_QUICKMIX_NOT_PLAYABLE;
} else {
*ret = PIANO_RET_ERR;
printf (PACKAGE ": Unknown error %s in %s\n",