Merge pull request #277 from flightlevel/imdbid--match

Fix IMDB Matching
This commit is contained in:
flightlevel 2016-03-19 22:32:56 +11:00
commit 86dad52919
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ namespace Jackett.Utils
// Filter out releases that do have a valid imdb ID, that is not equal to the one we're searching for.
return
results.Where(
result => !result.Imdb.HasValue || result.Imdb.Value == 0 || ("tt" + result.Imdb.Value).Equals(imdb));
result => !result.Imdb.HasValue || result.Imdb.Value == 0 || ("tt" + result.Imdb.Value.ToString("D7")).Equals(imdb));
}
private static string CleanTitle(string title)