<%+header%>

<%:vrec_stat_title Video Recorder - Status%>

<%:vrec_stat_desc Status for all the video recording tasks being executed (some duplicates might be shown)%>
<%- if message and #message > 0 then -%>
<%=message%>
<%- end -%>
<%:vrec_task_status Video Recorder Tasks Status%>
<%- local proclist = luci.sys.process.list() local procdesc = "vrec" local count = 0 for _, v in pairs(proclist) do if v.COMMAND:find(procdesc) then count = count + 1 -%> <%- end end -%> <%- if count == 0 then -%> <%- end -%>
<%:vrec_stat_pid PID%> <%:vrec_stat_comm Task%> <%:vrec_stat_button1 Stop%>
<%=v.PID%> <%=v.COMMAND%> />

<%:vrec_no_service No tasks are currently running.%>

<%+footer%>