Skip to content

oliverbenns/spotification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spotification

Migrate mp3 tracks stored on disk to Spotify. It does this by parsing the file name, searching the Spotify database and then adding them to a unique playlist.

This is different to playing local mp3 files through the client which is what appears in most search results on this subject!!

I wanted to find the Spotify tracks because:

  • It allows the tracks to be accessible on all devices
  • Clears up my hard disk space
  • Gives the ability to share tracks and playlists
  • Have all the album artwork and meta data all set and good in the client

It also appears playing local files is quite a hidden feature so I wouldn't be surprised if support for this is eventually dropped.

Getting Started

  • Register a new app through Spotify's developer dashboard.
  • Add the redirect URI http://localhost:3000/callback in the app settings.
  • cp .env.example .env and fill in your app id and secret.
  • Ensure Go 1.13 is installed.
  • Run go run main.go path/to/music

About

Migrate mp3 tracks stored on disk to Spotify

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages