Page 1 of 1

[AMC] Skip corrupted media

Posted: 16 Jan 2014, 07:06
by cheesemaker
Hi,

Would it be possible to skip corrupted media with the amc script?

If media is corrupted, it processes it anyway, but it leaves out the video codec and the audio codec.

Thanks,

Re: [AMC] Skip corrupted media

Posted: 16 Jan 2014, 07:46
by rednoah
How do I know if media is corrupted? I think the newer amc scripts have a minDurationMS condition which should work. Corrupt files shouldn't have a mediainfo duration value, and thus be ignored.

Re: [AMC] Skip corrupted media

Posted: 16 Jan 2014, 16:28
by cheesemaker
That's interesting. Do I have to set this minDuration manually via --def or is it a standard value? Because recently filebot moved some files which were corrupted (mkvinfo showed misterious segments, filebot left out 1080p and AC3)

Re: [AMC] Skip corrupted media

Posted: 16 Jan 2014, 16:31
by rednoah
It's 10 min by default. But for all the changes I've made in the last couple of months you need the latest revision:
https://sourceforge.net/projects/filebo ... ebot/HEAD/

Try this, if {duration} is empty then these files should be excluded.

Re: [AMC] Skip corrupted media

Posted: 16 Jan 2014, 16:38
by cheesemaker
Thanks, I'll try.