[mythtv-commits] Ticket #7671: sa_control for Scientific Atlanta boxes, works for the 4250HDC too

MythTV mythtv at cvs.mythtv.org
Mon Dec 14 07:18:31 UTC 2009

#7671: sa_control for Scientific Atlanta boxes, works for the 4250HDC too
 Reporter:  mpurschke@…                 |       Owner:  mdean     
     Type:  enhancement                 |      Status:  new       
 Priority:  minor                       |   Milestone:  unknown   
Component:  Contributed Scripts & Apps  |     Version:  0.22-fixes
 Severity:  medium                      |     Mlocked:  0         

Comment(by mpurschke@…):

 I added a new feature for a partial solution for cable boxes which take a
 long time to tune. There is a new -w <ms> switch that adds an artificial
 delay after the channel switch. This allows to adjust the channel change
 command to wait with the onset of the recording until the change has taken
 effect. One can cut out the usual first few seconds of the previous
 program in the recording.

 sa_control -w 5000 702

 will switch to channel 702 and theen wait another 5 seconds before
 exiting. The help file says now

 # sa_control -h
 Usage: sa_control [-v] [-q] [-w <ms> [ <channel> | on | off ]
        -h         : this help
        -v         : verbose, multiple -v for more verbosity
        -q         : query power status, also sets exit status
         <channel> : set channel, implies power on
        -w <ms>    : after a channel change, wait so many
                     more milliseconds to allow the box time to tune
         on        : switch on
         off       : switch off
  sa_control -q
  sa_control 702
  sa_control -w 6000 702
  sa_control off

 I have also cleaned up some of the comments in the code. I attach the
 whole new source file instead of a patch.

Ticket URL: <http://svn.mythtv.org/trac/ticket/7671#comment:1>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list