Bug 114480

Summary: vcd and/or dvd should *not be mounted* for playback on media detect
Product: [Frameworks and Libraries] kio Reporter: Mohd Asif Ali Rizwaan <maarizwan>
Component: mediaAssignee: Kevin Ottens <ervin>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: DVD open dialog
configuration for codeine to play dvd
annoying copying dialog, what is it copying?
finally DVD playback won't work - error dialog

Description Mohd Asif Ali Rizwaan 2005-10-16 03:08:26 UTC
Version:           unknown (using KDE 3.4.92 (beta2, >= 20051010), compiled sources)
Compiler:          gcc version 3.3.4
OS:                Linux (i686) release 2.6.11.7

I've compiled Hal+dbus support for KDE 3.5beta2. I love the media detection capability of KDE; but I am having problem with VCDs and DVDs.

VCDs and DVDs are not supposed to be mounted for playback by "xine", "mplayer", "kaffeine", "kmplayer", "kplayer" etc.,

Because, a mounted VCD or DVD cannot be played by xine or mplayer.

So, there should be an option to "Don't mount VCD" or "Disable VCD mounting" etc., so that it (the vcd/dvd) could be played with mplayer or xine.

If you don't have a vcd, you can use this sample vcd image (you'd need to burn it, though) for testing.
http://xinehq.de/index.php/faq#VCDSUPPORT

thanks.
Comment 1 Kevin Ottens 2005-10-16 16:19:29 UTC
Hmm... KDE uses lazy mounting by default, it mounts the medium (if possible) only when you try to open it like a directory (open in a new konqueror window for example).

Then I'm not really sure what your problem is...
Comment 2 Thiago Macieira 2005-10-16 16:26:37 UTC
Can it be HAL doing the mounting?
Comment 3 Kevin Ottens 2005-10-16 16:30:54 UTC
By default it doesn't (AFAIK), of course a distribution can add the necessary stuff in HAL configuration to mount automatically.
Comment 4 Stephen Leaf 2005-12-15 21:36:48 UTC
I'm not quite sure what is doing the mounting. Tho I agree it's really annoying.
I insert a DVD and choose my option I added "Play in Kaffeine"
Which *should* run "kaffeine -f DVD"
However as soon as I click Ok 2 dialogs open.
1 is a File Copy Process. and the other is a mount progress.
I'm not sure what it's trying to copy.. nor do I know why it's trying to mount.
Error:
/media/cdrecorder is a folder, but a file was expected.
Information:
mount: block device /dev/hdc is write-protected, mounting read-only

As soon as I click ok to the error dialog the information dialog disappears too.

an option to *not* mount would be very appreciated, as I only want that command ran and nothing else.

could it be that it's hotwired to load in konqueror as long as the option your choosing is not nothing?

For the copy process it seems to be trying to copy system:/media/hdc to a temp file. I'd assume so it could be opened by the program in my list?
Comment 5 Jeff Mitchell 2006-01-26 19:20:29 UTC
Note that the kded mounting/unmounting issues have some other effects too.

I believe some of these issues might be related to the kded dialog popping up before any automounters (ivman, etc) get a chance to do their stuff.  See BUG 119318 for one of these effects.
Comment 6 Mohd Asif Ali Rizwaan 2006-03-05 02:00:19 UTC
Created attachment 14964 [details]
DVD open dialog
Comment 7 Mohd Asif Ali Rizwaan 2006-03-05 02:01:09 UTC
Created attachment 14965 [details]
configuration for codeine to play dvd
Comment 8 Mohd Asif Ali Rizwaan 2006-03-05 02:01:51 UTC
Created attachment 14966 [details]
annoying copying dialog, what is it copying?
Comment 9 Mohd Asif Ali Rizwaan 2006-03-05 02:02:32 UTC
Created attachment 14967 [details]
finally DVD playback won't work - error dialog
Comment 10 Mohd Asif Ali Rizwaan 2006-03-05 02:09:31 UTC
i'm using hal-0.4.7 and dbus-0.23.4 and udev-0.50, can't upgrade it... slackware has problem with newer udev+dbus+hal...
Comment 11 Kevin Ottens 2006-06-09 22:21:26 UTC
Can't reproduce with KDE 3.5.3 and Kaffeine 0.7.1. I suspect the bug was tied to kaffeine btw.