mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-16 16:20:04 +00:00
Limit IGDB plugin to PC search results until Gameyfin has multi-platform support
This commit is contained in:
@@ -130,6 +130,8 @@ class IgdbPlugin(wrapper: PluginWrapper) : ConfigurableGameyfinPlugin(wrapper) {
|
|||||||
// Note: Limit is intentionally set high because IGDBs ranking algorithm is not very good
|
// Note: Limit is intentionally set high because IGDBs ranking algorithm is not very good
|
||||||
val searchByNameQuery = APICalypse()
|
val searchByNameQuery = APICalypse()
|
||||||
.fields(QUERY_FIELDS)
|
.fields(QUERY_FIELDS)
|
||||||
|
// TODO: Change for multi-platform support
|
||||||
|
.where("platforms.slug = \"win\"")
|
||||||
.limit(100)
|
.limit(100)
|
||||||
.search(gameTitle)
|
.search(gameTitle)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user