Bug 150082 - Filenames with spaces are passed wrong to the xine player
Summary: Filenames with spaces are passed wrong to the xine player
Status: RESOLVED NOT A BUG
Alias: None
Product: kaffeine
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Christophe Thommeret
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-22 09:48 UTC by Giorgos Pallas
Modified: 2007-09-22 14:12 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 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!