changeset 1031:3707a3efcc9c trunk

[svn] - protocol 1.2: use interval 1
author nenolod
date Sat, 12 May 2007 00:37:48 -0700
parents 9dae0c13a65f
children 15e8890cb54d
files ChangeLog src/scrobbler/scrobbler.c src/scrobbler/settings.h
diffstat 3 files changed, 12 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat May 12 00:30:49 2007 -0700
+++ b/ChangeLog	Sat May 12 00:37:48 2007 -0700
@@ -1,3 +1,11 @@
+2007-05-12 07:30:49 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [2224]
+  - enforce audioscrobbler rules on queued tracks
+  
+  trunk/src/scrobbler/scrobbler.c |   17 ++++++++++++-----
+  1 file changed, 12 insertions(+), 5 deletions(-)
+
+
 2007-05-12 07:21:55 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [2222]
   - NP pings apparently do not affect musical profile, so queue tracks for submission
--- a/src/scrobbler/scrobbler.c	Sat May 12 00:30:49 2007 -0700
+++ b/src/scrobbler/scrobbler.c	Sat May 12 00:37:48 2007 -0700
@@ -970,7 +970,7 @@
 	sc_hs_status = sc_hs_timeout = sc_hs_errors = sc_submit_timeout =
 		sc_srv_res_size = sc_giveup = sc_major_error_present =
 		sc_bad_users = sc_sb_errors = 0;
-	sc_submit_interval = 100;
+	sc_submit_interval = 1;
 
 	sc_submit_url = sc_username = sc_password = sc_srv_res =
 		sc_challenge_hash = sc_major_error = NULL;
--- a/src/scrobbler/settings.h	Sat May 12 00:30:49 2007 -0700
+++ b/src/scrobbler/settings.h	Sat May 12 00:37:48 2007 -0700
@@ -3,9 +3,9 @@
 #ifndef __SCROBBLER_CONFIG_H__
 #define __SCROBBLER_CONFIG_H__
 
-#define DEBUG 0
-#define META_DEBUG 0
-#define SUB_DEBUG 0
+#define DEBUG 1
+#define META_DEBUG 1
+#define SUB_DEBUG 1
 #define CLIENT "Audacious"
 #define USER_AGENT "AudioScrobbler/1.1" PACKAGE_NAME "/" PACKAGE_VERSION
 #define MAKE_BMP