Version: (using KDE KDE 3.4.0) Installed from: Debian testing/unstable Packages OS: Linux I want to set up KDE to launch Kaffein when I click on media/dvdvideo icons in media:/, however this seems to be impossible. 1. Insert DVD video disc in my DVD drive 2. Open up media:/ 3. Right-click DVD icon, click properties 4. Click 'Edit file type' icon in properties dialog 5. Click 'Add' in 'Application Preference Order' 6. Enter 'kaffeine -d %f DVD' for the application in the text input; click OK. 7. Click 'Embedding' tab 8. Select 'Show file in separate viewer' radiobutton. 9. Click OK. 10. Click OK in the first Properties dialog. When I left-click the DVD icon, I expect Kaffeine to launch and play the DVD; however, the disc is mounted and Konqueror browses to the mountpoint.
This is a wish... And I guess it won't make it before KDE4.
I'd like it too, but I see a problem: Kaffeine uses xine and xine can't use KIO. In fact Kaffeine can use KIO but in not usable mode: If you open media:/audiocd and drag it to Kaffeine playlist, the file will be copy to /temp, and it takes it a long time, so it's not usable.
The case you mention is irrelevant to this bug report, as it only concerns the inability to assign a custom left-click action, and doesn't deal with DnD at all. That issue should be solved by Kaffeine, which should be able to examine the type of the dropped object (e.g. media/videodvd) and do the right thing.
OK, you are right. Anyway I vote for a possibility of change media:/audiocd asociated application in mimetypes. In my opinion it would be better to open directly Kscd (or any chosen program) instead of Konqueror.
ibc, I think you're right about it being good to directly open kscd or kaffeine with an audio CD or video CD.... have you filed a request in bugs.kde.org?
ieure - you can get this working right now in this slightly hackish way.... Instead of: 6. Enter 'kaffeine -d %f DVD' for the application in the text input; click OK. Do this: 6. Enter 'kaffeine --play dvd:/ --title %U' for the application in the text input; click OK. This works if you only have one DVD player. The %U persuades KDE to not mount the drive; the --title seems to be ignored and prevents media:/hda (or whatever your device is) from being added to the Kaffeine playlist and an error then being shown when you've finished playing the whole DVD.
Even better is: kaffeine --play --device /dev%f --title %U DVD This should cope with multiple DVD drives (I assume that in the one I posted in #6 Kaffeine defaults to /dev/dvd?), and it actually specifies DVD (though I think that's the default anyway, but better safe than sorry).
El Jueves, 14 de Julio de 2005 16:00, David Anderson escribió: || ------- Additional Comments From david readingroom com 2005-07-14 16:00 || ibc, I think you're right about it being good to directly open || kscd or kaffeine with an audio CD or video CD.... have you filed a request || in bugs.kde.org? No, I have just voted for this Bug, because it already exists.
Apparently this is fixed in Kaffeine CVS and will be in the soon-to-be-released 0.7 (i.e. Kaffeine can handle media:/ urls, so it can be invoked with a simple kaffeine -d %u DVD), so I think that this bug can be closed now. See the code at: http://cvs.sourceforge.net/viewcvs.py/kaffeine/kaffeine/kaffeine/playlist.cpp?r1=1.84&r2=1.85 Credit to Christophe Thommeret <hftom -(at)- free.fr> for fixing it.
David, Seems to be fixed in 3.4.1. Changing the media/dvdvideo application to the command in #7 works fine for me now.