2006-10-10

The infamous John Smith, the stream ripper...

Some time ago, Longwei shared with us how to record an episode of some monument (he said so) of the French TV in order to go out and have some beer with friends (there)...
Today I was confronted to almost the same issue: some friends of mine are doing a radio show in France on RadioCampusGrenoble, while I am willing to go and juggle in the juggling gathering her, in Copenhagen. The beauty of Internet let me stream the show, albeit at the correct time...

So. Here we go again, the same in color! Or rather the same without image.
To hear the stream I just connect to the website of the radio and use any kind of software which can do that (BeepMediaPlayer on Cafetière for example), to record it on a mp3 or rather ogg file we need something else, in the name of Streamripper... Sounds like a serial killer to me but it might be because I listen to too much deathmetal.

Then it is the same cooking:
- do a script with the correct parameterss
- edit correctly your cron table
- go out and toss some stuff in the air, try to catch it again or run faster than gravity bring it back...

Here comes the script:
#!/bin/sh
#duration in seconds

$TIME=$1
/usr/local/bin/streamripper http://live.campusgrenoble.org:9000/rcg112.m3u -l $TIME -a -A -m 15

Here comes my cron table:
30 21 * * * /home/hern42/scripts/rcg.sh 5400

I know it is some sort of a rip-off Longwei's fantastic work but, hey, his script didn't work out of the box for my radio show...

2 Comments:

Anonymous Anonymous said...

Hmmm, I have to check if mencodre/mplayer can open this can of streams !

10/10/2006 11:13 pm  
Blogger Unknown said...

Andhra Pradesh Engineering Agricultural and Medical Common Entrance Test AP EAMCET is a state level entrance examination conducted in the state of Andhra Pradesh for the selection of candidates into Engineering and Medicine and Agriculture courses. It is conducted by Jawaharlal Nehru technical Institute.

Telangana State Engineering Agricultural and Medical Common Entrance Test TS EAMCET is a state level entrance examination conducted in the state of Telangana for the selection of candidates into Engineering and Medicine and Agriculture courses. It is conducted by Jawaharlal Nehru technical Institute (JNTU) on behalf of TSCHE.

1/24/2018 1:59 pm  

Post a Comment

<< Home