[vlc-devel] [PATCH 1/2] lua: README: Add renderer discovery documentation

Hugo Beauzée-Luyssen hugo at beauzee.fr
Wed Aug 19 10:49:44 CEST 2020


---
 share/lua/README.txt | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/share/lua/README.txt b/share/lua/README.txt
index a944634a3f..03fb944c9d 100644
--- a/share/lua/README.txt
+++ b/share/lua/README.txt
@@ -366,6 +366,18 @@ playlist.move( id_item, id_where ): take id_item and if id_where has children, i
 
 FIXME: add methods to get an item's meta, options, es ...
 
+Renderer discovery
+------------------
+
+Renderer discovery scripts can use the following RD functions:
+
+rd.create( name ): Create a renderer discovery object using the module
+  provided as <name>
+
+The renderer discovery object has the following members:
+  :list() List all known renderers
+  :select(<id>) Select a renderer, or disable the current one by providing -1
+
 Services discovery
 ------------------
 
-- 
2.20.1



More information about the vlc-devel mailing list