Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #5815: PATCH: Mythfrontend wasn't stopping automatic shutdown (any more)

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


mythtv at cvs

Oct 12, 2008, 6:27 AM

Post #1 of 3 (105 views)
Permalink
Ticket #5815: PATCH: Mythfrontend wasn't stopping automatic shutdown (any more)

#5815: PATCH: Mythfrontend wasn't stopping automatic shutdown (any more)
----------------------------------+-----------------------------------------
Reporter: maillists[at]whattf.com | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: low | Mlocked: 0
----------------------------------+-----------------------------------------
The checkTimeZone() call in main in programs/mythfrontend/main.cpp causes
a connection to be made to the Masterbackend.

As a consequence the call to gContext->ConnectToMasterServer() further
down the method not make a connection to the backend that stops it
shutting down (when the system is appropriately configured).

My simple fix to this was to move the call to ConnectToMasterServer() to
before the checkTimeZone() call.

Single file patch attached.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5815>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Oct 12, 2008, 9:08 AM

Post #2 of 3 (92 views)
Permalink
Re: Ticket #5815: PATCH: Mythfrontend wasn't stopping automatic shutdown (any more) [In reply to]

#5815: PATCH: Mythfrontend wasn't stopping automatic shutdown (any more)
----------------------------------+-----------------------------------------
Reporter: maillists[at]whattf.com | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: low | Resolution:
Mlocked: 0 |
----------------------------------+-----------------------------------------

Comment(by t-p[at]iki.fi):

This patch seems to also fix ticket #5805.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5815#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Oct 14, 2008, 3:33 AM

Post #3 of 3 (72 views)
Permalink
Re: Ticket #5815: PATCH: Mythfrontend wasn't stopping automatic shutdown (any more) [In reply to]

#5815: PATCH: Mythfrontend wasn't stopping automatic shutdown (any more)
----------------------------------+-----------------------------------------
Reporter: maillists[at]whattf.com | Owner: ijr
Type: patch | Status: closed
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: low | Resolution: fixed
Mlocked: 0 |
----------------------------------+-----------------------------------------
Changes (by paulh):

* status: new => closed
* resolution: => fixed


Comment:

(In [18699]) Move the call to checkTimeZone() to after the call to
gContext->ConnectToMasterServer() when myth is set to auto shutdown when
idle. This makes sure a blocking connection to the backend is opened when
the FE is started which will block BE shutdown until closed.

Fixes #5815,#5805.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5815#comment:2>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.