Get spotify playlist suggestions based on given keywords.
[still in early development]
This app suggest several playlists based on one or more keywords provided by the user. On playlist selection, a new firefox window is opened on a special workspace(*) with the spotify web player.
* this is a i3wm-specific setup. To change the executed command, see here
Suggestions as well as query input are implemented using zenity dialogs.
Get suggestions for 'lofi' playlists:
chillfindr.py --playlist -q="lofi"
Enter query via a dialog box. This works well for keyboard shortcuts:
chillfindr.py --playlist
Print the currently playing song:
chillfindr.py --now
This app requires a couple of python modules to be installed:
Credentials are stored in a hidden file .cred
inside the apiHandler/auth/ directory. When no .cred
file is found, a default file is created.
At least client_id and client_secret must be provided by the user.
The one-time setup is a bit tricky, since this is for testing only. client_id and client_secret are obtained by registering the app on your spotify developer account here. This will provide you with a client_id and client_secret. Additionally, you will have to set a redirect_uri http://localhost:2112/ in the app's settings there. The remaining process of obtaining the necessary permissions and access tokens is automated. Simply follow the instructions after starting the chillfindr.
note: This process will be improved.