mirror of
https://github.com/derrod/legendary.git
synced 2026-05-07 06:23:22 +00:00
fix: make sure we only use application records from library
This commit is contained in:
parent
0d70b8e667
commit
9547e7b474
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue