Skip to content

Christilut/spotijay-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spotijay-lib

Download tracks from Spotify in 320kbps.

Installation

  1. npm install
  2. Install libspotify
  3. Install following libraries: lame sox eye3D
  • Ubuntu/Debian: sudo apt-get install lame sox eyed3
  • Arch: yaourt -S libspotify python2-eyed3 lame sox
  • OSX: brew install homebrew/binary/libspotify lame sox eyeD3
  1. Copy your appkey in the root of the dir that uses this library (or specify another path, its the __dirname below that points to the appkey dir)

Usage

if (args.playlist) {
  Spotijay(args.username, args.password, __dirname, function(err, spotify) {
    spotify.downloadPlaylistByUrl(args.playlist, args.dir, errorCallback)
  })
} else if (args.track) {
  Spotijay(args.username, args.password, __dirname, function(err, spotify) {
    spotify.getTrackByUrl(args.track, args.dir, errorCallback)
  })
}

For more see Spotijay

About

Download tracks from Spotify in 320kbps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published