Mercurial > audlegacy
diff contrib/xchat-audacious.py @ 2755:8c8c2c89082f trunk
[svn] - try with doublequotes i guess
author | nenolod |
---|---|
date | Fri, 11 May 2007 21:29:36 -0700 |
parents | 0ddb7b526447 |
children | 987df858ae76 |
line wrap: on
line diff
--- a/contrib/xchat-audacious.py Fri May 11 21:29:03 2007 -0700 +++ b/contrib/xchat-audacious.py Fri May 11 21:29:36 2007 -0700 @@ -6,7 +6,7 @@ # - support org.freedesktop.MediaPlayer (MPRIS)? # # This script is in the public domain. -# $Id: xchat-audacious.py 4534 2007-05-12 04:29:03Z nenolod $ +# $Id: xchat-audacious.py 4536 2007-05-12 04:29:36Z 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 4534 2007-05-12 04:29:03Z nenolod $ loaded" +print "xchat-audacious $Id: xchat-audacious.py 4536 2007-05-12 04:29:36Z nenolod $ loaded"