[vlc-devel] [PATCH] Include more information in both browse.xml version
hartman at videolan.org
Sun Aug 24 16:50:03 CEST 2008
Took a while, but applied
On 2 jul 2008, at 01:46, Vicente Jiménez wrote:
> 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
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
More information about the vlc-devel