From: <ham...@mc...> - 2006-08-02 00:07:05
|
John Sutherland wrote: > So i know there is the on_movie_end feature/setting. I want to know, > how does it know the name of the file to send? Is there an example of > how to use the command. Just something simple. In the script file, how > do I specify the file name? It changes as the date and time change. I > am using the default Motion file naming, I did not change how it is > stored from the original motion.conf. > > Thanks, > > John Hi John, Here is a quick example: on_movie_end /home/andrew/scripts/uploadvid2.py %f The %f tells motion to pass the filename of the movie to the uploadvid2.py script. Hope this helps. Sincerely, Andrew Hamilton |