small ripper script for spotify (rips playlists to mp3 and includes ID3 tags)
note that stream ripping violates the ToC's of libspotify!
./jbripper.py [username] [password] [spotify_url]
"./jbripper.py user pass spotify:track:52xaypL0Kjzk0ngwv3oBPR" creates "Beat It.mp3" file
"./jbripper.py user pass spotify:user:[user]:playlist:7HC9PMdSbwGBBn3EVTaCNx rips entire playlist
-
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
-
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)
- skip exisiting track (avoid / completed tracks / completed = successful id3)
- detect if other spotify instance is interrupting
- add album supprt : spotify:album:1UnRYaeCev9JVKEHWBEgHe