diff --git a/app/gui.py b/app/gui.py index ea0f348..662fa07 100644 --- a/app/gui.py +++ b/app/gui.py @@ -3387,7 +3387,7 @@ class Ps1PreviewWorker(QObject): class Ps1Page(QWidget): - """PS1 tab: list raw source discs, converted EBOOTs and PSN games.""" + """PS1 tab: list raw source discs that still need converting.""" convert_requested = Signal(dict) @@ -3537,16 +3537,19 @@ class Ps1Page(QWidget): self._thread.start() def _on_results(self, entries): + # Only show discs that still need converting; converted games already + # appear in the Library tab. + entries = [e for e in entries if e["kind"] == "disc" and e.get("status") != "converted"] self._entries = entries self.table.setRowCount(len(entries)) for row, e in enumerate(entries): - kind = "Disc" if e["kind"] == "disc" else "EBOOT" - self.table.setItem(row, 0, QTableWidgetItem(kind)) + self.table.setItem(row, 0, QTableWidgetItem("Disc")) self.table.setItem(row, 1, QTableWidgetItem(e["name"])) self.table.setItem(row, 2, QTableWidgetItem(e.get("serial") or "")) - self.table.setItem(row, 3, QTableWidgetItem(e.get("status") or "pending")) - pending = sum(1 for e in entries if e["kind"] == "disc" and e["status"] != "converted") - self.status.setText(f"{len(entries)} item(s) — {pending} ready to convert") + self.table.setItem(row, 3, QTableWidgetItem("pending")) + self.status.setText(f"{len(entries)} disc(s) ready to convert") + if entries: + self.table.selectRow(0) def _on_failed(self, message): self.status.setText(f"PS1 scan failed: {message}")