Compare commits

..

5 Commits

Author SHA1 Message Date
7687396bf7 Merged testing into master 2013-08-09 01:02:03 -05:00
6e5e9db796 Merged in silvernode (pull request #13)
temporary fix for error caused by '
2013-08-09 01:00:51 -05:00
be4a1551aa temporary fix for error caused by ' 2013-08-08 16:02:57 -05:00
7f7d137304 Merge branch 'master' of https://bitbucket.org/silvernode1/mandy 2013-08-08 15:24:19 -05:00
8435ea7155 Merged testing into master 2013-08-06 15:41:53 -05:00

View File

@ -177,8 +177,8 @@ function ffmpeg(tmpPath, dirD)
if gFormat == ".mp3" then gFormat = "libmp3lame" end
if gFormat == ".ogg" then gFormat = "libvorbis" end
if gFormat == ".flac" then gFormat = "flac" end
local subSpaces = string.gsub(dirD, " ", "\\ ")
local subSymbols = string.gsub(dirD, "'", "")
local subSpaces = string.gsub(subSymbols, " ", "\\ ")
local codec = "ffmpeg -i "..tmpPath.." -acodec "..gFormat.." -ac 2 -ab "..gBitrate.." -vn -y "..subSpaces
local flag = convert_mp3.go(codec, tmpPath)