BUG: %f modifier not working correctly
I am somewhat of a newbie but I think there is a problem with %f.
I tried the command "on_movie_end echo %f" and I got this: %f /var/lib/motion/snapshots/03-20070922200029.avi
meaning it was passed with the text %f.
command (in motion.conf file):
on_movie_end echo %f
output:
%f /var/lib/motion/snapshots/03-20070922200029.avi
Environment
Motion version: |
3.2.3 |
ffmpeg version: |
Shared libraries: |
ffmpeg, mysql, postgresql |
Server OS: |
Ubuntu Feisty Fawn |
--
LeavOzAri - 22 Sep 2007
Follow up
Fix record
Not A bug but rather a lack of documentation.
Version 3.2.3 uses the old version of the on_movie_end parameter scheme so the file name is appended in the end, for example:
on_movie_end echo
will output:
/var/lib/motion/snapshots/03-20070922200029.avi