Bug 150082

Summary: Filenames with spaces are passed wrong to the xine player
Product: [Applications] kaffeine Reporter: Giorgos Pallas <gpall>
Component: generalAssignee: Christophe Thommeret <hftom>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Giorgos Pallas 2007-09-22 09:48:47 UTC
Version:           0.8.5 (using KDE KDE 3.5.7)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Easy to explain and reproduce bug:

You have a DVD movie .iso file lying around, let's say Black_Dhalia.iso . You right click and select Open With... Kaffeine. The DVD starts just fine. BUT, if the iso file name contains spaces (rename Black_Dhalia.iso to Black Dhalia.iso) you get the following error:

xine message - Kaffeine player

The source can't be read.
Maybe you don't have enough rights for this, or source doesn't contain data (e.g: no disc in drive). (/media/teras/tainies/Black%20Dhalia.iso)

Something in the process replaces spaces with %20 (html style) and of course the thing fails...
Comment 1 Maciej Pilichowski 2007-09-22 11:09:08 UTC
Just a thought -- similar bug occurred in KPdf. Wouldn't it better to handle filenames in kdelibs, not at app level (since it seems it is a problem).
Comment 2 Christoph Pfister 2007-09-22 11:26:47 UTC
no, this is a bug in xine-lib (they want urls so we provide them urls) which has been fixed [1]

[1] http://hg.debian.org/hg/xine-lib/xine-lib?cmd=changeset;node=2e301bc2cce8;style=gitweb
Comment 3 Giorgos Pallas 2007-09-22 14:12:17 UTC
So Christoph, you mean that it will appear fixed in some time in the debian testing debs... OK!