fix: make sure we only use application records from library

This commit is contained in:
Paweł Lidwin 2025-08-22 13:57:34 +02:00
parent 0d70b8e667
commit 9547e7b474
No known key found for this signature in database
GPG key ID: C6EDF064F9FEE1E1

View file

@ -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)