Automatically add The Current's, KEXP's, and KCRW's song of the day to Spotify playlist
Spotify Playlist can be found here
-
Rename
/conf/configure.rb.sample
to/conf/configure.rb
-
Add your client ID, Secret, and destination playlist ID inside
/conf/configure.rb
-
Start the sinatra server by running
ruby app.rb
from the root directory -
Open
http://localhost:4567
in your web browser and log in -
Click on
New Songs
to add any new songs to your playlist. Information is displayed in the terminal window.
Run ./lib/get-historic-[station].rb
to generate list of previous SOTD tracks (list stored in ./data/)
then run ./lib/add-historic-[station].rb
to add files from specific station to Spotify playlist
or run ./lib/add-historic-all.rb
to add files from all three stations. Any songs not found are stored in ./log/historic-[station]-songs-not-found.log
- i18n
- nokogiri
- omniauth-spotify
- sinatra
- Ruby v2.4
Add songs to Spotify PlaylistMake daily scraperAdd KEXP, KCRW Daily UpdaterAdd automatic authentication- add
#add-historic-all
method - Find and add historic KCRW
Please follow a "fork-and-pull" workflow when Contributing
- Fork the repo on GitHub
- Clone the project to your own machine
- Commit changes to your own branch
- Push your work back up to your fork
- Submit a Pull request so that we can review your changes
Copyright 2017 Andy Duss
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.