mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-03 18:03:37 +00:00
PickBestResult x264 over xvid where both exist.
This commit is contained in:
parent
da42e262ca
commit
6988ffb82b
1 changed files with 3 additions and 0 deletions
|
@ -229,6 +229,9 @@ def pickBestResult(results, show, quality_list=None):
|
|||
bestResult = cur_result
|
||||
elif "internal" in bestResult.name.lower() and "internal" not in cur_result.name.lower():
|
||||
bestResult = cur_result
|
||||
elif "xvid" in bestResult.name.lower() and "x264" in cur_result.name.lower():
|
||||
logger.log(u"Preferring " + cur_result.name + " (x264 over xvid)")
|
||||
bestResult = cur_result
|
||||
|
||||
if bestResult:
|
||||
logger.log(u"Picked " + bestResult.name + " as the best", logger.DEBUG)
|
||||
|
|
Loading…
Reference in a new issue