changeset 2756:987df858ae76 trunk

[svn] - final version of the /sendtrack command. :(
author nenolod
date Fri, 11 May 2007 21:30:39 -0700
parents 8c8c2c89082f
children 6f38159839be
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:29:36 2007 -0700
+++ b/ChangeLog	Fri May 11 21:30:39 2007 -0700
@@ -1,3 +1,11 @@
+2007-05-12 04:29:36 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [4536]
+  - try with doublequotes i guess
+  
+  trunk/contrib/xchat-audacious.py |    2 +-
+  1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 2007-05-12 04:29:03 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [4534]
   - encapsulate filesystem path in quotes
--- a/contrib/xchat-audacious.py	Fri May 11 21:29:36 2007 -0700
+++ b/contrib/xchat-audacious.py	Fri May 11 21:30:39 2007 -0700
@@ -6,7 +6,7 @@
 #   - support org.freedesktop.MediaPlayer (MPRIS)?
 #
 # This script is in the public domain.
-#   $Id: xchat-audacious.py 4536 2007-05-12 04:29:36Z nenolod $
+#   $Id: xchat-audacious.py 4538 2007-05-12 04:30:39Z 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[1], 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 4536 2007-05-12 04:29:36Z nenolod $ loaded"
+print "xchat-audacious $Id: xchat-audacious.py 4538 2007-05-12 04:30:39Z nenolod $ loaded"
--- a/src/audacious/build_stamp.c	Fri May 11 21:29:36 2007 -0700
+++ b/src/audacious/build_stamp.c	Fri May 11 21:30:39 2007 -0700
@@ -1,2 +1,2 @@
 #include <glib.h>
-const gchar *svn_stamp = "20070512-4534";
+const gchar *svn_stamp = "20070512-4536";