chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
23e45ad
)
rescan reports progress every 1000 tracks
author
Richard Kettlewell
<rjk@greenend.org.uk>
Sat, 25 Aug 2007 16:19:02 +0000
(17:19 +0100)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Sat, 25 Aug 2007 16:19:02 +0000
(17:19 +0100)
server/rescan.c
patch
|
blob
|
blame
|
history
diff --git
a/server/rescan.c
b/server/rescan.c
index 4c768a3077144d0f68a65c6a5d9eb2a16000301b..1171943467af0e0ec62c0008e96b72a0b0cfb9e5 100644
(file)
--- a/
server/rescan.c
+++ b/
server/rescan.c
@@
-155,6
+155,8
@@
static void rescan_collection(const struct collection *c) {
if(n < config->player.n) {
nnew += !!trackdb_notice(track, path);
++ntracks;
+ if(ntracks % 1000 == 0)
+ info("rescanning %s, %ld tracks so far", c->root, ntracks);
}
}
/* tidy up */