Kodi Community Forum
Directory Watchdog - Background file monitor service to initiate auto update library? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Feature Requests (https://forum.kodi.tv/forumdisplay.php?fid=9)
+--- Thread: Directory Watchdog - Background file monitor service to initiate auto update library? (/showthread.php?tid=66348)

Pages: 1 2 3 4 5 6 7 8


- topfs2 - 2011-01-28

ventech Wrote:well i cant seem to find anything about how to do this over smb...

btw. just noticed that jdk7 will implement a watch service which does exactly what you explained, fallbacks to polling: http://java.sun.com/developer/technicalArticles/javase/nio/#6
Maybe you could take something from the api or code. If this isnt finished til the language refactor and java7 then at least an addon should be easy to produce

The code would most likely be in the vfs, i.e. each vfs addon needs to implement it. So for this to happen vfs needs to be redesigned. Something I have started with extremely rudimentary in my github


- evlo - 2011-03-16

I have slow PC running XBMC and if i set library to update after start then i can't play movies without lags. If update is not running it is ok. So is there some way to make xbmc update library from fileserver (samba) on background using very low priority on cpu?