From 330599cf707e264deb1ae87818fa474b3d33253c Mon Sep 17 00:00:00 2001 From: NeodarZ Date: Sun, 15 Oct 2017 14:39:38 +0200 Subject: Add support of simple quote in title of song --- convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convert.py b/convert.py index 881aa76..4d1cc67 100755 --- a/convert.py +++ b/convert.py @@ -63,7 +63,7 @@ for file in sorted(os.listdir(sourcedir)): print("Converting : "+file) count += 1 #cmd = ["ffmpeg", "-n", "-i", sourcedir+"/"+name+".mp4", "-c:a", "libmp3lame", outdir+"/"+name+".mp3"]² - cmd = "ffmpeg "+arg+" -i '"+path_rm_end_slash(sourcedir)+"/"+file+"' -c:a libmp3lame '"+outdir+"/"+name+".mp3'" + cmd = 'ffmpeg '+arg+' -i "'+path_rm_end_slash(sourcedir)+'/'+file+'" -c:a libmp3lame "'+outdir+'/'+name+'.mp3"' thread = pexpect.spawn(cmd) cpl = thread.compile_pattern_list([pexpect.EOF,"frame= *\d+",'(.+)']) -- cgit v1.2.1