From 22744003f85a8ffde6da0750003c56d3ad757c10 Mon Sep 17 00:00:00 2001
From: Lars-Dominik Braun <PromyLOPh@gmail.com>
Date: Wed, 25 Jun 2008 10:09:34 +0200
Subject: piano: Protocol version bump (v20)

Changes seems to be backwards compatible. Blowfish key not changed.
---
 libpiano/src/const.h | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'libpiano/src')

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
 
-- 
cgit v1.2.3