Deezer had the bad habit of losing tracks in my playlists from time to time.
So I needed to take snapshots at regular intervals and to compare them.
Sources can be found at https://gitlab.com/ddidier/deezer-playlist-history.
Apify actor can be found at https://apify.com/c_inconnu/deezer-playlist-history.
A simple outline of the implemented workflow:
An overview of the classes with simplified methods and fields (not the actual ones):
So, you have successfully saved the tracks of your playlist. And now, for whatever reason, you want to restore them. That was the whole point, after all. It's a little involved, but not very difficult once you know how...
|Redirect URL after authentication||
Next is a description of the variables that you will be manipulating:
||the intermediate code required to get the OAuth access token|
||the OAuth access token granting permissions to change the playlist|
||the ID of your Deezer application available on its page|
||the secret of your Deezer application available on its page|
||the ID of the playlist you want to add the tracks to|
||the value of the
||the comma separated IDs of the tracks to add|
These variables will be noted
Replace the variables in the following URL and paste it in your browser:
This will redirect you to some URL like
Note the access code and use it to get the access token:
This will display something like
Note the access token and use it to add tracks to your playlist: