changeset 93:a793fb91ecde trunk

[svn] - workaround for GNOME VFS crash
author nenolod
date Sun, 15 Oct 2006 09:41:42 -0700
parents fadf346ddde3
children 230d8b49db8b
files ChangeLog src/mpg123/fileinfo.c
diffstat 2 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Oct 12 21:13:45 2006 -0700
+++ b/ChangeLog	Sun Oct 15 09:41:42 2006 -0700
@@ -1,3 +1,12 @@
+2006-10-13 04:13:45 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
+  revision [184]
+  - pls doesn't go along with PLAYLIST_LOCK in playlist_save().
+  
+  trunk/src/m3u/m3u.c   |    4 ++++
+  trunk/src/xspf/xspf.c |    4 ++++
+  2 files changed, 8 insertions(+)
+
+
 2006-10-12 16:05:01 +0000  William Pitcock <nenolod@nenolod.net>
   revision [182]
   - some seek code (can't be implemented right now though)
--- a/src/mpg123/fileinfo.c	Thu Oct 12 21:13:45 2006 -0700
+++ b/src/mpg123/fileinfo.c	Sun Oct 15 09:41:42 2006 -0700
@@ -119,6 +119,10 @@
 
   taglib_set_strings_unicode(1);
 
+  /* XXX: Gnome VFS workaround. -nenolod */
+  if (str_has_prefix_nocase(current_filename, "file://"))
+    current_filename += 7;
+
   taglib_file = taglib_file_new(current_filename);
   if(taglib_file) {
     taglib_tag = taglib_file_tag(taglib_file);