diff options
author | NeodarZ <neodarz@neodarz.net> | 2017-10-15 14:39:38 +0200 |
---|---|---|
committer | NeodarZ <neodarz@neodarz.net> | 2017-10-15 14:39:38 +0200 |
commit | 330599cf707e264deb1ae87818fa474b3d33253c (patch) | |
tree | 74baf4e5daadc0f24f560cfe25d8dd4737b649d4 | |
parent | b541f0f1cb916c83d0565b3a1aa3e0ffb4356d21 (diff) | |
download | video_save-330599cf707e264deb1ae87818fa474b3d33253c.tar.xz video_save-330599cf707e264deb1ae87818fa474b3d33253c.zip |
Add support of simple quote in title of song
-rwxr-xr-x | convert.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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+",'(.+)']) |