Wednesday, August 23, 2006

FanFest 2006 - PeerCast Radio

[You can listen the radio on windows and linux with the peercast client , Here is what i did on ubuntu

Step 1:sudo apt-get install peercast xmms

Step 2:

mkdir /opt/peercast

vi /opt/peercast/peercast-enqueue-in-xmms.pl

with this content

#!/usr/bin/perl

my $args = shift;

$args =~ /peercast:\/\/pls\/(\w*)/;

my $regex = $1;exec("xmms --enqueue \"http://127.0.0.1:7144/stream/$regex\"")]

step 3: open the strem from the link bellow (peer cast url)

/opt/peercast/peercast-enqueue-in-xmms.pl peercast://pls/7EF82525BFB749F098053BB37E81AA0B?tip=86.106.54.165:7144

Read more at www.fanfest.ro/2k6/inde...

No comments: