mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-15 08:15:37 +00:00
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:
@@ -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(),
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user