]> git.sesse.net Git - vlc/commitdiff
httprequests: output DVD title# and chapter# in status
authorStephen Parry <sgparry@mainscreen.com>
Thu, 28 Feb 2013 00:08:38 +0000 (00:08 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 28 Feb 2013 08:11:17 +0000 (09:11 +0100)
Amended httprequests lua code to output current DVD title# and chapter#
in status.

Close #8250

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
share/lua/intf/modules/httprequests.lua

index 5b474065cdb2fd51083df68264c1d9bf7b6adca7..9c84908a533f1383dc3f58c9fe8a6419216297e8 100644 (file)
@@ -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")