Closed eindano closed 11 years ago
Following our chat on IRC today, I've tested this, and it seems to work nice and fast - good work!
I've had a thought though - perhaps instead of what we talked about on IRC, you could just expand the bottom-right pane (now/next titles) to include a longer list of upcoming events. So more of a single-channel EPG view.
Another quick comment - there is already a 'get current time in ms" function in utils.c
To answer your question from IRC last night, I was imagining the entire screen being filled with events for that channel. Possibly something like:
Tue 22:00 Event name Tue 23:30 Event name Wed 00:10 Event name
Although maybe we would need the day of month as well, in case the EPG goes on for more than 7 days.
So change the screen in this http://tinypic.com/view.php?pic=2lbm2w8&s=5 to remove the event info window (top right) and extend the now/next title window?
So no event info at all?
OSD channellist including three windows - channellist, now and next and event info windows.
Keys: c - display channellist / change to selected channel d - down (channellist and now and next) u - up (channellist and now and next) r - right (change focus channellist <-> now and next windows) l - left (change focus channellist <-> now and next windows) n - next 12 channels in list p - prev 12 channels in list e - exit m - menu (quick and ugly thing to display the bitrate)
Some HDMI-CEC keys are also added.
Other info: graphics_resource_text_dimensions_ext is kind of slow so font widths are cached to enable faster OSD display. The input thread floods the msg queue so added a hack to prevent to fast key repeats.
BR
//Daniel