Bug 119318 - kde daemon dialog fails to open DVD
Summary: kde daemon dialog fails to open DVD
Status: RESOLVED WORKSFORME
Alias: None
Product: kaffeine
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Jürgen Kofler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-31 19:39 UTC by Pau Capdevila
Modified: 2006-01-27 01:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pau Capdevila 2005-12-31 19:39:31 UTC
Version:            (using KDE KDE 3.5.0)
Installed from:    Debian testing/unstable Packages

When I insert a DVD a dialog appears asking what do I want do do with the inserted disk.

If I try to open it with Kaffeine it fails to load giving the following error messages:

xine Error - Kaffeine Player
No plugin found to handle this resource (dvd:/)
Details:
xine: cannot find input plugin for MRL [dvd:/]
xine: input plugin cannot open MRL [dvd:/]
xine: found input plugin : DVD Navigator
xine: found demuxer plugin: AVI/RIFF demux plugin
xine: found input plugin : file input plugin

And then:

xine Message: - Kaffeine Player
Maybe you don't have enough rights for this, or source doesn't contain data (e.g: no disc drive.) (system:/media/hdd)

If then I go to Media Applet and click "Play DVD with Kaffeine" it works without problem.

Thanks,

Pau
Comment 1 Jeff Mitchell 2006-01-26 19:13:22 UTC
I can confirm this.  I believe it happens because when the kded daemon dialog spawns the dialog, the DVD is not yet mounted (for instance, ivman hasn't kicked in yet).  When Kaffeine tries to open the DVD, it looks at that status and thinks the medium is unmounted when in fact it is by then mounted.

Just some conjecture, but I do have the same results.  Using DBUS/HAL.

This may belong upstream; it could be that the kded daemon needs to cool its jets for a few seconds to let automounters deal with new media before it pops up a dialog.  Maybe I'll give it a try plugging in a USB disk and letting the popup open up a Konq window, and see if I get an error or not.  If I do I'll report back here.
Comment 2 Jeff Mitchell 2006-01-27 01:13:31 UTC
Okay, I'm actually going to close this.  On my development account, which is using fairly recent SVN for most of KDE and very recent SVN for Kaffeine, hitting Play DVD With Kaffeine works as expected.  This is using vanilla KDE sources with fairly recent HAL and DBUS.  So the answer is probably "it's fixed, but you'll have to wait for an upgade for your distribution."