aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconvert.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/convert.py b/convert.py
index 9c3662e..0f1f52d 100755
--- a/convert.py
+++ b/convert.py
@@ -60,8 +60,7 @@ for file in sorted(os.listdir(sourcedir)):
print("File "+path_rm_end_slash(sourcedir)+"/"+name+".mp3 already exist. Use -y for overwrite.")
else:
print("Converting : "+file)
- count += 1
- #cmd = ["ffmpeg", "-n", "-i", sourcedir+"/"+name+".mp4", "-c:a", "libmp3lame", outdir+"/"+name+".mp3"]²
+ count += 0
cmd = 'ffmpeg '+arg+' -i "'+path_rm_end_slash(sourcedir)+'/'+file+'" -c:a libmp3lame "'+outdir+'/'+name+'.mp3"'
thread = pexpect.spawn(cmd)