So having spent ages trying to get radio station channels working, I’m not having any joy, so I basically ghetto coded my own one together, and it works great.
Only problem is I now want a second one, so I duplicate the bundle, and change the stream url and the name, but when I restart PMS, I’m presented with the new one only and not the old one.
Is there something else I’m missing that I have to change to get both to appear at the same time in the channel list?
I always create Global variables called Prefix and Title. Then I use that later in the @handler and in the @route. It makes it a little easier to edit when you are copying things from one channel to another.
TITLE = "My Channel Name" PREFIX = "/video/mychannelname" def Start(): ObjectContainer.title1 = TITLE @handler(PREFIX, TITLE) def MainMenu(): @route(PREFIX + "/myfunction") def MyFuntion():