From 293fbb3d642954a83170f5ec20626b6d40fbfd6c Mon Sep 17 00:00:00 2001 From: silvernode Date: Tue, 30 Jul 2013 06:20:38 -0500 Subject: [PATCH] Fixed ommited spaces issue in file name --- mandy.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mandy.lua b/mandy.lua index c67cf6d..3d48c6e 100644 --- a/mandy.lua +++ b/mandy.lua @@ -73,7 +73,7 @@ function ytDl(x) end function ffmpeg(tmpPath, dirD) - local subSpaces = string.gsub(dirD, " ", "\\") + local subSpaces = string.gsub(dirD, "", "\\") local mp3 = "ffmpeg -i "..tmpPath.." -acodec libmp3lame -ac 2 -ab 192k -vn -y "..subSpaces convert_mp3.go(mp3) io.popen("notify-send 'The file was saved to' "..subSpaces)