Page 1 of 1

Empty output file on failure?

Posted: Sun Jan 20, 2008 8:21 pm
by evilpenguin
I've recently added firewire recording from a cable box to my HTPC and I've noticed that some of the shows recorded this way always fail in comskip. And the failure isn't my problem, I'm sure these are pretty screwed up transport streams, but my problem is that Dirmon2 keeps trying to process these files over and over again until I delete them. This is a problem because they never leave the queue and clog for other jobs that need to be processed. Is there anyway comskip can just dump empty output files in this condition?

edit: Or even better, just drop a .fail or something.

Re: Empty output file on failure?

Posted: Sun Jan 20, 2008 9:15 pm
by erik
Can't you ask comskip to generate a log file
verbose=1
and let dirmon2 check for the existence of the log file?

Re: Empty output file on failure?

Posted: Mon Jan 21, 2008 10:32 pm
by evilpenguin
That's a workable solution too :)