tarina

git clone https://git.tarina.org/tarina
Log | Files | Refs | README | LICENSE

commit 8e0a3d925e07bc496918f61e711f17e758912969
parent 1310d789c6084f5fbb04368b2e2e6468d3a55b9b
Author: rbckman <rob@tarina.org>
Date:   Thu, 12 Jan 2023 12:04:35 +0000

wait for camera to warm

Diffstat:
Mtarina.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tarina.py b/tarina.py @@ -233,7 +233,7 @@ def main(): elif "SYNCIP:" in nextstatus: ip = nextstatus.split(':')[1] stopinterface(camera) - run_command('rsync -avr --exclude="*.wav" pi@'+ip+':'+filmfolder+filmname+'/'+'scene'+str(scene).zfill(3)+' '+filmfolder+filmname+'/') + run_command('rsync -avr --progress --exclude="*.wav" pi@'+ip+':'+filmfolder+filmname+'/'+'scene'+str(scene).zfill(3)+' '+filmfolder+filmname+'/') #run_command('scp -r '+filmfolder+filmname+'/'+'scene'+str(scene).zfill(3)+' pi@'+ip+':'+filmfolder+filmname+'/') startinterface() camera = startcamera(lens,fps) @@ -3453,6 +3453,7 @@ def startcamera(lens, fps): #camera.lens_shading_table = lens_shading_table camera.start_preview() camera.awb_mode = 'auto' + time.sleep(1) return camera def tarinaserver(state):