summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-08-16 11:59:07 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-08-16 11:59:07 +0200
commitf60ead4306546d28eeb7fc07e82e9b61707c4a89 (patch)
treea8eacee3a9c7b8bd777e54347f152da1dd44848a
parentff81d0f867adfa460d761b483beb0646c2b5aa32 (diff)
downloadpianobar-f60ead4306546d28eeb7fc07e82e9b61707c4a89.tar.gz
pianobar-f60ead4306546d28eeb7fc07e82e9b61707c4a89.tar.bz2
pianobar-f60ead4306546d28eeb7fc07e82e9b61707c4a89.zip
piano: Replace statistics sent to pandora by 0's
We won't count the seconds we played a particular station. 0 should be fine.
-rw-r--r--libpiano/src/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libpiano/src/main.c b/libpiano/src/main.c
index dbc273b..7eaba25 100644
--- a/libpiano/src/main.c
+++ b/libpiano/src/main.c
@@ -277,8 +277,8 @@ PianoReturn_t PianoGetPlaylist (PianoHandle_t *ph, const char *stationId) {
"<params><param><value><int>%li</int></value></param>"
"<param><value><string>%s</string></value></param>"
"<param><value><string>%s</string></value></param>"
- "<param><value><string>15941546</string></value></param>"
- "<param><value><string>181840822</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>aacplus</string></value></param>"
@@ -286,8 +286,8 @@ PianoReturn_t PianoGetPlaylist (PianoHandle_t *ph, const char *stationId) {
stationId);
requestStr = PianoEncryptString (xmlSendBuf);
snprintf (url, sizeof (url), PIANO_RPC_URL
- "rid=%s&lid=%s&method=getFragment&arg1=%s&arg2=15941546"
- "&arg3=181840822&arg4=&arg5=&arg6=aacplus", ph->routeId,
+ "rid=%s&lid=%s&method=getFragment&arg1=%s&arg2=0"
+ "&arg3=0&arg4=&arg5=&arg6=aacplus", ph->routeId,
ph->user.listenerId, stationId);
if ((ret = PianoHttpPost (ph->curlHandle, url, requestStr, &retStr)) ==