"belltown" wrote:
If you can't figure out how to tell the time using BrightScript, you'll get totally wound up in knots trying to do anything using the Scene Graph API. And I don't even know whether it's even possible to mix Scene Graph API code (roSGNode) with standard Roku API code (roListScreen). As I told you in another thread, you'd be better off sticking with the standard components until you understand what you're doing. It should be fairly easy to display a timer on an roListScreen; just over-write an existing field (Title, ShortDescriptionLine1, breadcrumb, etc.) with the timer value. If you're stuck on that part, let me know and I'll whip up a quick example.
I should stress that I am at least figuring out the basic components in roDateTime. Admittedly the possibilities of time-zone differences have made me lag a bit but that's about the worst of it. What I was trying originally was to have a display with a countdown to the stream, coinciding with the timer, so that anybody watching would have something to look at when the stream is about to start, and so they wouldn't have to keep re-selecting the livestream option on the main menu in the hopes of getting it when the stream is just starting.
I guess I should say I'm stuck on that part. Again, what I've technically been doing now is trying to print out a date in ShortDescriptionLine2 component along with some text, so it would say "next streaming date: [date goes here]". I did attempt to do this by calling a function to return a string with the date but, unfortunately, the console gave me a syntax error.