]> git.sesse.net Git - vlc/blobdiff - share/lua/README.txt
Use var_InheritString for --decklink-video-connection.
[vlc] / share / lua / README.txt
index ac6760e28c32359251b2e3d411715bc8cbf8fefe..1dd3609d95e69743226621701e9973009d4fa885 100644 (file)
@@ -173,6 +173,10 @@ misc.lock_and_wait(): Lock our object thread and wait for a wake up signal.
 misc.should_die(): Returns true if the interface should quit.
 misc.quit(): Quit VLC.
 
+misc.timer(callback): Create a timer which call the callback function
+  :schedule(relative, value, interval): schedule the timer
+  :getoverrun(): number of time the timer got overrun (normally 0)
+
 Net
 ---
 net.url_parse( url, [option delimiter] ): Parse URL. Returns a table with
@@ -425,3 +429,14 @@ volume.set( level ): Set volume to an absolute level between 0 and 1024.
 volume.up( [n] ): Increment volume by n steps of 32. n defaults to 1.
 volume.down( [n] ): Decrement volume by n steps of 32. n defaults to 1.
 
+XML
+---
+xml = vlc.xml(): Create an xml object.
+reader = xml:create_reader( stream ): create an xml reader that use the given stream.
+reader:read(): read some data
+reader:node_type(): return the type of the curret node: 'none', 'startelem', 'endelem' or 'text'.
+reader:name(): name of the element
+reader:value(): value of the element
+reader:next_attr(): next attribute of the element
+
+The simplexml module can also be used to parse XML documents easily.