commit 036bf5278161501fd2760fa7577c1982ed1cef44
parent de9ca668f22a725972ab0c60a6e67031403d5ad8
Author: rbckman <rbckman@localhost.localdomain>
Date: Sun, 21 Apr 2019 12:27:14 +0300
no timelapse cleanup
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/tarina.py b/tarina.py
@@ -553,7 +553,7 @@ def timelapse(beeps,camera,foldername,filename):
if sound == False:
audiosilence(foldername,filename)
#cleanup
- os.system('rm -r ' + foldername + 'timelapse')
+ #os.system('rm -r ' + foldername + 'timelapse')
vumetermessage('timelapse done! ;)')
return renderfilename
time.sleep(0.0555)
@@ -781,6 +781,11 @@ def playthis(filename, camera, dub):
try:
player.pause()
player.set_position(0)
+ if dub == True:
+ while i < 3:
+ writemessage('Dubbing in ' + str(3 - i) + ' s')
+ time.sleep(1)
+ i += 1
player.play()
os.system('aplay -D plughw:0 ' + filename + '.wav &')
if dub == True: