On Thu, Mar 17, 2011 at 11:11 AM, Jeff Harmon <jhar...@colorhythm.com> wrote: > i work on resourcespace, an open source digital asset management > application that already supports the previewing of Blender files. > we are working on supporting metadata and recognizing the file type. > http://resourcespace.org > > we are contructing a "magic number" database that will assist in > automatically recognizing file types. [snip]
I realize that constructing such a system is fun, but is there a reason you don't just use an existing solution? The classic approach would be the "file" tool, which comes with its own database. If you can't just rely on the file program itself, perhaps you could use its database (generally found as /etc/magic on systems supporting "file") and not have to re-invent that particular wheel? Regards, /Emil _______________________________________________ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers