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

Rémi Denis-Courmont remi at remlab.net
Wed Aug 19 16:54:37 CEST 2020


Hi,

Are the intent and expectation that the name is the protocol? This or whatever else, should be documented, IMO.

Also it seems weird to expect an integer rather than a typed object as parameter.

Le 19 août 2020 10:49:44 GMT+02:00, "Hugo Beauzée-Luyssen" <hugo at beauzee.fr> a écrit :
>---
> 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
>
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20200819/5e402834/attachment.html>


More information about the vlc-devel mailing list