reverted back to master

This commit is contained in:
silvernode 2013-07-26 21:32:28 -05:00
parent c374891fa8
commit c19fae2966
2 changed files with 1 additions and 14 deletions

View File

@ -7,14 +7,6 @@ require("iuplua")
require("iupluacontrols")
require('progress')
local function file_check(name)
local f=io.open(name, "r")
if f~=nil then io.close(f)
return true
else
return false
end
end
--Main url entry box
@ -92,8 +84,7 @@ end
function ytDl(x)
local tmpName = math.random(0,999999999999)
local tmpNameTwo = math.random(0,999999999999)
local tmpPath = x.." --extract-audio --audio-format=mp3 --output="..tmpName.."-"..tmpNameTwo..".flv"
local tmpPath = x.." --output=/tmp/youtube-dl-"..tmpName.."-"..tmpNameTwo..".flv"
local tmpPath2 = "/tmp/youtube-dl-"..tmpName.."-"..tmpNameTwo..".flv"
popin.ytdl(tmpPath)

View File

@ -5,7 +5,6 @@
-- keep that in mind as well
require ('iuplua')
local cancelflag --set variable
local downloadProgress --set variable
@ -91,9 +90,6 @@ round up and only update if number has changed
end
until not c-- creating a loop until c is not true
pipe:close() -- closing the ipopen
iup.Close()
end