[mythtv-commits] Ticket #2231: Automatically move nextRecording to other tuner if scheduled tuner is busy for showing LiveTV

MythTV mythtv at cvs.mythtv.org
Thu Aug 24 07:54:58 UTC 2006


#2231: Automatically move nextRecording to other tuner if scheduled tuner is busy
for showing LiveTV
----------------------------------+-----------------------------------------
 Reporter:  mythtv at linux-dude.de  |        Owner:  ijr    
     Type:  enhancement           |       Status:  new    
 Priority:  minor                 |    Milestone:  unknown
Component:  mythtv                |      Version:  head   
 Severity:  medium                |   Resolution:         
----------------------------------+-----------------------------------------
Comment (by mythtv at linux-dude.de):

 Replying to [comment:2 derek at battams.ca]:
 > Instead of using the recording priority to decide if the recording
 should be automatically moved to another tuner why not check the
 priorities of the other tuners?  Something like:
 [[BR]]
 [[BR]]
 I thought the m_tvList is already sorted by priority? And you need
 something other than the tuner priority also, cause in that case your dvb
 tuner will also have the highest priority and you will have some shows
 which you only want to record in high qualtiy. For this shows you want to
 have a popup to decide to interrupt your live tv session.
 [[BR]]
 [[BR]]
 >
 > My other idea was to use the recordmatch table to find other instances,
 but a quick look at recordmatch suggests there isn't quite enough data in
 that table to be able to use it (at least not without doing more work
 before making a decision).
 >
 > I've been wanting to look into this for some time now.  Seeing this
 ticket was the motivation I needed.  I guess I'll start by modifying the
 patch here with my algo above (hopefully my pseudo code makes sense).
 Just out of curiosity, shouldn't the scheduler be run again if the switch
 is made since a recording could be scheduled to start during the running
 time of the recording moved?
 [[BR]]
 [[BR]]
 Ok. There is point I have to test if there are two recordings starting at
 the same time.
 [[BR]]
 [[BR]]
 >  And then another interesting point - if a recording is moved, does the
 scheduler detect that and act accordingly.  Were any of these scenarios
 tested with the patch here?
 [[BR]]
 [[BR]]
 The scheduler works correct in my tests, he shows 30 seconds before the
 recordings start the moved tuner in the schedule list.
 [[BR]]
 I have tested it with several scenarios. I have one dvb and two analog
 cards and startet three delayed recordings that are available on all three
 tuners. The recordings were rescheduled correct. The first goes to the
 next prio card (pvr), the second one to the bttv and for the third on the
 dvb where I was asked.
 Also tests with e.g the second recording scheduled on a digital channel
 that is only available on the dvb card works perfectly and I would be
 asked again.

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/2231#comment:4>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list