commit 4df2adf3a65fdecff71b0135187946e4cef8d23e
parent 653a5746baec398a34943933bc6573c0ec24692d
Author: rbckman <robinbackman@gmail.com>
Date: Wed, 29 Aug 2018 18:08:29 +0300
woops
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tarina.py b/tarina.py
@@ -667,6 +667,8 @@ def remove(filmfolder, filmname, scene, shot, take, sceneshotortake):
foldername = filmfolder + filmname + '/' + 'scene' + str(scene).zfill(3)
os.system('rm -r ' + foldername)
scene = countscenes(filmname, filmfolder)
+ shot = 1
+ take = 1
elif sceneshotortake == 'film':
foldername = filmfolder + filmname
os.system('rm -r ' + foldername)
@@ -924,7 +926,7 @@ def audiodelay(foldername, filename):
#make delay file
os.system('sox -n -r 44100 -c 1 /dev/shm/silence.wav trim 0.0 ' + str(audiosyncs) + '.' + str(audiosyncms).zfill(3))
#add silence to end
- os.system('sox /dev/shm/silence.wav ' + foldername + filename + '.wav ' + foldername + filename + '_temp.wav')
+ os.system('sox /dev/shm/silence.wav ' + foldername + filename + '_temp.wav ' + foldername + filename + '.wav')
os.remove(foldername + filename + '_temp.wav')
os.remove('/dev/shm/silence.wav')
delayerr = 'V' + str(audiosyncs) + 's ' + str(audiosyncms) + 'ms'