Let's avoid copyright discussions by stipulating that the goal here is not violations. After all, the technology of capturing streaming audio, is widely available, I was just remarking on how it could be used with slimserver in a tivo-like fashion.
So, how do you do it? This is not my idea, of course, and is cobbled from various on- line discussions, but my rudimentary script looks like this: #!/bin/sh mplayer -playlist "/media/bits/Playlists/WKCR real.m3u" -ao pcm:file=/media/bits/music/Broadcasts/wkcrstream.wav -vc dummy -vo null ; lame -h /media/bits/music/Broadcasts/wkcrstream.wav /media/bits/music/Broadcasts/wkcr.mp3 ; rm /media/bits/music/Broadcasts/wkcrstream.wav ; I use crontab to start the script when needed, and use a crontab entry to kill the mplayer instance when the program is done. I'm sure thatt there are many improvements possible including more graceful ways of closing mplayer, or piping the output to lame, but this works for me. Enjoy -- ericj ------------------------------------------------------------------------ ericj's Profile: http://forums.slimdevices.com/member.php?userid=3230 View this thread: http://forums.slimdevices.com/showthread.php?t=21084 _______________________________________________ Discuss mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/discuss
