[mythtv-users] mythbackend / mythfrontend

Henk Poley hpoley at dds.nl
Tue Feb 24 02:26:23 EST 2004

>Van: Xavier Hervy <maxpower44 at tiscali.fr>
>> Other than that, the *real* solution would be to add a configuration 
>> option to mythfrontend to allow it to shut itself down after a certain 
>> idle period, or at least to disconnect itself from the backend so the 
>> backend can shut down.  Anyone feel like doing a patch?
>You should be right. the real solution would be to add a idle time out 
>for the frontend. but I don't know how to determine when the 
>Mythfrontend is idle. in the frontend we don't have general while loop 
>which allow to detect if change happen. Any Idea ?

Ehm, any incomming keypress event should trigger a 'connect and wait X
minutes for disconnect'? If there's no general while loop you might need to
make little seperate 'deamon' thread. The frontend program will need a way
to listen to the other programs. Maybe disable disconnect as long as the
secondary program hasn't 'phoned home', to stop accidental remote backend
shutdown when running mplayer for example.

One thing to note, there were some things changed to the autoshutdown in
MythTV CVS just after 0.14 was released.

	Henk Poley <><

More information about the mythtv-users mailing list