[mythtv] [mythtv-commits] Ticket #2960: Powering off or killing frontend server when watching LiveTV leaves backend recording.

Chris Pinkham cpinkham at bc2va.org
Thu Mar 8 21:46:01 UTC 2007


* On Thu Mar 08, 2007 at 12:23:29PM -0500, Tom Lichti wrote:
> MythTV wrote:
> > #2960: Powering off or killing frontend server when watching LiveTV leaves backend
> > recording.
> > ----------------------------------+-----------------------------------------
> >  Reporter:  marc at bakkerit.com.au  |        Owner:  cpinkham
> >      Type:  defect                |       Status:  new     
> >  Priority:  minor                 |    Milestone:  unknown 
> > Component:  mythtv                |      Version:  0.20    
> >  Severity:  medium                |   Resolution:          
> > ----------------------------------+-----------------------------------------
> > Changes (by cpinkham):
> > 
> >   * owner:  ijr => cpinkham
> > 
> > 
> > Comment:
> > 
> >  Moving this into my view as I've been looking into this because of
> >  something else I've been working on anyway.
> > 
> 
> Remember the frontend doesn't always go away on purpose. If the process 
> crashes, or you have a power outage, or your toddler presses the power 
> button, or...
> 
> Anyway, there are many ways for the frontend to disappear, it would be 
> nice if the backend could notice this somehow.

Hence the reason for moving it into my view so I can take care of it.

I plan on adding a timeout somehow so that the backend will abort the
LiveTV session if it loses contact with the frontend for X amount of time.
I know this can be done via the socket, but another project that I am working
contains a forced disconnect of the frontend from the LiveTV session, followed
by a reconnect elsewhere (or potentially even multiple connects to the same
session), so a timeout is the only way to guarantee that the backend will
stop recording if no frontend is watching the session.  This will probably
be a very short timeout, I'm not talking hours, because that defeats the
purpose.

--
Chris


More information about the mythtv-dev mailing list