added a comment
This commit is contained in:
parent
c409825057
commit
09706f706d
@ -181,8 +181,9 @@ function ffmpeg(tmpPath, dirD)
|
|||||||
local subSpaces = string.gsub(dirD, " ", "\\ ")
|
local subSpaces = string.gsub(dirD, " ", "\\ ")
|
||||||
local codec = "ffmpeg -i "..tmpPath.." -acodec "..gFormat.." -ac 2 -ab "..gBitrate.." -vn -y "..subSpaces
|
local codec = "ffmpeg -i "..tmpPath.." -acodec "..gFormat.." -ac 2 -ab "..gBitrate.." -vn -y "..subSpaces
|
||||||
|
|
||||||
print(format)
|
print(format) --debug purposes
|
||||||
local flag = convert_mp3.go(codec, tmpPath)
|
local flag = convert_mp3.go(codec, tmpPath)
|
||||||
|
use_xterm(codec)
|
||||||
if not flag then return false end
|
if not flag then return false end
|
||||||
|
|
||||||
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