View Single Post
  #1  
Old 03-14-2007, 08:42 AM
Stream Recorder
 
Posts: n/a
Default

[linux] Capturing/Saving/Downloading/Ripping/Recording MP3 music stream from Last.FM


Free Linux software required for Capturing/Saving/Downloading/Ripping/Recording MP3 music stream from Last.fm for free
  • StreamRipper - ShoutCast/Icecast stream ripping/downloading/recording/capturing software.

Installing free LastFMProxy
  1. Download LastFMProxy
  2. Unpack LastFMProxy: tar -xzf lastfmproxy.tar.gz
  3. Go to LastFMProxy directory:cd lastfmproxy/
  4. Open config file: vi config.py
  5. Change your Last.FM username and password in the config file.
  6. Save the config file and exit the editor

Installing StreamRipper - free ShoutCast/Icecast stream ripping/downloading/recording/capturing software.
  1. Download StreamRipper.
  2. Unpack it: tar -xzvf streamripper.tar.gz
  3. Go to StreamRipper directory: cd streamripper/
  4. ./configure
  5. make
  6. sudo make install


Running LastFMProxy
cd lastfmproxy
./main.py &

Note: if you have just created a username on Last.fm you need to "tell" it what kind of music you like, so after running LastFMProxy point your browser to one of these addresses:
http://localhost:1881/lastfm://globaltags/rock
http://localhost:1881/lastfm://globaltags/dance
http://localhost:1881/lastfm://artis...similarartists
http://localhost:1881/lastfm://artis...similarartists

There is more information about this in the ReadMe.

Running Streamripper and Capturing/Saving/Downloading/Ripping/Recording MP3 music stream from Last.FM
StreamRipper can split, tag and name MP3 files automatically!

streamripper http://localhost:1881/lastfm.mp3
Connecting...
stream: last.fm
server name: last.fm Streaming Server
bitrate: 0
meta interval: 16000

[buffering - | ] - Wait...
[ripping... ] The Rapture - Infatuation [ 4.59M]
[ripping... ] Scissor Sisters - Take Your Mama Out [ 4.15M]

Listening Last.FM while Capturing/Saving/Downloading/Ripping/Recording MP3 music stream with Streamripper
Use Streamripper with -r flag:
Streamripper -r

and connect to localhost:8000 with your player (like xmms).

Last edited by Stream Recorder : 03-14-2007 at 12:00 PM.
Reply With Quote