summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2025-06-29 21:29:06 +0200
committerRobert Honz <exislow+github@gmail.com>2025-06-29 21:29:06 +0200
commite8ca69fefa869f5e1b518e50a91f7ea51a5838fe (patch)
treeece7e65f1a2900498d60cc9b9144e9180b4eac14
parenta676e1636718d0df824c026bbe29512724758f40 (diff)
downloadtidal-dl-ng-e8ca69fefa869f5e1b518e50a91f7ea51a5838fe.tar.gz
🛠️ GUI dos not hang if searched media is not available anymore.
-rw-r--r--tidal_dl_ng/gui.py3
1 files changed, 3 insertions, 0 deletions
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: