[GreenKeys] Another news feed!

Doug Alderdice dalderdi at verizon.net
Sun Dec 29 21:05:43 EST 2024


With the news of the passing of a former president happening right now, 
it is kind of cool to be printing notable, current news from my Teletype 
machine!

Many thanks for this!

73,

Doug, KA2WFT


On 12/29/2024 8:02 PM, Harold Hallikainen via GreenKeys wrote:
> Thanks for the comments on https://w6iwi.org/rtty/audio/nyt/ ! I've been
> working on it most of today. It works pretty well, but it generally quits
> after sending NYT.wav . It SHOULD refetch it and play the next. I've been
> messing with code to play a list of files. To make each file appear
> different, the requests are NYT.wav?n=0, n=1, etc. This SHOULD force a new
> request. It looks like it might be, but the audio player then waits for
> someone to hit play. I used code from Google that is supposed to play
> files sequentially... Another issue is that on the hour, I regenerate
> nyt.wav . Even though I set the response headers to include Accept-Ranges:
> none , the header generated by Apache also includes Content-Range: bytes
> 229376-21380883/21380884 , so the browser does byte range requests.
> 
> For example, I see a request with the header:
> 
> Range: bytes=229376-
> 
> I THINK that on these range requests, it can be getting the old file and
> the new one.
> 
> I'll continue to bang on this. I might change the cron job that does the
> update to be less frequent (currently once per hour) so the issue comes up
> less often.
> 
> Fun stuff!
> 
> Harold
> https://w6iwi.org


More information about the GreenKeys mailing list