[mythtv] Help getting decent page chooser for teletext.
Martin Moeller
martin at martinm-76.dk
Sun Jul 27 13:55:33 EDT 2003
søn, 2003-07-27 kl. 09:49 skrev Christian Hoenig:
[Getting teletext page information dynamically]
> Why would you read from a file? Why don't you simply add a setting to the sql
> database and retrieve it with (ie)
> gContext->getSetting("VBIpageNr",399);
> ?
Partly because I wasn't sure exactly how to do it.
That is fine, but how to I get the value stored at 0x0399 << 16?
Or converted to 921 << 16? Is there a smart function I can use to say:
The 399 value is really in hexadecimal? From my browsing of various
pages/Thinking in C++ it would seem there is a way to set the base of a
value, but I am not quite sure how to actually do it. If you or someone
else could provide that bit of information I think I have all I need (if
not all I want :)).
> Using the mysql command you could simply change the value by typing
> update settings set data=NEW# where value=VBIpageNr, hostname=YOURHOST;
>
> take care, have fun
> /christian
/Martin.
--
Martin Moeller <martin at martinm-76.dk>
More information about the mythtv-dev
mailing list