From e8ca69fefa869f5e1b518e50a91f7ea51a5838fe Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Sun, 29 Jun 2025 21:29:06 +0200 Subject: 🛠️ GUI dos not hang if searched media is not available anymore. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tidal_dl_ng/gui.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tidal_dl_ng/gui.py b/tidal_dl_ng/gui.py index 9b87958..8f165d2 100644 --- a/tidal_dl_ng/gui.py +++ b/tidal_dl_ng/gui.py @@ -618,6 +618,9 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow): result = [] for idx, item in enumerate(items): + if not item: + continue + explicit: str = "" # Check if item is available on TIDAL. if hasattr(item, "available") and not item.available: -- cgit v1.3.1