changeset 732:a3ca00f30af5 trunk

[svn] - path fixes
author nenolod
date Mon, 26 Feb 2007 03:40:29 -0800
parents 645849c1e725
children 7c04570bf809
files ChangeLog src/scrobbler/gerpok.c src/scrobbler/hatena.c src/scrobbler/scrobbler.c
diffstat 4 files changed, 15 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Feb 26 03:38:03 2007 -0800
+++ b/ChangeLog	Mon Feb 26 03:40:29 2007 -0800
@@ -1,3 +1,12 @@
+2007-02-26 11:38:03 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [1560]
+  - add a (hidden for now) configuration option, use_local_ip and local_ip 
+    which plugins can use to bind to a specific IP/interface.
+  
+  trunk/src/curl/curl.c |   13 +++++++++++++
+  1 file changed, 13 insertions(+)
+
+
 2007-02-26 07:22:16 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
   revision [1558]
   - now fileinfo dialog shows "Unknown" instead of "Blues" if genre name isn't specified.
--- a/src/scrobbler/gerpok.c	Mon Feb 26 03:38:03 2007 -0800
+++ b/src/scrobbler/gerpok.c	Mon Feb 26 03:40:29 2007 -0800
@@ -14,6 +14,7 @@
 #include <glib.h>
 
 #include <audacious/titlestring.h>
+#include <audacious/util.h>
 
 #define SCROBBLER_HS_URL "http://post.gerpok.com"
 #define SCROBBLER_CLI_ID "aud"
@@ -741,7 +742,7 @@
 
 	cachesize = written = 0;
 
-	snprintf(buf, sizeof(buf), "%s/.audacious/gerpokqueue.txt", g_get_home_dir());
+	snprintf(buf, sizeof(buf), "%s/gerpokqueue.txt", audacious_get_localdir());
 
 	if (!(fd = fopen(buf, "r")))
 		return;
--- a/src/scrobbler/hatena.c	Mon Feb 26 03:38:03 2007 -0800
+++ b/src/scrobbler/hatena.c	Mon Feb 26 03:40:29 2007 -0800
@@ -14,6 +14,7 @@
 #include <glib.h>
 
 #include <audacious/titlestring.h>
+#include <audacious/util.h>
 
 #define SCROBBLER_HS_URL "http://music.hatelabo.jp/trackauth"
 #define SCROBBLER_CLI_ID "aud"
@@ -703,7 +704,7 @@
 
 	cachesize = written = 0;
 
-	snprintf(buf, sizeof(buf), "%s/.audacious/gerpokqueue.txt", g_get_home_dir());
+	snprintf(buf, sizeof(buf), "%s/hatenaqueue.txt", audacious_get_localdir());
 
 	if (!(fd = fopen(buf, "r")))
 		return;
--- a/src/scrobbler/scrobbler.c	Mon Feb 26 03:38:03 2007 -0800
+++ b/src/scrobbler/scrobbler.c	Mon Feb 26 03:40:29 2007 -0800
@@ -13,6 +13,7 @@
 #include <glib.h>
 
 #include <audacious/titlestring.h>
+#include <audacious/util.h>
 
 #define SCROBBLER_HS_URL "http://post.audioscrobbler.com"
 #define SCROBBLER_CLI_ID "aud"
@@ -740,7 +741,7 @@
 
 	cachesize = written = 0;
 
-	snprintf(buf, sizeof(buf), "%s/.audacious/scrobblerqueue.txt", g_get_home_dir());
+	snprintf(buf, sizeof(buf), "%s/scrobblerqueue.txt", audacious_get_localdir());
 
 	if (!(fd = fopen(buf, "r")))
 		return;