From 06286692dc96e28379f16d81352e4c370d36bb73 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 1 Feb 2010 17:19:13 +0100 Subject: piano: New error PLAYLIST_END See bug #10 --- 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 764e07a..e3c1749 100644 --- a/libpiano/src/xml.c +++ b/libpiano/src/xml.c @@ -83,6 +83,8 @@ static void PianoXmlIsFaultCb (const char *key, const ezxml_t value, *ret = PIANO_RET_STATION_NONEXISTENT; } else if (strcmp ("OUT_OF_SYNC", matchStart) == 0) { *ret = PIANO_RET_OUT_OF_SYNC; + } else if (strcmp ("PLAYLIST_END", matchStart) == 0) { + *ret = PIANO_RET_PLAYLIST_END; } else { *ret = PIANO_RET_ERR; printf (PACKAGE ": Unknown error %s in %s\n", -- cgit v1.2.3