\n'
list={}
n=tonumber(edcb.GetPrivateProfile('SET','RecFolderNum',0,'Common.ini'))
if n<=0 then
--録画保存フォルダが未設定のときは設定関係保存フォルダになる
list[1]=edcb.GetPrivateProfile('SET','DataSavePath','','Common.ini')
if list[1]=='' then
list[1]=edcb.GetPrivateProfile('SET','ModulePath','','Common.ini')..'\\Setting'
end
end
for i=0,n-1 do
list[#list+1]=edcb.GetPrivateProfile('SET','RecFolderPath'..i,'','Common.ini')
end
checked={}
for i,v in ipairs(list) do
v=v:match('^%a:\\')
if v and not checked[v:upper()] then
checked[v:upper()]=true
free=nil
f=edcb.io.popen('fsutil volume diskfree '..v)
if f then
free,total,avail=f:read('*a'):gsub("[%s',.]",''):match(':(%d+).*:(%d+).*:(%d+)')
f:close()
end
ct.main=ct.main..'
storage\n'
..'
'..v..'
'
..(free and ('%.3f GiB / %.3f GiB'):format(free/1024/1024/1024,total/1024/1024/1024) or '不明')..'
\n'
..'
\n'
end
end
tools=edcb.GetPrivateProfile('SET','ModulePath','','Common.ini')..'\\Tools\\'
ffmpeg=edcb.GetPrivateProfile('SET','ffmpeg',tools..'ffmpeg.exe',ini)
ffprobe=edcb.GetPrivateProfile('SET','ffprobe',tools..'ffprobe.exe',ini)
readex=edcb.GetPrivateProfile('SET','readex',tools..'readex.exe',ini)
asyncbuf=edcb.GetPrivateProfile('SET','asyncbuf',tools..'asyncbuf.exe',ini)
XBUF=edcb.GetPrivateProfile('SET','XBUF',0,ini)
FIND_BY_OPEN=tonumber(edcb.GetPrivateProfile('SET','FIND_BY_OPEN',false,ini))~=0
ct.main=ct.main..'