|
楼主 |
发表于 2006-11-12 14:03:41
|
显示全部楼层
我重写了补丁,可以尝试提交了
diff -urN audacious-plugins-1.2.2.orig/src/mpg123/fileinfo.c audacious-plugins-1.2.2/src/mpg123/fileinfo.c
--- audacious-plugins-1.2.2.orig/src/mpg123/fileinfo.c 2006-10-16 00:41:42.000000000 +0800
+++ audacious-plugins-1.2.2/src/mpg123/fileinfo.c 2006-11-12 00:11:30.000000000 +0800
@@ -117,7 +117,9 @@
if (str_has_prefix_nocase(current_filename, "http://"))
return;
+#ifndef USE_CHARDET
taglib_set_strings_unicode(1);
+#endif
/* XXX: Gnome VFS workaround. -nenolod */
if (str_has_prefix_nocase(current_filename, "file://"))
@@ -129,7 +131,9 @@
taglib_ap = taglib_file_audioproperties(taglib_file);
} else return;
+#ifndef USE_CHARDET
taglib_set_id3v2_default_text_encoding();
+#endif
taglib_tag_set_title(taglib_tag, gtk_entry_get_text(GTK_ENTRY(title_entry)));
taglib_tag_set_artist(taglib_tag, gtk_entry_get_text(GTK_ENTRY(artist_entry)));
taglib_tag_set_album(taglib_tag, gtk_entry_get_text(GTK_ENTRY(album_entry))); |
|