[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 - thestealth - 2013-04-09 Takoi, I'm indeed using the file structure: Code: ./MyTv I assume since this structure worked before, a change was made in the "VideoInfoScanner.cpp" file. I guess the solution is to wait, modify this file somehow, or find and older version of the same file and see what it contains. I'd like to start modifying code, but I do not know enough about the XBMC internals to proceed. RE: [RELEASE] Library watchdog - valfy - 2013-04-09 (2013-04-08, 15:49)valfy Wrote: Firstly, I just wanna thank you for this glorious addon! Quote:Known issue. http://forum.xbmc.org/showthread.php?tid=157233 But it's not the addon that's leaking, it's xbmc. Known issue without a solution? I am helpless without watchdog, so what do you recommend? Searching at depth 2 doesn't find anything. Cheers Watchdog causing issues with Add-Ons - Vathan - 2013-04-09 I have an issue with Watchdog that I cannot seem to resolve, but I have encountered the same problem under Windows 7 XBMC 12.0 & 12.1, Android XBMC & Linux XBMC 12.0 built for the G-Box Slav and Midnight. Initially when I first setup XBMC, Watchdog will work and play nicely with my other Video Add-Ons such as 1Channel. At some point with no warning or traceable cause Watchdog interferes somehow with the add-ons. If I try to launch 1Channel (or any other) it will just come up with a blank screen most of the time. When or if it does load the initial screen after some minutes, trying to select something goes no where. As soon as I uninstall Watchdog the problems are resolved and I am able to navigate the add-ons with no delay and begin watching a show or movie. Initially I thought this was just a problem with my Windows HTPC, but since I have now seen the same problem on the G-Box's running both Android and Linux I can only assume there is something wrong or conflicting. I've tried uninstalling Watchdog, and removing the Watchdog folder from the PC and replacing it with the same files from another HTPC and then re-installing Watchdog, but the problem is still there. I cannot use any video add-ons with Watchdog installed and it is driving me crazy trying to figure out what is causing it. I have done some searches on Google, but I have not found any other reports of what I am experiencing - at least not with the search strings I have used. Is this a known issue, is there a fix, or has anyone else had the same problem and been able to fix it somehow such that video add-ons will work with Watchdog installed? RE: [RELEASE] Library watchdog - devkid - 2013-04-09 (2013-04-09, 15:55)takoi Wrote:I am using version 0.7.4 which I think is the latest version available in the repo.(2013-03-29, 19:19)devkid Wrote: I get this in my xbmc.log when running in debug mode after I removed the folder "Der Tatortreiniger" from my directory "TV Shows":What version are you using? That should have been fixed not so long ago. (2013-04-09, 15:55)takoi Wrote:Hm, I think for me it does not. I have currently 3 video sources "Movies", "TV Shows" and "Documentaries". "Documentaries" is not supposed to be scanned. I have put the setting "Folder contains" to "None" and also ticked the checkbox "Exclude selected folder from scans".(2013-04-01, 01:03)devkid Wrote: A suggestion: The addon should obey the checkbox "exclude from scan" that the user can set for sources.It already does I can see in the log that this addon is still iterating through the "Documentaries" folder: http://pastebin.com/dMvweNrp Could you point me to the code please where that filter is applied? I am interested in it cause I want it for another plugin also. Thank you. Maybe for some reason I am really using an outdated version? EDIT: Might also be an XBMC issue. Here are several threads linked about problems with excluding pathes from scan: http://forum.xbmc.org/showthread.php?tid=149750&highlight=exclude+from+scan RE: Watchdog causing issues with Add-Ons - OtisPresley - 2013-04-09 I can verify that I also experience this issue on OpenELEC 3.0.0. It is not just related to addons; it also affects playback of 1080p movies for me. The system resources seem to be fine. Watchdog is unusable and the issue starts as soon as the addon is installed, no matter what the directory depth is set to. (2013-04-09, 16:55)Vathan Wrote: I have an issue with Watchdog that I cannot seem to resolve, but I have encountered the same problem under Windows 7 XBMC 12.0 & 12.1, Android XBMC & Linux XBMC 12.0 built for the G-Box Slav and Midnight. RE: [RELEASE] Library watchdog - takoi - 2013-04-09 (2013-04-09, 16:37)valfy Wrote:As explained 'depth 2' will only detect changes in the media source folder and any direct subfolder of that. This method also cause the leak but it may be less as it may walk fewer directories. One workaround is to mount the remote share locally. Then it will use a different algorithm that does not go through xbmc, and thus not leak.(2013-04-08, 15:49)valfy Wrote: Firstly, I just wanna thank you for this glorious addon! (2013-04-09, 19:11)devkid Wrote: Hm, I think for me it does not. I have currently 3 video sources "Movies", "TV Shows" and "Documentaries". "Documentaries" is not supposed to be scanned. I have put the setting "Folder contains" to "None" and also ticked the checkbox "Exclude selected folder from scans".Perhaps I wasn't clear: it will still watch them but they will be ignored as in nothing will be added to the library. It's a limitation in the xbmc api. (2013-04-09, 16:55)Vathan Wrote: I have an issue with Watchdog that I cannot seem to resolve, but I have encountered the same problem under Windows 7 XBMC 12.0 & 12.1, Android XBMC & Linux XBMC 12.0 built for the G-Box Slav and Midnight.Sounds a lot like http://trac.xbmc.org/ticket/14212 But you dont provide a debug log so I cant give you a definitive answer. RE: [RELEASE] Library watchdog - jjmucker - 2013-04-09 (2013-04-09, 16:09)takoi Wrote: Did you read what I linked to? Yes, I don't see that being the problem I have though, Or were you responding to someone else's post? RE: [RELEASE] Library watchdog - OtisPresley - 2013-04-09 I created that script with a valid network path in it as a startup script in autoexec.py and thought it had fixed it at first, because things were working after I installed Watchdog. After a reboot, however, it was back to the old issue for me. EDIT: The debug logs do not show any errors, but the log is constantly scolling OpenDir messages from Watchdog's polling. It just takes over a minute and a half to display the first menu in any plugin: Code: 15:41:00 ====================AMAZON START==================== Here are the only error messages in my debug log: Code: ERROR: CAESinkOSS::EnumerateDevicesEx - Failed to open mixer: /dev/mixer ...and one warning: Code: WARNING: VIDEO database configuration is experimental. Here are my system stats with Debug enabled and Watchdog installed and running: Code: # uptime I should also note that this is running on an Intel NUC (BOXDC3217IYE) on an mSATA SSD with 4GB of memory installed. (2013-04-09, 19:33)takoi Wrote: Sounds a lot like http://trac.xbmc.org/ticket/14212 But you dont provide a debug log so I cant give you a definitive answer. RE: [RELEASE] Library watchdog - Vathan - 2013-04-10 Quote:@takoi I have sent you a PM with my log file. I turned on logging, went to a video add-on, played a streaming file, stopped it, installed Watchdog, went back and played the exact same file and while it did it, it was a very long time between menu screens. Hopefully you can see something in that log file. -Vathan RE: [RELEASE] Library watchdog - takoi - 2013-04-11 (2013-04-09, 20:25)jjmucker Wrote:What makes you say that? It looks like that's the problem you have to me.(2013-04-09, 16:09)takoi Wrote: Did you read what I linked to?Yes, I don't see that being the problem I have though, Or were you responding to someone else's post? (2013-04-09, 21:26)OtisPresley Wrote: I created that script with a valid network path in it as a startup script in autoexec.py and thought it had fixed it at first, because things were working after I installed Watchdog. After a reboot, however, it was back to the old issue for me.Sorry but if you know what's important and not in the log, what you asking help for? All of that info in irrelevant, what watchdog prints is not.. RE: [RELEASE] Library watchdog - jjmucker - 2013-04-11 Which link was it mate, there was a few links RE: [RELEASE] Library watchdog - takoi - 2013-04-11 http://forum.xbmc.org/showthread.php?tid=158772&pid=1387760#pid1387760 it applies to any layout that's deeper that 2 levels RE: [RELEASE] Library watchdog - OtisPresley - 2013-04-11 I am posting for the benefit of others who may be experiencing the same issue. Vathan gave you a full debug log for it. There are times when having other information can help in identifying the problem. The problem may or may not be with this addon, but this is where people having the issue will start and will want to verify that it is the same issue they have. (2013-04-11, 12:57)takoi Wrote: Sorry but if you know what's important and not in the log, what you asking help for? All of that info in irrelevant, what watchdog prints is not.. RE: [RELEASE] Library watchdog - takoi - 2013-04-11 Well he did not, but it's a know problem. I've already said what the it is. In great detail. It affects everyone using network polling through xbmcvfs. To what degree depends on number of files and method, nothing else. RE: [RELEASE] Library watchdog - Vathan - 2013-04-11 (2013-04-11, 15:06)takoi Wrote: Well he did not, but it's a know problem. I've already said what the it is. In great detail. It affects everyone using network polling through xbmcvfs. To what degree depends on number of files and method, nothing else. It looks like my log file was too large for the PM and therefore got truncated. How else can I send the full log file? -Vathan |