1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

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

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)