Hi folks, INdT just released our media scanner as LGPL: http://lms.garage.maemo.org/
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. I wrote it to be stable and avoid crashes on the main process, that's why it uses two processes. This can slow things down a bit, but worth the stability. In future I plan to provide an "unsafe" version that does it all in the same process. We also provide python bindings and some parser plugins: - jpeg - id3lib (needs to be rewritten without dependency on this library, which is not that good as we wished) - ogg - m3u - pls - video-dummy (does no parse of files at all, just register based on known file extensions). You requested for an open source Canola, ok, we were unable to release everything, but at least some bits we're contributing back, expect more soon. :-) -- Gustavo Sverzut Barbieri -------------------------------------- Jabber: [EMAIL PROTECTED] MSN: [EMAIL PROTECTED] ICQ#: 17249123 Skype: gsbarbieri Mobile: +55 (81) 9927 0010 _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers