Register for OS file system changes instead of scanning

Posted:
Mon Dec 12, 2011 4:45 pm
by lazybones
The scanning process seems to be rather resource intensive and slow, I know some other DLNA servers use libevent in linux to monitor for changes in the file system and in windows there is a similar API System.IO.FileSystemWatcher. This should greatly reduce system resources and disk access, requiring only a full scan on launch to find out what has changed with the app was offline.
Re: Register for OS file system changes instead of scanning

Posted:
Mon Dec 12, 2011 4:48 pm
by zip
this will come when we move to Java 7
Re: Register for OS file system changes instead of scanning

Posted:
Tue Dec 13, 2011 9:19 pm
by Cerberus
Sorry just to make what zip has just said abit clearer JAVA 7 is supported at teh current time but to allow this feature we would have to move completely over to JAVA 7 and no longer support java 6 and that is not an option as java 7 is still at beta stages and not availibel on all patforms/operating systems. Hope that make it abit clearer for the less techie amoung us
