Closed eindano closed 11 years ago
Thanks. I'll try and test it later tonight (currently working on something else).
My first comment from reading the code though is whether you could move the 'c' key handling into the osd_process_key function? That would seem a better place for it now.
Yes, that would be much better and cleaner.
I've now had chance to test this a little and have noticed one bug - the time no longer updates on the original info screen.
I think this is due to the line "if (now != osd->last_now) {" being reverted back to "if (now >= osd->last_now + 60) {" in osd_update().
Sorry! I missed to clean-up the osd_update function after some performence testing. Anyway, from the beginning I had the time on the OSD channellist but it was kind of a performance killer to do an update every second then scrolling in the channellist.
Maybe the clock shouldn't display seconds, only hour:minute?
OSD channellist. Displays a channellist and current/next title of the current selected item in the list.
Keys: 'c' - display channellist / select channel 'd' - down 'u' - up 'p' - prev page 'n' - next page