library: only show converted PS1 EBOOTs

Pending PS1 source discs stay in the PS1 tab; the Library now lists only
converted EBOOT entries.
This commit is contained in:
2026-09-07 18:07:08 -04:00
parent bcc2f4f73c
commit 02ed99c9c7
+4 -3
View File
@@ -3127,7 +3127,7 @@ def build_library_items(ps1_dir="", output_dir=""):
def _ps1_library_items(ps1_dir, output_dir, overrides, dates): def _ps1_library_items(ps1_dir, output_dir, overrides, dates):
"""PS1 discs (pending) + converted EBOOTs, merged into the library list.""" """Converted PS1 EBOOTs, merged into the library list."""
if not ps1_dir: if not ps1_dir:
return [] return []
try: try:
@@ -3136,8 +3136,9 @@ def _ps1_library_items(ps1_dir, output_dir, overrides, dates):
return [] return []
out = [] out = []
for e in entries: for e in entries:
# A converted disc is represented by its EBOOT entry (one row per game). # Only converted EBOOTs are shown in the Library; pending source discs
if e["kind"] == "disc" and e.get("status") == "converted": # live in the PS1 tab, where they can be converted.
if e["kind"] != "eboot":
continue continue
name = e["name"] name = e["name"]
rid = covers.stable_key(name) rid = covers.stable_key(name)