summaryrefslogtreecommitdiff
path: root/libpiano/src
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2009-03-04 10:25:16 +0100
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2009-03-04 10:25:16 +0100
commita17b0d5474bfd560ba5fea383b39cfeb1918dd72 (patch)
tree65abd3a6c172052e7b726ade91b5f9f379e53f4f /libpiano/src
parentf0e240d8d79d359279a823973b1499bc09c4dff3 (diff)
downloadpianobar-a17b0d5474bfd560ba5fea383b39cfeb1918dd72.tar.gz
pianobar-a17b0d5474bfd560ba5fea383b39cfeb1918dd72.tar.bz2
pianobar-a17b0d5474bfd560ba5fea383b39cfeb1918dd72.zip
piano: Protocol version bump
Unknown argument in getFragment removed. Blowfish key is the same. Thank you pandora :)
Diffstat (limited to 'libpiano/src')
-rw-r--r--libpiano/src/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libpiano/src/main.c b/libpiano/src/main.c
index 87b2d2b..0ba857f 100644
--- a/libpiano/src/main.c
+++ b/libpiano/src/main.c
@@ -33,7 +33,7 @@ THE SOFTWARE.
#include "crypt.h"
#include "config.h"
-#define PIANO_PROTOCOL_VERSION "21"
+#define PIANO_PROTOCOL_VERSION "22"
#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" \
@@ -285,7 +285,6 @@ PianoReturn_t PianoGetPlaylist (PianoHandle_t *ph, const char *stationId,
"<param><value><string>%s</string></value></param>"
"<param><value><string>%s</string></value></param>"
"<param><value><string>0</string></value></param>"
- "<param><value><string>0</string></value></param>"
"<param><value><string></string></value></param>"
"<param><value><string></string></value></param>"
"<param><value><string>%s</string></value></param>"
@@ -294,7 +293,7 @@ PianoReturn_t PianoGetPlaylist (PianoHandle_t *ph, const char *stationId,
requestStr = PianoEncryptString (xmlSendBuf);
snprintf (url, sizeof (url), PIANO_RPC_URL
"rid=%s&lid=%s&method=getFragment&arg1=%s&arg2=0"
- "&arg3=0&arg4=&arg5=&arg6=%s", ph->routeId,
+ "&arg3=&arg4=&arg5=%s", ph->routeId,
ph->user.listenerId, stationId,
PianoAudioFormatToString (format));