From 6988ffb82bda62ab1fffa5ab629a99f566041fbf Mon Sep 17 00:00:00 2001 From: JackDandy Date: Wed, 14 May 2014 13:51:48 +0100 Subject: [PATCH] PickBestResult x264 over xvid where both exist. --- sickbeard/search.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sickbeard/search.py b/sickbeard/search.py index b7d61930..2d700185 100644 --- a/sickbeard/search.py +++ b/sickbeard/search.py @@ -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)