Your Digital Media Has Never Looked So Good

Search found 869 matches

by squirreltown
Wed May 15, 2013 4:07 pm
Forum: Roku Developer Program
Topic: Stop audio
Replies: 15
Views: 3808

Re: Stop audio

Hey thank you TheEndless, I've read enough posts to know you know your stuff, The "*" key is the one I want.

1. I'm shocked if I actually wrote it correctly.
2. It still doesn't work - Arrgh!
3. I'm going to stare at it until it does

thanks
by squirreltown
Wed May 15, 2013 3:45 pm
Forum: Roku Developer Program
Topic: Stop audio
Replies: 15
Views: 3808

Stop audio

Trying to stop the audio from playing by pressing a remote key in the DeviantArt example in the SDK original: audio = CreateObject("roAudioPlayer") item = CreateObject("roAssociativeArray") item.Url = "http://www.xxxxx.com/roku/songs/Nightfall.mp3" item.StreamFormat = &...
by squirreltown
Sun May 05, 2013 8:44 am
Forum: Roku Developer Program
Topic: Add video to slideshow
Replies: 2
Views: 872

Re: Add video to slideshow

squirreltown wrote:
Update same problem - am now stuck on the Custom Video screen, says loading 0% but isnt and you can hear the right video playing in the backround


OK fixed it
removed canvas = setup()

Sub DisplaySquirrelVideoToo()

o = Setup()
o.setup()
o.paint()
o.eventloop()

End Sub
by squirreltown
Sat May 04, 2013 9:03 am
Forum: Roku Developer Program
Topic: Add video to slideshow
Replies: 2
Views: 872

Re: Add video to slideshow

Update same problem - am now stuck on the Custom Video screen, says loading 0% but isnt and you can hear the right video playing in the backround
by squirreltown
Sat May 04, 2013 8:56 am
Forum: Roku Developer Program
Topic: Add video to slideshow
Replies: 2
Views: 872

Add video to slideshow

Have taken the SDK devientArt example and pasted in the code from the SDk customvideoplayer example. So i have a sub with a slideshow and one with a video. This works except - when the video plays the screen is black and no controls work - you can hear the audio fine. Sub DisplaySquirrelVideoToo() c...
by squirreltown
Wed May 01, 2013 11:54 am
Forum: Roku Developer Program
Topic: Get Title from XML
Replies: 9
Views: 2616

Re: Get Title from XML

In that case, as I said, you should extract the title when you get the PlaybackPosition event, save it in a variable, and use it for your button later. For example, add curr_photo = photolist[onscreenphoto] in the PlaybackPosition handler, and then call slideshow.AddButton(btn_bookmark, curr_photo....
by squirreltown
Wed May 01, 2013 10:04 am
Forum: Roku Developer Program
Topic: Get Title from XML
Replies: 9
Views: 2616

Re: Get Title from XML

Hm, I didn't understand your last sentence at all, but let me try again. The loop in lines 103-112 is going through each photo and printing its title. If you want a button per title, that's the place where you need to create the button. If you're not trying to make one button per title then I don't...
by squirreltown
Wed May 01, 2013 9:19 am
Forum: Roku Developer Program
Topic: Get Title from XML
Replies: 9
Views: 2616

Re: Get Title from XML

I think you need to provide a little more context about what changes you've made. Looking at the deviantart example, there is a loop that runs through all the photos which prints each title. These titles are correct for me; I assume the same is true for you. Is that the place where you're calling A...
by squirreltown
Wed May 01, 2013 6:19 am
Forum: Roku Developer Program
Topic: Get Title from XML
Replies: 9
Views: 2616

Re: Get Title from XML

Maybe you need to be referencing the local variable called xml instead of the global variable called m.xml Ok I'm not able to figure out how to do that. I've tried changing it or adding it and am not getting it to work. The thing about this is that DevientArt is in the Roku SDK as an example. So th...
by squirreltown
Wed Apr 24, 2013 1:12 pm
Forum: Roku Developer Program
Topic: Get Title from XML
Replies: 9
Views: 2616

Re: Get Title from XML

Maybe you need to be referencing the local variable called xml instead of the global variable called m.xml Im not successful in trying that but it doesnt mean you arent right. The thing is when you watch the debugger in the terminal, it shows all the titles loading when the Sub starts, it even list...
by squirreltown
Wed Apr 24, 2013 10:57 am
Forum: Roku Developer Program
Topic: Get Title from XML
Replies: 9
Views: 2616

Get Title from XML

Modified DevientArt from the SDK Trying to get Titles to appear on button slideshow.AddButton(btn_bookmark, photo.GetTitle()) This returns the last image title in the XML file no matter how long the list, not for each image as it goes. The picture part of the slideshow works fine. So if the XML list...
by squirreltown
Tue Apr 23, 2013 9:04 am
Forum: Roku Developer Program
Topic: Read RSS from feed not file?
Replies: 2
Views: 1589

Re: Read RSS from feed not file?

OK got it figured out, the roku wanted a certain format different from what the browser wanted so i am finally able to link the channel to */rss/ and it pulls the updated feed. Sheeesh, not knowing anything can really slow you down.

Next - how can i pause that music with the * button
by squirreltown
Tue Apr 23, 2013 8:15 am
Forum: Roku Developer Program
Topic: Read RSS from feed not file?
Replies: 2
Views: 1589

Re: Read RSS from feed not file?

Ok I have figured out how to write my RSS feed to a file rss.xml when rss/index.php is loaded, so the Roku channel can be linked to rss.xml and now displays the images fine from the PHP output. What i still dont get is that i thought this was supposed to be automatic - the Roku channel gets the rss....
by squirreltown
Sun Apr 21, 2013 3:10 pm
Forum: Roku Developer Program
Topic: Read RSS from feed not file?
Replies: 2
Views: 1589

Read RSS from feed not file?

Trying to modify the DeviantArt example in the SDK. Have made an RSS feed from my website (art images) with PHP from mySQL DB. http://www.peterhammond.com/web/rss/ . Going there in a browser renders an XML file with the proper info. If I copy the text from that page and paste into a file "rss.x...