Added TODO.txt
This commit is contained in:
parent
fbdb4bf64a
commit
cbc8dd8b8a
14
TODO.txt
Normal file
14
TODO.txt
Normal file
@ -0,0 +1,14 @@
|
||||
TODO:
|
||||
|
||||
key: + = to add, - = to remove, x = completed, # = comment
|
||||
|
||||
+Append extensions to file name in save dialog
|
||||
+Add option for multiple audio formats
|
||||
+Dynamic libraries
|
||||
+Create custom url entry dialog
|
||||
+Url validation
|
||||
+Percentage in progress bar
|
||||
+Replace spaces in file name with dashes/underscores
|
||||
+Make cancel button exit in url dialog
|
||||
+Create dialog asking to play finished file or not
|
||||
#possibly more later
|
20
mandy.lua
20
mandy.lua
@ -11,7 +11,7 @@ require('progress')
|
||||
--Main url entry box
|
||||
function url_entry()
|
||||
|
||||
res, url = iup.GetParam("Zymp3 - Enter URL", nil,
|
||||
res, url = iup.GetParam("Mandy - Enter URL", nil,
|
||||
"Enter Youtube URL: %s\n", "")
|
||||
|
||||
|
||||
@ -64,23 +64,23 @@ function set_dir()
|
||||
end
|
||||
|
||||
function ytDl(x)
|
||||
local tmpName = math.random(0,999999999999)
|
||||
local tmpNameTwo = math.random(0,999999999999)
|
||||
local tmpPath = x.." --output=/tmp/youtube-dl-"..tmpName.."-"..tmpNameTwo..".flv"
|
||||
local tmpPath2 = "/tmp/youtube-dl-"..tmpName.."-"..tmpNameTwo..".flv"
|
||||
local tmpName = math.random(0,999999999999)
|
||||
local tmpNameTwo = math.random(0,999999999999)
|
||||
local tmpPath = x.." --output=/tmp/youtube-dl-"..tmpName.."-"..tmpNameTwo..".flv"
|
||||
local tmpPath2 = "/tmp/youtube-dl-"..tmpName.."-"..tmpNameTwo..".flv"
|
||||
|
||||
popin.ytdl(tmpPath)
|
||||
popin.ytdl(tmpPath)
|
||||
|
||||
|
||||
return tmpPath2
|
||||
return tmpPath2
|
||||
|
||||
end
|
||||
|
||||
function ffmpeg(tmpPath, dirD)
|
||||
|
||||
mp3 = "ffmpeg -i "..tmpPath.." -acodec libmp3lame -ac 2 -ab 192k -vn -y "..dirD..".mp3"
|
||||
os.execute(mp3)
|
||||
io.popen("vlc "..dirD..".mp3")
|
||||
mp3 = "ffmpeg -i "..tmpPath.." -acodec libmp3lame -ac 2 -ab 192k -vn -y "..dirD..".mp3"
|
||||
os.execute(mp3)
|
||||
io.popen("vlc "..dirD..".mp3")
|
||||
end
|
||||
|
||||
--put everything into a table to use local functions globally
|
||||
|
Loading…
x
Reference in New Issue
Block a user