Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

[FIX] Issue 1876: Allow SD x264 TV Snatching #363

Merged
merged 1 commit into from

2 participants

@xbmcfanboy

http://code.google.com/p/sickbeard/issues/detail?id=1876
Someone posted code that seems to work. I took that code and made this pull request.

@midgetspy
Owner

This will only affect times when both episodes are posted/found simultaneously, but it can't hurt.

@midgetspy midgetspy merged commit b710ff9 into midgetspy:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 13, 2012
  1. @xbmcfanboy
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 0 deletions.
  1. +3 −0  sickbeard/search.py
View
3  sickbeard/search.py
@@ -210,6 +210,9 @@ def pickBestResult(results, 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)
Something went wrong with that request. Please try again.