commit 24924b4403e19522fe5c4bd8bc878240c6ef5b62
parent 4ebc2434432732e5157eff3da7bc1803270e5e98
Author: rbckman <rob@tarina.org>
Date: Fri, 5 Mar 2021 20:41:16 +0000
make trim the last take
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tarina.py b/tarina.py
@@ -234,9 +234,9 @@ def main():
compileshot(foldername + filename)
trim = playdub(foldername + filename, headphoneslevel, 'shot')
if trim:
- trim_filename = foldername + 'take' + str(take + 1).zfill(3)
+ take = counttakes(filmname, filmfolder, scene, shot)+1
+ trim_filename = foldername + 'take' + str(take).zfill(3)
videotrim(foldername + filename, trim_filename, trim[0], trim[1])
- take = take + 1
imagename = foldername + filename + '.jpeg'
overlay = displayimage(camera, imagename)
camera.start_preview()