Deprecated: Use of "parent" in callables is deprecated in /var/www/html/forum/src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php on line 431
  • If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Streamed sound

Status
Not open for further replies.

lukasab2132

Member
Hello, I can see you get a lot of questtions regarding "how to add a radio station"

So my problem/question is that i wantt to stream from a website "http://www.radioplay.se/nrj"
I have found a direct stream link on this site "http://194.16.21.227/nrj_se_aacp?ua=WEB&type=.mp3&amsparams=playerid:SBS_RP_WEB;skey:1463925827"
I hope this works outside of sweeden too

I added this url and it worked out perfectly but i cant get the song name to be shown is there any way i can extract that song name from the first page to the bot?

Thanks.
 

Codebucket

Member
Hello, I can see you get a lot of questtions regarding "how to add a radio station"

So my problem/question is that i wantt to stream from a website "http://www.radioplay.se/nrj"
I have found a direct stream link on this site "http://194.16.21.227/nrj_se_aacp?ua=WEB&type=.mp3&amsparams=playerid:SBS_RP_WEB;skey:1463925827"
I hope this works outside of sweeden too

I added this url and it worked out perfectly but i cant get the song name to be shown is there any way i can extract that song name from the first page to the bot?

Thanks.
Contact the hoster of the stream about this issue, SinusBot gets the information from the title which is given back by the DNAS in the response headers :)
 

lukasab2132

Member
I dont think the hoster is happy with anyone playing it from their site.

So tecnicaly i could get the audio from the provider and pass it trough my site and add that DNAS response header? That header being copied by another script?

I used one ofg the top 20 radio station looking at the headers "icy"

None of these feilds responds with the name of the song it is playing.
 
Last edited:

Codebucket

Member
You are using a wrong stream link, the one you are actually using is a sort of filtered and redirected stream. When I tried to open this, I got a geoblock message. But I found out that there is the Icecast Stream Server running on the same server, so just try to use the link from the stream server :)

http://194.16.21.227:8000/nrj_se_mp3

This should work, as I have seen the current song on the Icecast webinterface.

~ Codebucket

Edit: When hosters use a shitty way to prevent users from other countries to listen their radio lol.
 
Status
Not open for further replies.
Top