[vlc-devel] [patch] [LUA HTTP] adding file:// to the Input field

Rémi Denis-Courmont remi at remlab.net
Tue Feb 22 14:55:52 CET 2011


On Tue, 22 Feb 2011 08:10:10 -0500, Erik Saule <esaule at bmi.osu.edu> wrote:
>> A few counter examples:
>> 
>> "/home/user/My Music/Track #1.flac"
>> -> "file:///home/user/My%20Music/Track%20%231.flac"
>> 
>> "E:\My Music"
>> -> "file:///E:/My%20Music"
>> 
>> So I very much doubt that this patch is correct.
> 
> Do you mean that spaces in the name would be an issue ?  I just tried
> with a file name "/home/erik/tst/foo foo.ogv", the verbose option of
> vlc indicates it tries to read:
> 
> [0x19d4620] main input debug: Creating an input for
> 'file:///home/erik/tst/foo foo.ogv'

That's not a valid URI.

> and the file plays correctly.
> 
> Am I missing your point ?

You are. It's more complicated. As shown in the examples.

-- 
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis




More information about the vlc-devel mailing list