Better scoring and don't download releases with low score

This commit is contained in:
Ruud committed 2012-06-12 20:12:14 +02:00
1 parent 67926f92a1
commit b87c9ebc63
4 files changed
+34 -11

No files matched your search

+4 -1
View File
@@ -4,7 +4,7 @@ from couchpotato.core.helpers.variable import getTitle
from couchpotato.core.logger import CPLog
from couchpotato.core.plugins.base import Plugin
from couchpotato.core.plugins.score.scores import nameScore, nameRatioScore, \
sizeScore, providerScore, duplicateScore
sizeScore, providerScore, duplicateScore, partialIgnoredScore
log = CPLog(__name__)
@@ -38,6 +38,9 @@ class Score(Plugin):
# Duplicates in name
score += duplicateScore(nzb['name'], getTitle(movie['library']))
# Partial ignored words
score += partialIgnoredScore(nzb['name'], getTitle(movie['library']))
# Extra provider specific check
extra_score = nzb.get('extra_score')
if extra_score: