Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.2 KB

README.md

File metadata and controls

40 lines (27 loc) · 1.2 KB

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:

  • python-dev, python-pip, lame, python-eyed3 (sudo apt-get install python-dev python-pip lame python-eyed3)

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

  • pyspotify (sudo pip install pyspotify==1.11)

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

TODO

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