PickBestResult x264 over xvid where both exist.

This commit is contained in:
JackDandy 2014-05-14 13:51:48 +01:00
parent da42e262ca
commit 6988ffb82b
1 changed files with 3 additions and 0 deletions

View File

@ -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)