Leo Weppelman wrote:

As you can see from the above code, the BuildExtensionMapList() function
has the name ("VideoExtensions") and the #define (MEDIATYPE_MVIDEO) hard
coded. So if a _new_ module, say mythrecepy, is also storing files with
a certain suffix, you'll have to update the function with a line:
   NewExtensionMap("RecepyExtensions", MEDIATYPE_MRECEPY);
to facilitate this.


I'd wager that the number of new plugins that require access to new types of files will be fairly limited.... If it's a concern you could add a mechanism for the plugins to register themselves as handling certain file types with the detection code. Honestly, now that I think about it, that's probably the best way to go for all of it. Maybe just an optional parameter to the function that registers a plugin as a media handler?
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to