Fixed issue #3

This commit is contained in:
KDalu 2025-01-28 00:07:38 -05:00
parent d0640476c0
commit b701d9307c

View file

@ -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)