Date: Wed, 13 Jul 2016 11:24:01 -0700 From: Aleksandr Miroslav <alexmiroslav@gmail.com> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: recording Internet radio? Message-ID: <CACcSE1wx2MTA9=a8E=-DYyOS6Fb0V_jQB%2BgO0nTzAQu0w1d6Xw@mail.gmail.com> In-Reply-To: <CAL5CjnxwowP3_fxr__pxXR7_CFHbp%2BAO3ehka%2BA4sJkutk03dw@mail.gmail.com> References: <CACcSE1zE3XzTrsaXTK-voD0uCRwMM4QUVpxn0VD2-9ZPHo8pXw@mail.gmail.com> <20160712004959.c8fa53c1.freebsd@edvax.de> <slrnno8ja0.2fo6.SPAM_TRAP_gmane@vps.jonz.net> <CAL5CjnxwowP3_fxr__pxXR7_CFHbp%2BAO3ehka%2BA4sJkutk03dw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 11, 2016 at 11:39 PM, (=E2=80=A2=E2=80=BF=E2=80=A2) Dh=C3=A9nin= Jean-Jacques < dhenin@gmail.com> wrote: > [...] > echo "killall mplayer" | at +$DUREE minutes > [...] > /usr/local/bin/mplayer -noconsolecontrols -really-quiet -slave -ao > pcm:file=3D"`date "+%j-%Hh%M"`.wav" \ > http://audio.scdn.arkena.com/11010/franceculture-midfi128.mp3 > > Thanks for sending this script. I ended up writing mine before you sent this message. Instead of using at(1), I just sleep for [length of show] and kill mplayer. Also, I didn't know about the -really-quiet and -slace switches. Good to know.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACcSE1wx2MTA9=a8E=-DYyOS6Fb0V_jQB%2BgO0nTzAQu0w1d6Xw>