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):
|
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user