mirror of https://github.com/Jackett/Jackett
Merge pull request #277 from flightlevel/imdbid--match
Fix IMDB Matching
This commit is contained in:
commit
86dad52919
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue