[RELEASE] Library watchdog

  Thread Rating:
  • 4 Votes - 4.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
takoi Offline
Fan
Posts: 678
Joined: Oct 2009
Reputation: 10
Location: Norway
Post: #556
(2014-06-29 15:21)shedrock Wrote:  Hopefully I did it right this time:

https://www.dropbox.com/s/565qc85nprr5g0q/xbmc-2.log

btw: all those paths do actually exist. As I mentioned in a few posts back, the files are picked up when dropped into the folders. It is just that message showing up every time I start XBMC.
It's a bit confusing when you say they are 'picked up'. I'm guessing you don't mean it will start scan when files are added to the folder even though it gives an error message (this is know to sometime happen, but only when an unexpected error occur). That not what's happening. It really doesn't exist, at the time watchdog checks it. How are they mounted? What makes /storage/movies/* special? /storage/tvshows and /storage/videos works.
find quote
shedrock Offline
Senior Member
Posts: 227
Joined: Oct 2012
Reputation: 3
Post: #557
What I mean by "they are picked up" is that if I drop a movie in any of the folders, watchdog still works and finds them. My only problem is that those paths show up every time on boot. This only started happening with OpenELEC 4.x.

There isn't anything special with the paths. They are just smb shares that I mounted using autostart.sh. All those folders are mklinked in one main folder called Shares1 on a windows PC. Anyway, is there a piece of code I can get rid of so those errors aren't displayed at XBMC start up?

Thanks

[Image: all-banner.jpg]
find quote
takoi Offline
Fan
Posts: 678
Joined: Oct 2009
Reputation: 10
Location: Norway
Post: #558
(2014-06-29 20:32)shedrock Wrote:  What I mean by "they are picked up" is that if I drop a movie in any of the folders, watchdog still works and finds them. My only problem is that those paths show up every time on boot. This only started happening with OpenELEC 4.x.

There isn't anything special with the paths. They are just smb shares that I mounted using autostart.sh. All those folders are mklinked in one main folder called Shares1 on a windows PC. Anyway, is there a piece of code I can get rid of so those errors aren't displayed at XBMC start up?

Thanks
If it says the path doesn't exist it won't ever check the path again. It won't pick up changes. The only way that can happen is if the folder you drop it into is reachable from a watched directory; if those /storage/movies/ paths are mounted inside /storage/videos or something. The messages are warnings so people can know when it really isn't watching the path. I don't know what openelec does, but if you want to do it this way, you have to mount the file systems before xbmc is started. They clearly aren't. The only thing I can do is add an optional startup delay, since others have requested it too
find quote
shedrock Offline
Senior Member
Posts: 227
Joined: Oct 2012
Reputation: 3
Post: #559
Adding a start up delay would be great for me in this case. I don't actually know how to mount the file system before XBMC starts.

Thanks for the help.

[Image: all-banner.jpg]
find quote
extremeaudio Offline
Junior Member
Posts: 21
Joined: Dec 2012
Reputation: 0
Post: #560
I use Shutdown Timer to shut down my machine whenever there is over 60 minutes of inactivity. But ever since I installed watchdog, I don't think its working. Any way to keep both?
find quote
helloterence Offline
Junior Member
Posts: 21
Joined: Jul 2013
Reputation: 0
Post: #561
(2014-06-04 12:17)takoi Wrote:  
(2014-06-02 05:29)helloterence Wrote:  Having the following issue when attempting to shutdown XBMC:

XBMC crashes with Runtime Error! C:\Program Files (x86)\XBMC\XBMC.exe
This application has requested the runtime to terminate it in an unusualy way.
Please contact the applications support theam for more information.

The last line in the log with debugging turned on:

23:24:43 T:4692 ERROR: CPythonInvoker(3, C:\Users\*******\AppData\Roaming\XBMC\addons\service.watchdog\service.py): script didn't stop in 5 seconds - let's kill it
23:24:43 T:6052 DEBUG: Thread LanguageInvoker 6052 terminating
See first post. Especially the part in bold red Wink

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

Sorry!
find quote
zorvalth Offline
Junior Member
Posts: 29
Joined: Jun 2009
Reputation: 0
Post: #562
Hi, I'm using openelec system. I'm normally running watchdog to keep library up to date but when i enable the XBMC File Cleaner, I think watchdog is breaking or at least when i check the what new downloads I have they are not updated in my library most of the times. Any ideas? Sorry for my English...
find quote
iamFroggy Offline
Junior Member
Posts: 3
Joined: Jun 2009
Reputation: 0
Post: #563
Another one for weird lags on latest openelec. just found this , amazing work Smile anything that opens streams over http seems affected. Usefulness of this plugin won over issue though.Don't suppose my logs would add anything not known.
find quote
fallback Offline
Junior Member
Posts: 11
Joined: May 2013
Reputation: 0
Post: #564
Hi guys,

I'm using Openelec 4.06 with Wathdog 8.0.0 via default repository.
I'm sharing the video directory via NFS from my Synology-NAS but i cant get watchdog to work.

It always says "Watchdog could not find path: nfs://192.168.1.112/videos/1. Movie".
I already configured delay but it didnt help.

Do you have any hints on this?
On my previous device (windows with smb share) everything worked fine :/

# I also tried:
- Install zip from github
- mounted the nfs share via autostart.sh
- very high delay. Watchdog still gives the error at the start of xbmc

The Source/Share/Directory _is_ accessable for xbmc. I have no idea why watchdog is not working
(This post was last modified: 2014-07-13 13:29 by fallback.)
find quote
Post Reply