Create a spotify playlist from a BBC Sounds episode
Spotilist is a site that automates the creation of new Spotify playlists containing tracks listed on a BBC Sounds episode.
Try out the fully functional demo-site built from this repository and running on GitHub pages.
The demo site uses my a personal CORS proxy server running All Origins. If you are thinking of hosting this yourself then consider spinning up your own CORS proxy rather than relying on mine.
I encourage you to host your own instance of this tool, so that you can build upon it and play with it! It's easy, just:
-
Clone the repository
-
Modify lines 70 and 71 in spotilist.alpha.js so that the
redirect_uri
is appropriate. By default it points back to the demo site atspotilist.cooper-davis.net
but if you're hosting it locally you will want to change this tolocalhost
and the appropriate port. -
Host it. Any server will do, such as Python's:
python -m http.server
which allows the site to be accessed at
http://localhost:8000
-
Host your own All Origins Server so that you're not relying on my tiny Oracle Free Tier instance.
-
Register for a spotify developer client ID so that you're not using mine all the time. You will need to modify Line 69 of
spotilis.alpha.js
to replace my client ID with yours. Note that you will need to whitelist the redirect URI on your Spotify dashboard.
Please do - by filing any issues you encounter or any enhancements you can think of, or even better by coding up those improvements yourself and making a pull request.
Many thanks to the developers of All Origins and jQuery whose exceptional hard work has made this project simple.