Your Digital Media Has Never Looked So Good

 
greubel
Topic Author
Posts: 708
Joined: Wed Feb 10, 2010 4:21 pm

SpringBoard display fails

Fri Jun 04, 2010 4:06 pm

While using the roSpringBoard for audio, the display fails to show artist and album info randomly. Toggling between two songs it might fail 1 out of 10 times. Nothing is displayed. Inserted debugs to show the content and the values are set. Version 2.6, it also fails on 2.5

Oh, by the way 2.6 is great !!!!! Where is our SDK ?
 
RokuPatrick

Re: SpringBoard display fails

Fri Jun 04, 2010 4:16 pm

We're wrapping up the documentation and sample code for the SDK. Getting quite close.
 
renojim
** Valued Community Member **
Posts: 3481
Joined: Mon Feb 15, 2010 1:35 pm

Re: SpringBoard display fails

Fri Jun 04, 2010 5:48 pm

I haven't seen that behavior and I'm sure I've changed the song manually or automatically hundreds of times if not more. Are you calling Show() after changing the Springboard contents with SetContent(song)? It looks like my code does not call Show(), but I have the call to SetContent(song) surrounded with AllowUpdates(false) and AllowUpdates(true) as I get the info for the next song and reset the progress bar. You say nothing is displayed, so it may be something else entirely. As I said, I've never seen that.

I'll give you a +1 on the "Where is our SDK?"!

-JT
 
User avatar
RokuKevin
Roku Engineering
Posts: 796
Joined: Tue Sep 22, 2009 2:29 pm

Re: SpringBoard display fails

Tue Jun 08, 2010 3:03 pm

I concur with renojim that surrounding SetContent(song) (and more importantly AddButton() calls) with AllowUpdates(false) and AllowUpdates(true) is essentially so that the screen doesn't flash while rendering partial content. I would also check that your AddButton calls are coming before your SetContent() call.

--Kevin
 
greubel
Topic Author
Posts: 708
Joined: Wed Feb 10, 2010 4:21 pm

Re: SpringBoard display fails

Tue Jun 08, 2010 3:27 pm

I create a new SpringBoard for each song. I do change buttons on the fly but I do an allow/disallow.
When it fails, it occurs between songs not play/stop/pause.
If I play next then play previous about 10 times it fails. It still fails just letting it play through the songs but not as often.
The artist , album text with the labels is missing but the time field below album gets displayed.
One thing, I'm creating an roArray for the SB, pushing the current one, then a show() followed by a delete(0). This really cuts out the flashing.
 
renojim
** Valued Community Member **
Posts: 3481
Joined: Mon Feb 15, 2010 1:35 pm

Re: SpringBoard display fails

Tue Jun 08, 2010 6:40 pm

I don't know why that shouldn't work, although the one time I tried creating a new Springboard screen with a different style from the current Springboard screen for an experiment I was doing I got some strange results. Is there any reason why you're creating new screens and not just calling SetContent()?

-JT
 
User avatar
RokuKevin
Roku Engineering
Posts: 796
Joined: Tue Sep 22, 2009 2:29 pm

Re: SpringBoard display fails

Fri Jun 18, 2010 8:24 am

I don't see the need to create a new object every time..... Have you looked at the PrefetchPoster() method of the roSpringBoard object? It would allow you to prefetch the art for smooth transitions.

--Kevin

Who is online

Users browsing this forum: No registered users and 2 guests