[vlc-commits] httprequests: output DVD title# and chapter# in status

Stephen Parry git at videolan.org
Thu Feb 28 09:13:10 CET 2013


vlc | branch: master | Stephen Parry <sgparry at mainscreen.com> | Thu Feb 28 00:08:38 2013 +0000| [54a5f89eca5cc171f11d081a6ad5a6bbead3c0c1] | committer: Jean-Baptiste Kempf

httprequests: output DVD title# and chapter# in status

Amended httprequests lua code to output current DVD title# and chapter#
in status.

Close #8250

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 share/lua/intf/modules/httprequests.lua |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/share/lua/intf/modules/httprequests.lua b/share/lua/intf/modules/httprequests.lua
index 5b47406..9c84908 100644
--- a/share/lua/intf/modules/httprequests.lua
+++ b/share/lua/intf/modules/httprequests.lua
@@ -530,6 +530,9 @@ local aout = vlc.object.aout()
         s.stats[tag]=v
       end
 
+      	s.information.chapter=vlc.var.get(input, "chapter")
+      	s.information.title=vlc.var.get(input, "title")
+
       	s.information.chapters=vlc.var.get_list(input, "chapter")
       	s.information.titles=vlc.var.get_list(input, "title")
 



More information about the vlc-commits mailing list