[RELEASE] Library watchdog - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Service Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=152) +---- Thread: [RELEASE] Library watchdog (/showthread.php?tid=128896) |
RE: [RELEASE] Library watchdog - takoi - 2013-02-06 Eden changes v0 6.4 (will probably not be maintained anymore from this point on) - now only scans the media source an event appeared in - now shows notifications when a media source is not being watched (optional) Frodo changes: v0.7.0 - out-of-the-box support for network shares - now only scans the media source an event appeared in - now shows notifications when a media source is not being watched (optional) - settings now accessible through programs menu - various fixes New big feature is ofc out-of-the-box support for network shares. Migrating from old setup with shares mounted at OS level: - everything should work out of the box. You can choose to go back to letting xbmc handle the shares but if you don't mind it's preferable to keep them mounted at OS level because of better performance. Note: do not change method to 'Auto' if you choose to keep them mounted at OS level. It must be set to 'Polling'. Auto only work if xbmc handles them. - MySQL users: to avoid scan/clean being done twice for every event, the os mounted media source must be removed. Polling methods: If you are experiencing performance issues you can select another method for network shares. Here's an explanation of the different polling methods you can choose: Depth 1: very fast. independent of number of files Code: ./media source/ Depth 2: performance depends on number of directories and files in top folder (media source) only Code: ./media source/ Depth inf.: performance depends on total number of directories and files. Will detect everything, also whether a file was added or removed. RE: [RELEASE] Library watchdog - e2zippo - 2013-02-06 thanks a lot takoi, this add-on is just what I've been looking for, unfortunately it doesn't seem to play nice witch rom collection browser. I just installed the add-on and I'm running everything default with the exception that I enabled file cleaning. Right after installation it started cleaning my library like 10 times on one minute The log looks like this. http://xbmclogs.com/show.php?id=33340 Cheers! Edit: I'm using mounted shares! RE: [RELEASE] Library watchdog - takoi - 2013-02-06 Need debug log. See enable debug logging (wiki) RE: [RELEASE] Library watchdog - e2zippo - 2013-02-06 (2013-02-06, 21:25)takoi Wrote: Need debug log. See enable debug logging (wiki) It seemed to have settled now, if it returns I will enable debug and post a full log, Thanks for the fast reply! Edit: alright, it happened again, managed to get three cleans in the log. http://xbmclogs.com/show.php?id=33357 Thanks! RE: [RELEASE] Library watchdog - takoi - 2013-02-06 You need to restart xbmc after enabling debugging for everything to get logged. But the reason is probably that you have some app running that continuously creates and deletes files.. RE: [RELEASE] Library watchdog - ericab - 2013-02-07 *deleted RE: [RELEASE] Library watchdog - drewlover - 2013-02-07 Awesome plugin dude! Lovin it! Exceeeeept one thing. When it detects a change, it is doing a clean, even though I have the option set to OFF. Full Debug Log: http://xbmclogs.com/show.php?id=33548&hash=02254181 (heh, and now you know all my movies) I see where it detects the modification, but the after it just runs the clean... I've tried setting it on, restarting XBMC, then setting it off, and restarting again for good measure. Still cleans, every time, no matter what. I don't mind manually cleaning, but as I navigate, and things are.. um... downloading... in the background, it frequently runs a clean, interrupting my navigation.. I often cancel due to impatience, but would rather it just not pop up... Still reading the thread ("TV" is too short, and "TV Shows" yields a lot of false positives), but TV Shows, while triggering an invalid clean (as already described), aren't updated. Having to do a manual "Update Library." RE: [RELEASE] Library watchdog - e2zippo - 2013-02-07 (2013-02-06, 22:43)takoi Wrote: You need to restart xbmc after enabling debugging for everything to get logged. But the reason is probably that you have some app running that continuously creates and deletes files.. Ah ok, didn't know that I had to restart xbmc. Here's another debug log after restarting xbmc. http://xbmclogs.com/show.php?id=33547 Any ideas what could be causing it? Another question, will watchdog clean my library if no files are accessible? I have all my movies on my desktop computer which isn't always turned on, sometimes I start up my HTPC just to play some games that are stored locally. I think that happened this morning, my whole library was gone, I had to to into video>files and "set content" again and rescrape everything. Cheers! RE: [RELEASE] Library watchdog - Mooorgul - 2013-02-07 Last night I noticed the same behavior as a couple of posters above has experienced. I have all my files on another computer and when I unplugged the ethernet cable for a few minutes Watchdog decided to clean my entire library, even though the "cleaning option" was set to off. RE: [RELEASE] Library watchdog - huzz456 - 2013-02-07 Im glad Ive found this thread because it has been driving me nuts! I think im getting the same thing as I keep randomly losing all or part of my libraries when the computing sleeps for a while and then I try and use it again. It not instantly picking up my shared drives and then cleaning the database of them seems to fit whats happening. I haven't got a debug log of it at the mo but will try and get one. RE: [RELEASE] Library watchdog - takoi - 2013-02-07 Really sorry about the cleaning issue. That's me making dumb mistakes. I've made a fix, just waiting for it to get pulled to the repo now. I hope I didn't cause too much damage for people:/ [RELEASE] Library watchdog - huzz456 - 2013-02-07 Hey no problem just thankful for all the work you do! How long does it take to go to repo, I'm not sure how these things work? RE: [RELEASE] Library watchdog - takoi - 2013-02-07 Its done manually, so it depends on another person and when he has time. In the mean time downgrade the addon in xbmc or turn it of. RE: [RELEASE] Library watchdog - drewlover - 2013-02-07 takoi, thanks for the quick response, and fix. I've looked through the thread, and see others mentioning TV Shows aren't updated (although for me it's triggering the unwanted clean-up)... Is this desired on your part, or a feature coming down the road? It looks like the github has moved.. I started looking at the code, but haven't bothered too much since I don't have a python dev env going right now. Trying to focus on node.js and ruby, as well as angular.js, and of course mobile. Hoping to build a really nice web interface addon when I get more into angular.. The current ones aren't all that great. RE: [RELEASE] Library watchdog - takoi - 2013-02-08 (2013-02-07, 21:51)drewlover Wrote: takoi, thanks for the quick response, and fix. I don't think there has been any issue with TV Shows specifically. To xbmc there is no such thing as 'movies but not tv shows'. It's just videos or music. Code is at http://github.com/takoi/xbmc-addon-watchdog btw. will edit op. |