diff --git a/mandy.lua b/mandy.lua index 6f4f82a..a720cf5 100644 --- a/mandy.lua +++ b/mandy.lua @@ -67,7 +67,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 local flag = convert_mp3.go(mp3) if not flag then return false end