I'll check on the MTA. It is an old Mythbuntu install. (Ever so slowly
moving to a new box.)

The URL is Nashville 1510 AM through iHeart Radio, found by digging through
the HTML. Been working for months when I "tune in" to  Coast to Coast AM on
occasion at night. A more advanced version would read the HTML and pull the
URL at run time, in case it changes. Haven't gotten to, or needed, that yet.

Trying from the command line was new but verified I finally got working
parameters Wednesday.

Escaping the %'s in Cron got it working through cron, for now.

Paul

On Fri, Dec 11, 2020, 11:39 AM Csaba Toth <[email protected]> wrote:

> On top of the suggestions:
> 1. I think you may have an MTA but may not configured mail for the root.
> 2. To actually see what the script does: I'd wget that m3u url and see
> what comes out of the wire. If it's a legit playlist than I'd wget some of
> that as well if legit.
> 3. Check that the transcoder works at the command line
>
> On Fri, Dec 11, 2020, 9:13 AM Paul Boniol <[email protected]> wrote:
>
>> Thank you! Knew it was probably something simple I was overlooking.  That
>> got it working.
>>
>> Paul
>>
>> On Fri, Dec 11, 2020 at 2:16 AM John R. Dennison <[email protected]>
>> wrote:
>>
>>> On Fri, Dec 11, 2020 at 02:03:25AM -0600, Paul Boniol wrote:
>>>
>>> >
>>> > crontab -e as my usual user.
>>> >
>>> > 0 0 * * * timeout 4h cvlc -I dummy
>>> > https://stream.revma.ihrhls.com/zc2149/hls.m3u8 :no-video
>>> >
>>> :sout="#transcode{acodec=mp3,ab=128}:std{access=file,mux=dummy,dst=/home/paul/Audio/Coast-$(date
>>> > '+%Y-%m-%d-%H-%M-%S').mp3"
>>>
>>> Any '%' in a crontab needs to be escaped as it has special meaning to
>>> cron:
>>>
>>> "A "%" character in the command, unless escaped with a backslash (\),
>>> will be changed into newline characters,  and all data after the first %
>>> will be sent to the command as standard input."
>>>
>>> (man 5 crontab)
>>>
>>> --
>>> Live every day like it's your last because someday you're going to be
>>> right.
>>>
>>> -- Muhammad Ali
>>>
>>> --
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "NLUG" group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/nlug-talk?hl=en
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "NLUG" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/nlug-talk/20201211081614.GF5777%40elros.gerdesas.com
>>> .
>>>
>> --
>> --
>> You received this message because you are subscribed to the Google Groups
>> "NLUG" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/nlug-talk?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "NLUG" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/nlug-talk/CAL9PgS2cBtFCTeux%2B%2BNBZB%3DX52gCPCQQ%2BFM-4t%2Bb4Nx5U9qtdw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/nlug-talk/CAL9PgS2cBtFCTeux%2B%2BNBZB%3DX52gCPCQQ%2BFM-4t%2Bb4Nx5U9qtdw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> --
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nlug-talk?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nlug-talk/CA%2BKhHxJ0mFrxYek6bBYW-7cte2gL4gPf6HrzHBDhiT0e8RjEAw%40mail.gmail.com
> <https://groups.google.com/d/msgid/nlug-talk/CA%2BKhHxJ0mFrxYek6bBYW-7cte2gL4gPf6HrzHBDhiT0e8RjEAw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nlug-talk/CAL9PgS3J28-hn2W5zHaQ2rA3HFsMRy9hQ5fNFrOXsEvEF8mzkw%40mail.gmail.com.

Reply via email to