Replies: 2 comments
-
There is some kind of confusion here Related code line: https://github.com/Motion-Project/motion/blob/master/event.c#L319 When only So we should either update documentation to make this clear and rename the confusing option to something like |
Beta Was this translation helpful? Give feedback.
-
I would very much welcome the splitting into the latter two variables (sql_query_movie_end and sql_query_event_end). And the (re)naming into speaking semantically correct terms is always a dream! In the example sql in the documentation shows the ending of an event. So at least update this as soon as possible. In my case it's not that problematic, i just use "on_event_end" for this and more... :) |
Beta Was this translation helpful? Give feedback.
-
I run motion with MotionEye but it seems to be not an issue of the third party because:
I configured mysql to track the still images:
motion configuration in "Extra Motion Options":
and put the motion options to MotionEye (which all work korrekt - if you look at the debug log):
EVENT_START
SOME IMAGES
END_EVENT
As you can see, the on_event_end is executed but not the sql_query_stop. Unfortunately the debug output show only "do_sql_query: Executing mysql query" but not the name "sql_xyz" or the sql itself.
All other sqls (sql_query_start, sql_query) are executed well.
Beta Was this translation helpful? Give feedback.
All reactions