fix identify by imdb id
This commit is contained in:
parent
57b5fa73ee
commit
14548735f3
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user