replaced vlc with notify-send

This commit is contained in:
silvernode 2013-07-26 23:14:23 -05:00
parent c19fae2966
commit 13e2be85c6

View File

@ -77,7 +77,7 @@ function set_dir()
end end
end end
@ -98,10 +98,9 @@ function ffmpeg(tmpPath, dirD)
local mp3 = "ffmpeg -i "..tmpPath.." -acodec libmp3lame -ac 2 -ab 192k -vn -y "..dirD local mp3 = "ffmpeg -i "..tmpPath.." -acodec libmp3lame -ac 2 -ab 192k -vn -y "..dirD
os.execute(mp3) os.execute(mp3)
-- convert_mp3.go(mp3) -- convert_mp3.go(mp3)
io.popen("vlc "..dirD) io.popen("notify-send 'File saved to' "..dirD)
end end
--put everything into a table to use local functions globally --put everything into a table to use local functions globally
global = {} global = {}
global.url = function () global.url = function ()