Mandy/main.lua

24 lines
402 B
Lua
Raw Normal View History

#!/usr/bin/lua5.2
2013-07-23 21:23:31 -05:00
require("mandy")
function main()
local url=global.url()
if not url then
return false
end
2013-07-23 21:23:31 -05:00
-- 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
2013-07-23 22:56:10 -05:00
--initialize function "main"
2013-07-23 21:23:31 -05:00
main()