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: 
jbrave
Channel Surfer

Gridscreen questions

1. Descriptions not showing:

I've got setdescriptionvisible(true) - any ideas what else might determine if the description shows on a poster in the grid screen?

2. When I put control buttons in row 0 I can no longer navigate to row 1 row - row 1 shows but I can't navigate to it, setting SetListVisible(1,true) makes row 1 invisible!

I'm thinking on #2 that something is out of sync between setuplists and setlistnames perhaps?

- Joel
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
0 Kudos
7 REPLIES 7
TheEndless
Channel Surfer

Re: Gridscreen questions

Can you post the code you're using to setup the screen?
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
jbrave
Channel Surfer

Re: Gridscreen questions

this is the code without the prepended control buttons, I moved them to the front of each list. The only issue with this code is descriptions not showing:

	port=createobject("romessageport")

screen=createobject("roGridScreen")
screen.setgridstyle(gridstyle)
screen.setupLists(list.count())
m.content=createobject("roarray",list.count(),true)

i=0
for each o in list
m.content[i]={name:o.name,posters:downloadposters(o.url)}
m.content[i].posters.unshift(controlbuttons())
screen.SetListName(i,o.name)
screen.setcontentlist(i,m.content[i].posters)
screen.setlistvisible(i,true)
screen.setdescriptionvisible(true)
i=i+1
next


Here's the code for the control button, description is not showing there:

function controlbuttons() as object
return {ShortDescriptionLine1:"Home"
title:"Home"
description:"return home"
releasedate:""
name:"Music"
url:""
SDPosterURL:"pkg:/images/mm_icon_focus_sd.png"
HDPosterURL:"pkg:/images/mm_icon_focus_hd.png"
action:"home"}

end function
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
0 Kudos
TheEndless
Channel Surfer

Re: Gridscreen questions

I'd move the SetDescriptionVisible() line up to just before you call SetupLists(). There's no need to call it for every row, and it may behave differently if called after SetupLists (like SetGridStyle does). There's no need to call SetListVisible(), either, unless your unhiding a row that you previously made invisible.
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
jbrave
Channel Surfer

Re: Gridscreen questions

Ok, the issue was the Theme, it won't show any message text if the GridScreenDescriptionImages are not set.

Interestingly, there does not seem to be a setting in the Theme for the "retrieving" image, yet it seems to use the included image...
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
0 Kudos
TheEndless
Channel Surfer

Re: Gridscreen questions

"jbrave" wrote:
Ok, the issue was the Theme, it won't show any message text if the GridScreenDescriptionImages are not set.

Interestingly, there does not seem to be a setting in the Theme for the "retrieving" image, yet it seems to use the included image...

If you don't have the description images set, it should use the default. Did you have them set to an empty string or a bad URL or something?
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
jbrave
Channel Surfer

Re: Gridscreen questions

I didn't set them, assumed there would be a default.
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
0 Kudos
TheEndless
Channel Surfer

Re: Gridscreen questions

"jbrave" wrote:
I didn't set them, assumed there would be a default.

There's something else going on, then, because there are definitely default images for the grid screen.
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
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.