Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
newchannel
Roku Guru

Re: Help regarding playing radio stream

TheEndless,

It's added to the same code I've been using for other videos and just changed the streamformat and url...so looks like I need to make some changes. Any tips?
http://www.victoryNOWfilmsandtv.com
0 Kudos
TheEndless
Channel Surfer

Re: Help regarding playing radio stream

"newchannel" wrote:
TheEndless,

It's added to the same code I've been using for other videos and just changed the streamformat and url...so looks like I need to make some changes. Any tips?

This example might help.. viewtopic.php?f=34&t=50618&p=343513#p343513
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
newchannel
Roku Guru

Re: Help regarding playing radio stream

TheEndless,

Thank you for the link to thread.

If I understand correctly:

1. copy the simpleposter
2. rename the simpleposter as simpleaudio
3. edit the source brs file by copying the code from the thread and pasting it into the brs file. Do I take out all of the information in the original simpleposter brs file and then paste the provided code?
4. plug-in the station info ie: streams etc
5. add this to the zipped file already built for the channel and sideload to test.

Best Regards.
http://www.victoryNOWfilmsandtv.com
0 Kudos
bandal
Visitor

Re: Help regarding playing radio stream

It would be good to have an external xml to manage too.
0 Kudos
newchannel
Roku Guru

Re: Help regarding playing radio stream

Right ...being able to make changes from xml and not just brs file for adding or deleting channels works best.

I would certainly like to get this radio stream to work. Trying to piece it together with code when not a coding person is difficult. I am about ready to submit for the first phase of the channel but getting the radio stream to work is the holdup.

I have a category of "live radio" while the rest of my categories are all video related. Does anyone have coding to share to make the a shoutcast radio stream to play in a category? Feel free to PM is you prefer.

Thank you.
http://www.victoryNOWfilmsandtv.com
0 Kudos
newchannel
Roku Guru

Re: Help regarding playing radio stream

It has been brought to my attention that the stream I have been trying to play is aac and not mp3. Apparently a change was made in the configuration on the server side. Working on having this changed back to mp3.

Provided it goes back to being a shoutcast mp3 radio stream, what is the best way to get it added to the channel? If audio is one category and the rest of my cateogories are all for video, can my zipped channel folder have both audioplayer and videoplayer? Where do I find out how to add the audioplayer without messing up what I have already built?

I have a zipped copy of audioapp that I tested on my device playing a live radio stream.

When my channel opens I have categories and for one of these categories it is called "live radio". I want a viewer to click the live radio and then click the radio station name in the feed and then click play. Right now I have one radio stream listed in the feed. Later I may add more after I get this one to work properly.

My channel is built using the videoplayer example. My thinking is I need to somehow reference that it is audio instead of video but where to do I do this and how? And in the xml for the radio feed, right now it is setup like the video xml. I realize that may not work and that I will need to change the xml for the radio.

Any help on this would be great. I'm trying to learn this so I can get my channel submitted. The radio is the one thing that is holding me up from submitting. I have more plans for the channel but right now it's just getting a basic channel submitted that has categories with audio and one category with a live radio stream

Thank you!
http://www.victoryNOWfilmsandtv.com
0 Kudos
newchannel
Roku Guru

Re: Help regarding playing radio stream

Thank you Bandal for the help on the radio stream.

RokuJoel also thank you for coding you sent me recently.

The radio stream is playing great!

Always nice when you can meet up with those that are willing to help get things working smoothly.
http://www.victoryNOWfilmsandtv.com
0 Kudos
bandal
Visitor

Re: Help regarding playing radio stream

newchannel,

Thanks for the input.

DA
0 Kudos
john_h_e
Visitor

Re: Help regarding playing radio stream

Hello, I think I am in the same situation newchannel was some time ago, I was trying to figure out what was the solution but, I still can not, I am using the videoplayer example, with two categories, one for video and the other one for audio (or Radio streaming), the video streaming is working fine, is the audio part witch I need help with, I tried just to change the parameters in one of the .xml files referenced from categories.xml with no success.

so how and where do I reference the audioplayer, to be able to play the mp3 stream, and where you guys able to make an xml to change the streame link in case I got a new stream provider?, thanks in advance, I have been holding to summit the channel for approval since the audio part is key.

Thanls again.
0 Kudos
belltown
Roku Guru

Re: Help regarding playing radio stream

"john.h.e" wrote:
Hello, I think I am in the same situation newchannel was some time ago, I was trying to figure out what was the solution but, I still can not, I am using the videoplayer example, with two categories, one for video and the other one for audio (or Radio streaming), the video streaming is working fine, is the audio part witch I need help with, I tried just to change the parameters in one of the .xml files referenced from categories.xml with no success.

so how and where do I reference the audioplayer, to be able to play the mp3 stream, and where you guys able to make an xml to change the streame link in case I got a new stream provider?, thanks in advance, I have been holding to summit the channel for approval since the audio part is key.

Thanls again.

This might be what you're looking for: http://forums.roku.com/viewtopic.php?f=34&t=51192&start=0
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.