summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2012-06-06 16:17:41 +0200
committerLars-Dominik Braun <lars@6xq.net>2012-06-06 16:17:41 +0200
commit2d9b7bfd3395148419da27cd3c98de470a2d245b (patch)
tree5702d5d8bf3e2279ff89ef7ad2b0f9d9feae2de7
parented7b2597a439c27e60d0b4cec85e801c9099173c (diff)
downloadpianobar-2d9b7bfd3395148419da27cd3c98de470a2d245b.tar.gz
pianobar-2d9b7bfd3395148419da27cd3c98de470a2d245b.tar.bz2
pianobar-2d9b7bfd3395148419da27cd3c98de470a2d245b.zip
piano: Error message for LICENSING_RESTRICTIONS
Closes #272
-rw-r--r--src/libpiano/piano.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libpiano/piano.c b/src/libpiano/piano.c
index 47f2fa1..70f7d41 100644
--- a/src/libpiano/piano.c
+++ b/src/libpiano/piano.c
@@ -287,6 +287,11 @@ const char *PianoErrorToStr (PianoReturn_t ret) {
return "Invalid partner login.";
break;
+ case PIANO_RET_P_LICENSING_RESTRICTIONS:
+ return "Pandora is not available in your country. "
+ "Set up a control proxy (see manpage).";
+ break;
+
default:
return "No error message available.";
break;