chiark / gitweb /
copyright dates
[disorder] / server / rescan.c
index 0c1e6de107d4f7bda6ea7c776ad1a01fc2c420ec..6f024af5fbfb99fd7b5a6befd9088a6c6f405375 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * This file is part of DisOrder 
- * Copyright (C) 2005, 2006 Richard Kettlewell
+ * Copyright (C) 2005, 2006, 2007 Richard Kettlewell
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -270,6 +270,14 @@ static void do_all(void (*fn)(const struct collection *c)) {
 
   for(n = 0; n < config->collection.n; ++n)
     fn(&config->collection.s[n]);
+  /* TODO: we need to tidy up tracks from collections now removed.  We could do
+   * this two ways: either remember collections we think there are and spot
+   * their disappearance, or iterate over all tracks and gc any that don't fit
+   * into some collection.
+   *
+   * Having a way to rename collections would be rather convenient too but
+   * that's another kettle of monkeys.
+   */
 }
 
 int main(int argc, char **argv) {
@@ -328,4 +336,3 @@ fill-column:79
 indent-tabs-mode:nil
 End:
 */
-/* arch-tag:yBYnk5wX3mDtVI1MI3LlWg */