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.
||1 year ago|
|bits||1 year ago|
|.gitignore||1 year ago|
|README.md||1 year ago|
|archiveexported.js||1 year ago|
|callback.html||1 year ago|
|composeplaylist.js||1 year ago|
|metasearcher.js||1 year ago|
|package-lock.json||1 year ago|
|package.json||1 year ago|
|resultvisualizer.js||1 year ago|
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.
- create Spotify app: https://developer.spotify.com/dashboard/login
- put your Spotify credentials in
credentials.jsonfollowing the example.
node metasearcher /path/to/music/directoryscan the directory for music files and create a
spotify.jsonfile from matches.
node resultvisualizercreate a html table from the
spotify.jsonfile. Select the tracks from the HTML file and press "Export selection"
track-selection.jsonin 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!