summaryrefslogtreecommitdiff
path: root/libpiano/src
diff options
context:
space:
mode:
Diffstat (limited to 'libpiano/src')
-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