mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Merge pull request #566 from JackDandy/Pick_x264_over_xvid
PickBestResult x264 over xvid where both exist and quality is equal
This commit is contained in:
commit
d7707227f3
@ -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 New Issue
Block a user