External scripts in Filter broken

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
trumee
Posts: 24
Joined: Tue Mar 08, 2011 3:33 pm

External scripts in Filter broken

Post by trumee » Sun Oct 07, 2018 4:46 pm

Hello,

I made a filter called ArchiveVideo and specified script "/usr/share/zoneminder/www/tools/movevideo.sh" in Execute command on all matches and received the following error,

Code: Select all

# sudo -u www-data zmfilter.pl --filter=ArchiveVideo
10/07/18 21:20:29.111238 zmfilter[25234].INF [main:176] [Scanning for events using filter 'ArchiveVideo']
10/07/18 21:20:29.143014 zmfilter[25234].INF [main:285] [Checking filter ArchiveVideo execute returned 100 events ]
Can't call method "Path" on unblessed reference at /usr/bin/zmfilter.pl line 954.

trumee
Posts: 24
Joined: Tue Mar 08, 2011 3:33 pm

Re: External scripts in Filter broken

Post by trumee » Mon Oct 08, 2018 12:10 pm

Got help from @knight-of-ni and the following change made it to work,

Code: Select all

change $event in line 329 to $Event in /usr/bin/zmfilter.pl

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests