Code: Select all
#/bin/bash
date=`date +"%a_%b_%I%M"`
newFile=radio_$date
ext=m4a
rm -f $newFile.$ext
/c/Program\ Files/VideoLAN/VLC/vlc.exe \
'mms://citadelcc-wjr-am.wm.llnwd.net/citadelcc_wjr_am' \
-I no_gui \
--run-time=176 \
vlc://quit \
--sout='#'transcode'{'acodec=mp4a,ab=128,channels=2,samplerate=44100'}':duplicate'{'dst=std'{'access=file,mux=mp4,dst=C:/A_Mike/vlc_record/$newFile.$ext'}}'