<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">HI,<br>
<br>
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'.<br>
<br>
About "Or maybe check if full_path is_dir()
instead?", what do you mean ? I didn't notice this function so
far.
<br>
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 ?<br>
<br>
Thanks.<br>
<br>
On 06/03/2013 20:34, Ilkka Ollakka wrote:<br>
</div>
<blockquote cite="mid:20130306193440.GF4260@ileoo" type="cite">
<pre wrap="">
Hi,
On Wed, Mar 06, 2013 at 08:14:55PM +0100, Pierre Villard wrote:
</pre>
<blockquote type="cite">
<pre wrap="">---
+function probe()
+ -- TODO Remote files
+ if( vlc.access == "http" ) then
+ return false
+ end
</pre>
</blockquote>
<pre wrap="">
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?
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
<a class="moz-txt-link-freetext" href="http://mailman.videolan.org/listinfo/vlc-devel">http://mailman.videolan.org/listinfo/vlc-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>