fix identify by imdb id

This commit is contained in:
Luke Pulverenti 2016-04-19 22:28:24 -04:00
parent 57b5fa73ee
commit 14548735f3
2 changed files with 1 additions and 2 deletions

View File

@ -762,7 +762,6 @@ namespace MediaBrowser.Providers.Manager
var resultList = new List<RemoteSearchResult>(); var resultList = new List<RemoteSearchResult>();
var foundProviderIds = new Dictionary<Tuple<string, string>, RemoteSearchResult>(); var foundProviderIds = new Dictionary<Tuple<string, string>, RemoteSearchResult>();
var foundTitleYearStrings = new HashSet<string>(StringComparer.OrdinalIgnoreCase);
foreach (var provider in providers) foreach (var provider in providers)
{ {

View File

@ -74,7 +74,6 @@ namespace MediaBrowser.Providers.Omdb
episodeSearchInfo.SeriesProviderIds.TryGetValue(MetadataProviders.Imdb.ToString(), out imdbId); episodeSearchInfo.SeriesProviderIds.TryGetValue(MetadataProviders.Imdb.ToString(), out imdbId);
} }
var name = searchInfo.Name; var name = searchInfo.Name;
var year = searchInfo.Year; var year = searchInfo.Year;
@ -107,6 +106,7 @@ namespace MediaBrowser.Providers.Omdb
else else
{ {
url += "&i=" + imdbId; url += "&i=" + imdbId;
isSearch = false;
} }
if (type == "episode") if (type == "episode")