Finish implementing IGDB plugin

Updated Plugin API
Updated Steam plugin
Other minor improvements
This commit is contained in:
grimsi
2024-12-21 19:01:33 +01:00
parent 7b12ce1029
commit 890748fb7c
22 changed files with 347 additions and 90 deletions
@@ -112,14 +112,15 @@ class SteamPlugin(wrapper: PluginWrapper) : GameyfinPlugin(wrapper) {
release = date(game["release_date"]?.jsonObject["date"]?.jsonPrimitive?.content!!),
userRating = 0,
criticRating = 0,
developedBy = stringList(game, "developers"),
publishedBy = stringList(game, "publishers"),
genres = emptyList(),
themes = emptyList(),
screenshotUrls = emptyList(),
videoUrls = emptyList(),
features = emptyList(),
perspectives = emptyList()
developedBy = stringList(game, "developers").toSet(),
publishedBy = stringList(game, "publishers").toSet(),
genres = emptySet(),
themes = emptySet(),
keywords = emptySet(),
screenshotUrls = emptySet(),
videoUrls = emptySet(),
features = emptySet(),
perspectives = emptySet()
)
return metadata