-
-
Notifications
You must be signed in to change notification settings - Fork 92
Description
I'm using Plugdata 0.9.2 (which includes ELSE 1.0 RC13) on MacOS 15.7.2 (Apple silicon).
I'm trying to load web radio (icecast) URLS using the "stream" message to [play.file~] but it often fails with this error:
[play.file~]: open: Failed to open input stream
The example stream https://radio.plaza.one/ogg in the help file works fine, but many others fail. I checked my streams in a browser and all play fine. I tried a mix of http, https, different codecs, etc. I don't see a correlation. Maybe there are certain headers that cause a problem? I thought maybe it was a sample rate mismatch, but I tried different sample rates too.
Failed streams include:
http://stream0.wfmu.org/freeform-128k
https://locus.creacast.com:9001/brno_luzanky.mp3
https://audio.wavefarm.org/acra.mp3
Example patch below:
#X obj 63 328 else/out~; #X obj 63 276 else/play.file~ 2; #X msg 221 70 stream https://radio.plaza.one/ogg; #X msg 221 297 stream https://locus.creacast.com:9001/brno_luzanky.mp3, f 79; #X msg 47 71 start; #X msg 95 71 stop; #X msg 221 268 stream http://locus.creacast.com:9001/london_camberwell.ogg, f 83; #X msg 219 35 stream https://radio.plaza.one/mp3; #X msg 221 102 stream https://stream.live.vc.bbcmedia.co.uk/bbc_world_service, f 79; #X text 221 12 These work; #X msg 221 237 stream http://stream0.wfmu.org/freeform-128k; #X msg 221 129 stream https://fm939.wnyc.org/wnycfm-web, f 79; #X text 221 207 These don't work; #X msg 221 329 stream https://audio.wavefarm.org/acra.mp3, f 79; #X connect 1 0 0 0; #X connect 1 1 0 1; #X connect 2 0 1 0; #X connect 3 0 1 0; #X connect 4 0 1 0; #X connect 5 0 1 0; #X connect 6 0 1 0; #X connect 7 0 1 0; #X connect 8 0 1 0; #X connect 10 0 1 0; #X connect 11 0 1 0; #X connect 13 0 1 0;