Replies: 2 comments 2 replies
-
As you have seen this is hard-coded for BBC streams but creating a stream-agnostic version is something I would like to do. If you only want one station in one time zone then things are somewhat simplified. The first thing you should look at is
This should create the XML you need for the
Therefore you could add the following:
The final piece is
In this last snippet "Veronica" is Another way of approaching this would simply be to replace every mention of:
For the correct URL you should look at Line 50: Replace the value in line 18 to I hope this helps but I haven't tried this myself. If you get errors or something isn't working check the logs and see which script is failing and I'll try and nudge you in the right direction. I'd recommend using the |
Beta Was this translation helpful? Give feedback.
-
I have a basic working example created. There is a new branch called "agnostic" that can be used for any stream. See this installer script for reference: it will create a 30 second delay and won't run any other stations. |
Beta Was this translation helpful? Give feedback.
-
Hello,
How would I make this work with just a single stream?
It resides here: http://playerservices.streamtheworld.com/api/livestream-redirect/VERONICAAAC.aac
Stream is GMT+1
I'd like to listen to it in a GMT-7 (Mountain Time) zone.
but the code is confusing the heck out of me.
I got the basics working but modifying the code and variables to make it do my stream is hard.
Sorry for the inconvenience.
Beta Was this translation helpful? Give feedback.
All reactions