diff options
| author | exislow <exislow@users.noreply.github.com> | 2024-02-26 07:02:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-26 07:02:57 +0100 |
| commit | 43326ec93f2b8e06caaaf81acac8114dafa1bd61 (patch) | |
| tree | c44579691564263f7b22a467aba42280c38faf2a /tidal_dl_ng/gui.py | |
| parent | 34fd48aabc1d11fc09abdff46ada598c6ed19473 (diff) | |
| parent | 87626d64c590a30f391e6bf1779ca39008a22ff8 (diff) | |
| download | tidal-dl-ng-43326ec93f2b8e06caaaf81acac8114dafa1bd61.tar.gz | |
Merge pull request #50 from exislow/48-401-client-error
48 401 client error (item not available anymore)
Diffstat (limited to 'tidal_dl_ng/gui.py')
| -rw-r--r-- | tidal_dl_ng/gui.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tidal_dl_ng/gui.py b/tidal_dl_ng/gui.py index 2d2118d..6c904d7 100644 --- a/tidal_dl_ng/gui.py +++ b/tidal_dl_ng/gui.py @@ -357,6 +357,10 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow): result = [] for idx, item in enumerate(items): + # Check if item is available on TIDAL. + if hasattr(item, "available") and not item.available: + continue + if isinstance(item, Track): result_item: ResultItem = ResultItem( position=idx, |
