![]() |
#1 |
Junior Member
Join Date: Oct 2020
Posts: 8
|
Developer API help
Getting some weird behaviour, and wondering if I have missed something in the API docs.
I run my query, and in the response, I get station ID, and with this, Base URLs. To "tune" to the station, I then need to make a web request to get the stream URL in playlist format (either PLS, M3U or XSPF) like so: String url = "http://yp.shoutcast.com/"+ currentSelectedStation.getBase() + "?id=" + currentSelectedStation.getStatuionID() ; This works for some stations, but sometimes the PLS file contains the actual stream, and sometimes it takes me to the shoutcast status page for the stream (???) For example: I found a station titled "Metal Express Radio" and got the pls file: code: The URL in here is not the stream, it links to the stream status page: code: What have I missed here? Thanks. |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|