Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/odiroot/songs-to-spotify

Prepare Spotify playlist from songs played on Internet radio channels.
https://github.com/odiroot/songs-to-spotify

Last synced: 23 days ago
JSON representation

Prepare Spotify playlist from songs played on Internet radio channels.

Awesome Lists containing this project

README

        

# songs-to-spotify
Prepare Spotify playlist from songs played on Internet radio.

## Running

1. Install dependencies:

npm install

2. Run track information dumper on a SHOUTCast source to gather a playlist:

node src/dumper.js -u http:///played.html -o playlist.txt

3. Set environment variables to authentice with your Spotify account:

export SPOTIFY_CLIENT_ID=
export SPOTIFY_CLIENT_SECRET=
export SPOTIFY_REFRESH_TOKEN=

4. Sync your local playlist with one in your Spotify account:

node src/syncer.js -p -i playlist.txt