private IgdbImageOption GetBackgroundManually(List <IgdbServerModels.GameImage> possibleBackgrounds)
        {
            var selection = new List <ImageFileOption>();

            foreach (var artwork in possibleBackgrounds)
            {
                selection.Add(new IgdbImageOption
                {
                    Path  = IgdbMetadataPlugin.GetImageUrl(artwork, ImageSizes.screenshot_med),
                    Image = artwork
                });
            }
            return(plugin.PlayniteApi.Dialogs.ChooseImageFile(
                       selection,
                       string.Format(plugin.PlayniteApi.Resources.GetString("LOCIgdbSelectBackgroundTitle"), IgdbData.name)) as IgdbImageOption);
        }
 public IgdbLazyMetadataProvider(ulong gameId, IgdbMetadataPlugin plugin)
 {
     this.gameId = gameId;
     this.plugin = plugin;
 }
 public IgdbLazyMetadataProvider(MetadataRequestOptions options, IgdbMetadataPlugin plugin)
 {
     this.options = options;
     this.plugin  = plugin;
 }