Samaya Playlist
March 2023

My partner and I were disatisfied with Spotify's blend feature. It would not update everyday and did not reflect our current listening habits. I decided I could make a better Spotify blend for us.

I repurposed Python code I found online with the SpotiPy API using my own Spotify developer credentials to randomly choose songs from both of our Daily Mix playlists, which better reflected what we were currently listening to, and shuffled them randomly into a long playlist everyday at the same time around 2AM EST using AWS EventBridge CloudWatch Events to trigger a AWS Lambda function with the code to update this playlist everyday.

Daily EventBridge trigger
Lambda code