Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 629 Bytes

README.md

File metadata and controls

11 lines (6 loc) · 629 Bytes

Spotify Alternator

The other day, I graduated from listening to a song on repeat to listening to the artists best-of playlist. However, I found myself repeatedly queueing up my favourite song.

I wondered, could that be automated? Could Spotify alternate between playing my current favourite, and playing from a playlist?

The answer is, kind of. Here's an implementation that creates a copy of the playlist with the song inserted at every second position.

Instructions

You will need to get your own auth token with the scopes playlist-read-privateand playlist-modify-private. The variable token should point to it.