spotijay-lib
v0.2.1
Published
Spotify downloader library
Maintainers
Readme
spotijay-lib
Download tracks from Spotify in 320kbps.
Installation
npm install- Install libspotify
- 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
- Copy your appkey in the root of the dir that uses this library (or specify another path, its the
__dirnamebelow 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
