changeset 690:85fa136c9edf trunk

[svn] - Change client id from XMMS-Scrobbler to Audacious (we now have our own ID)
author nenolod
date Sat, 25 Feb 2006 13:49:41 -0800
parents 43a4216d3dc1
children 212804df9121
files Plugins/General/scrobbler/scrobbler.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/General/scrobbler/scrobbler.c	Sat Feb 25 13:15:05 2006 -0800
+++ b/Plugins/General/scrobbler/scrobbler.c	Sat Feb 25 13:49:41 2006 -0800
@@ -14,10 +14,11 @@
 #include <glib.h>
 
 #define SCROBBLER_HS_URL "http://post.audioscrobbler.com"
-#define SCROBBLER_CLI_ID "xms"
+#define SCROBBLER_CLI_ID "aud"
 #define SCROBBLER_HS_WAIT 1800
 #define SCROBBLER_SB_WAIT 10
 #define SCROBBLER_VERSION "1.1"
+#define SCROBBLER_IMPLEMENTATION "0.1"		/* This is the implementation, not the player version. */
 #define CACHE_SIZE 1024
 
 /* Scrobblerbackend for xmms plugin, first draft */
@@ -233,7 +234,7 @@
 
 	snprintf(buf, sizeof(buf), "%s/?hs=true&p=%s&c=%s&v=%s&u=%s",
 			SCROBBLER_HS_URL, SCROBBLER_VERSION,
-			SCROBBLER_CLI_ID, "0.3.8.1", sc_username);
+			SCROBBLER_CLI_ID, SCROBBLER_IMPLEMENTATION, sc_username);
 
 	curl = curl_easy_init();
 	curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 1);