aboutsummaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-04-11 17:37:47 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-04-11 17:37:47 +0000
commitfc7a264e4d3f6ba93d52722455e6d4ec7ca671fb (patch)
treec55738667ba5973be0435fd54048269013ae89c2 /TODO
parent87f53c94d7361bb3aaa1369d26f76f049905fc82 (diff)
downloadmpd-fc7a264e4d3f6ba93d52722455e6d4ec7ca671fb.tar.gz
mpd-fc7a264e4d3f6ba93d52722455e6d4ec7ca671fb.tar.xz
mpd-fc7a264e4d3f6ba93d52722455e6d4ec7ca671fb.zip
incremental updates and command-list/update kung fu
this needs some serious cleaning up and testing git-svn-id: https://svn.musicpd.org/mpd/trunk@692 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--TODO10
1 files changed, 1 insertions, 9 deletions
diff --git a/TODO b/TODO
index 4161e1740..f8af30a85 100644
--- a/TODO
+++ b/TODO
@@ -1,15 +1,7 @@
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) fork on update
- d) have a special case where if a update is in a command list, it only forks at the beginning of the list, and writes at the end of the command list
- e) add an element to status stating the "update state"
- f) store stuff to updated in a linked list prior to update fork
- g) update child writes db file, parents reads db file when done (the msells/sbh alogrithm)
- h) when reading directory db and checking for deleted, new, or changed stuff, assume all info is sorted (so we can deterimine if its new very quickly without searching through lists of stuff every time). Also, for new stuff, insert it with insertInListBeforeNode() function, to keep lists sorted.
j) when reading new directory db, we should block some signals when manipulating the directorydb, so we don't receive a signal to quit in the middle of an update
k) when bg-update, have parent print out new old stuff to log on reading db, not the child
- l) return a job-id for each update-job, the job id can be polled in status
+ l) IMPORTANT: look over new command list shiznit and make it much cleaner, please! (in particular, move buffer2array code from interface.c to command.c, and have command stuff do buffer2array)
2) rewrite interface stuff, specifically command list handling etc so its less of a hack and deals with the above update stuff better