From 9547e7b474d9f039449f516faf67e73806cea6a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Lidwin?= Date: Fri, 22 Aug 2025 13:57:34 +0200 Subject: [PATCH] fix: make sure we only use application records from library --- legendary/core.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/legendary/core.py b/legendary/core.py index 7375950..38070a7 100644 --- a/legendary/core.py +++ b/legendary/core.py @@ -518,6 +518,9 @@ class LegendaryCore: # append info about each library entry per namespace for record in library_items: + record_type = record.get("recordType") + if record_type and (record_type.lower() != "application"): + continue if game := games.get(record["appName"]): game.namespaces.update({record["namespace"]: record}) self.lgd.set_game_meta(game.app_name, game)