Initial torrent support
Transmission downloader Code cleanup
This commit is contained in:
@@ -23,4 +23,12 @@ class Score(Plugin):
|
||||
|
||||
score += sizeScore(nzb['size'])
|
||||
|
||||
# Torrents only
|
||||
if nzb.get('seeds'):
|
||||
try:
|
||||
score += nzb.get('seeds') / 5
|
||||
score += nzb.get('leechers') / 10
|
||||
except:
|
||||
pass
|
||||
|
||||
return score
|
||||
|
||||
Reference in New Issue
Block a user