Skip to content

Takes local mp3 files and adds them to spotify playlist by searching the artist and title. If not found it will add the local file into the playlist or it is placed into a text file to be sorted manually.

License

Notifications You must be signed in to change notification settings

Agriad/Spotify-Playlist-Maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spotify-Playlist-Maker-2nd-Attempt

Index

  1. Description
  2. Requirements
  3. Installation
  4. Guide
  5. Program Input Guide
  6. Song Location Guide

Description

Spotify automation program with multiple functions.

  • Takes local mp3 files and adds them to spotify playlist by searching the artist and title. If it is not found, it will add the information into a text file for the user to add manually to their playlist. Also shows the information of songs that were added into the playlist into another text file.
  • Backup your playlist on Spotify into a text file with information of the artist, title of the song, and album. The text file produced will be located in the output folder.

Requirements

  1. Node.js

Installation

  1. Download as a zip and extract anywhere.
  2. Run npm install in the root folder.

Guide

  1. Go to Spotify for Developers and create an app for this program.
  2. In the settings for the app add http://localhost:8000/callback as the redirect
  3. Run npm start in the root folder or node server.js in the javascript folder.
  4. In your browser go to localhost:8000
  5. Click on Login button.
  6. Fill in the appropriate input. See more information here.
  7. Check the terminal to see if things are going smoothly.

Program Input Guide

  • Client ID = Found in Spotify for Developers inside the app dashboard.
  • Client Secret = Found in Spotify for Developers inside the app dashboard. Requires you to click show client secret.
  • Playlist ID = Found in Spotify Web Player. When you enter a playlist it shows in the URL after playlist/ and before ?.
    For example https://open.spotify.com/playlist/4hsReDJBeNEXQQj6U2dXsK?si=b18737fd10b94e26&nd=1 has the ID 4hsReDJBeNEXQQj6U2dXsK.
  • Song Location = See here.

Song Location Guide

The song location can accept either the full path of the location or look based from the location of the javascript folder.

home/  
├── spotify-playlist-maker/  
│   ├── javascript/  
│   │   ├──function.js  
│   │   └──server.js  
│   ├── output/  
│   ├── public/  
│   └── secret/  
└── song/  
    ├── song1.mp3  
    └── song2.mp3  

In the example above you can either put in home/song/or ../../song/as the song file location.

About

Takes local mp3 files and adds them to spotify playlist by searching the artist and title. If not found it will add the local file into the playlist or it is placed into a text file to be sorted manually.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published