Co-authored-by: Cody Robibero <cody@robibe.ro>
@ -79,7 +79,7 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.People
return remoteImages.OrderByLanguageDescending(language);
}
return new List<RemoteImageInfo>();
return Enumerable.Empty<RemoteImageInfo>();
public Task<HttpResponseMessage> GetImageResponse(string url, CancellationToken cancellationToken)
@ -60,7 +60,7 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.People
if (searchInfo.IsAutomated)
{
// Don't hammer moviedb searching by name
return new List<RemoteSearchResult>();
return Enumerable.Empty<RemoteSearchResult>();
var personSearchResult = await _tmdbClientManager.SearchPersonAsync(searchInfo.Name, cancellationToken).ConfigureAwait(false);
@ -103,6 +103,5 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.TV
return item is Controller.Entities.TV.Episode;
@ -64,7 +64,7 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.TV
if (series?.Images == null)
return Array.Empty<RemoteImageInfo>();
var remoteImages = new List<RemoteImageInfo>();