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