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

J. Donavan Stanley jdonavan at jdonavan.net
Fri Sep 9 12:11:02 UTC 2005

Leo Weppelman wrote:

>I think you are missing the point... The difference is in the mediatype not
>in the extension

What the hell are you talking about?

 From the patch:

TypeMapping[] = { 
  	119 	                    { MEDIATYPE_MVIDEO, 
  	120 	                        { "wmv", "mpg", "avi", "vob", "mpeg", 
"nuv", NULL }}, 
  	121 	                    { MEDIATYPE_MMUSIC, 
  	122 	                        { "mp3", "ogg", "flac", NULL }}, 
  	123 	                    { MEDIATYPE_MGALLERY, 
  	124 	                        { "tif", "jpg", "png", NULL }}, 
  	125 	                    { 0 , {NULL} }}; 

Where is MEDIATYPE_MRECEPY in all of this? 

All I asked was for that hardcoded static list to be moved out to a 
setting.  A better solution would be to keep the list, flesh it out so 
it's not missing tons of valid extensions like it is now, then add 
settings that append to the various lists.  We don't want to require a 
code change just so the user can add a format

More information about the mythtv-dev mailing list