summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-06-25 10:09:34 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-06-25 10:09:34 +0200
commit22744003f85a8ffde6da0750003c56d3ad757c10 (patch)
tree12f4b8ff9319085367a5501af16f3a0a34a784aa
parent7168d9107de85d7d4b422418673c726c4df586f0 (diff)
downloadpianobar-windows-22744003f85a8ffde6da0750003c56d3ad757c10.tar.gz
pianobar-windows-22744003f85a8ffde6da0750003c56d3ad757c10.tar.bz2
pianobar-windows-22744003f85a8ffde6da0750003c56d3ad757c10.zip
piano: Protocol version bump (v20)
Changes seems to be backwards compatible. Blowfish key not changed.
-rw-r--r--libpiano/src/const.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libpiano/src/const.h b/libpiano/src/const.h
index d9dfcf8..5ffe1a4 100644
--- a/libpiano/src/const.h
+++ b/libpiano/src/const.h
@@ -25,8 +25,11 @@ THE SOFTWARE.
/* constants */
-#define PIANO_RPC_URL "http://www.pandora.com/radio/xmlrpc/v19?"
-#define PIANO_SECURE_RPC_URL "https://www.pandora.com/radio/xmlrpc/v19?"
+#define PIANO_PROTOCOL_VERSION "20"
+#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" \
+ PIANO_PROTOCOL_VERSION "?"
#define PIANO_URL_BUFFER_SIZE 1024
#define PIANO_HTTP_BUFFER_SIZE 100000