Mandy/main.lua
2013-07-26 22:52:14 -05:00

24 lines
402 B
Lua
Executable File

#!/usr/bin/lua5.2
require("mandy")
function main()
local url=global.url()
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)
end
--initialize function "main"
main()