summaryrefslogtreecommitdiff
path: root/src
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 /src
parented7b2597a439c27e60d0b4cec85e801c9099173c (diff)
downloadpianobar-windows-2d9b7bfd3395148419da27cd3c98de470a2d245b.tar.gz
pianobar-windows-2d9b7bfd3395148419da27cd3c98de470a2d245b.tar.bz2
pianobar-windows-2d9b7bfd3395148419da27cd3c98de470a2d245b.zip
piano: Error message for LICENSING_RESTRICTIONS
Closes #272
Diffstat (limited to 'src')
-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;