plan for non-blocking update
git-svn-id: https://svn.musicpd.org/mpd/trunk@608 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
b1d12ba0f6
commit
c5d760e281
8
TODO
8
TODO
|
@ -0,0 +1,8 @@
|
||||||
|
1) non-blocking (for other clients) update
|
||||||
|
a) have two commands, one that blocks and returns updated info and another command that doesn't block
|
||||||
|
b) allow incremental updating, either a directory recursively or a specific song
|
||||||
|
c) haven another command for updating that blocks, but doesn't write the db file
|
||||||
|
d) add a command for flushing the db, and flush the db and SIGTERM/SIGINT
|
||||||
|
e) spawn a update process in the beginning (this will be faster for simple updates, involving only a few songs or directories).
|
||||||
|
f) only pass back changed info to parent
|
||||||
|
g) only pass mtimes and paths to child
|
Loading…
Reference in New Issue