Comment 3 for bug 374274

Revision history for this message
Michael Terry (mterry) wrote : Re: Can't exclude filename patterns

Hmm, thinking about this some more... I don't think we'd want to display all mime types, that'd be silly. And asking the user to select each of the various 'video' mime types wouldn't be useful either. It's not likely that they'll want to backup .avi files but not .ogv.

I think if we were to offer a mime option, it would just be some hardcoded groups, like "Video Files" or "CD Image Files" (which would hit iso and the other goofier formats). We'd probably maintain those lists ourselves, not use a library (since I don't know of any library that could help us there, unless we could query the associated extensions for all audio/* mimes. But even that isn't 100% sure. I think the mime namespace is a bit more polluted than that. Or maybe most of the goofy application/ mimes that were really audio or video have migrated by now).

So bottom line is a much more sane/scaled-back version of the mime idea. I still like it though, and then offer a glob field for anything more special.