[mythtv-commits] Ticket #303: Some code to guess the category of an insert cd/dvd

MythTV mythtv at cvs.mythtv.org
Thu Jun 1 05:27:00 UTC 2006

#303: Some code to guess the category of an insert cd/dvd
 Reporter:  anonymous    |        Owner:  danielk
     Type:  enhancement  |       Status:  closed 
 Priority:  minor        |    Milestone:  0.20   
Component:  mythtv       |      Version:  head   
 Severity:  medium       |   Resolution:  fixed  
Changes (by danielk):

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


 (In [10095]) Closes #303. Enhances media detection by looking at file name
 extensions with modified patch from Leo Weppelman.

 If we can't detect a type other than "DATA" by any other means (such as
 used for DVDs and CDs), then with this patch we look at the file
 extensions, and select the media handler which will handle the greatest
 number of files on the device.

 For example we count things such as "gif,jpg,png" and "ogg,mp3,aac,flac"
 and use the one with the highest file count to select mythgallery or
 mythmusic, resp. (This is assuming both media plugins are present.)

 BTW This is surprisingly fast for the photo cd's I have laying around.

 NOTE:  This changes the MYTH_BINARY_VERSION, so plugins must be recompiled
 and installed after you've installed the updated mythtv libs.

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

More information about the mythtv-commits mailing list