[mythtv] Customized OSDs in mythtv

Mark Kendall mark.kendall at gmail.com
Tue Nov 29 18:26:54 UTC 2011


On 28 Nov 2011, at 04:21, Toshish Jawale <toshish.jawale at gmail.com> wrote:

> Hello,
> I am new to mythtv platform and I am exploring it. And I found that, one can add some functionality and OSDs also can be added in osd.xml and all that stuff, But I wanted to know that, can one create his own OSD in mythtv. By own OSD I mean that, the functionality of OSD should be defined independently, the way of accessing OSD may be different. For e.g. I did not find any component like "Button" in OSDs, so can we build new set of GUI to generate new OSD, and that OSD can also be displayed along with other OSDs. Does mythtv allows to create customized OSDs independent of the current theme?

The short answer is no. 

The majority of the osd behaviour is hard coded in either libs/libmythtv/tv_play.cpp or libs/libmythtv/osd.cpp or implicitly inherited from libmythui. It is largely (entirely?) event driven, responding either to user actions or a change in state that requires user input or notification.

The concept of separately controllable osd's certainly doesn't exist. Considering that the primary expected use case for mythfrontend is currently as a 'set top box' with a simple remote control, there is no obvious mechanism  for controlling 2 different osd's. Libmythui necessarily avoids the idea of switching focus and processes all input events (keyboard, lirc, joystick, network etc) with respect to the current top level widget. 

It's hard to go into any more detail without knowing what you had in mind - I'm guessing some sort of touch interface?

Regards
Mark


More information about the mythtv-dev mailing list