public async Task <IEnumerable <RemoteImageInfo> > GetImages(BaseItem item, CancellationToken cancelToken) { var id = item.GetProviderId("Javlibrary"); if (string.IsNullOrEmpty(id)) { return new RemoteImageInfo[] { } } ; // probably should be downloading the full size image, and then cropping the front cover var client = new Api.JavlibraryClient(); var video = await client.LoadVideo(id); return(new RemoteImageInfo[] { new RemoteImageInfo { ProviderName = Name, Type = ImageType.Primary, Url = video.Cover }, new RemoteImageInfo { ProviderName = Name, Type = ImageType.Thumb, Url = video.BoxArt } }); }