changeset 2754:0ddb7b526447 trunk

[svn] - encapsulate filesystem path in quotes
author nenolod
date Fri, 11 May 2007 21:29:03 -0700
parents aadc6fd97cc7
children 8c8c2c89082f
files ChangeLog contrib/xchat-audacious.py src/audacious/build_stamp.c
diffstat 3 files changed, 12 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri May 11 21:28:08 2007 -0700
+++ b/ChangeLog	Fri May 11 21:29:03 2007 -0700
@@ -1,3 +1,11 @@
+2007-05-12 04:28:08 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [4532]
+  - fix syntax error
+  
+  trunk/contrib/xchat-audacious.py |    2 +-
+  1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 2007-05-12 04:27:02 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [4530]
   - add /SENDTRACK which can DCC the current track to a user
--- a/contrib/xchat-audacious.py	Fri May 11 21:28:08 2007 -0700
+++ b/contrib/xchat-audacious.py	Fri May 11 21:29:03 2007 -0700
@@ -6,7 +6,7 @@
 #   - support org.freedesktop.MediaPlayer (MPRIS)?
 #
 # This script is in the public domain.
-#   $Id: xchat-audacious.py 4532 2007-05-12 04:28:08Z nenolod $
+#   $Id: xchat-audacious.py 4534 2007-05-12 04:29:03Z nenolod $
 #
 
 __module_name__ = "xchat-audacious"
@@ -61,7 +61,7 @@
 		return xchat.EAT_ALL
 
 	aud = bus.get_object('org.atheme.audacious', '/org/atheme/audacious')
-	xchat.command("DCC SEND %s %s" % (word[0], aud.SongFilename(aud.Position())))
+	xchat.command("DCC SEND %s '%s'" % (word[0], aud.SongFilename(aud.Position())))
 	return xchat.EAT_ALL
 
 xchat.hook_command("NP", command_np, help="Displays current playing song.")
@@ -72,4 +72,4 @@
 xchat.hook_command("PLAY", command_play, help="Begins playback.")
 xchat.hook_command("SENDTRACK", command_send, help="Sends the currently playing track to a user.")
 
-print "xchat-audacious $Id: xchat-audacious.py 4532 2007-05-12 04:28:08Z nenolod $ loaded"
+print "xchat-audacious $Id: xchat-audacious.py 4534 2007-05-12 04:29:03Z nenolod $ loaded"
--- a/src/audacious/build_stamp.c	Fri May 11 21:28:08 2007 -0700
+++ b/src/audacious/build_stamp.c	Fri May 11 21:29:03 2007 -0700
@@ -1,2 +1,2 @@
 #include <glib.h>
-const gchar *svn_stamp = "20070512-4530";
+const gchar *svn_stamp = "20070512-4532";