From owner-freebsd-questions@freebsd.org Wed Jul 13 18:24:03 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B7899B98630 for ; Wed, 13 Jul 2016 18:24:03 +0000 (UTC) (envelope-from alexmiroslav@gmail.com) Received: from mail-vk0-x229.google.com (mail-vk0-x229.google.com [IPv6:2607:f8b0:400c:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6FE44196B for ; Wed, 13 Jul 2016 18:24:03 +0000 (UTC) (envelope-from alexmiroslav@gmail.com) Received: by mail-vk0-x229.google.com with SMTP id x130so77622512vkc.0 for ; Wed, 13 Jul 2016 11:24:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=dB0zRW3rJ0u9Io3f7eM1Pg3ZEXnGOekOBDC25bOHpyY=; b=Zi7JnzZYOp/qGdhrPYOXkEvybCeDi1q2wqBfiVvgzoQkiztrYXJkHnEsPfRh8IhV+1 AX1D6+ZZi2myy0y6V8bq2sHOs9jx6rVwXez9EkavkMQ9l9anxdVbhg2bt0cFeBV9xkar HF+rx+pes6oW5fka0PwtJzR4M4V7IYKl9kcp/sx66b5c+m650Q3NVt5pNtqUZ8W8Ngkl tVx8wLp9IP5zvFXNgiw15kxTG4RVXWTKYNzONPzjI+61dJUX+fAd3HnqXTdTXa0uEtIQ mEiBexs/7t/Fk7p4U7IJyVtcVFg0ja97nRUUox5SHqS0Cg8dGHMwLdIQVA80FIyHsaYx d35A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=dB0zRW3rJ0u9Io3f7eM1Pg3ZEXnGOekOBDC25bOHpyY=; b=BsSCnx4h1L5Po5p7u1/GNl2WaHxJ7lIylXv19eyCn7PAmAoBCespOR/Xk7vPwJoB9d 2pguVS5LRZYF5XWnA4RSxzanCMu7X1jLXwD1Qyok1xheBTpiZu0fcdbBG0j7ev+qLQgg O+ZhJED/MmJFcGi45J65mnQ2qT5CE6E8+e7lCdM2uLqbPwLcYtdUto6x+28EUGjqIiYD R6XuVb2GtpiaspldXvUECgYyQ/bKhmLDEebYUpPXrLheEbx94q/sX6bA9dSw47GEJE1Z HTUoJFtwR3gX3ikMFGtvbjpI+NVWdm85qq57G3SI2NZWvgQ41O78BIMIBPDJ54OrTAiQ O4BA== X-Gm-Message-State: ALyK8tKTLTcLVmMyfzSuZnBIjNRcmBCT0bLoH/Sb272KAgjfvpjfx8TB4p8QaC6Qu3bezCZKCrKdZQxdVo6cWw== X-Received: by 10.159.34.55 with SMTP id 52mr4548818uad.2.1468434242327; Wed, 13 Jul 2016 11:24:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.68.1 with HTTP; Wed, 13 Jul 2016 11:24:01 -0700 (PDT) In-Reply-To: References: <20160712004959.c8fa53c1.freebsd@edvax.de> From: Aleksandr Miroslav Date: Wed, 13 Jul 2016 11:24:01 -0700 Message-ID: Subject: Re: recording Internet radio? To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2016 18:24:03 -0000 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.