[RELEASE] Library watchdog

  Thread Rating:
  • 4 Votes - 4.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Saidou Offline
Junior Member
Posts: 2
Joined: Aug 2011
Reputation: 0
Post: #411
I've got the following program. I installed a fresh install of XBMC with watchdog.
Whatever I do it won't launch automatically or manually.
When I try to open it in the programs menu it just opens the settings menu, where before it just launched.
Anyone knows how I can get it to work?
Here are my logs:

http://xbmclogs.com/show.php?id=20017
http://xbmclogs.com/show.php?id=20018

Here are my watchdog settings:
Code:
<settings>
    <setting id="clean" value="false" />
    <setting id="delay" value="1" />
    <setting id="method" value="0" />
    <setting id="notifications" value="true" />
    <setting id="pauseonplayback" value="true" />
    <setting id="pollingmethod" value="2" />
    <setting id="watchmusic" value="true" />
    <setting id="watchvideo" value="true" />
</settings>


Thanks
(This post was last modified: 2013-05-18 11:50 by Saidou.)
find quote
Kieron Offline
Senior Member
Posts: 152
Joined: Aug 2009
Reputation: 0
Post: #412
I have the lastfm plugin installed, and Watchdog is constantly telling me lastfm:// doesn't exist. Is there no way to exclude certain sources?

I also have a source set up as / (root of my drive), in addition to /media/Movies. Is there no way to exclude the former? I have tried 'exclude from updates' to no avail.
find quote
Martijn Online
Team-XBMC
Posts: 7,719
Joined: Jul 2011
Reputation: 115
Location: Dawn of time
Post: #413
Please look into reducing freezing at shutting down. Too many people are blaming XBMC for this. Cut down the time outs an sleeps that you might use.

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first


For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
takoi Offline
Fan
Posts: 506
Joined: Oct 2009
Reputation: 6
Location: Norway
Post: #414
(2013-05-16 17:08)brotbuexe Wrote:  17:05:28 T:6736 ERROR: Exception in thread Thread-10:
Traceback (most recent call last):
File "D:\XBMC\system\python\Lib\threading.py", line 532, in __bootstrap_inner
self.run()
File "D:\XBMC\portable_data\addons\service.watchdog\lib\watchdog\observers\api.py", line 191, in run
self.queue_events(self.timeout)
File "D:\XBMC\portable_data\addons\service.watchdog\core\polling.py", line 80, in queue_events
created, deleted, modified = self._snapshot.diff(new_snapshot)
File "D:\XBMC\portable_data\addons\service.watchdog\core\polling.py", line 66, in diff
if self._stat_info[path] != other._stat_info[path]:
KeyError: 'smb://192.168.1.51/vids_e/movies/test'

I set up a new system with mysql and smb urls. I have some issues so I tried to test the polling on the system by creating a directory "test".
Is this a real error or could I ignore it?
Yeah I just discovered several issues with that particular method. will fix.

(2013-05-18 11:08)Saidou Wrote:  Whatever I do it won't launch automatically or manually.
When I try to open it in the programs menu it just opens the settings menu, where before it just launched.
It never did that. It has always launched automatically, and according to your log it does do that.

(2013-05-19 19:28)Martijn Wrote:  Please look into reducing freezing at shutting down. Too many people are blaming XBMC for this. Cut down the time outs an sleeps that you might use.
How long is too long? Afaik, from all the logs posted here (which I think is about 2) the problem of crashing on exit has always been because xbmcvfs calls blocking until it times out so I'm not sure what I can do about that. A big modal telling people not to try to exit perhaps.

(2013-05-19 17:49)Kieron Wrote:  I have the lastfm plugin installed, and Watchdog is constantly telling me lastfm:// doesn't exist. Is there no way to exclude certain sources?

I also have a source set up as / (root of my drive), in addition to /media/Movies. Is there no way to exclude the former? I have tried 'exclude from updates' to no avail.

How did you do that? You added the lastfm url as a music source? Unfortunately it's either getting the media source only automatically or make everyone type them in manually one by one. Why have you added / as a media source when you're not using it as a media source anyway?
(This post was last modified: 2013-05-20 19:28 by takoi.)
find quote
Saidou Offline
Junior Member
Posts: 2
Joined: Aug 2011
Reputation: 0
Post: #415
(2013-05-20 19:19)takoi Wrote:  
(2013-05-18 11:08)Saidou Wrote:  Whatever I do it won't launch automatically or manually.
When I try to open it in the programs menu it just opens the settings menu, where before it just launched.
It never did that. It has always launched automatically, and according to your log it does do that.

Idd, after not touching it for one day, I see know it is working.
I stressed too soon Big Grin

Thanks!
(This post was last modified: 2013-05-20 23:23 by Saidou.)
find quote
Diggs Offline
Senior Member
Posts: 143
Joined: Jan 2012
Reputation: 1
Post: #416
(2013-05-19 19:28)Martijn Wrote:  Please look into reducing freezing at shutting down. Too many people are blaming XBMC for this. Cut down the time outs an sleeps that you might use.

I am no coder, but will say I really want to use this program and don't due to this reason. Not sure why it won't allow me to shutdown XBMC, but with it installed, XBMC fails to shutdown every time. Remove it, and it works like it should. Not being critical, just letting you know the problem does exist and keeps some of us from using it.
find quote
takoi Offline
Fan
Posts: 506
Joined: Oct 2009
Reputation: 6
Location: Norway
Post: #417
(2013-05-21 00:12)Diggs Wrote:  
(2013-05-19 19:28)Martijn Wrote:  Please look into reducing freezing at shutting down. Too many people are blaming XBMC for this. Cut down the time outs an sleeps that you might use.

I am no coder, but will say I really want to use this program and don't due to this reason. Not sure why it won't allow me to shutdown XBMC, but with it installed, XBMC fails to shutdown every time. Remove it, and it works like it should. Not being critical, just letting you know the problem does exist and keeps some of us from using it.

Can you please post a complete debug log then?. The only known issue is when you exit before the script has fully started up. I'm trying to reproduce crashes elsewhere but I just can't make xbmc hang like people say. Clearly you must be doing something I cant think about. I've even tried running it on 10k files so the entire gui lags because it takes so much cpu but it still wont hang no matter what I do.
find quote
jjmucker Offline
Fan
Posts: 352
Joined: Nov 2012
Reputation: 1
Post: #418
Ive just updated to your latest build and everything is working great now. Had to switch on your new optional setting because I have a certain TV folder structure, but works flawless. Both movies and tv.
Thanks for the update.
find quote
Post Reply