# HG changeset patch # User nenolod # Date 1140904181 28800 # Node ID 85fa136c9edf0b7e47c1a759d55422eb45572159 # Parent 43a4216d3dc1439122c7049a2a7c45160e83fd83 [svn] - Change client id from XMMS-Scrobbler to Audacious (we now have our own ID) diff -r 43a4216d3dc1 -r 85fa136c9edf Plugins/General/scrobbler/scrobbler.c --- 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 #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);