[mythtv-commits] Ticket #3176: mythshutdown "Set Scheduled Wakeup Time" and "Detect Recording in Progress"

MythTV mythtv at cvs.mythtv.org
Wed Mar 21 16:03:50 UTC 2007


#3176: mythshutdown "Set Scheduled Wakeup Time" and "Detect Recording in Progress"
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |        Owner:  paulh  
     Type:  patch      |       Status:  closed 
 Priority:  minor      |    Milestone:  unknown
Component:  mythtv     |      Version:  head   
 Severity:  medium     |   Resolution:  fixed  
-----------------------+----------------------------------------------------
Changes (by paulh):

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


Comment:

 (In [13101]) Apply a modified version of the patch by devel (at)
 mrwire.co.uk

 From the ticket :-

 Changes

 * -s/--status - An additional return value of 8 specifies that a recording
   is in progress.

 Two new command-line parameters are available:

 * -t/--setscheduledwakeuptime - Gets the next scheduled recording and sets
   the wakeup time using the command specified in MythWelcome/MythShutdown
   wakeup command settings.

 * -x/--safeshutdown - equivalent to -c -t -q. This checks there is no
   recording in progress, sets the wakeup time for the next scheduled
   recording and shuts down the machine if everything completed
 successfully.

 The changes I made where to make the retrieving of the recording status
 optional
 because it just duplicates what MythWelcome already does and has the side
 effect
 of opening a connection to the backend every time it wants the recording
 status
 which, if using the default verbose setting, causes the backend log to
 fill will
 HandleAnnounce and adding: xxxx as a client messages.

 Closes #3176.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3176#comment:2>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list