summaryrefslogtreecommitdiff
path: root/libpiano
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-08-20 10:13:34 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-08-20 10:13:34 +0200
commitea106accd3e4557bb3553838f11e051858de236f (patch)
tree75098a32456403e3b5f48984cbbc3698e5ea350e /libpiano
parent7aa4c62d92e17347cc331316a0d4c838e133e6a9 (diff)
downloadpianobar-ea106accd3e4557bb3553838f11e051858de236f.tar.gz
pianobar-ea106accd3e4557bb3553838f11e051858de236f.tar.bz2
pianobar-ea106accd3e4557bb3553838f11e051858de236f.zip
piano: Protocol version bump, encryption key changed
libpiano is useless without the new encryption key. Happy hacking :)
Diffstat (limited to 'libpiano')
-rw-r--r--libpiano/src/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libpiano/src/main.c b/libpiano/src/main.c
index edee0d2..33cd5df 100644
--- a/libpiano/src/main.c
+++ b/libpiano/src/main.c
@@ -32,7 +32,7 @@ THE SOFTWARE.
#include "crypt.h"
#include "config.h"
-#define PIANO_PROTOCOL_VERSION "20"
+#define PIANO_PROTOCOL_VERSION "21"
#define PIANO_RPC_URL "http://www.pandora.com/radio/xmlrpc/v" \
PIANO_PROTOCOL_VERSION "?"
#define PIANO_SECURE_RPC_URL "https://www.pandora.com/radio/xmlrpc/v" \
@@ -198,6 +198,9 @@ PianoReturn_t PianoConnect (PianoHandle_t *ph, const char *user,
char *retStr, requestStrPlain[PIANO_SEND_BUFFER_SIZE];
PianoReturn_t ret;
+ printf ("\n==========\n" PACKAGE_NAME ": Pandora changed their blowfish "
+ "encryption key. You will not be able to connect to pandora.\n"
+ "==========\n");
/* sync (is the return value used by pandora? for now: ignore result) */
snprintf (url, sizeof (url), PIANO_RPC_URL "rid=%s&method=sync",
ph->routeId);