[mythtv-users] Flag to allow channel change script to know whether you're watching Live TV?
michael.parker at st.com
Fri Jan 14 08:58:36 UTC 2011
> -----Original Message-----
> From: mythtv-users-bounces at mythtv.org [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of
> George Galt
> Sent: 13 January 2011 22:15
> To: Discussion about MythTV
> Subject: Re: [mythtv-users] Flag to allow channel change script to know whether you're
> watching Live TV?
> On Thu, Jan 13, 2011 at 8:27 AM, Michael PARKER <michael.parker at st.com> wrote:
> > Does anyone know of a convenient way for my channel change script to determine whether it
> has been invoked from a Live TV session?
> > I'm trying to incorporate some functionality into my script to "clean up" any OSD elements
> (TV guide, favourites etc.) on my STB output before beginning a scheduled recording. Given
> that the detection and correction of unwanted elements takes a few seconds, I'm keen to only
> use it for scheduled recordings and not for every channel change in Live TV.
> > I guess that looking for a Live TV start-up message in the backend log might suffice, but
> would appreciate thoughts etc. on a more elegant approach. Could a flag even be made
> available via the channel change call from Myth, much in the same way the channel.freqid is
> > There's a limit to how much TV you can watch through a minute PiP window because the wife
> inadvertantly pressed the Guide button on the remote before heading off to bed....
> > Thanks in advance,
> > Mike
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> You might want to do a quick search of the archives, but IIRC sending
> an "exit" button press to the STB does nothing unless there is
> something to exit from. I issue it in my channel changing script and
> it seems to work fine -- though I don't use live TV.
> mythtv-users mailing list
> mythtv-users at mythtv.org
Thanks for the suggestion. Unfortunately, Virgin Media here in the UK have seen fit to produce an OSD that requires different keypresses depending upon the onscreen element i.e. there isn't a universal "exit" button. Most screens respond to "TV" but others require an "OK" button press. Sending a combination of both codes could exit one element only to open another, hence my desire to detect what's actually on screen before sending the "correct" button press.
More information about the mythtv-users