Closed rejhgadellaa closed 5 years ago
Does the icecast package follow redirects? Is it an option? It looks like it doesn't work by itself and I don't know how to do it.
If I try:
url = "http://playerservices.streamtheworld.com/api/livestream-redirect/VERONICA.mp3"; icecast.get(url, function (icyres) { // ... code });
the request just keeps pending/going
Forgot to get back to this. I use follow-redirects to resolve the final destination of a redirect, then pass that to icy.
follow-redirects
Does the icecast package follow redirects? Is it an option? It looks like it doesn't work by itself and I don't know how to do it.
If I try:
url = "http://playerservices.streamtheworld.com/api/livestream-redirect/VERONICA.mp3"; icecast.get(url, function (icyres) { // ... code });
the request just keeps pending/going