(2012-05-11 11:48)takoi Wrote:(2012-05-10 21:59)tinybutstrong Wrote: Quick question, what is the difference between method syscall and polling?
I explained the methods used above. Basically, syscall is fast and will use no resources when idle. Polling will constantly check for changes and may hog the disk quite a bit for large directories (e.g 1TB). If you have os mounted network shares you want to watch, you must use polling. Otherwise, you should use syscall. For future reference: the "only watch root directory" option will increase the performance of polling a lot, if you can live with this limitation.
Thanks for creating this addon, looks quite exciting! A few questions:
1) All my movies are local, which should allow me to use "syscall", which is the most resource efficient as the disks don't spin. However, I have included my movie folders with smb:// (despite being local) as only this allows me to properly use mysql and access the movies on other clients in our house. Would my set-up still allow me to use sycall?
2) I am using local files only and do not scrape anything directly. The local files (NFO, folder.jpg, etc.) are created outside Kodi. When "just adding" the NFO file, I would assume that watchdog would update the library, but nothing happens as there is no nfo file. Once I later add the nfo file, would it trigger yet another update?
3) Will this only trigger a library update or spot if things have changed? For example, I may later add folder.jpg for art or would manually change the nfo file. Will watchdog spot this change and trigger a refresh of the specific movie?
Thanks in advance!!!