[vlc-devel] [PATCH] Many patches for using VLC media player Lua's HTTP interface with JSON

Rémi Denis-Courmont remi at remlab.net
Mon Sep 7 14:19:13 CEST 2009


On Mon, 7 Sep 2009 13:50:44 +0200, Vicente Jiménez <googuy at gmail.com>
wrote:
> Second approach, was to create a new Lua's JSON interface much like
> Lua's HTTP interface. I've write it, putting all needed functions in
> one file. When complexity grows, I realized how good could be to spit
> code in several files and load them like Lua's HTTP interfce do. But I
> think this could lead to a lot of code rewrite so I adapted the needed
> functions to the third approach.
> 
> Third approach, adapt all those Lua's function to be used inside the
> Lua's HTTP interface. I need mainly JSON responses to requests: A way
> to send VLM command (vlm_cmd.js), a way to see the VLM status (vlm.js)
> and a JSON version of the directory list (browse.js).

The LUA interface support is quite incomplete at the moment. You'd need to
fix it before you implement something on top.

-- 
Rémi Denis-Courmont




More information about the vlc-devel mailing list