This script is using inotify to watch your music folders and trigger a new library scan 10 minutes after a notification has been send from inotify.