summaryrefslogtreecommitdiff
path: root/libpiano/src/main.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-08-20 10:47:31 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-08-20 10:47:31 +0200
commit858ecd45441218b20c2592a0f27ff247e9425bba (patch)
tree4fa578585b017af5b0a816a25df62711c74c9a81 /libpiano/src/main.c
parentea106accd3e4557bb3553838f11e051858de236f (diff)
downloadpianobar-858ecd45441218b20c2592a0f27ff247e9425bba.tar.gz
pianobar-858ecd45441218b20c2592a0f27ff247e9425bba.tar.bz2
pianobar-858ecd45441218b20c2592a0f27ff247e9425bba.zip
piano: New error INCOMPATIBLE_VERSION
Raised when pandora bumps their protocol url/version
Diffstat (limited to 'libpiano/src/main.c')
-rw-r--r--libpiano/src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libpiano/src/main.c b/libpiano/src/main.c
index 33cd5df..f7aebc5 100644
--- a/libpiano/src/main.c
+++ b/libpiano/src/main.c
@@ -853,6 +853,10 @@ const char *PianoErrorToStr (PianoReturn_t ret) {
return "Not authorized.";
break;
+ case PIANO_RET_PROTOCOL_INCOMPATIBLE:
+ return "Protocol incompatible. Please upgrade " PACKAGE_NAME ".";
+ break;
+
default:
return "No error message available.";
break;