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: 
ionatan
Roku Guru

splash_min_time not working

I am trying to force splash screen to be displayed for about 5 seconds.

I've set splash_min_time to 5000, but splash screen disappear about after 1-2 seconds. Is there a way to force splash screen to be displayed for 5 seconds?

0 Kudos
1 REPLY 1
renojim
Community Streaming Expert

Re: splash_min_time not working

There's clearly a bug with splash_min_time on certain models of Roku devices.  What's the model number of the one you're using?  You can try reporting the bug to Partner Success, but I've given up on them and won't bother reporting any bugs ever again.  It's much easier and less aggravating to just find a workaround.  In this case, try a sleep() before showing your first screen or better yet use GetUpTime() to adjust how much you should sleep before launching your first screen if you want it to be consistent across the devices that have the bug and those that don't.  I think GetUpTime() is affected by splash_min_time on devices where it works, but I'm not sure.

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.
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.