From b701d9307c36fdd7f4df37272057bea43c9a59d6 Mon Sep 17 00:00:00 2001 From: KDalu <71458929+KDalu@users.noreply.github.com> Date: Tue, 28 Jan 2025 00:07:38 -0500 Subject: [PATCH] Fixed issue #3 --- zotify/app.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/zotify/app.py b/zotify/app.py index 4c25cb1..be8b600 100644 --- a/zotify/app.py +++ b/zotify/app.py @@ -250,9 +250,16 @@ class App: # Get track data if playable.type == PlayableType.TRACK: with Loader("Fetching track..."): - track = self.__session.get_track( - playable.id, self.__config.download_quality - ) + try: + track = self.__session.get_track( + playable.id, self.__config.download_quality + ) + except RuntimeError as err: + Logger.log( + LogChannel.SKIPS, + f'Skipping song id = {playable.id}: {err}', + ) + continue elif playable.type == PlayableType.EPISODE: with Loader("Fetching episode..."): track = self.__session.get_episode(playable.id)