[vlc-devel] [PATCH] http: output DVD title# and chapter# in status

Stephen Parry sgparry at mainscreen.com
Thu Feb 28 01:08:38 CET 2013


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

---
 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")
 
-- 
1.7.9.5




More information about the vlc-devel mailing list