mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-13 16:40:01 +00:00
Further work and debugging on plugin integration
This commit is contained in:
@@ -12,6 +12,8 @@ dependencies {
|
||||
// PF4J (shared)
|
||||
api("org.pf4j:pf4j:${rootProject.extra["pf4jVersion"]}")
|
||||
|
||||
implementation(kotlin("stdlib"))
|
||||
|
||||
// Test dependencies
|
||||
testImplementation(kotlin("test"))
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package de.grimsi.gameyfin.pluginapi.gamemetadata
|
||||
|
||||
import org.pf4j.ExtensionPoint
|
||||
|
||||
interface GameMetadataPlugin : ExtensionPoint {
|
||||
interface GameMetadataFetcher : ExtensionPoint {
|
||||
fun getConfig(): Map<String, String>
|
||||
fun setConfig(config: Map<String, String>)
|
||||
fun fetchMetadata(gameId: String): GameMetadata
|
||||
Reference in New Issue
Block a user