From 3f92ed0ea0d20bad145a48d810e8a7c381911ffd Mon Sep 17 00:00:00 2001 From: Ruud Date: Fri, 20 Jun 2014 14:33:20 +0200 Subject: [PATCH] Don't autodownload releases with no file size. fix #3467 --- couchpotato/core/plugins/release/main.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/release/main.py b/couchpotato/core/plugins/release/main.py index e3c93b42..9e7e4ca7 100644 --- a/couchpotato/core/plugins/release/main.py +++ b/couchpotato/core/plugins/release/main.py @@ -375,7 +375,11 @@ class Release(Plugin): continue if rel['score'] <= 0: - log.info('Ignored, score to low: %s', rel['name']) + log.info('Ignored, score "%s" to low: %s', (rel['score'], rel['name'])) + continue + + if rel['size'] <= 50: + log.info('Ignored, size "%sMB" to low: %s', (rel['size'], rel['name'])) continue rel['wait_for'] = False