You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Evert Prants 67b702f9ff
use it
1 year ago
bits create playlist 1 year ago
.gitignore create playlist 1 year ago
README.md create playlist 1 year ago
archiveexported.js add script to archive tracks that were moved 1 year ago
callback.html create playlist 1 year ago
composeplaylist.js fix oops 1 year ago
metasearcher.js create playlist 1 year ago
package-lock.json initial stash 1 year ago
package.json initial stash 1 year ago
resultvisualizer.js use it 1 year ago

README.md

Automatic Spotify scrape

Looks for your local music files on Spotify and helps you create a playlist. This is useful for migrating your local music to Spotify. Your tracks need to have valid metadata (artist and title is the minimum)!.

Feel free to use https://lunasqu.ee/callback as a callback url or put callback.html on your own server. It just prints query parameters to html. even if i wanted to i couldn't steal your code as i do not know your client secret.

  1. create Spotify app: https://developer.spotify.com/dashboard/login
  2. npm i
  3. put your Spotify credentials in credentials.json following the example.
  4. node metasearcher /path/to/music/directory scan the directory for music files and create a spotify.json file from matches.
  5. node resultvisualizer create a html table from the spotify.json file. Select the tracks from the HTML file and press "Export selection"
  6. Put track-selection.json in this directory and run node composeplaylist create/add [playlist name/id] to put all of them into a playlist!

Next time you run resultvisualizer your previous selection will be automagically checked!