Commit graph

210 commits

Author SHA1 Message Date
Ruben van de Ven
afdc1f860d Changes for the temp hugveys 27-29 2019-07-10 10:59:07 +02:00
Ruben van de Ven
8227cceffb Store variables in a shared database. Condition to retreive the last n variables of a specific name. Fix #61 2019-07-04 22:05:51 +02:00
Ruben van de Ven
2eeee9095f Fix #62 - light intensity and duration now on /hugvey_fade 2019-07-04 16:33:10 +02:00
Ruben van de Ven
36353286c7 Fix #60 - collective moment implementation 2019-07-03 17:54:14 +02:00
Ruben van de Ven
4ae8c20b92 Diversion in timeline 2019-06-18 10:46:48 +02:00
Ruben van de Ven
dbcff93237 Fix bug that caused diversions with the same message to launch people back in their timeline 2019-06-16 19:42:59 +02:00
Ruben van de Ven
ee1a2e39f2 messagePlayed condition 2019-06-16 17:44:13 +02:00
Hugvey Central Command
c3cae1ea25 Recorder can log without recording voice 2019-06-16 16:16:15 +02:00
Ruben van de Ven
16fbee7555 Fix condition saving the variable too soon 2019-06-15 20:10:53 +02:00
Ruben van de Ven
b25d7dd6d5 Running only one condition until it matches. And go for that one 2019-06-15 19:21:22 +02:00
Ruben van de Ven
5ca3cffdd9 Save light status (not properly restored yet) and clearer status in timeline when running in a loop 2019-06-14 20:47:59 +02:00
Ruben van de Ven
5af386212e remove accidental print 2019-06-14 15:57:33 +02:00
Ruben van de Ven
8a3b8e070b Fix red light status for looping story 2019-06-14 15:54:32 +02:00
Ruben van de Ven
417b3d9361 Condition variableEqual: check if 2 variables are the same 2019-06-13 22:40:32 +02:00
Ruben van de Ven
eb7449c4e8 Fix bug with finish calculation for diversion 2019-06-11 15:10:46 +02:00
Ruben van de Ven
87c7db2489 Reply_contains diversion now can move to next chapter on finish 2019-06-09 11:34:41 +02:00
Ruben van de Ven
0bd9e80429 Merge branch 'master' of gitlab.com:hugvey/hugvey 2019-06-08 17:23:09 +02:00
Ruben van de Ven
8ca727b015 Story now loops if configured to do so. Also light controls to Panopticon 2019-06-08 17:20:47 +02:00
Ruben van de Ven
39dbf0502a Fix a bug that the story strand 'end-finder' loops infinite, load saved state now uses the light/position id rather than device id, passing a message can trigger the light, and status changes provide cleaner logs 2019-06-08 16:10:46 +02:00
Hugvey Central Command
5edd78067e Merge branch 'master' of gitlab.com:hugvey/hugvey 2019-05-18 13:15:09 +02:00
Ruben van de Ven
126c10b5ce Stop google stream after finish (or rather, prevent google stream from restarting after finish) - Fix #29 2019-05-17 20:47:33 +02:00
Ruben van de Ven
d61f1db70e Convenience changes to panopticon and timeline 2019-05-17 19:06:00 +02:00
Hugvey Central Command
f16bac9c3e Merge branch 'master' of gitlab.com:hugvey/hugvey 2019-05-17 16:41:16 +02:00
Hugvey Central Command
28d8d26ce7 Allow logging without voice 2019-05-17 16:41:03 +02:00
Ruben van de Ven
d904facbe7 Merge branch 'master' of gitlab.com:hugvey/hugvey 2019-05-17 16:40:23 +02:00
Ruben van de Ven
4c7f15655e Track people again trough their story 2019-05-17 16:39:53 +02:00
Hugvey Central Command
be10bfe44c Google's expected crashes are now a warning - code should be pollished 2019-05-16 16:40:46 +02:00
Hugvey Central Command
f3188bb862 getStatus now every 3s from panopticon instead of requests - allows for more connected clients 2019-05-16 15:23:36 +02:00
Hugvey Central Command
4b67e0a6f2 Fix #57 - Errors when a socket is not properly closed 2019-05-16 14:33:00 +02:00
Ruben van de Ven
0d3a57794f Timeline update 2019-05-15 16:03:51 +02:00
Ruben van de Ven
f33a634902 Log level change 2019-05-14 18:39:22 +02:00
Ruben van de Ven
9245b319d2 Make ip for ip-check configurable 2019-05-14 18:33:37 +02:00
Ruben van de Ven
78625259c9 Ignore the timing of all is_final messages completely
It turns out google's is_final comes in at super arbitrary intervals. Sometimes 2 sec after finishing speaking.
We take the final text but ignore its timing completely.
2019-05-14 18:18:42 +02:00
Hugvey Central Command
4efd8c2e09 Small & large fixes to various server bits 2019-05-14 17:56:43 +02:00
Hugvey Central Command
7b9a5ea335 Add client ZMQ highwater mark and socket connect to local address (BREAKS RUNNING FOR BEGUM) 2019-05-13 19:51:12 +02:00
Hugvey Central Command
019479d916 Add highwater mark for client zmq to lower level 2019-05-13 19:48:13 +02:00
Ruben van de Ven
42b4185a69 Merge branch 'master' of gitlab.com:hugvey/hugvey 2019-05-13 14:46:46 +02:00
Ruben van de Ven
21097bb8bd Nothing text ##54 2019-05-13 14:45:52 +02:00
Hugvey Central Command
9a91f9f175 Header for websocket connection on non-localhost 2019-05-13 12:08:31 +02:00
Hugvey Central Command
b8b912a10a Change for working version 2019-05-12 19:51:54 +02:00
Ruben van de Ven
fefda5a2a5 Speed up for calculateFinishesForMsg 2019-05-12 15:06:00 +02:00
Ruben van de Ven
cd7a948787 Set volume per language 2019-05-12 14:54:37 +02:00
Ruben van de Ven
81aeb6be27 Hugvey now resumes without replaying the last message 2019-05-12 12:17:03 +02:00
Ruben van de Ven
cb81c0616e Fix #45 - Store state of hugvey and allow to resume from it 2019-05-11 23:40:52 +02:00
Ruben van de Ven
6938e0fd90 Save state of hugveys to tmp to handle crashes 2019-05-11 23:34:06 +02:00
Ruben van de Ven
99f819ad02 Log exception 2019-05-11 18:15:13 +02:00
Ruben van de Ven
0aafc3209f Merge branch 'master' of gitlab.com:hugvey/hugvey 2019-05-11 18:14:20 +02:00
Ruben van de Ven
23471e4ec0 Try catch audio error 2019-05-11 18:12:25 +02:00
Your Name
a73ddf59d1 replace wave duration with SOX 2019-05-11 17:31:00 +02:00
Hugvey Central Command
43e3e52f2a Deepcopy story data and config changes 2019-05-11 15:23:55 +02:00
Ruben van de Ven
484542de8d If no hugvey is available, override the red light Fix #42 2019-05-10 19:35:57 +02:00
Ruben van de Ven
735a63683d Allow to change the id of the light per hugvey Fix #41 2019-05-10 16:59:14 +02:00
Ruben van de Ven
664619bab0 ReplyContains diversoins now have their own timing (defaults to 1.8s) Fix #44 2019-05-10 15:14:13 +02:00
Ruben van de Ven
9d8752ef7c Bit more debugging on crashing story 2019-05-10 11:38:57 +02:00
Ruben van de Ven
c64e2328e0 Add notes for #44 2019-05-07 14:35:52 +02:00
Ruben van de Ven
02dcf17858 Prevent stacked timeout diversion and fix request for repeat 2019-05-07 14:30:57 +02:00
Ruben van de Ven
fcad52da50 Disable interruptions 2019-05-07 14:01:37 +02:00
Ruben van de Ven
f4eb5afb46 Fix deletion of files in panopticon 2019-05-06 08:13:13 +02:00
Ruben van de Ven
0861215794 Interruption diversions for specific timeouts etc. 2019-05-01 18:27:10 +02:00
Ruben van de Ven
ef7eee8072 Crash hugvey client on exception so it can be restarted by supervisor 2019-05-01 13:08:41 +02:00
Ruben van de Ven
062f056e96 Fix #36 - Timing for returning after diversion 2019-05-01 12:37:35 +02:00
Ruben van de Ven
2859aef12e Fix #40 - log of voice has variables replaced 2019-04-28 17:31:02 +02:00
Ruben van de Ven
ebf0d1ebad Prevent diversions after chapter has been played 2019-04-28 11:34:30 +02:00
Ruben van de Ven
df0f7b2792 Clearer gone msg 2019-04-27 16:49:46 +02:00
Ruben van de Ven
bb5f518041 Timeline stuff 2019-04-27 16:39:20 +02:00
Ruben van de Ven
9f05bb644e Preliminary recorder interface. Order is often wrong though 2019-04-27 15:33:51 +02:00
Ruben van de Ven
7007253072 Litle try statement change 2019-04-27 12:15:10 +02:00
Ruben van de Ven
d530980b0e Begin panopticon web interface and fix setLanguage() with new controls 2019-04-27 12:13:34 +02:00
Ruben van de Ven
c4e01ed9bc Hugveys now always instantiated 2019-04-27 11:51:11 +02:00
Ruben van de Ven
92a6046869 Visual/log changes 2019-04-26 19:01:33 +02:00
Ruben van de Ven
b087871471 Change vol and fix critical output 2019-04-26 18:49:30 +02:00
Ruben van de Ven
1ccd3b194e Attempt to fix card incompatiblities by using PA 2019-04-26 18:30:16 +02:00
Ruben van de Ven
32be5ed1f8 More logging for playback 2019-04-26 16:46:20 +02:00
Ruben van de Ven
23cf100df7 Next chapter for diversion only on Timeout diversion 2019-04-26 13:34:17 +02:00
Ruben van de Ven
bf12323f41 Diversion condition 2019-04-26 11:51:07 +02:00
Ruben van de Ven
2f598ad7f7 Diversions now return to next chapter instead of next message 2019-04-26 11:14:49 +02:00
Ruben van de Ven
a286bbf1fa Exract timeline to sepearte page 2019-04-25 19:08:27 +02:00
Ruben van de Ven
997eeff663 Fix notForColor when no color is set 2019-04-25 18:13:44 +02:00
Ruben van de Ven
5db69c48b4 More complete statusses and potential better handling of crashing hugveys, also, hugveys don't come on automatically 2019-04-25 17:39:44 +02:00
Ruben van de Ven
7aad114b13 Track counts for all hugveys (not only selected) and show duration of playing 2019-04-25 13:24:08 +02:00
Ruben van de Ven
cd66a7c6af First messages to light, and changes to Timeout (only when no other timeout) and ReplYContains (allow skip for color) diversions 2019-04-25 11:12:27 +02:00
Ruben van de Ven
6ea2a68bcd Timeout Diversion improvements 2019-04-24 16:50:34 +02:00
Ruben van de Ven
eeed9e3161 Timeout diversion 2019-04-24 16:09:41 +02:00
Ruben van de Ven
331f5cf1d2 Reply contains diversion + fix for returning to story after diversion was broken 2019-04-24 13:38:41 +02:00
Ruben van de Ven
67d45fadbd Message on hanging interruption 2019-04-24 11:43:17 +02:00
Ruben van de Ven
2708f22b80 Add a duration check to prevent hanging playback 2019-04-24 11:31:20 +02:00
Ruben van de Ven
ffcd0d70c2 OSC required for server and better variable matching for unfinished sentences Fix #31 2019-04-17 11:58:40 +02:00
Ruben van de Ven
f24f11de23 Add tool foor adding files to git 2019-04-16 17:13:03 +02:00
Ruben van de Ven
245946de34 Fix for hv1 and 2 playing files for hv10/11 etc 2019-04-16 15:23:40 +02:00
Ruben van de Ven
b2a378acfe Some changes in an attempt to fix the Panopticon crashes 2019-04-16 14:45:32 +02:00
Ruben van de Ven
7bb3410ec5 More specific errors on player crash 2019-04-16 12:51:06 +02:00
Ruben van de Ven
16a186dc89 Add 'finish' button, and attempt on #29 2019-04-16 12:38:12 +02:00
Ruben van de Ven
080cd1bcee Retry voice when request failed 2019-04-16 11:17:04 +02:00
Ruben van de Ven
72547ae673 Remove mic preroll to avoid speech polution from Hugvey itself 2019-04-16 10:21:48 +02:00
Ruben van de Ven
267b2d980f More details in voice crash 2019-04-15 21:35:38 +02:00
Ruben van de Ven
853e7954ff Fix crash on removed audio file 2019-04-15 20:57:32 +02:00
Ruben van de Ven
596abab9d2 Clean some of the prints 2019-04-12 12:47:26 +02:00
Ruben van de Ven
554f6a2cc3 Mute speech events before playing back audio 2019-04-12 12:38:00 +02:00
Ruben van de Ven
a4acc04a91 Fix prerol error always 1s 2019-04-12 11:56:47 +02:00
Ruben van de Ven
c1c871a27f Wayy slower mic prerol 2019-04-12 11:45:04 +02:00