replaced vlc with notify-send
This commit is contained in:
@@ -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 ()
|
||||
|
||||
Reference in New Issue
Block a user