[mythtv-users] external channel changing script lag problems

Joe Auty joe at netmusician.org
Sun Oct 7 17:00:00 UTC 2007


Michael T. Dean wrote:
> 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.
> 

So, you mean add the & to the tail of the externalcommand MySQL field?

When I do this, I can get into watch TV, but I can't change channels as
it seems that commands are being sent to the script as follows:

/path/to/script & <channel>


The channel is seen as a second, unrecognizable command.

Can you elaborate a little bit on what you meant here?

Thanks in advance!



> Mike
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


-- 
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
joe at netmusician.org


More information about the mythtv-users mailing list