Extend Plugin API to return a list of covers and header images

Implement dedicated header image in GameView
Implement GameHeaderPicker
This commit is contained in:
GRIMSIM
2025-06-16 16:56:46 +02:00
parent ac4eaf915e
commit 5e52d11835
33 changed files with 454 additions and 159 deletions
@@ -190,7 +190,7 @@ class IgdbPlugin(wrapper: PluginWrapper) : ConfigurableGameyfinPlugin(wrapper) {
originalId = game.slug,
title = game.name,
description = game.summary,
coverUrl = Mapper.cover(game.cover),
coverUrls = Mapper.cover(game.cover)?.let { listOf(it) },
release = if (game.firstReleaseDate.seconds > 0) Instant.ofEpochSecond(game.firstReleaseDate.seconds) else null,
userRating = game.rating.toInt(),
criticRating = game.aggregatedRating.toInt(),
+2 -2
View File
@@ -1,6 +1,6 @@
Plugin-Version: 1.0.0-beta1
Plugin-Version: 1.0.0.beta2
Plugin-Class: org.gameyfin.plugins.metadata.igdb.IgdbPlugin
Plugin-Id: org.gameyfin.plugins.metadata.igdb.
Plugin-Id: org.gameyfin.plugins.metadata.igdb
Plugin-Name: IGDB Metadata
Plugin-Description: Fetches metadata from IGDB.<br>
Requires a Twitch account and IGDB API credentials.<br>