Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
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.
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.