• Stars
    star
    655
  • Rank 68,765 (Top 2 %)
  • Language
    Python
  • Created over 11 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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