Kodi Community Forum
[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 - deshark - 2014-08-19

(2014-08-09, 21:26)deshark Wrote: Hello,
I have just recently started using watchdog plugin. What could be the reason that watchdog is not triggered when I delete or move folders or files from my media location? Just fyi it detects new files or folders without any problem. My library is stored on an external USB drive mounted on boot (before XBMC is started). I use XBMC Gotham on Ubuntu 14.04. Option to clean the library on file move or delete is checked.

Thanks for any help.

I just want to add some more info here. I enabled logging in XBMC and there is no action logged from the watchdog addon when I MOVE files from source to another directory (not a media source for XBMC). When files are deleted or files are added the addon is triggered and library is updated as it should be and it is visible in the log. Anyone maybe had simmilar problems?

Best regards


RE: [RELEASE] Library watchdog - takoi - 2014-08-19

(2014-08-19, 15:06)deshark Wrote:
(2014-08-09, 21:26)deshark Wrote: Hello,
I have just recently started using watchdog plugin. What could be the reason that watchdog is not triggered when I delete or move folders or files from my media location? Just fyi it detects new files or folders without any problem. My library is stored on an external USB drive mounted on boot (before XBMC is started). I use XBMC Gotham on Ubuntu 14.04. Option to clean the library on file move or delete is checked.

Thanks for any help.

I just want to add some more info here. I enabled logging in XBMC and there is no action logged from the watchdog addon when I remove files from sources. When files are added the addon is triggered and library is updated as it should be and it is visible in the log. Anyone maybe had simmilar problems?

Best regards

There is one known issue on linux (only) with the 'auto' method. It can't detect when files are moved from a watched directory to the outside. Deletions can be detected. Note that "move to trash" is not deleting a file but moving it to the outside trash folder so that might be it. Fixing this is a major task because of more fundamental issue I wont go into detail to here. Most of it should be done by now though.


RE: [RELEASE] Library watchdog - deshark - 2014-08-19

OK that explains a lot. I thought taht I have messed something in my config Smile


RE: [RELEASE] Library watchdog - takoi - 2014-08-19

(2014-08-19, 02:27)Scott00007 Wrote: I am using beta 2 and it no longer works with 13.2 update......it won't find any sources.

When will a new version be ready?
Of watchdog? You should be using v0.8.1 from the official add-on repo.


RE: [RELEASE] Library watchdog - carda - 2014-08-20

I have tried searching to the issue I am having. I have turned on the option to auto clean the DB when files are deleted. I have had the following issue a couple of times. If I have XBMC running and I restart my samba service on the NAS, watchdog deletes all of the movies....

Is this something anyone else has experienced? Basically I am assuming when it loses connectivity to the share, it assumes the files are gone and does a cleanup?

Any help would be appreciated


RE: [RELEASE] Library watchdog - nightblade - 2014-08-21

Hello, I have been using this great addon for a few months and I love it! Today I updated XBMC to 13.2 from 13.1 and watchdog stopped working. Even though I didn't change any setting. I tried reinstalling, but to no avail.
Is there anything I can try to check if it's working? Is it possible that the service isn't running any more? I'm running Windows 8.1 x64.
Thank you all.

Edit: It now seems to work, sorry for bothering and thanks Big Grin


RE: [RELEASE] Library watchdog - sledgeDJ - 2014-08-29

I am running openelec 4.0.7
Just downloaded this plugin for the first time.
I have network shares mounted.
I delayed startup
The issue is when I add new files they dont appear.
how long should it take for them to appear?
They appear once a do a library update but that kind of defeats the purpose of this plugin


RE: [RELEASE] Library watchdog - takoi - 2014-08-29

(2014-08-29, 09:17)sledgeDJ Wrote: I am running openelec 4.0.7
Just downloaded this plugin for the first time.
I have network shares mounted.
I delayed startup
The issue is when I add new files they dont appear.
how long should it take for them to appear?
They appear once a do a library update but that kind of defeats the purpose of this plugin
Welcome to the forums! If you have not edited the 'delay before update' setting, the update should occur within seconds. For me to be able to give help in any meaningful way you will have to provide a Debug log (wiki).


RE: [RELEASE] Library watchdog - sledgeDJ - 2014-08-29

(2014-08-29, 14:39)takoi Wrote: Welcome to the forums! If you have not edited the 'delay before update' setting, the update should occur within seconds. For me to be able to give help in any meaningful way you will have to provide a Debug log (wiki).

I will try to get you debug log ASAP in the meantime delay before updating is 1. is that what it should be set at?


RE: [RELEASE] Library watchdog - carda - 2014-09-01

Can someone please tell me how I make watchdog cleanup the library without prompting me to keep / remove each individual file?

I searched and searched and couldn't find the answer!

Thanks in advance,

Paul


RE: [RELEASE] Library watchdog - swiebertje - 2014-09-03

I also have a problem running the watchdog service on openelec.
It gives an error on the df command;

http://xbmclogs.com/show.php?id=285374


RE: [RELEASE] Library watchdog - takoi - 2014-09-04

(2014-09-03, 23:36)swiebertje Wrote: I also have a problem running the watchdog service on openelec.
It gives an error on the df command;

http://xbmclogs.com/show.php?id=285374
What's the problem? The df stuff is expected on openelec and not an error.


RE: [RELEASE] Library watchdog - swiebertje - 2014-09-05

(2014-09-04, 19:17)takoi Wrote:
(2014-09-03, 23:36)swiebertje Wrote: I also have a problem running the watchdog service on openelec.
It gives an error on the df command;

http://xbmclogs.com/show.php?id=285374
What's the problem? The df stuff is expected on openelec and not an error.

The problem is that the watchdog service is not updating my library at all.
Manual updates are working fine though.

I read somewhere that the service does not support NFS shares, is that correct?


RE: [RELEASE] Library watchdog - takoi - 2014-09-05

(2014-09-05, 19:19)swiebertje Wrote:
(2014-09-04, 19:17)takoi Wrote:
(2014-09-03, 23:36)swiebertje Wrote: I also have a problem running the watchdog service on openelec.
It gives an error on the df command;

http://xbmclogs.com/show.php?id=285374
What's the problem? The df stuff is expected on openelec and not an error.
The problem is that the watchdog service is not updating my library at all.
Manual updates are working fine though.

I read somewhere that the service does not support NFS shares, is that correct?
Can you post the rest of the log (that covers when you add/delete files)? I use openelec myself. NFS shares are fully supported.


RE: [RELEASE] Library watchdog - Alphy - 2014-09-05

(2014-08-20, 00:57)carda Wrote: I have tried searching to the issue I am having. I have turned on the option to auto clean the DB when files are deleted. I have had the following issue a couple of times. If I have XBMC running and I restart my samba service on the NAS, watchdog deletes all of the movies....

Is this something anyone else has experienced? Basically I am assuming when it loses connectivity to the share, it assumes the files are gone and does a cleanup?

Any help would be appreciated
Hello,
I have same problem as you.
You fixed that problem ?
Best regards,