DATE=`date +%d.%m.%Y`
cd /var/lib/mpd/music 
rm rss_10241.xml
wget http://radiofrance-podcast.net/podcast09/rss_10241.xml
FILENAME_PATTERN="10241-"$DATE"-ITEMA_[[:alnum:]]*-[[:alnum:]]*.mp3"
PATTERN="http://media.radiofrance-podcast.net/podcast09/10241-"$DATE"-ITEMA_[[:alnum:]]*-[[:alnum:]]*.mp3"
MP3_ADDRESS=`grep $PATTERN rss_10241.xml -o`
FILENAME=`grep $FILENAME_PATTERN rss_10241.xml -o -m1`
mpc clear
wget $MP3_ADDRESS
mpc update
mpc add  $FILENAME
