[vlc-devel] [PATCH] LUA script to read DCP

Pierre Villard pierre.villard.fr at gmail.com
Thu Mar 7 15:45:50 CET 2013


HI,

The thing is available VLC specific Lua modules available in playlist 
directory are : msg, strings, stream, variables and xml. Interesting 
functions are in net module. Is there a reason not to make available 
this module to playlist directory ? It seems (maybe I am wrong) only 
this lua directory is checked when using the command './vlc 
dcp/directory/path'.

About "Or maybe check if full_path is_dir() instead?", what do you mean 
? I didn't notice this function so far.
About "I think in here it would be better to allow known work 
access-modules (file, directory?)", yes it would be nice. Do you have an 
example in mind on which I could have a look to perform this test ?

Thanks.

On 06/03/2013 20:34, Ilkka Ollakka wrote:
> Hi,
>
> On Wed, Mar 06, 2013 at 08:14:55PM +0100, Pierre Villard wrote:
>> ---
>> +function probe()
>> +    -- TODO Remote files
>> +    if( vlc.access == "http" ) then
>> +       return false
>> +    end
> I think in here it would be better to allow known work access-modules
> (file, directory?) and otherwise return false. As now for example
> ftp/smb/rtsp don't hit that check. Or maybe check if full_path is_dir()
> instead?
>
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20130307/fe9de237/attachment.html>


More information about the vlc-devel mailing list