commit 874a4bd009728eccc2620e67e8729d0c0fb58a48
parent 5817b69d2cb7350cd4aed671a0a79d3f45bca939
Author: rob <rob@tarina.org>
Date: Mon, 28 Aug 2023 16:02:05 +0100
okok
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tarina.py b/tarina.py
@@ -4092,14 +4092,15 @@ def getbutton(lastbutton, buttonpressed, buttontime, holdbutton):
pressed="new_film"
elif "SYNCIP:" in nextstatus:
ip = nextstatus.split(':')[1]
- stopinterface(camera)
+ writevumessage('SYNCING!')
+ #stopinterface(camera)
organize(filmfolder, filmname)
run_command('rsync -avr --update --progress '+filmfolder+filmname+'/'+'scene'+str(scene).zfill(3)+' pi@'+ip+':'+filmfolder+filmname+'/'+'scene'+str(scene).zfill(3)+'/')
run_command('rsync -avr --update --progress --files-from='+filmfolder+filmname+'/'+'scene'+str(scene).zfill(3)+'/.origin_videos pi@'+ip+':'+filmfolder+filmname+'/'+'scene'+str(scene).zfill(3)+'/')
sendtoserver(tarinactrl_ip,port,'SYNCDONE')
#run_command('scp -r '+filmfolder+filmname+'/'+'scene'+str(scene).zfill(3)+' pi@'+ip+':'+filmfolder+filmname+'/')
startinterface()
- camera = startcamera(lens,fps)
+ #camera = startcamera(lens,fps)
loadfilmsettings = True
elif "SYNCDONE" in nextstatus:
loadfilmsettings = True