Mercurial > audlegacy
changeset 2751:e5c1674fa767 trunk
[svn] - add XCHAT.eat_all
author | nenolod |
---|---|
date | Fri, 11 May 2007 21:21:09 -0700 |
parents | 4df1d5552a4d |
children | 1ca3b314301d |
files | ChangeLog contrib/xchat-audacious.py src/audacious/build_stamp.c |
diffstat | 3 files changed, 15 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Fri May 11 21:20:27 2007 -0700 +++ b/ChangeLog Fri May 11 21:21:09 2007 -0700 @@ -1,3 +1,11 @@ +2007-05-12 04:20:27 +0000 William Pitcock <nenolod@sacredspiral.co.uk> + revision [4526] + - map to right handlers + + trunk/contrib/xchat-audacious.py | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + + 2007-05-12 04:19:21 +0000 William Pitcock <nenolod@sacredspiral.co.uk> revision [4524] - add stop, pause, next, prev, play functions
--- a/contrib/xchat-audacious.py Fri May 11 21:20:27 2007 -0700 +++ b/contrib/xchat-audacious.py Fri May 11 21:21:09 2007 -0700 @@ -34,18 +34,23 @@ def command_next(word, word_eol, userdata): bus.get_object('org.atheme.audacious', '/org/atheme/audacious').Next() + return xchat.EAT_ALL def command_prev(word, word_eol, userdata): bus.get_object('org.atheme.audacious', '/org/atheme/audacious').Reverse() + return xchat.EAT_ALL def command_pause(word, word_eol, userdata): bus.get_object('org.atheme.audacious', '/org/atheme/audacious').Pause() + return xchat.EAT_ALL def command_stop(word, word_eol, userdata): bus.get_object('org.atheme.audacious', '/org/atheme/audacious').Stop() + return xchat.EAT_ALL def command_play(word, word_eol, userdata): bus.get_object('org.atheme.audacious', '/org/atheme/audacious').Play() + return xchat.EAT_ALL xchat.hook_command("NP", command_np, help="Displays current playing song.") xchat.hook_command("NEXT", command_next, help="Advances in Audacious' playlist.") @@ -54,4 +59,4 @@ xchat.hook_command("STOP", command_stop, help="Stops playback.") xchat.hook_command("PLAY", command_play, help="Begins playback.") -print "xchat-audacious $Id: xchat-audacious.py 4526 2007-05-12 04:20:27Z nenolod $ loaded" +print "xchat-audacious $Id: xchat-audacious.py 4528 2007-05-12 04:21:09Z nenolod $ loaded"