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)