Skip to content

small ripper script for spotify (rips playlists to mp3 and includes ID3 tags and album covers)

Notifications You must be signed in to change notification settings

droopified/spotifyripper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

spotifyripper

small ripper script for spotify (rips playlists to mp3 and includes ID3 tags)

note that stream ripping violates the ToC's of libspotify!

usage

./jbripper.py [username] [password] [spotify_url]

examples

"./jbripper.py user pass spotify:track:52xaypL0Kjzk0ngwv3oBPR" creates "Beat It.mp3" file
"./jbripper.py user pass spotify:user:[user]:playlist:7HC9PMdSbwGBBn3EVTaCNx rips entire playlist

features

  • real-time VBR ripping from spotify PCM stream

  • writes id3 tags (including album covers)

  • creates files and directories based on the following structure artist/album/song.mp3

prerequisites:

  • libspotify (download at https://developer.spotify.com/technologies/libspotify/)

  • pyspotify (sudo pip install -U pyspotify, requires python-dev)

  • spotify binary appkey (download at developer.spotify.com and copy to wd, requires premium!)

  • lame (sudo apt-get install lame)

  • eyeD3 (sudo pip install eyeD3 --allow-external eyeD3 --allow-unverified eyeD3)

TODO

  • skip exisiting track (avoid / completed tracks / completed = successful id3)
  • detect if other spotify instance is interrupting
  • add album supprt : spotify:album:1UnRYaeCev9JVKEHWBEgHe

About

small ripper script for spotify (rips playlists to mp3 and includes ID3 tags and album covers)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%