[mythtv-commits] Ticket #2497: Wrong recording file extension can get used on analog/digital cards

MythTV mythtv at cvs.mythtv.org
Tue Oct 3 14:17:37 UTC 2006


#2497: Wrong recording file extension can get used on analog/digital cards
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |        Owner:  danielk
     Type:  patch      |       Status:  closed 
 Priority:  minor      |    Milestone:  0.21   
Component:  mythtv     |      Version:  head   
 Severity:  low        |   Resolution:  invalid
-----------------------+----------------------------------------------------
Changes (by danielk):

  * status:  new => closed
  * resolution:  => invalid
  * milestone:  unknown => 0.21

Comment:

 The patch doesn't apply to SVN head.

 Otherwise the idea of getting the file extension just before queueing up
 the recording is a good one. Using a SQL query doesn't seem like the best
 way to do this though. Couldn't you just check if we are using the
 NuppelVideoRecorder, and then using the "nuv" extension, otherwise using
 "mpg"? Or better yet, adding a virtual "GetFileExtension" method to the
 recorders, so the recorder can tell you what extension to use. The one in
 RecorderBase could return "mpg" while the NuppelVideoRecorder one would
 override this by returning "nuv", then this would be extensible in the
 future to recorders which use other container formats.

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


More information about the mythtv-commits mailing list