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:
+4
-3
@@ -3127,7 +3127,7 @@ def build_library_items(ps1_dir="", output_dir=""):
|
||||
|
||||
|
||||
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:
|
||||
return []
|
||||
try:
|
||||
@@ -3136,8 +3136,9 @@ def _ps1_library_items(ps1_dir, output_dir, overrides, dates):
|
||||
return []
|
||||
out = []
|
||||
for e in entries:
|
||||
# A converted disc is represented by its EBOOT entry (one row per game).
|
||||
if e["kind"] == "disc" and e.get("status") == "converted":
|
||||
# Only converted EBOOTs are shown in the Library; pending source discs
|
||||
# live in the PS1 tab, where they can be converted.
|
||||
if e["kind"] != "eboot":
|
||||
continue
|
||||
name = e["name"]
|
||||
rid = covers.stable_key(name)
|
||||
|
||||
Reference in New Issue
Block a user