commit fccee736cd7a854f86e01728283f5bd6177658fc parent 9e23473a4a702278225d79360b952712abac55f3 Author: rbckman <rob@tarina.org> Date: Mon, 12 Dec 2022 09:08:14 +0000 sync scene Diffstat:
M | tarina.py | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tarina.py b/tarina.py @@ -219,8 +219,8 @@ def main(): 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) + run_command('rsync -avr -P pi@'+ip+':'+filmfolder+filmname+' '+filmfolder+filmname+'/'+'scene'+str(scene).zfill(3)) + run_command('rsync -avr -P '+filmfolder+filmname+' pi@'+ip+':'+filmfolder+filmname+'/'+'scene'+str(scene).zfill(3)) startinterface() camera = startcamera(lens,fps) loadfilmsettings = True