Salut SuperJocker
et bien pourquoi n'ecouterai tu pas la radio avec xmms
voici un petit script que j'ai vu sur le net :
#!/bin/bash
# Lecteur de radio online
# Liste des radios disponibles
ouifm="mms://vip7.yacast.fr/encoderouifm"
fun="mms://vip2.yacast.fr/encoderfun"
sky="mms://vip3.yacast.fr/encoderskyrock"
nrj="mms://vip1.yacast.fr/encodernrj"
nostalgie="mms://vip1.yacast.fr/encodernostalgie"
cherie="mms://vip1.yacast.fr/encodercheriefm"
mouv="mms://viptvr.yacast.fr/encoderlemouv"
rfm="mms://wmbcast.rfm.speedera.net/wmbcast.rfm/wmbcast_rfm_nov292001_1220_12958"
europe2="mms://viptvr.yacast.fr/tvr_europe2"
rtl2="mms://vipbu.yacast.fr/encoderrtl2"
fg="[
217.71.208.19];
if [ "$2" == "" ]
then
cache="128"
else
cache="$2"
fi
if [ "$1" == "" ]
then
echo "Liste des radios disponibles"
echo "============================"
echo " - Oui FM (ouifm)"
echo " - Fun Radio (fun)"
echo " - Skyrock (sky)"
echo " - NRJ (nrj)"
echo " - Nostalgie (nostalgie)"
echo " - Chérie FM (cherie)"
echo " - Le Mouv' (mouv)"
echo " - RFM (rfm)"
echo " - Europe 2 (europe2)"
echo " - RTL 2 (rtl2)"
echo " - RadioFG (fg)"
else
if [ "$1" == "sky" ]
then
radio=$sky
fi
if [ "$1" == "fun" ]
then
radio=$fun
fi
if [ "$1" == "ouifm" ]
then
radio=$ouifm
fi
if [ "$1" == "nrj" ]
then
radio=$nrj
fi
if [ "$1" == "nostalgie" ]
then
radio=$nostalgie
fi
if [ "$1" == "cherie" ]
then
radio=$cherie
fi
if [ "$1" == "mouv" ]
then
radio=$mouv
fi
if [ "$1" == "rfm" ]
then
radio=$rfm
fi
if [ "$1" == "europe2" ]
then
radio=$europe2
fi
if [ "$1" == "rtl2" ]
then
radio=$rtl2
fi
if [ "$1" == "fg" ]
then
radio=$fg
fi
mplayer $radio -cache $cache
fi
pour trouver les sources :
[
mediasfrancophones.free.fr]
enfin bon, je pense que tu y as pensé avant que je te lise ...