commit b7747449af24977c101ea26e1f90472e915e349f
parent 7615c6c4dc30696e63752963268bdcfaeabd6d9f
Author: rob <rob@tarina.org>
Date: Mon, 11 Sep 2023 18:14:28 +0100
sync all footage to all cameras
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/tarina.py b/tarina.py
@@ -769,6 +769,7 @@ def main():
startinterface()
camera = startcamera(lens,fps)
loadfilmsettings = True
+ rendermenu = True
elif 'SYNCDONE:' in pressed:
stopinterface(camera)
ip = pressed.split(':')[1]
@@ -777,9 +778,16 @@ def main():
run_command('rsync -avr --update --progress pi@'+ip+':'+filmfolder+filmname+'/scene'+str(scene).zfill(3)+'/ '+filmfolder+filmname+'/'+'scene'+str(scene).zfill(3)+'/')
with open(filmfolder+filmname+'/scene'+str(scene).zfill(3)+'/.origin_videos', 'r') as f:
scene_origin_files = [line.rstrip() for line in f]
+ a=0
+ for i in cameras:
+ if a != 0:
+ run_command('rsync -avr --update --progress '+filmfolder+filmname+'/'+'scene'+str(scene).zfill(3)+'/ pi@'+i+':'+filmfolder+filmname+'/scene'+str(scene).zfill(3)+'/')
+ time.sleep(3)
+ a=a+1
startinterface()
camera = startcamera(lens,fps)
loadfilmsettings = True
+ rendermenu = True
vumetermessage('SYNC DONE!')
elif 'RETAKE:' in pressed:
shot=pressed.split(':')[1]