Spotify does a great job at creating custom playlists and recommending personal queues. But for me, the lack of manual personalization is something that should definitely be changed. Often times I just want to vibe and listen to some music regardless of genre, artist, album etc.
This app is meant to be capable of creating Spotify queues built from tracks that have similar vibe to the music you play no matter what genre they are or who is the artist.
Below is an output of a query ran for the Guns'n Roses "Welcome to the jungle":
[DONE]
Create data downloader that will be able to fetch data from Spotify API[DONE]
Fetch tracks data and create dataset. For now let's say we get a few thousand records[DONE]
Explore, find correlations and understand the data[DONE]
Implement kNN calssification and find out whether we can distinguish similar tracks- (optional) experiment with different types of classification
[DONE]
Build first queue builder- Build simple platform that can connect with spotify and send play requests.
- Test whole project manually to see if it works acceptably
- Procceed to the next project iteration
There is an entry point, overview.py
, from which you can easily run the project and see how the basic functionality of creating queue and adding it to your spotify works.
-
credentials.txt
in the main project folder should contain:spotfy_unique_username client_id client_secret
Client id and secret can be obtained from Spotify developer application dashboard.
-
Python stuff:
- Python=3.9
- Spotipy=2.18.0
- Scikit-learn= 0.24.2
- Pandas=1.2.2
- Numpy=1.20.1
- Python 3.9
- Jupyter Notebook
- Pandas
- Matplotlib
- ScikitLearn
- Spotipy
- Numpy