Corrected a conditional check mistake for testing corrupt videos

This commit is contained in:
echel0n 2014-04-19 17:17:08 -07:00
commit 0df6c1c4fe
2 changed files with 8 additions and 12 deletions

View file

@ -292,7 +292,7 @@ def process(nzbDir, inputName=None, status=0, clientAgent='manual', download_id=
if section:
# Check video files for corruption
for video in listMediaFiles(nzbDir):
if not nzbtomedia.FFPROBE and Transcoder().isVideoGood(video):
if nzbtomedia.FFPROBE and not Transcoder().isVideoGood(video):
status = 1
logger.info("Sending %s to %s for post-processing ..." % (inputName, str(section).upper()))