C & Free Software & Hacking & INdT & Maemo & Python Gustavo Sverzut Barbieri on 13 Dec 2007 12:49 pm
LightMediaScanner 0.1 released!
INdT released today under LGPL the public release of LightMediaScanner (LMS), a lightweight media scanner that will be used by Canola 2.0 and, we hope, many other multimedia software!
Lightweight media scanner meant to be used in not-so-powerful devices,
like embedded systems or old machines.Provides an optimized way to recursively scan directories, handling
the parser in a child process, avoiding breaks of the main process
when parsers break (quite common with such bad libs and tags).Parsers are plugins in the form of shared objects, so it’s easy to add
new without having to recompiling the scanner.The scanner will use SQLite3 to store file-mtime association, avoiding
parsing files that are already up-to-date. This SQLite connection and
the file id within the master table ‘files’ are handled to plugins for
relationship with other tables.
Check out the code, it’s really simple to use and write new parser plugins:
Leave a Reply
You must be logged in to post a comment.