disable artist image provider until configurable

pull/2154/head
dkanada 5 years ago
parent 3f3bb668a3
commit 17031fb38d

@ -29,16 +29,19 @@ namespace Emby.Server.Implementations.Images
protected override IReadOnlyList<BaseItem> GetItemsWithImages(BaseItem item) protected override IReadOnlyList<BaseItem> GetItemsWithImages(BaseItem item)
{ {
return _libraryManager.GetItemList(new InternalItemsQuery return Array.Empty<BaseItem>();
{
ArtistIds = new[] { item.Id }, // TODO enable this when BaseDynamicImageProvider objects are configurable
IncludeItemTypes = new[] { typeof(MusicAlbum).Name }, // return _libraryManager.GetItemList(new InternalItemsQuery
OrderBy = new[] { (ItemSortBy.Random, SortOrder.Ascending) }, // {
Limit = 4, // ArtistIds = new[] { item.Id },
Recursive = true, // IncludeItemTypes = new[] { typeof(MusicAlbum).Name },
ImageTypes = new[] { ImageType.Primary }, // OrderBy = new[] { (ItemSortBy.Random, SortOrder.Ascending) },
DtoOptions = new DtoOptions(false) // Limit = 4,
}); // Recursive = true,
// ImageTypes = new[] { ImageType.Primary },
// DtoOptions = new DtoOptions(false)
// });
} }
} }
} }

Loading…
Cancel
Save