[vlc-commits] cli: print meta data in info command

Pierre Ynard git at videolan.org
Wed Oct 26 08:04:21 CEST 2016


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Wed Oct 26 08:00:30 2016 +0200| [5df96a58cce7251421b416b7d5c301dffb729d38] | committer: Pierre Ynard

cli: print meta data in info command

IIRC it used to work like that in oldrc about a decade ago.

Close #8452

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

 share/lua/intf/cli.lua | 1 +
 1 file changed, 1 insertion(+)

diff --git a/share/lua/intf/cli.lua b/share/lua/intf/cli.lua
index 3c58b87..1d8fd8d 100644
--- a/share/lua/intf/cli.lua
+++ b/share/lua/intf/cli.lua
@@ -356,6 +356,7 @@ function input_info(name,client)
     local item = vlc.input.item()
     if(item == nil) then return end
     local categories = item:info()
+    categories["Meta data"] = item:metas()
     for cat, infos in pairs(categories) do
         client:append("+----[ "..cat.." ]")
         client:append("|")



More information about the vlc-commits mailing list