<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font style="" color="#000000" face="Tahoma,sans-serif">Are you using an RPi2 or BBB? The script does not work reliably on the BBB. I only support it on the RPi2.<br id="FontBreak"></font><br><b><font style="font-size:16pt;" size="4">73 Doug</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">WA3DSP</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">http://www.crompton.com/hamradio</font></b><font style="font-size:16pt;" size="4"><br></font><br><br><div>> Date: Wed, 2 Sep 2015 22:13:17 -0400<br>> From: andy@neu.net<br>> To: arm-allstar@hamvoip.org<br>> Subject: Re: [arm-allstar] Subject: Newby instructions for playnews<br>> <br>> I am responding to a message that is cut and pasted below:<br>> <br>> Message: 1<br>> Date: Tue, 1 Sep 2015 07:55:01 -0700<br>> From: Stanley Stanukinos <ka5iid@swbell.net><br>> To: arm-allstar@hamvoip.org<br>> Subject: [arm-allstar] Newby instructions for playnews<br>> Message-ID:<br>> <1441119301.13682.YahooMailBasic@web184304.mail.ne1.yahoo.com><br>> Content-Type: text/plain; charset=us-ascii<br>> <br>> Thanks to Doug for his wonderful work on the playnews script and help from <br>> others I was able to get it operational on my node.<br>> I am going to list the steps in order I used so someone can follow that <br>> has linited Linux experience and make it work.<br>> <br>> <br>> --------------------------<br>> <br>> I first want to say thanks to Doug and everyone who helps develope the <br>> software for all of their effort and hard work.<br>> <br>> I tried the scripts today and can report the following:<br>> <br>> ./playnews ARN NOW 41346 works perfectly<br>> <br>> ./playnews ARRL NOW 41346 does the following:<br>> [root@BBB_Allstar ~]# cd /etc/asterisk/local/playnews<br>> [root@BBB_Allstar playnews]# ./playnews ARRL NOW 41346 L<br>> Starting Download of ARRL Audio News @ 21:46:37<br>> WARNING: combining -O with -r or -p will mean that all downloaded content<br>> will be placed in the single file you specified.<br>> <br>> --2015-09-02 21:46:37-- <br>> http://www.arrl.org/files/file/News/Audio%20News/AAN-2015-08-28.mp3<br>> Resolving www.arrl.org (www.arrl.org)... 184.106.62.251<br>> Connecting to www.arrl.org (www.arrl.org)|184.106.62.251|:80... connected.<br>> HTTP request sent, awaiting response... 200 OK<br>> Length: 13777064 (13M) [audio/mpeg]<br>> Saving to: /tmp/news.mp3<br>> <br>> 100%[===========================================================================================================>] <br>> 13,777,064 4.04MB/s in 3.3s<br>> <br>> 2015-09-02 21:46:40 (4.04 MB/s) - /tmp/news.mp3 saved [13777064/13777064]<br>> <br>> FINISHED --2015-09-02 21:46:40--<br>> Total wall clock time: 3.5s<br>> Downloaded: 1 files, 13M in 3.3s (4.04 MB/s)<br>> Download complete @ 21:46:40<br>> Converting from MP3 to individual ulaw format files<br>> Creating /tmp/news.part1.wav<br>> Creating /tmp/news.part2.wav<br>> Creating /tmp/news.part3.wav<br>> Creating /tmp/news.part4.wav<br>> Creating /tmp/news.part5.wav<br>> Creating /tmp/news.part6.wav<br>> Converting to /tmp/news.part1.ul<br>> Converting to /tmp/news.part2.ul<br>> Converting to /tmp/news.part3.ul<br>> Converting to /tmp/news.part4.ul<br>> Converting to /tmp/news.part5.ul<br>> Converting to /tmp/news.part6.ul<br>> ARRL news will start NOW and use localplay (local) mode on node - 41346<br>> Press any key to start news...<br>> Starting in 10 seconds - Hit Ctrl C to interrupt<br>> 10 9 8 7 6 5 4 3 2 1<br>> Playing file /tmp/news.part1.ul<br>> ^C<br>> <br>> Allison announces the ARRL news will begin. Then when the first file <br>> should be played, Allison says "ARRL news will continue in 20 seconds" but <br>> nothing happens. I press ctrl-c to exit back to command prompt. So it <br>> seems to down load and convert the files correctly, but fails to play <br>> them. I tried to delete the news* files in /tmp but that did not help. <br>> If I can provide any more useful info to help debug please let me <br>> know.<br>> <br>> Andy AB3XT<br>> _______________________________________________<br>> <br>> arm-allstar mailing list<br>> arm-allstar@hamvoip.org<br>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar<br>> <br>> Visit the BBB and RPi2 web page - http://hamvoip.org<br>> <br></div> </div></body>
</html>