[vlc-devel] Fwd: [PATCH] Include more information in both browse.xml version
Vicente Jiménez
googuy at gmail.com
Thu Jul 10 11:17:28 CEST 2008
As is writted in the wiki, I ask a week later to some answer about the
patches sumitted to the mailing list.
Can somebody check them?
Thanks.
---------- Forwarded message ----------
From: Vicente Jiménez <googuy at gmail.com>
Date: Wed, Jul 2, 2008 at 1:46 AM
Subject: [PATCH] Include more information in both browse.xml version
To: Mailing list for VLC media player developers <vlc-devel at videolan.org>
I've just modified my previous patch for the file browse.xml in the requests
of the legacy HTTP interface including the function to escape html special
characters.
When you tell me about the lua interface I've just tried to make it work in
Windows nightly build of 30 June. After that just tried a nightly built from
May for MacOS X. And the lua interface doesn't complaint about don't finding
the http script.
After a bit of learning Lua and reading about. I just realized that the
information returned about the directory element of both interfaces are
differents
The legacy C code HTTP interface returns:
type, size, basename (as name), name (as path), date and ext.
but the lua's HTTP interface returns:
type, size, path, name, access_time, creation_time, modification_time, uid,
gid, mode.
basically name, path and the table returned by vlc.net.stat(). For that
reason I'm not shure if the table returned is not architecture dependant.
For example the access_time is normally deactivated for performance issues.
I've adapted the code to return whatever the vlc.net.stat function returns
as keys values.
Where do I found more information about the vlc extension to the lua
language? I've noticed for example that the modules changes from vlc.fd to
vlc.net from May to June, so I supose that this could be not well documented
as this is still work in progress. I can read code if that is the only place
to find information.
I just finished a few files for the legacy HTTP interface to work with JSON
and JSONP, and I want to do the same for the lua's HTTP interface.
vice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080710/774156af/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-browse.xml-from-lua-s-HTTP-interface-include-all-key.patch
Type: application/octet-stream
Size: 1024 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080710/774156af/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Added-extension-information-to-browse.xml.patch
Type: application/octet-stream
Size: 1460 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080710/774156af/attachment-0001.obj>
More information about the vlc-devel
mailing list