Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bmn
Level 8

customize grid loading image

Hi, is there a way to set the grid loading image?

I found this: GridScreenRetrievingColor but just for the color
0 Kudos
11 REPLIES 11
RokuJoel
Roku Employee
Roku Employee

Re: customize grid loading image

Grid_Retrieving_Landscape_HD.jpg
Grid_Retrieving_Landscape_SD43.jpg

open these two files in your favorite graphic editor and make them into whatever you want.

- Joel
0 Kudos
bmn
Level 8

Re: customize grid loading image

Joel, already tried that... no effect...

Where should these images be?

thanks!
0 Kudos
bmn
Level 8

Re: customize grid loading image

Isnt there a porperty that can be changed in runtime to define these loading images?
Thanks
0 Kudos
ljunkie
Level 8

Re: customize grid loading image

"RokuJoel" wrote:
Grid_Retrieving_Landscape_HD.jpg
Grid_Retrieving_Landscape_SD43.jpg

open these two files in your favorite graphic editor and make them into whatever you want.

- Joel


I have tried this too with no effect. Is there another way? I have black background, but the loading image is a flash of gray..

Thanks,
Rob
0 Kudos
ljunkie
Level 8

Re: customize grid loading image

I take the lack of response this is broken and no one is willing to confirm it. These images are included in the sample grid SDK, but do nothing.
0 Kudos
RokuJoel
Roku Employee
Roku Employee

Re: customize grid loading image

Had to do some research and testing first:

ifGridScreen.SetLoadingPoster("pkg:/images/myHDPoster.jpg","pkg:/images/mySDPoster.jpg")


This does not work on Legacy (firmware 3.x) devices so:

di=createobject("rodeviceinfo")
if mid(di.getversion(),3,1).toint() > 3 then
screen.setloadingposter("pkg:/images/loadingposterHD.jpg","pkg:/images/loadingposterSD.jpg")
end if


- Joel
0 Kudos
ljunkie
Level 8

Re: customize grid loading image

Thank you Joel! Tested and it works perfectly so far. I appreciate you including the 3.x check in there. This really improves the look while loading rows.

btw. What even uses the legacy 3.x firmware?

Again, I really appreciate the update! I even see the SDK docs are updated 🙂

"RokuJoel" wrote:
Had to do some research and testing first:

ifGridScreen.SetLoadingPoster("pkg:/images/myHDPoster.jpg","pkg:/images/mySDPoster.jpg")


This does not work on Legacy (firmware 3.x) devices so:

di=createobject("rodeviceinfo")
if mid(di.getversion(),3,1).toint() > 3 then
screen.setloadingposter("pkg:/images/loadingposterHD.jpg","pkg:/images/loadingposterSD.jpg")
end if


- Joel
0 Kudos
RokuJoel
Roku Employee
Roku Employee

Re: customize grid loading image

3.1 firmware is used for these
0 Kudos
malloys
Level 7

Re: customize grid loading image

"RokuJoel" wrote:
3.1 firmware is used for these


Just curious...
I'm assuming you listed that ebay page as an example and not the definitive list.
I've got an N1000 and an N1101 that are both running 3.1 (and the ebay page seems to only show the 2100).

Just guessing, but would it be safe to say 3.1 runs on all the first generation boxes (i.e. the models using the NXP chips and not the models using the Broadcom chips)?
i.e. Models: N1000, N1050, N1100, N1101, 2000, 2050, 2100

Or is there a different criteria and/or a definitive list somewhere?
0 Kudos