For KGLT’s recently redesigned site, we built an Archive player with a selectable list of the last 2 weeks of shows:
https://kglt.net/listen/archive/
@tom , as I recall, you mentioned in this forum that the archive streams get processed by about 10min past each hour. Is that correct? Our API-call asks for playlists with a 'start' of 2-weeks ago and an 'end' of 90-minutes ago. Are those good values for getting all playlists with audio but not getting an hour yet-to-have a stream? Thx.
Correct me if I’m wrong: you have Spinitron playlist in an iframe, the ark-player direct from npm/github, and, I suppose, you’re creating those lovely show-btn buttons with scripts of your own using the GET /playlists API endpoint.
I should say that my SpinitronApiClient is not designed to be robust, it’s designed to be tutorial with the minimum lines of code to get you started and demonstrate fetching, searching and caching. If it works for you, great, but if it breaks, I don’t want to have to fix it :P
Tip o’ hat much appreciated. And now that you mention it: I do see your clearly stated Caveats re: robustness and garbage collection. (I really gotta learn to RTFM.) Will take your tut and adapt it to our needs when time permits. Thanks for pointing this out.