diff --git a/core/boxart_itch.gd b/core/boxart_itch.gd index 0a6e9a0..23d8967 100644 --- a/core/boxart_itch.gd +++ b/core/boxart_itch.gd @@ -187,17 +187,13 @@ func _url_for_layout(kind: LAYOUT, cover_url: String, screenshots: Array) -> Str ## Returns the best portrait/logo URL from the game data. -## Prefers stillCoverUrl, then coverUrl. Screenshots are never used as -## capsule art. Returns empty if the only available cover URLs are GIFs, -## since HTTPImageFetcher cannot decode GIF images. +## Prefers stillCoverUrl (the still/non-animated version of the cover), +## then coverUrl. Screenshots are never used as capsule art. func _best_portrait_url(game: Dictionary, _screenshots: Array) -> String: var still: String = game.get("stillCoverUrl", "") - if not still.is_empty() and not _is_gif_url(still): + if not still.is_empty(): return still - var cover: String = game.get("coverUrl", "") - if not cover.is_empty() and not _is_gif_url(cover): - return cover - return "" + return game.get("coverUrl", "") ## Combines two textures side-by-side into a single banner image. diff --git a/plugin.json b/plugin.json index 634e65f..bcc6189 100644 --- a/plugin.json +++ b/plugin.json @@ -1,7 +1,7 @@ { "plugin.id": "itch-artprovider", "plugin.name": "itch.io Art Provider", - "plugin.version": "0.1.10", + "plugin.version": "0.1.11", "plugin.min-api-version": "1.1.0", "plugin.link": "https://forge.thergic.ar/jose/itchio-opengamepadui-artprovider-plugin", "plugin.source": "https://forge.thergic.ar/jose/itchio-opengamepadui-artprovider-plugin",