diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2012-01-13 12:15:45 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2012-01-13 12:15:45 +0100 |
commit | 9a380af719b0cdb599eaf86323bd7ca9a0526482 (patch) | |
tree | 53d7113c78fc346d8cb816c0c12b70b20a2d1a3f /src/libpiano/xml.c | |
parent | b5664c83c02e0074d0211a0c48eeb1c3bc0fedb5 (diff) | |
download | pianobar-9a380af719b0cdb599eaf86323bd7ca9a0526482.tar.gz pianobar-9a380af719b0cdb599eaf86323bd7ca9a0526482.tar.bz2 pianobar-9a380af719b0cdb599eaf86323bd7ca9a0526482.zip |
piano: New error EXCESSIVE_ACTIVITY
See #208
Diffstat (limited to 'src/libpiano/xml.c')
-rw-r--r-- | src/libpiano/xml.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libpiano/xml.c b/src/libpiano/xml.c index de05122..ce1074a 100644 --- a/src/libpiano/xml.c +++ b/src/libpiano/xml.c @@ -94,6 +94,8 @@ static void PianoXmlIsFaultCb (const char *key, const ezxml_t value, *ret = PIANO_RET_QUICKMIX_NOT_PLAYABLE; } else if (strcmp ("REMOVING_TOO_MANY_SEEDS", matchStart) == 0) { *ret = PIANO_RET_REMOVING_TOO_MANY_SEEDS; + } else if (strcmp ("EXCESSIVE_ACTIVITY", matchStart) == 0) { + *ret = PIANO_RET_EXCESSIVE_ACTIVITY; } else { *ret = PIANO_RET_ERR; printf (PACKAGE ": Unknown error %s in %s\n", |