[vlc-commits] lua: sd: clarify documentation a little

Rémi Denis-Courmont git at videolan.org
Sun May 14 18:37:48 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun May 14 10:41:56 2017 +0300| [34f30a754510db0dd0bc00922fee0a06904b9e9e] | committer: Rémi Denis-Courmont

lua: sd: clarify documentation a little

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=34f30a754510db0dd0bc00922fee0a06904b9e9e
---

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

diff --git a/share/lua/README.txt b/share/lua/README.txt
index fb5fe2759c..fd55bc3317 100644
--- a/share/lua/README.txt
+++ b/share/lua/README.txt
@@ -330,8 +330,8 @@ sd.add_item( ... ): Add an item to the service discovery.
 sd.remove_item( item ): remove the item.
 
 n = vlc.sd.add_node( {title="Node"} )
-n:add_subitem( ... ): Same as sd.add_item(), but as a subitem of n.
-n:add_subnode( ... ): Same as sd.add_node(), but as a subnode of n.
+n:add_subitem( ... ): Same as sd.add_item(), but as a child item of node n.
+n:add_subnode( ... ): Same as sd.add_node(), but as a subnode of node n.
 
 d = vlc.sd.add_item( ... ) Get an item object to perform following set operations on it:
 d:set_name(): the item's name in playlist



More information about the vlc-commits mailing list