itchio-opengamepadui-artpro.../plugin.gd
Jose Falanga dfe94b92be
Some checks failed
Build plugin / build (push) Has been cancelled
refactor: remove animated GIF feature, keep static first-frame extraction
AnimatedTexture is deprecated and broken in Godot 4.4. Strip all animated
GIF infrastructure (frame cycling, focus handler, settings UI, frame delay
parsing). GIFs are now always converted to a static first-frame PNG cached
to disk. Banner stitching disk cache and format detection fallback retained.
2026-08-20 01:09:02 -03:00

15 lines
534 B
GDScript

extends Plugin
## itch.io box art provider for OpenGamepadUI
##
## Fetches cover art and screenshots from itch.io game pages.
## Requires the itch.io library plugin to populate LibraryItem metadata.
var icon := preload("res://plugins/itch-artprovider/assets/itch.svg")
func _ready() -> void:
logger = Log.get_logger("ItchArt", Log.LEVEL.INFO)
var boxart_provider: BoxArtProvider = load("res://plugins/itch-artprovider/core/boxart_itch.tscn").instantiate()
add_child(boxart_provider)
logger.info("itch.io Art Provider loaded")