I just wrote a program which queries ChatGPT for any list of music you ask for and turns it into a Spotify playlist.

Example: "Give me a list of the top 50 punk songs released in the year 2000" -> New Spotify Playlist.

Β· Β· 1 Β· 0 Β· 3

It has a couple of fault points -- the ChatGPT output can be inconsistent so you have to try and tell your prompt exactly how you want it formatted. Seems to work ok. Even though you get the artist and track from ChatGPT, there is no guarantee it'll be in Spotify's catalogue so I used fuzzy string matching to score for the best pick out of Spotify's search query. In some infrequent cases, it's simply not found though.

Show thread
Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.