[mythtv-commits] Ticket #339: Simplify Tuning process

MythTV mythtv at cvs.mythtv.org
Thu Sep 15 23:28:12 UTC 2005


#339: Simplify Tuning process
---------------------+------------------------------------------------------
 Reporter:  danielk  |       Owner:  ijr 
     Type:  task     |      Status:  new 
 Priority:  major    |   Milestone:  0.19
Component:  mythtv   |     Version:  head
 Severity:  medium   |         Cc:           |  
---------------------+------------------------------------------------------
 (Copied from the close of #326)

 The tuning process is just way to complicated, I'd like to break it up
 into states and handle it all in one thread. Right now it takes place in
 three different threads. The pause locking I implemented makes this
 possible, but really it would be better to do the tuning in different
 states from within the RunTV loop, with multiple states that allow each
 portion of the tuning to be quick, but also don't require 'abort' support
 or shutdown of the last incomplete tune from within Pause() when there
 isn't a signal, etc.

 If you changed the channel or exited the program you would just have to
 fallback to the untuned tuning state and then work your way back up to
 [re]starting the recorder. Now we have one tuning process before you start
 the recorder, another one after you start it (channel changes), and yet
 another process when you tune for the EITParser's passive EIT scan (where
 the recorder is not started).

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/339>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list