[RELEASE] Library watchdog

  Thread Rating:
  • 4 Votes - 4.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
JaffaTheCake Offline
Junior Member
Posts: 6
Joined: Jul 2012
Reputation: 0
Post: #46
I run XBMC standalone on Ubuntu 12 on a laptop (chromebook 550) connected to a TV. This add-on causes xbmc to freeze when I close the laptop lid: Remotes no longer connect, and if I open the lid again the keyboard & trackpad don't respond.

I'm currently using smb shares within xbmc, which I realise this add-on doesn't support. Is freezing expected/known behaviour in this situation?

I know this isn't much to go on, let me know what else I can provide & how.
find quote
anphct Offline
Junior Member
Posts: 6
Joined: Jul 2012
Reputation: 0
Post: #47
Do I need to do something in particular after enabling this plugin to get it to work? I can add/remove files but nothing happens library wise.

The only reference in xbmc.log is the following:

20:14:42 T:2885716848 NOTICE: -->Python Interpreter Initialized<--
20:16:37 T:2810112880 ERROR: Python script "http://mirrors.xbmc.org/addons/eden/service.watchdog/service.watchdog-0.6.0.zip/default.py" does not exist

(Ubuntu 10.04, entire library is on a single (local) hard drive.)
find quote
anphct Offline
Junior Member
Posts: 6
Joined: Jul 2012
Reputation: 0
Post: #48
Apologies folks. Restarted the box and it's working perfectly.

Thanks SO MUCH for a great plugin takoi, one that I've wished existed for YEARS!
find quote
andydufresne Offline
Member
Posts: 55
Joined: Jun 2012
Reputation: 0
Post: #49
Is there any reason to use both 'Library Watchdog' together with 'Library Auto Update'? Library Watchdog updates instantly and Library Auto Update updates based on a schedule. Is there a reason to have both or just pick either one depending on whether you want your library updated in real time or on a periodic schedule?

Sorry, confused about these two different library update packages.
find quote
anphct Offline
Junior Member
Posts: 6
Joined: Jul 2012
Reputation: 0
Post: #50
I can't see any point in having 'Library Auto Update' running at all if Library Watchdog is working for you - library updates happen instantaneously with Watchdog, so the scheduled updates of auto update will find absolutely nothing to add to the library when they run.
find quote
anphct Offline
Junior Member
Posts: 6
Joined: Jul 2012
Reputation: 0
Post: #51
Or not.

Library Watchdog has reverted to its initial behaviour - doing absolutely nothing, even when a dozen files are moved into existing folders for TV series. A manual update of the library picked up all these files instantly.

Anyone have any ideas? Currently set to use sysctl rather than polling.
find quote
Aenima99x Offline
Donor
Posts: 1,127
Joined: Aug 2007
Reputation: 8
Location: California
Post: #52
Hey Takoi - Lately I've been noticing that if a movie gets added and picked up by the addon, it will freeze xbmc if I'm watching a video at the same time. It completely freezes the video, but the audio keeps playing. I have to killall -9 xbmc.bin via ssh to get it working again.
Here's the snip of last part of the xbmc log when it froze - http://xbmclogs.com/show.php?id=5662
The full log is 8MB, so if you need it let me know. Thanks.
find quote
takoi Offline
Fan
Posts: 680
Joined: Oct 2009
Reputation: 10
Location: Norway
Post: #53
(2012-07-27 05:04)Aenima99x Wrote:  Hey Takoi - Lately I've been noticing that if a movie gets added and picked up by the addon, it will freeze xbmc if I'm watching a video at the same time. It completely freezes the video, but the audio keeps playing. I have to killall -9 xbmc.bin via ssh to get it working again.
Here's the snip of last part of the xbmc log when it froze - http://xbmclogs.com/show.php?id=5662
The full log is 8MB, so if you need it let me know. Thanks.
I'm not able to reproduce this, and the log snippet doesn't say anything about the video freezing. Just reproduce it to make the log shorter. Then i'll have a look at it. Also make sure you don't kill it off right away so everything get logged.


(2012-07-25 13:05)anphct Wrote:  Or not.

Library Watchdog has reverted to its initial behaviour - doing absolutely nothing, even when a dozen files are moved into existing folders for TV series. A manual update of the library picked up all these files instantly.

Anyone have any ideas? Currently set to use sysctl rather than polling.
Log please. And make sure debug logging setting in gui is on.


(2012-07-19 09:27)JaffaTheCake Wrote:  I run XBMC standalone on Ubuntu 12 on a laptop (chromebook 550) connected to a TV. This add-on causes xbmc to freeze when I close the laptop lid: Remotes no longer connect, and if I open the lid again the keyboard & trackpad don't respond.

I'm currently using smb shares within xbmc, which I realise this add-on doesn't support. Is freezing expected/known behaviour in this situation?

I know this isn't much to go on, let me know what else I can provide & how.
When you say "close the laptop lid" do you mean sleep mode? If you're sure it's the add-on causing it; that it doesn't happen when the add-on is turned off, then post a debug log and I'll look at it.
find quote
Aenima99x Offline
Donor
Posts: 1,127
Joined: Aug 2007
Reputation: 8
Location: California
Post: #54
(2012-07-27 12:57)takoi Wrote:  
(2012-07-27 05:04)Aenima99x Wrote:  Hey Takoi - Lately I've been noticing that if a movie gets added and picked up by the addon, it will freeze xbmc if I'm watching a video at the same time. It completely freezes the video, but the audio keeps playing. I have to killall -9 xbmc.bin via ssh to get it working again.
Here's the snip of last part of the xbmc log when it froze - http://xbmclogs.com/show.php?id=5662
The full log is 8MB, so if you need it let me know. Thanks.
I'm not able to reproduce this, and the log snippet doesn't say anything about the video freezing. Just reproduce it to make the log shorter. Then i'll have a look at it. Also make sure you don't kill it off right away so everything get logged.

It looks like I got it sorted out.....it was one of two things. In my advancedsettings, I removed the <cleanonupdate> for the video library and also changed the <nofliptimeout> from 0 to 1000. I'm not able to reproduce it now with those changed.
find quote
anphct Offline
Junior Member
Posts: 6
Joined: Jul 2012
Reputation: 0
Post: #55
OK, so it appears to work flawlessly until the machine is put into sleep mode.

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

The media centre is put to sleep at 11:16:16 and woken up at 11:16:42, which throws an error almost immediately.

Thanks again.
(This post was last modified: 2012-07-28 03:28 by anphct.)
find quote
Sprinterro Offline
Junior Member
Posts: 4
Joined: Jul 2012
Reputation: 0
Post: #56
I've got some errors under win xp pro with this addon:

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

Any ideas why ?
(This post was last modified: 2012-08-03 02:21 by Sprinterro.)
find quote
takoi Offline
Fan
Posts: 680
Joined: Oct 2009
Reputation: 10
Location: Norway
Post: #57
(2012-07-29 20:14)Sprinterro Wrote:  I've got same errors under win xp pro with this addon:

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

Any ideas why ?

Apparently a needed function isn't available in xp. Just change method to polling in addon settings. I'll set it do do this automatically in future releases.
(This post was last modified: 2012-08-02 15:56 by takoi.)
find quote
MindTooth Offline
Senior Member
Posts: 158
Joined: Feb 2010
Reputation: 0
Post: #58
I've managed to get it to work with movies, but not with episodes. Can someone confirm or deny this behavior? I'm running Eden.
find quote
takoi Offline
Fan
Posts: 680
Joined: Oct 2009
Reputation: 10
Location: Norway
Post: #59
(2012-08-06 12:23)MindTooth Wrote:  I've managed to get it to work with movies, but not with episodes. Can someone confirm or deny this behavior? I'm running Eden.
debug log please
find quote
Thorbear Offline
Junior Member
Posts: 43
Joined: Aug 2010
Reputation: 0
Location: Uppsala, Sweden
Post: #60
Hi.
i saw this in the log.. does it mean that watchdog doesn't support xbmc multipath sources?

20:03:06 T:4764 DEBUG: service.watchdog: not watching <multipath://E%3a%5cHD%5cFilm%5c/E%3a%5cSD%5cFilm%5c/F%3a%5cHD%5cFilm%5c/F%3a%5cSD%5cFilm%5c/G%3a%5cHD%5cFilm%5c/G%3a%5cSD%5cFilm%5c/>

[Image: widget]
find quote
Post Reply