-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
d0c3240
commit e414e1f
Showing
8 changed files
with
1,850 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,3 +34,4 @@ m4/ltoptions.m4 | |
m4/ltsugar.m4 | ||
m4/ltversion.m4 | ||
m4/lt~obsolete.m4 | ||
org.lightmediascanner.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[D-BUS Service] | ||
Name=org.lightmediascanner | ||
Exec=@prefix@/bin/lightmediascannerd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
test | ||
list-parsers | ||
lightmediascannerd | ||
lightmediascannerctl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.