TMDB: Include year in search
This commit is contained in:
parent
467cd9227e
commit
c1b17b2fa4
|
@ -48,8 +48,9 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.Movies
|
|||
if (tmdbId == 0)
|
||||
{
|
||||
var movieResults = await _tmdbClientManager
|
||||
.SearchMovieAsync(searchInfo.Name, searchInfo.MetadataLanguage, cancellationToken)
|
||||
.SearchMovieAsync(searchInfo.Name, searchInfo.Year ?? 0, searchInfo.MetadataLanguage, cancellationToken)
|
||||
.ConfigureAwait(false);
|
||||
|
||||
var remoteSearchResults = new List<RemoteSearchResult>();
|
||||
for (var i = 0; i < movieResults.Count; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user