%- require("luci.model.uci") local uci = luci.model.uci.cursor() local ipaddr = uci:get("network", "lan", "ipaddr") local type = uci:get_first("tivideo", "video", "type") local host = uci:get_first("tivideo", "video", "host") local port = uci:get_first("tivideo", "video", "port") local codec = uci:get_first("tivideo", "video", "codec") local width = uci:get_first("tivideo", "video", "width") local height = uci:get_first("tivideo", "video", "height") local fps = uci:get_first("tivideo", "video", "fps") local bps = uci:get_first("tivideo", "video", "bps") -%> <%+header%>