[PATCH]: fix uri method to access audio disc
- From: Yoann Vandoorselaere <yoann prelude-ids org>
- To: Nautilus <nautilus-list gnome org>
- Cc: Alexander Larsson <alexl redhat com>
- Subject: [PATCH]: fix uri method to access audio disc
- Date: Sat, 25 Sep 2004 14:52:31 +0200
Hi,
in gnome-vfs-2.8.0, when an audio disc is inserted, the following URI is
used to access it uppon HAL notification:
vol->priv->activation_uri = g_strdup_printf ("cddb://%s", hal_vold->device_file);
This is wrong since the libcdda module is only available through the
cdda:// method defined in cdda-module.conf.
Attached is a patch that fix the issue,
--
Yoann Vandoorselaere <yoann prelude-ids org>
diff -Nur gnome-vfs-2.8.0.orig/libgnomevfs/gnome-vfs-hal-mounts.c gnome-vfs-2.8.0/libgnomevfs/gnome-vfs-hal-mounts.c
--- gnome-vfs-2.8.0.orig/libgnomevfs/gnome-vfs-hal-mounts.c 2004-08-19 10:29:28.000000000 +0200
+++ gnome-vfs-2.8.0/libgnomevfs/gnome-vfs-hal-mounts.c 2004-09-25 13:47:55.673644072 +0200
@@ -1105,7 +1105,7 @@
} else if (is_audio_disc) {
vol->priv->device_path = g_strdup (hal_vol->device_file);
vol->priv->activation_uri = g_strdup_printf (
- "cddb://%s", hal_vol->device_file);
+ "cdda://%s", hal_vol->device_file);
vol->priv->unix_device = makedev (hal_vol->device_major,
hal_vol->device_minor);
vol->priv->filesystem_type = g_strdup (hal_vol->fstype);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]