From fdc99f2a5286c5407bb30b7beea622c35c5582ae Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Mon, 9 Aug 2010 19:15:17 +0300 Subject: [PATCH] udev: use dvd:// rather than file:// for DVD device nodes --- modules/services_discovery/udev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services_discovery/udev.c b/modules/services_discovery/udev.c index e39f43a7c5..650059b943 100644 --- a/modules/services_discovery/udev.c +++ b/modules/services_discovery/udev.c @@ -545,7 +545,7 @@ static char *disc_get_mrl (struct udev_device *dev) scheme = "cdda"; /* Audio CD rather than file system */ val = udev_device_get_property_value (dev, "ID_CDROM_MEDIA_DVD"); if (val && atoi (val)) - scheme = "file"; + scheme = "dvd"; val = udev_device_get_property_value (dev, "ID_CDROM_MEDIA_BD"); if (val && atoi (val)) -- 2.39.2