削除しました
\n')
end
end
w=edcb.GetRecFileInfoBasic(id)
edcb.htmlEscape=15
v=edcb.GetRecFileInfo(id)
if v then
if #v.programInfo>0 then
v.programInfo=DecorateUri(v.programInfo)
elseif v.eid~=65535 then
--過去番組情報を探してみる
ev=edcb.EnumEventInfoArchive and edcb.EnumEventInfoArchive({{onid=v.onid,tsid=v.tsid,sid=v.sid}},{startTime=v.startTime,durationSecond=1})
if ev and #ev>0 then
v.programInfo=ConvertEpgInfoText2(ev[1])
else
--番組情報を探してみる
ev=edcb.SearchEpg(v.onid,v.tsid,v.sid,v.eid)
if ev and ev.startTime and os.time(ev.startTime)==os.time(v.startTime) then
v.programInfo=ConvertEpgInfoText2(ev)
end
end
end
ct:Append(' - \n'
..'
- 番組名
- '..FormatTimeAndDuration(v.startTime, v.durationSecond)..'
'..v.serviceName..'
'..v.title..' \n'
..' - 結果
- '..v.comment..' \n' ..'
- ドロップ
- '..v.drops..' \n' ..'
- スクランブル
- '..v.scrambles..' \n' ..'
- ファイル →Video' or '">DL')..'
- \n')
ref=w and NativeToDocumentPath(w.recFilePath)
if ref then
for i,ext in ipairs({'.mp4','.webm',''}) do
ff=edcb.FindFile and edcb.FindFile(w.recFilePath..ext,1)
if ff then
ct:Append((vtag==i and '' or ''))
if ext=='' then
for j=0,9 do
ct:Append('\n'..(j==0 and '[' or '')..(vtag==j+10 and '
' or '')) end fsec,fsize=0,0 f=edcb.io.open(w.recFilePath,'rb') if f then fsec,fsize=GetDurationSec(f) f:close() end ct:Append('] ('..('%dm%02ds|'):format(math.floor(fsec/60),fsec%60)..math.floor(fsize/1048576)..'M)
\n') else ct:Append(' ('..math.floor(ff[1].size/1048576)..'M)
\n') end end end end ct:Append(' \n'
..(#v.programInfo>0 and ' - 番組情報
- \n'..v.programInfo:gsub('\r?\n', '
\n')..' \n' or '')
..(#v.errInfo>0 and ' - エラーログ
- \n'..v.errInfo:gsub('\r?\n', '
\n')..' \n' or '')
..' - -
- \n' ..' \n' ..'