🎧 Automated Playlists
These playlists are automatically updated based on recent tracks played on their corresponding SiriusXM channels.
These playlists are automatically updated based on recent tracks played on their corresponding SiriusXM channels.
The script that updates them runs hourly on my local server. I've chosen a few of my go-to SXM channels to start with. It grabs the recent tracks for a given channel via the xmplaylist API. Next, it leverages the spotipy package to detect incoming duplicates (check list of current tracks vs recently played) and then adds the fresh tracks.
I also added a slack notification that sends a summary.
The current track limit for a Spotify playlist is 10,000. I doubt any particular SXM channel has that many songs in rotation, but time will tell.
There may be more on my public playlists, prefixed with SXM.Â
If you have an SXM channel you like that you want replicated, send me an email. You can also use my code to do it yourself.
Playlist images generated by DALL-E 2
[KINDA] I'll write good documentation and comments before I throw it in a GitHub repo
[DONE] Add exclusion handling, for live versions and specific songs (how did "Dancin' With Mr Bones" get added to the Groovy playlist?)
[BACKLOG] Add logging so that I can maybe embed some fancy graphs here