Fixed ommited spaces issue in file name
This commit is contained in:
parent
3be6ebcf68
commit
293fbb3d64
@ -73,7 +73,7 @@ function ytDl(x)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function ffmpeg(tmpPath, dirD)
|
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 mp3 = "ffmpeg -i "..tmpPath.." -acodec libmp3lame -ac 2 -ab 192k -vn -y "..subSpaces
|
||||||
convert_mp3.go(mp3)
|
convert_mp3.go(mp3)
|
||||||
io.popen("notify-send 'The file was saved to' "..subSpaces)
|
io.popen("notify-send 'The file was saved to' "..subSpaces)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user