mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-13 16:40:01 +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
|
||||
val searchByNameQuery = APICalypse()
|
||||
.fields(QUERY_FIELDS)
|
||||
// TODO: Change for multi-platform support
|
||||
.where("platforms.slug = \"win\"")
|
||||
.limit(100)
|
||||
.search(gameTitle)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user