Fixed issue #3
This commit is contained in:
parent
d0640476c0
commit
b701d9307c
1 changed files with 10 additions and 3 deletions
|
@ -250,9 +250,16 @@ class App:
|
||||||
# Get track data
|
# Get track data
|
||||||
if playable.type == PlayableType.TRACK:
|
if playable.type == PlayableType.TRACK:
|
||||||
with Loader("Fetching track..."):
|
with Loader("Fetching track..."):
|
||||||
track = self.__session.get_track(
|
try:
|
||||||
playable.id, self.__config.download_quality
|
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:
|
elif playable.type == PlayableType.EPISODE:
|
||||||
with Loader("Fetching episode..."):
|
with Loader("Fetching episode..."):
|
||||||
track = self.__session.get_episode(playable.id)
|
track = self.__session.get_episode(playable.id)
|
||||||
|
|
Loading…
Add table
Reference in a new issue