[arm-allstar] Playnews migration to v1.5
Robert Conklin
n4wgy.ham at gmail.com
Tue Jan 31 22:39:45 EST 2017
Thank you for your time with this Doug.
It does not respond to my crontab tasks at all. here is an example of one
of my cronjobs.
*30 19 * * 3 /etc/asterisk/local/playnews/playnews-0.9 ARN 20:01 42738 G*
Per your query, entering the following command at 21:28:
*[root at Allstr_42738 playnews]# ./playnews-0.9 ARRL 21:41 42738 G*
With the following results on the console. The 10 and 5 minute warnings
play, and the news plays fine at the appointed time. The files appear where
they should and are deleted after the news plays.
*[root at Allstr_42738 playnews]# ./playnews-0.9 ARRL 21:41 42738 G*
*Starting Download of ARRL Audio News @ 21:28:35*
*WARNING: combining -O with -r or -p will mean that all downloaded content*
*will be placed in the single file you specified.*
*--2017-01-31 21:28:35--
http://content.blubrry.com/arrlaudionews/AAN-2017-01-27.mp3
<http://content.blubrry.com/arrlaudionews/AAN-2017-01-27.mp3>*
*Resolving content.blubrry.com <http://content.blubrry.com>
(content.blubrry.com <http://content.blubrry.com>)... 69.16.175.42,
69.16.175.10*
*Connecting to content.blubrry.com <http://content.blubrry.com>
(content.blubrry.com <http://content.blubrry.com>)|69.16.175.42|:80...
connected.*
*HTTP request sent, awaiting response... 200 OK*
*Length: 13593747 (13M) [audio/mpeg]*
*Saving to: '/media/USBDRV/TEMP_DIRECTORY/news.mp3'*
*/media/USBDRV/TEMP_DI 100%[======================>] 12.96M 1.22MB/s
in 8.6s*
*2017-01-31 21:28:44 (1.51 MB/s) - '/media/USBDRV/TEMP_DIRECTORY/news.mp3'
saved [13593747/13593747]*
*FINISHED --2017-01-31 21:28:44--*
*Total wall clock time: 8.8s*
*Downloaded: 1 files, 13M in 8.6s (1.51 MB/s)*
*Download complete @ 21:28:44*
*Converting from MP3 to individual ulaw format files*
*Creating /media/USBDRV/TEMP_DIRECTORY/news.part1.wav*
*Creating /media/USBDRV/TEMP_DIRECTORY/news.part2.wav*
*Creating /media/USBDRV/TEMP_DIRECTORY/news.part3.wav*
*Creating /media/USBDRV/TEMP_DIRECTORY/news.part4.wav*
*Creating /media/USBDRV/TEMP_DIRECTORY/news.part5.wav*
*Creating /media/USBDRV/TEMP_DIRECTORY/news.part6.wav*
*Converting to /media/USBDRV/TEMP_DIRECTORY/news.part1.ul*
*Converting to /media/USBDRV/TEMP_DIRECTORY/news.part2.ul*
*Converting to /media/USBDRV/TEMP_DIRECTORY/news.part3.ul*
*Converting to /media/USBDRV/TEMP_DIRECTORY/news.part4.ul*
*Converting to /media/USBDRV/TEMP_DIRECTORY/news.part5.ul*
*Converting to /media/USBDRV/TEMP_DIRECTORY/news.part6.ul*
*ARRL news will start at 21:41 and use playback (global) mode on*
*node - 42738 with 5 and 10 minute pre-warnings*
*Waiting to send 10 minute warning*
*Waiting to send 5 minute warning*
--
Robert Conklin
*N4WGY <http://qrz.com/db/N4WGY>*
More information about the arm-allstar
mailing list