add lightmediascannerd and lightmediascannerctl
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Tue, 27 Aug 2013 03:37:50 +0000 (00:37 -0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 30 Aug 2013 14:30:01 +0000 (11:30 -0300)
commite414e1fc4cffa7e3b8594e2fe19c7153004093b0
tree75349f40c86f5d78afa4574dd9aa209b77985e08
parentd0c324019ea5392e1af66775554d25e4bead884c
add lightmediascannerd and lightmediascannerctl

The daemon and control client are provided as a way to make usage of
lightmediascanner easier in a platform. It will scan directories based
on the startup configuration of categories, their parsers and
directories.

One can request a write lock, avoiding the server to scan and also
report to others that they should not write to DB.

Scanning status, Write Lock and global Update ID are provided as
properties.

The scan method will take a dict of categories and their respective
scan paths. This allows to reduce the scan scope to just few
categories and paths. The categories must exist previously and paths
must be inside the previously known categories directories, this
avoids people doing mistakes. If a category is provided as an empty
list, all directories will be used. If there are no categories
provided, then all categories with all directories will be used.
.gitignore
Makefile.am
configure.ac
org.lightmediascanner.service.in [new file with mode: 0644]
src/bin/.gitignore
src/bin/Makefile.am
src/bin/lightmediascannerctl.c [new file with mode: 0644]
src/bin/lightmediascannerd.c [new file with mode: 0644]