Fixed various cancle flags to act properly.

This commit is contained in:
Logen Kain
2013-07-29 22:49:23 -05:00
parent 5f470e54ee
commit c145e73a30
4 changed files with 30 additions and 32 deletions

View File

@ -3,19 +3,15 @@ require("mandy")
function main()
local url=global.url()
if not url then
return false
end
if not url then return false end
-- codec=sel_Codec()
local saveDir=global.dir()
if saveDir == "23" then
return 0
end
local tmpPath = global.path(url)
local convert = global.ffmpeg(tmpPath, saveDir)
local saveDir=global.dir()
if not saveDir then return false end
local tmpPath = global.path(url)
if not tmpPath then return false end
local convert = global.ffmpeg(tmpPath, saveDir)
end
--initialize function "main"