Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Sometimes tracks aren't available anymore because of rights.
This PR fetches alternative tracks if they are defined, if not it fetches alternative albums and looks for the same track.
I tested this with a playlist of mine which has tracks which have now new albums ID's.
With version 2.1.0, I can download 68/95 tracks.
With fetching alternatives, I can download 89/95 tracks.
Playlist: https://www.deezer.com/us/playlist/10310080842
Errors without fetching the alternatives:
One of the tracks is this on: https://www.deezer.com/us/track/91337844
The album doesn't exist anymore, but the track is still on another album available, with that fix in place:
I can download 93/95 tracks.