Update MediaBrowser.Providers/Tmdb/Movies/TmdbSearch.cs
Co-authored-by: Vasily <JustAMan@users.noreply.github.com>
This commit is contained in:
parent
f7c44565fc
commit
fa1fef1099
|
@ -80,7 +80,7 @@ namespace MediaBrowser.Providers.Tmdb.Movies
|
|||
var parsedName = _libraryManager.ParseName(name);
|
||||
var yearInName = parsedName.Year;
|
||||
name = parsedName.Name;
|
||||
year = year ?? yearInName;
|
||||
year ??= yearInName;
|
||||
|
||||
_logger.LogInformation("TmdbSearch: Finding id for item: {0} ({1})", name, year);
|
||||
var language = idInfo.MetadataLanguage.ToLowerInvariant();
|
||||
|
|
Loading…
Reference in New Issue
Block a user