-- vim:set ft=lua: PAGE_COUNT=30 dofile(mg.script_name:gsub('[^\\/]*$','')..'util.lua') ct=CreateContentBuilder(GZIP_THRESHOLD_BYTE) ct:Append([=[ EPG予約一覧 - EDCB

EPG予約一覧

]=]) for i=pageIndex*PAGE_COUNT+1,math.min(#a,(pageIndex+1)*PAGE_COUNT) do v=a[i].searchInfo serviceName='' if #v.serviceList>0 then for j,w in ipairs(edcb.GetChDataList()) do if w.onid==v.serviceList[1].onid and w.tsid==v.serviceList[1].tsid and w.sid==v.serviceList[1].sid then serviceName=w.serviceName break end end end --無効 disAndKey=v.andKey:match('^^!{999}(.*)') --大小文字区別 andKey=(disAndKey or v.andKey):gsub('^C!{999}','(Aa) ') ct:Append(' \n') end ct:Append([=[
' ..andKey..' '..v.notKey..'' ..(#v.contentList>0 and edcb.GetGenreName(v.contentList[1].content_nibble)..(#v.contentList>1 and 'など' or '') or '')..'' ..serviceName..(#v.serviceList>1 and 'など' or '')..'' ..(RecModeTextList()[a[i].recSetting.recMode+1] or '') ..'
新規追加
]=]) ct:Finish() mg.write(ct:Pop(Response(200,'text/html','utf-8',ct.len)..(ct.gzip and 'Content-Encoding: gzip\r\n' or '')..'\r\n'))