Skip to Content.
Sympa Menu

baslinux - Re: [BL] mp3blaster gamp mplay cmus mos orpheus OR vlc?

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: baslinux AT lists.ibiblio.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] mp3blaster gamp mplay cmus mos orpheus OR vlc?
  • Date: Mon, 10 Aug 2009 07:32:12 +1200

Message from Steven
===================

> > For internet audio streams I have a written a
> > wee script to display a menu of streams which
> > are accessed by entering the corresponding
> > number in the menu (you are welcome to a copy).
>
> thanks steven, i would greatly appreciate being
> able to experiment with your script!

----------radio executable--------
while :; do
clear
set -- `cat radio.dat`
N=0
until [ $# = 0 ]; do
let N=N+1
case $N in 5|10|15|20)echo;esac
echo $N. $1
shift 3
done
echo -n " "
read A
[ $[A] = 0 ] && exit
[ $A -gt $N ] && exit
set -- `cat radio.dat`
shift
N=1
until [ $N = $A ]; do
shift 3
let N=N+1
done
mplayer -af volume=$1 $2
done
---------------------------------

Each station gets a two-line entry in the
data file (radio.dat). The first line has
a short description of the station (without
spaces) followed by a space and a number
(0 for normal volume, higher numbers louder).

------------radio.dat-------------------
Radio_TFM__20kb 0
http://wm.live.tv-radio.com/tfm_20k

Radio_Mega__20kb 8
http://wm.live.tv-radio.com/radiomega_20k

Commedy_Radio__24kb 1
http://72.11.154.25:8400

WZFG_20kb 0
mms://uni1.mspan.streamaudio.com/WZFG_AM
-----------------------------------------
You can add as many stations as you want.
By default the script will put a blank line
in the menu between every set of five stations
(case $N in 5|10|15|20) but you can change the
numbers to group the stations however you wish.

> i may also investigate what's involved to
> install either sindi's mp3blaster or the vlc
> package from slackware 9.

BL3 is compatible with packages from Slackware 4.
To use packages from Slackware 9 you would need
to upgrade the libraries (which is not recommended
for very old PCs).

Cheers,
Steven




Archive powered by MHonArc 2.6.24.

Top of Page