[mythtv] Need help with Password dialog using OSD
Daniel Kristjansson
danielk at cuymedia.net
Wed Oct 3 20:09:39 UTC 2007
On Wed, 2007-10-03 at 15:55 -0400, Sarat Vemuri wrote:
> Hello,
> Working on implementing some sort of parental controls. I think I got it
> for recorded programs. Now I am working on Live TV. I am trying to check
> and ask for password in the tv_play state machine. However since the TV
> already starts at the point I am checking, MythPasswordDialog is not working
> any more (lost focus). Does any one know a quick way to get a password, may
> be using OSD? The OSD NewDialogBox only has menu selection and not a text
> box.
> Thanks for any help you can offer.
> Thanks
> Sarat.
cd mythtv; grep channel_editor */*/*.{cpp,xml,h}
The frontend channel editor has textarea elements which you could
extend for "*" echoing text entry. Have a look at the XML files
first, then look at how the channel_editor fields are populated
in tv_play.cpp. Then look at libs/libmythtv/osd.cpp parseTextArea()
for changing the echoing behaviour.
-- Daniel
More information about the mythtv-dev
mailing list