SCRIPT PARA RADIO
Pues bien, es un script que posteo un compañero en un foro (en el script viene el enlace), pero como me ha encantado, me gustaria compartirlo con vosotros. Es un script para oir emisoras de radio, a mi me funcionan casi todas, venga disfrutarlo:
+++++++++++++++++++++++++++++++++++++++
#!/bin/sh
#Script basado en el de un BocaDePez de BandaAncha: http://www.bandaancha.st/foros.php?temid=273195
#Copyleft Psycosis 08-2004. Under GPL License. Make with vi.
function Emisora()
{
clear
echo
echo " 1 = 2000Classical.com"
echo " 2 = Los 40 Principales"
echo " 3 = Cadena SER"
echo " 4 = M80 Radio"
echo " 5 = RNE Radio 1"
echo " 6 = RNE Radio Clasica"
echo " 7 = RNE Radio 3"
echo " 8 = RNE Radio 5"
echo " 9 = RNE Radio Exterior de España"
echo "10 = Europa FM"
echo "11 = Cadena 100"
echo "12 = Kiss FM"
echo "13 = OndaCero"
echo "14 = Maxima FM"
echo "15 = Cadena Dial"
echo
echo
echo "Teclea Ctrl + C; para salir de la emisora y elegir una nueva."
echo "Teclea 0 (cero) y pulsa intro, para abandonar el programa."
echo
echo "Emisora a escuchar:"
echo
read choice
if [ $choice == 1 ] ; then
# 1.2000Classical.com
mplayer http://66.93.48.207/classical
elif [ $choice == 2 ] ; then
# 2.Los 40 Principales
mplayer -cache 256 http://a992.l783922627.c7839.e.lm.akamaistream.net/D/992/7839/v0001/reflector:22627
elif [ $choice == 3 ] ; then
# 3.Cadena SER
mplayer -cache 256 http://a1617.l784120262.c7841.e.lm.akamaistream.net/D/1617/7841/v0001/reflector:20262
elif [ $choice == 4 ] ; then
# 4.M80 Radio
mplayer -cache 256 http://a624.l857421577.c8574.e.lm.akamaistream.net/D/624/8574/v0001/reflector:21577
elif [ $choice == 5 ] ; then
# 5.RNE Radio 1
mplayer -cache 256 http://a729.l830022151.c8300.e.lm.akamaistream.net/D/729/8300/v0001/reflector:22151
elif [ $choice == 6 ] ; then
# 6.RNE Radio Clasica
mplayer -cache 256 http://a1247.l910622804.c9106.e.lm.akamaistream.net/D/1247/9106/v0001/reflector:22804
elif [ $choice == 7 ] ; then
# 7.RNE Radio 3
mplayer -cache 256 http://a1830.l830120550.c8301.e.lm.akamaistream.net/D/1830/8301/v0001/reflector:20550
elif [ $choice == 8 ] ; then
# 8.RNE Radio 5
mplayer -cache 256 http://a1360.l910520572.c9105.e.lm.akamaistream.net/D/1360/9105/v0001/reflector:20572
elif [ $choice == 9 ] ; then
# 9.RNE Radio Exterior de España
mplayer -cache 256 http://a259.l773120483.c7731.e.lm.akamaistream.net/D/259/7731/v0001/reflector:20483
elif [ $choice == 10 ] ; then
# 10.Europa FM
mplayer -cache 256 http://212.31.53.39/EU018
elif [ $choice == 11 ] ; then
# 11.Cadena 100
mplayer -cache 256 http://wma.cadena100.es/cien
elif [ $choice == 12 ] ; then
# 12.Kiss FM
mplayer http://win60ny.audiovideoweb.com/ny60winlive7001?WMThinning=0
elif [ $choice == 13 ] ; then
# 13.OndaCero
mplayer -cache 256 http://a536.l507220547.c5072.g.lm.akamaistream.net/D/536/5072/1006357674/reflector:20547
elif [ $choice == 14 ] ; then
# 14. Maxima FM
mplayer -cache 256 http://a225.l857520540.c8575.e.lm.akamaistream.net/D/225/8575/v0001/reflector:20540
elif [ $choice == 15 ] ; then
# 15. Maxima FM
mplayer -cache 256 http://a371.l1136133678.c11361.e.lm.akamaistream.net/D/371/11361/v0001/reflector:33678
elif [ $choice == 0 ] ; then
exit 0
else echo "Esa cadena no existe"
fi
Emisora
}
Emisora
+++++++++++++++++++++++++++++++++++++++
Yo lo he llamado emisoras, recordad darle permisos de ejecucion y para ejecutarlo
$ ./emisoras
+++++++++++++++++++++++++++++++++++++++
#!/bin/sh
#Script basado en el de un BocaDePez de BandaAncha: http://www.bandaancha.st/foros.php?temid=273195
#Copyleft Psycosis 08-2004. Under GPL License. Make with vi.
function Emisora()
{
clear
echo
echo " 1 = 2000Classical.com"
echo " 2 = Los 40 Principales"
echo " 3 = Cadena SER"
echo " 4 = M80 Radio"
echo " 5 = RNE Radio 1"
echo " 6 = RNE Radio Clasica"
echo " 7 = RNE Radio 3"
echo " 8 = RNE Radio 5"
echo " 9 = RNE Radio Exterior de España"
echo "10 = Europa FM"
echo "11 = Cadena 100"
echo "12 = Kiss FM"
echo "13 = OndaCero"
echo "14 = Maxima FM"
echo "15 = Cadena Dial"
echo
echo
echo "Teclea Ctrl + C; para salir de la emisora y elegir una nueva."
echo "Teclea 0 (cero) y pulsa intro, para abandonar el programa."
echo
echo "Emisora a escuchar:"
echo
read choice
if [ $choice == 1 ] ; then
# 1.2000Classical.com
mplayer http://66.93.48.207/classical
elif [ $choice == 2 ] ; then
# 2.Los 40 Principales
mplayer -cache 256 http://a992.l783922627.c7839.e.lm.akamaistream.net/D/992/7839/v0001/reflector:22627
elif [ $choice == 3 ] ; then
# 3.Cadena SER
mplayer -cache 256 http://a1617.l784120262.c7841.e.lm.akamaistream.net/D/1617/7841/v0001/reflector:20262
elif [ $choice == 4 ] ; then
# 4.M80 Radio
mplayer -cache 256 http://a624.l857421577.c8574.e.lm.akamaistream.net/D/624/8574/v0001/reflector:21577
elif [ $choice == 5 ] ; then
# 5.RNE Radio 1
mplayer -cache 256 http://a729.l830022151.c8300.e.lm.akamaistream.net/D/729/8300/v0001/reflector:22151
elif [ $choice == 6 ] ; then
# 6.RNE Radio Clasica
mplayer -cache 256 http://a1247.l910622804.c9106.e.lm.akamaistream.net/D/1247/9106/v0001/reflector:22804
elif [ $choice == 7 ] ; then
# 7.RNE Radio 3
mplayer -cache 256 http://a1830.l830120550.c8301.e.lm.akamaistream.net/D/1830/8301/v0001/reflector:20550
elif [ $choice == 8 ] ; then
# 8.RNE Radio 5
mplayer -cache 256 http://a1360.l910520572.c9105.e.lm.akamaistream.net/D/1360/9105/v0001/reflector:20572
elif [ $choice == 9 ] ; then
# 9.RNE Radio Exterior de España
mplayer -cache 256 http://a259.l773120483.c7731.e.lm.akamaistream.net/D/259/7731/v0001/reflector:20483
elif [ $choice == 10 ] ; then
# 10.Europa FM
mplayer -cache 256 http://212.31.53.39/EU018
elif [ $choice == 11 ] ; then
# 11.Cadena 100
mplayer -cache 256 http://wma.cadena100.es/cien
elif [ $choice == 12 ] ; then
# 12.Kiss FM
mplayer http://win60ny.audiovideoweb.com/ny60winlive7001?WMThinning=0
elif [ $choice == 13 ] ; then
# 13.OndaCero
mplayer -cache 256 http://a536.l507220547.c5072.g.lm.akamaistream.net/D/536/5072/1006357674/reflector:20547
elif [ $choice == 14 ] ; then
# 14. Maxima FM
mplayer -cache 256 http://a225.l857520540.c8575.e.lm.akamaistream.net/D/225/8575/v0001/reflector:20540
elif [ $choice == 15 ] ; then
# 15. Maxima FM
mplayer -cache 256 http://a371.l1136133678.c11361.e.lm.akamaistream.net/D/371/11361/v0001/reflector:33678
elif [ $choice == 0 ] ; then
exit 0
else echo "Esa cadena no existe"
fi
Emisora
}
Emisora
+++++++++++++++++++++++++++++++++++++++
Yo lo he llamado emisoras, recordad darle permisos de ejecucion y para ejecutarlo
$ ./emisoras
0 comentarios