From 97e2e779b196621117bfb73c4be61ae9a0b2be30 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sat, 8 May 2010 15:35:35 +0200 Subject: piano: New error QUICKMIX_NOT_PLAYABLE Trigger this error: Delete all stations (you can't delete the quickmix) and select your quickmix station. --- 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 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", -- cgit v1.2.3