From 8a14d6f4d24ba495382408e761156f9669b780c9 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 30 May 2016 14:57:46 -0400 Subject: [PATCH] Don't not load the event if it was videod before --- scripts/ZoneMinder/lib/ZoneMinder/Filter.pm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/ZoneMinder/lib/ZoneMinder/Filter.pm b/scripts/ZoneMinder/lib/ZoneMinder/Filter.pm index 83f91c8b8..cd7f21741 100644 --- a/scripts/ZoneMinder/lib/ZoneMinder/Filter.pm +++ b/scripts/ZoneMinder/lib/ZoneMinder/Filter.pm @@ -265,9 +265,11 @@ sub Sql { if ( $self->{AutoArchive} ) { push @auto_terms, "E.Archived = 0"; } - if ( $self->{AutoVideo} ) { - push @auto_terms, "E.Videoed = 0"; - } + # Don't do this, it prevents re-generation and concatenation. + # If the file already exists, then the video won't be re-recreated + #if ( $self->{AutoVideo} ) { + #push @auto_terms, "E.Videoed = 0"; + #} if ( $self->{AutoUpload} ) { push @auto_terms, "E.Uploaded = 0"; }