aboutsummaryrefslogtreecommitdiffstats
path: root/src/inotify_update.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-04-13inotify_update: start update when directory is createdMax Kellermann1-2/+6
This is useful at the maximum depth level, to update newly created directories. It is however questionable if the hard-coded 5 seconds delay is enough to create new directory trees with all of their files, but we might make that delay configurable in the future.
2010-04-13inotify: added setting "auto_update_depth"Max Kellermann1-5/+28
Limits the depth of the watched directories. This is useful to keep resource usage down and speed up MPD startup.
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-12-14fixed several gcc warnings on unused debug variablesMax Kellermann1-0/+1
2009-11-11added missing config.h includes for extended LFS supportMax Kellermann1-0/+1
All sources which might work with large files must include config.h, to get Large File Support on 32 bit platforms.
2009-09-25automatically update the database with Linux inotifyMax Kellermann1-0/+349
This patch implements a light-weight inotify library, and watches all directories below the music directory. It updates all directories where files changed after a delay of 5 seconds.