Permalink
Browse files

Minor tweaking of file size qualifiers

  • Loading branch information...
jtackaberry committed Nov 5, 2017
1 parent d626c42 commit 5423b61dee62424991eb9255ac7b185e48853d5b
Showing with 1 addition and 1 deletion.
  1. +1 −1 stagehand/searchers/__init__.py
@@ -34,7 +34,7 @@ def search(series, episodes, skip=[], loop=None):
earliest = (earliest - timedelta(days=10)).strftime('%Y-%m-%d')
# XXX: should probably review these wild-ass min size guesses
mb_per_min = 2.5 if series.cfg.quality == 'HD' else 1
mb_per_min = 2 if series.cfg.quality == 'HD' else 0.5
min_size = (series.runtime or 30) * mb_per_min * 1024 * 1024
# FIXME: magic factor
ideal_size = min_size * (5 if series.cfg.quality == 'Any' else 3)

0 comments on commit 5423b61

Please sign in to comment.