[mythtv-users] external channel changing script lag problems

Michael T. Dean mtdean at thirdcontact.com
Sun Oct 7 16:03:17 UTC 2007


On 10/06/2007 03:37 PM, Joe Auty wrote:
> My external channel change script (pasted below) takes so long to
> execute with a sleep set to 1.25 that when I select "Watch TV" there
> seems to be a timeout. I see in my logs:
>   
...
> When I decrease the sleep time, I can watch TV. However, with a
> decreased sleep time my channel changing script doesn't change channels
> properly - it needs that long sleep time.
>
> Is it possible to not set any starting channel at startup and to just
> leave the channel set at whatever it was set at last? Is it possible to
> increase the timeout values upon invoking a Watch TV? Is it possible to
> use a separate channel changing script for presetting the initial channel?

You can, instead, just background the channel change script with the
larger sleep time--i.e. add an "&" at the end of the command line. 
Then, Myth will think the channel change was instantaneous and the
channel change script will continue to execute as Myth starts up TV.

Mike


More information about the mythtv-users mailing list