greubel
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2010
04:06 PM
SpringBoard display fails
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 ?
Oh, by the way 2.6 is great !!!!! Where is our SDK ?
6 REPLIES 6
Anonymous
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2010
04:16 PM
Re: SpringBoard display fails
We're wrapping up the documentation and sample code for the SDK. Getting quite close.
renojim
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2010
05:48 PM
Re: SpringBoard display fails
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
I'll give you a +1 on the "Where is our SDK?"!
-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.
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.
RokuKevin
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2010
03:03 PM
Re: SpringBoard display fails
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
--Kevin
greubel
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2010
03:27 PM
Re: SpringBoard display fails
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.
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
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2010
06:40 PM
Re: SpringBoard display fails
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
-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.
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.
RokuKevin
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2010
08:24 AM
Re: SpringBoard display fails
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
--Kevin