# HG changeset patch # User nenolod # Date 1178945845 25200 # Node ID 0c9bb15a432138748c700197c843fcb1c6027a15 # Parent c888facd2c0d08015d499e8159ba918aab411bff [svn] - encode songtitle in utf8 before passing to XChat. diff -r c888facd2c0d -r 0c9bb15a4321 ChangeLog --- a/ChangeLog Fri May 11 21:48:49 2007 -0700 +++ b/ChangeLog Fri May 11 21:57:25 2007 -0700 @@ -1,3 +1,11 @@ +2007-05-12 04:48:49 +0000 William Pitcock + revision [4542] + - fix /NEXT. + + trunk/contrib/xchat-audacious.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + + 2007-05-12 04:35:06 +0000 William Pitcock revision [4540] - clean up command_send(). tips from deitarion. diff -r c888facd2c0d -r 0c9bb15a4321 contrib/xchat-audacious.py --- a/contrib/xchat-audacious.py Fri May 11 21:48:49 2007 -0700 +++ b/contrib/xchat-audacious.py Fri May 11 21:57:25 2007 -0700 @@ -6,7 +6,7 @@ # - support org.freedesktop.MediaPlayer (MPRIS)? # # This script is in the public domain. -# $Id: xchat-audacious.py 4542 2007-05-12 04:48:49Z nenolod $ +# $Id: xchat-audacious.py 4544 2007-05-12 04:57:25Z nenolod $ # __module_name__ = "xchat-audacious" @@ -29,7 +29,7 @@ aud.SongLength(aud.Position()) % 60) xchat.command("SAY [%s | %d:%02d/%s]" % ( - aud.SongTitle(aud.Position()), + aud.SongTitle(aud.Position()).encode("utf8"), aud.Time() / 1000 / 60, aud.Time() / 1000 % 60, length)) @@ -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 4542 2007-05-12 04:48:49Z nenolod $ loaded" +print "xchat-audacious $Id: xchat-audacious.py 4544 2007-05-12 04:57:25Z nenolod $ loaded" diff -r c888facd2c0d -r 0c9bb15a4321 src/audacious/build_stamp.c --- a/src/audacious/build_stamp.c Fri May 11 21:48:49 2007 -0700 +++ b/src/audacious/build_stamp.c Fri May 11 21:57:25 2007 -0700 @@ -1,2 +1,2 @@ #include -const gchar *svn_stamp = "20070512-4540"; +const gchar *svn_stamp = "20070512-4542";