changeset 2764:c5dec731eff6 trunk

[svn] - handle UTF-8 filenames
author nenolod
date Sat, 12 May 2007 19:45:21 -0700
parents 637359219e10
children 313ac85816bb
files ChangeLog contrib/xchat-audacious.py src/audacious/build_stamp.c
diffstat 3 files changed, 13 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat May 12 15:22:58 2007 -0700
+++ b/ChangeLog	Sat May 12 19:45:21 2007 -0700
@@ -1,3 +1,12 @@
+2007-05-12 22:22:58 +0000  Ben Tucker <bnt@interchange.ubc.ca>
+  revision [4552]
+  Reverted the modifications that were initially needed for DBus support.
+  
+  trunk/src/audacious/plugin.h     |   15 ---------------
+  trunk/src/audacious/pluginenum.c |   34 ----------------------------------
+  2 files changed, 49 deletions(-)
+
+
 2007-05-12 21:35:30 +0000  Ben Tucker <bnt@interchange.ubc.ca>
   revision [4550]
   Added lots of comments (styled after beepctrl).
--- a/contrib/xchat-audacious.py	Sat May 12 15:22:58 2007 -0700
+++ b/contrib/xchat-audacious.py	Sat May 12 19:45:21 2007 -0700
@@ -6,7 +6,7 @@
 #   - support org.freedesktop.MediaPlayer (MPRIS)?
 #
 # This script is in the public domain.
-#   $Id: xchat-audacious.py 4544 2007-05-12 04:57:25Z nenolod $
+#   $Id: xchat-audacious.py 4554 2007-05-13 02:45:21Z 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[1], aud.SongFilename(aud.Position())))
+	xchat.command('DCC SEND %s "%s"' % (word[1], aud.SongFilename(aud.Position()).encode("utf8")))
 	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 4544 2007-05-12 04:57:25Z nenolod $ loaded"
+print "xchat-audacious $Id: xchat-audacious.py 4554 2007-05-13 02:45:21Z nenolod $ loaded"
--- a/src/audacious/build_stamp.c	Sat May 12 15:22:58 2007 -0700
+++ b/src/audacious/build_stamp.c	Sat May 12 19:45:21 2007 -0700
@@ -1,2 +1,2 @@
 #include <glib.h>
-const gchar *svn_stamp = "20070512-4550";
+const gchar *svn_stamp = "20070512-4552";