tarina

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

commit 9e23473a4a702278225d79360b952712abac55f3
parent 0b85903aa602cbccdeb6a88172002096ee72917e
Author: rbckman <rob@tarina.org>
Date:   Mon, 12 Dec 2022 09:01:10 +0000

sync to ip

Diffstat:
Mtarina.py | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/tarina.py b/tarina.py @@ -216,6 +216,14 @@ def main(): pressed="record" elif nextstatus=="PLACEHOLDER": pressed="insert" + elif "SYNCIP:" in nextstatus: + ip = nextstatus.split(':')[1] + stopinterface(camera) + run_command('rsync -avr -P '+filmfolder+filmname+' pi@'+ip+':'+filmfolder+filmname) + run_command('rsync -avr -P pi@'+ip+':'+filmfolder+filmname+' '+filmfolder+filmname) + startinterface() + camera = startcamera(lens,fps) + loadfilmsettings = True elif nextstatus=="NEWSCENE": scenes, shots, takes = browse(filmname,filmfolder,scene,shot,take) scene=scenes+1