![]() |
#1 |
Junior Member
Join Date: Oct 2016
Posts: 3
|
Get Radio Stream link with the station details
Hello all,
I hope you can help me with this. When I try to access the directory using the http://api.shoutcast.com/ address, I only get the details of the stations. It is good, but is there a way to get the actual stream link for these stations? When I use http://yp.shoutcast.com/sbin/tunein-...n.pls?id=XXXXX then the browser downloads it straight away. Can the stream link be returned in any other format like xml, or can this be shown in the http://api.shoutcast.com/ result list? Many thanks in advance. |
![]() |
![]() |
![]() |
#2 |
Major Dude
|
your browser downloads the file because it doesnt know how to natively handle it. using a browser that does know how to handle the file (such as safari) will render an html5 audio player and begin playback (see attached file)
if you use a command line tool such as curl, the contents of the pls file is returned code: furthermore, just about any other method of getting the file (outside of the browser) will result in the above output, or the above output saved to a pls file. |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Oct 2016
Posts: 3
|
#dopelabs, Thank you.
I already made a short macro in vb.net so I can loop through the records from the database and update it once the contents returned. |
![]() |
![]() |
![]() |
|
Tags |
api, stream link |
Thread Tools | Search this Thread |
Display Modes | |
|
|