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: 
regularsteve
Visitor

RSS Libsyn Script [noob] :(

Hello,

I've been toying like a kid with a new set of Lego with the Roku SDK. Unfortunately I can't get one of my main projects to work. I'm just looking for a script that will facilitate a channel for an RSS Libsyn feed for an audio-only mp3 podcast.

Does anyone have such an example script / .zip? If so I can paste in everything, case closed.

I've been searching the forums and I can't seem to find anything. Other items I seem to find won't show up when I upload to my box. Same for examples in the SDK. I must be missing some glaring item.

Thanks for your help, and I apologize for my naivete.
0 Kudos
4 REPLIES 4
regularsteve
Visitor

Re: RSS Libsyn Script [noob] :(

I realize that I must sound like an idiot.
0 Kudos
renojim
Community Streaming Expert

Re: RSS Libsyn Script [noob] :(

Two questions:
1) Did you put your box into development mode?
2) Are you zipping things properly? You should be zipping starting at the directory with the manifest and include directories in the zip. So your zip should look like:
manfest
source/main.brs
source/other.brs
images/image1.jpg
images/image2.jpg
etc.

The examples/zips directory of the SDK has prezipped applications that should just work.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
RokuKevin
Visitor

Re: RSS Libsyn Script [noob] :(

The audioapp in the SDK plays audio only files. You could modify it to point to your .mp3 file.

--Kevin
0 Kudos
jbrave
Channel Surfer

Re: RSS Libsyn Script [noob] :(

Try this to get your learning curve rolling:

1. figure out how to create an RoXMLTransfer object
2.use it to retrieve your rss feed with the gettostring function (I recommend the synchronous function for starting off)
3. Now create an XML object and figure out how to use the parse function to get the data from your rss feed into an object you can work with
4. Now figure out how to get the data elements out of the xml object into text strings in an array (Hint, two different types of arrays are used for this process)

5. Create an audioplayer object the way you did #1
6. figure out how to load and play audio files with it
7. figure out how to get the mp3 urls from your processed xml object into the audioplayer.

Of course, you can ask questions in the forum for each step of the way when you have trouble.

- Joel
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
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.