Here's a python script to monitor your folder tree and automatically enqueue downloaded tracks into winamp. It's not the same as listening while the songs stream, you'll have to give The Last Ripper a head start on the downloading, and it's very inefficient for large directory trees, so don't monitor your whole collection with it. It relies on CLAMP. Just change the path_to_watch and path_to_clampexe and run with python.
import os, time
path_to_watch = "."
path_to_clampexe = "c:\Program Files\Winamp\CLAmp.exe"
before = []
for path,dirs,files in os.walk("."): before.extend([os.path.join(path,f) for f in files])
while 1:
time.sleep (10)
after = []
for path,dirs,files in os.walk("."): after.extend([os.path.join(path,f) for f in files])
added = [f for f in after if not f in before]
removed = [f for f in before if not f in after]
if added:
print "Added: ", ", ".join (added)
for a in added:
if a.endswith("mp3"):
os.system('""%s" /pladd "%s"' % (path_to_clampexe, os.path.abspath(a)))
if removed: print "Removed: ", ", ".join (removed)
before = after
That code, by the way, is adapted from Tim Golden's site On the Win32 How Do I...? page he says "these are designed to be cut-and-pasted straight into a .py file", which isn't an official copyright statement. As far as I'm concerned, do what you want with the above, but if you're going to do anything commercial with it (why would you?) I'd talk to him.
this tool IS easy to use, just don't expect to hear anything, it's just recording. and it is NOT recording the music you are listening to on last.fm simultaneously, it's more like you start another player on last.fm, playing different songs. understood? so, when u first start it, enter your username and password form the last.fm account WHICH IS NEEDED!!! then go to the "storage" flag and browse a folder, you want to store the mp3s in. then (so damn easy folks) press LOGIN. now under "find music" you can use the same functions as on the last.fm site. just like "tag" search or so. try it. you can even copy the url you are listening to (like when you are listening to "U2" similar artists -> http://www.lastfm.de/listen/artist/U2/similarartists) to the URL flag. man..whatever...still don't get it? then please...go and play with barbie but don't break it's arms.
Nice app however the ability to click a button and say "Stop downloading after current song" would be nice as currently "quitting" the app will cut off a song.
Also a plugin to allow the user to hear the tune being downloaded would be nice (as the Love/Hate buttons are meaningless without this.)
Is there a way to download only songs by a specific artist? Or songs from a specific album? Or, even, specific songs? I have had little luck with any other than the "Artist" button for artists (which downloads from their "Similar Artist" radio.
I agree, according to laserc's cocky comments this should be easy. In fact took that exact url he suggested and pasted it in to the url block clicked tune in and nothing. so is this a bug?
"it is not intended to listen to the music with TheLastRipper??. So why are there buttons for Love/Hate/Skip?? "
was really a good one formusek..Totally agree with you..How could I know I'd hate or love a song while nNOT listening? My wish is if the Admins reading this comments: Please give us oportunity to listen what we're recording..Pleeasseee And few things...Some options with the recording place or name should be nice..Name is enhough with the "Artist - Song name" Seperate folders are needless I think..
"Admins"/developers are reading your comments... And the current beta version, not that I've worked on it, has playback support using a thirdparty player... It's not easy (as in userfriendly), but possible... And I think changing the directory scheme is possible too...
Its almost laughable that people haven't been able to figure this out yet...butttttt... if you log in on last.fm after you log in to the ripper then whatever your playin in last fm will record, try it it works. I started ripping from lastfm://artist/Seba/similarartists and then went to that on last.fm as well and whatever i do on last.fm goes along with the ripper, if you change songs itll continue ripping but it will be th ennew song, try it!!
it works for me, found out that u sample what u record after it's been recorded... may i suggest there be a sound so we can hear while we record, not after we record...
madhatr... wrote: "if you log in on last.fm after you log in to the ripper then whatever your playin in last fm will record... whatever i do on last.fm goes along with the ripper, if you change songs itll continue ripping but it will be th ennew song"
?? If I log in on the last.fm website after logging in witht he ripper (with the same username), the music plays fine from the website, and the ripper stops recording when finished witht he current song. I may be laughable, but can't make it work as you suggest.
I use this 'silent' app as follows: I create a PlayList? on the website, adding all the stuff I want to record, then start it playing from LastRipper? and leave the house for work, shopping, whatever. When I come back home, there's quite a lot of loot in my target dir.
If I want to record a specific song, I navigate as close to it as possible, opening the artist, let it play and skip every song I do NOT want. All this time I have "Audacity" recording from device "Stereomix".
Once my song has been played (which, of course, I don't skip ;) I stop Audacity and trim the WAV, then export it to MP3. Some songs you can even tell LastFM to play a specific song directly. (Up to 3 times)
Vista Users: Device Stereomix is not visible by default, so in settings, you'll first have to switch the "View disabled Devices" to ON, then enable the 'Stereomix'.
Thanks for a wounderful program, but why cant i save more than one song from each artist/album? It seeems LastRipper? overwrite the song i ripped before from the same album? Its seems to be a known issue since other versions of LastRipper? so when will it be fixed?
Play while ripping: TheLastInstaller?_v131b4 & MiniWebRadioPlayer?http://www.arpoon.de/downloads/WRPlayer.exe WebRadio? TheLastRipper?=http://localhost:8000 TheLastInstaller?_v131b4 works only on Port 8000 and it needs an path in "Quarantine" to "skip existing music". Thanks for the wounderful Work.
Play while ripping: TheLastInstaller?_v131b4? & MiniWebRadioPlayer?? http://www.arpoon.de/downloads/WRPlayer.exe WebRadio?? TheLastRipper??=http://localhost:8000 TheLastInstaller?_v131b4? works only on Port 8000 and it needs an path in "Quarantine" to "skip existing music". Thanks for the wounderful Work.
Please explain a bit more.. I get "Unable to connect" in MiniWebRadioPlayer? :(
great little app! for those who expected a version with live listening just download the latest beta (131b4) go to the network tab ...and read the instructions :)
Great little app - love it!! - excellent work, thanks a lot!!
To listen to the sound live in Itunes while recording (in beta version 131b5) open a new audio stream (top menu in Itunes) and enter 127.0.0.1:8000 - and viola! you can hear the sound. Hope this helps somebody.. :-)
it isn't working. there's a message, "no station found, please change and restart ripping". it doesn't matter how much times i change the station, it always appears this thing. what am i supposed to do ?
Is this project abandoned? It has such great potential, it would be great if some things could be updated and fixed... hope to see some help files soon
It's not completely abandoned... But I think some of the developers... Me included are busy with other projects for the moment being... And the current release works (not perfect), but it works... :)
it isn't working. there's a message, "no station found, please change and restart ripping". it doesn't matter how much times i change the station, it always appears this thing. what am i supposed to do ?
I have exactly the same problem. Does this have anything to do with the recent changes in last.fm (I don't live in the UK, US or DE) or is there another way to fix this?
Hi, I'd tried your tiny app and I've to say: thank you! Now it comes to the requesting part. I'm playing with a scripting tool which is 99,99% related to the Windows API. Its named AutoHotkey?. One of its commands/functions is DllCall?().
When the program starts I get the preferences screen. After I put in my login credentials and press "login" nothing seems to happen. When I close the screen TheLastRipper? starts up and I can put in my name and click (loved, personal,..)
Then when I switch to the url tab, the uri displayed does not seem right:
I'm new to LastFM and LastRipper?. Yesterday, I tried to figure out how it works, and succeeded in recording a few songs. But now nothing seems to work anymore. On the URL page, even the global tags lead only to "No playlist found or no more songs available. Please restart ripping." On the log page I see a lot of "SkipFEqxxx?'Title'" and then "Server request failed". I'm using the latest version (1.3.1 beta 4).
how i can save the music file?
Cannot hear music
it is not intended to listen to the music with TheLastRipper?. So why are there buttons for Love/Hate/Skip??
cannot hear music
I have no clue how to use it. Some real help file would be most welcome.
Here's a python script to monitor your folder tree and automatically enqueue downloaded tracks into winamp. It's not the same as listening while the songs stream, you'll have to give The Last Ripper a head start on the downloading, and it's very inefficient for large directory trees, so don't monitor your whole collection with it. It relies on CLAMP. Just change the path_to_watch and path_to_clampexe and run with python.
import os, time path_to_watch = "." path_to_clampexe = "c:\Program Files\Winamp\CLAmp.exe" before = [] for path,dirs,files in os.walk("."): before.extend([os.path.join(path,f) for f in files]) while 1: time.sleep (10) after = [] for path,dirs,files in os.walk("."): after.extend([os.path.join(path,f) for f in files]) added = [f for f in after if not f in before] removed = [f for f in before if not f in after] if added: print "Added: ", ", ".join (added) for a in added: if a.endswith("mp3"): os.system('""%s" /pladd "%s"' % (path_to_clampexe, os.path.abspath(a))) if removed: print "Removed: ", ", ".join (removed) before = afterThat code, by the way, is adapted from Tim Golden's site On the Win32 How Do I...? page he says "these are designed to be cut-and-pasted straight into a .py file", which isn't an official copyright statement. As far as I'm concerned, do what you want with the above, but if you're going to do anything commercial with it (why would you?) I'd talk to him.
this tool IS easy to use, just don't expect to hear anything, it's just recording. and it is NOT recording the music you are listening to on last.fm simultaneously, it's more like you start another player on last.fm, playing different songs. understood? so, when u first start it, enter your username and password form the last.fm account WHICH IS NEEDED!!! then go to the "storage" flag and browse a folder, you want to store the mp3s in. then (so damn easy folks) press LOGIN. now under "find music" you can use the same functions as on the last.fm site. just like "tag" search or so. try it. you can even copy the url you are listening to (like when you are listening to "U2" similar artists -> http://www.lastfm.de/listen/artist/U2/similarartists) to the URL flag. man..whatever...still don't get it? then please...go and play with barbie but don't break it's arms.
Nice app however the ability to click a button and say "Stop downloading after current song" would be nice as currently "quitting" the app will cut off a song.
Also a plugin to allow the user to hear the tune being downloaded would be nice (as the Love/Hate buttons are meaningless without this.)
being able to listen would make this the perfect app!!!
Is there a way to download only songs by a specific artist? Or songs from a specific album? Or, even, specific songs? I have had little luck with any other than the "Artist" button for artists (which downloads from their "Similar Artist" radio.
I agree, according to laserc's cocky comments this should be easy. In fact took that exact url he suggested and pasted it in to the url block clicked tune in and nothing. so is this a bug?
running the ubuntu pkg on intrepid
The urls you can play starts with lastfm:// You can see some of them in appendix A here: http://code.google.com/p/thelastripper/wiki/LastFM12UnofficialDocumentation
"it is not intended to listen to the music with TheLastRipper??. So why are there buttons for Love/Hate/Skip?? "
was really a good one formusek..Totally agree with you..How could I know I'd hate or love a song while nNOT listening? My wish is if the Admins reading this comments: Please give us oportunity to listen what we're recording..Pleeasseee And few things...Some options with the recording place or name should be nice..Name is enhough with the "Artist - Song name" Seperate folders are needless I think..
"Admins"/developers are reading your comments... And the current beta version, not that I've worked on it, has playback support using a thirdparty player... It's not easy (as in userfriendly), but possible... And I think changing the directory scheme is possible too...
Its almost laughable that people haven't been able to figure this out yet...butttttt... if you log in on last.fm after you log in to the ripper then whatever your playin in last fm will record, try it it works. I started ripping from lastfm://artist/Seba/similarartists and then went to that on last.fm as well and whatever i do on last.fm goes along with the ripper, if you change songs itll continue ripping but it will be th ennew song, try it!!
this program downloads the whole songs or part of them?
It records the whole songs... unless there's a bug at last.fm serverside...
You could made that program also search entire albums in LastFM rather than separate songs, what do you think?
it works for me, found out that u sample what u record after it's been recorded... may i suggest there be a sound so we can hear while we record, not after we record...
madhatr... wrote: "if you log in on last.fm after you log in to the ripper then whatever your playin in last fm will record... whatever i do on last.fm goes along with the ripper, if you change songs itll continue ripping but it will be th ennew song"
?? If I log in on the last.fm website after logging in witht he ripper (with the same username), the music plays fine from the website, and the ripper stops recording when finished witht he current song. I may be laughable, but can't make it work as you suggest.
I use this 'silent' app as follows: I create a PlayList? on the website, adding all the stuff I want to record, then start it playing from LastRipper? and leave the house for work, shopping, whatever. When I come back home, there's quite a lot of loot in my target dir.
If I want to record a specific song, I navigate as close to it as possible, opening the artist, let it play and skip every song I do NOT want. All this time I have "Audacity" recording from device "Stereomix".
Once my song has been played (which, of course, I don't skip ;) I stop Audacity and trim the WAV, then export it to MP3. Some songs you can even tell LastFM to play a specific song directly. (Up to 3 times)
Vista Users: Device Stereomix is not visible by default, so in settings, you'll first have to switch the "View disabled Devices" to ON, then enable the 'Stereomix'.
Thanks for a wounderful program, but why cant i save more than one song from each artist/album? It seeems LastRipper? overwrite the song i ripped before from the same album? Its seems to be a known issue since other versions of LastRipper? so when will it be fixed?
Play while ripping: TheLastInstaller?_v131b4 & MiniWebRadioPlayer? http://www.arpoon.de/downloads/WRPlayer.exe WebRadio? TheLastRipper?=http://localhost:8000 TheLastInstaller?_v131b4 works only on Port 8000 and it needs an path in "Quarantine" to "skip existing music". Thanks for the wounderful Work.
Play while ripping: TheLastInstaller?_v131b4? & MiniWebRadioPlayer?? http://www.arpoon.de/downloads/WRPlayer.exe WebRadio?? TheLastRipper??=http://localhost:8000 TheLastInstaller?_v131b4? works only on Port 8000 and it needs an path in "Quarantine" to "skip existing music". Thanks for the wounderful Work.
Please explain a bit more.. I get "Unable to connect" in MiniWebRadioPlayer? :(
great little app! for those who expected a version with live listening just download the latest beta (131b4) go to the network tab ...and read the instructions :)
oops! make that 131b5
Great little app - love it!! - excellent work, thanks a lot!!
To listen to the sound live in Itunes while recording (in beta version 131b5) open a new audio stream (top menu in Itunes) and enter 127.0.0.1:8000 - and viola! you can hear the sound. Hope this helps somebody.. :-)
how to put songs under same folder?
it isn't working. there's a message, "no station found, please change and restart ripping". it doesn't matter how much times i change the station, it always appears this thing. what am i supposed to do ?
Is this project abandoned? It has such great potential, it would be great if some things could be updated and fixed... hope to see some help files soon
It's not completely abandoned... But I think some of the developers... Me included are busy with other projects for the moment being... And the current release works (not perfect), but it works... :)
it isn't working. there's a message, "no station found, please change and restart ripping". it doesn't matter how much times i change the station, it always appears this thing. what am i supposed to do ?
I have exactly the same problem. Does this have anything to do with the recent changes in last.fm (I don't live in the UK, US or DE) or is there another way to fix this?
1.1.1 won't even open on my MacBook? Pro OSX v10.4.11
Same issue with OS X 10.11. No login at all.
wont open on OSX 10.5.4
If anyone wants to help test out OS X release, please post a note on the development list: http://groups.google.com/group/thelastripper-dev
Our help section might be alittle out of date... If anyone wants to update it let us know...
can't run. error message every time install and try to run. Win xp with mono installed. thank you, larry
It's requires .Net 2.0 from Microsoft if you're running windows...
Hi, I'd tried your tiny app and I've to say: thank you! Now it comes to the requesting part. I'm playing with a scripting tool which is 99,99% related to the Windows API. Its named AutoHotkey?. One of its commands/functions is DllCall?().
http://www.autohotkey.com/docs/commands/DllCall.htm
I'd like to connect an AutoHotkey? scripted GUI to your core TheLastRipper?-dll that way. Any documentation available?
Feel free to get in touch with me via one of the AutoHotkey?-Forums: http://www.autohotkey.com (US/UK) http://de.autohotkey.com (German)
My nick there is BoBo? (or BoBo?² if not logged in), and you don't have to register to post.
Thx for your support,looking forward to hear from you & keep on going!!
Rgds, BoBo?
When the program starts I get the preferences screen. After I put in my login credentials and press "login" nothing seems to happen. When I close the screen TheLastRipper? starts up and I can put in my name and click (loved, personal,..)
Then when I switch to the url tab, the uri displayed does not seem right:
lastfm://user/niquil/loved
It should probably be: http://www.last.fm/listen/user/NiQuil/personal
I cant change it nor does it start recording. Anyone know what I am doing wrong? (presuming I am :-)
Greetz NiQuil?
Hi everybody - and Merry Christmas!
I'm new to LastFM and LastRipper?. Yesterday, I tried to figure out how it works, and succeeded in recording a few songs. But now nothing seems to work anymore. On the URL page, even the global tags lead only to "No playlist found or no more songs available. Please restart ripping." On the log page I see a lot of "SkipFEqxxx?'Title'" and then "Server request failed". I'm using the latest version (1.3.1 beta 4).
What's wrong? Is it my fault? Or LastFM's?
Best regards, janpit