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 - takoi - 2013-02-22

(2013-02-22, 21:47)jjmucker Wrote: Im not spamming.
In any case, I fixed it. I had to uninstall it AND delete the actual watchdog folder from userdata folder. I then reinstalled it.
Working fine now.

Good it worked out. I've been told deleting it and reinstalling magically fixing problems before but I have no idea why it's happening in the first place.


RE: [RELEASE] Library watchdog - fernandovg - 2013-02-22

Here's my LOGs:

New Install of Watchdog.

Using XBMC Frodo final in a Raspberry Pi + Raspbmc 1.0 + USB HUB powering Samsung USB HDD (Y-cable)

XBMC.LOG
http://pastebin.com/nEwHftmN

DMESG:
http://pastebin.com/2cKNFyjf

SYSLOG:
http://pastebin.com/fGtPJe7K

lsusb:
Code:
root@raspbmc:~# sudo lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 2101:8500 ActionStar
Bus 001 Device 005: ID 2101:8501 ActionStar
Bus 001 Device 007: ID 04e8:1f0a Samsung Electronics Co., Ltd
Bus 001 Device 006: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]

watchlog settings.xml
Code:
<settings>
    <setting id="clean" value="false" />
    <setting id="delay" value="3" />
    <setting id="method" value="0" />
    <setting id="notifications" value="true" />
    <setting id="pollingmethod" value="2" />
    <setting id="watchmusic" value="true" />
    <setting id="watchvideo" value="true" />
</settings>


Thanks!


RE: [RELEASE] Library watchdog - takoi - 2013-02-23

(2013-02-22, 23:18)fernandovg Wrote: Here's my LOGs:

New Install of Watchdog.

Using XBMC Frodo final in a Raspberry Pi + Raspbmc 1.0 + USB HUB powering Samsung USB HDD (Y-cable)

XBMC.LOG
http://pastebin.com/nEwHftmN

snip

I only need xbmc.log but you need to enable debug logging (wiki) in the gui as explained in first post


RE: [RELEASE] Library watchdog - fernandovg - 2013-02-23

I have debug log enabled:

Xml:
<advancedsettings>
<loglevel>1</loglevel>
</advancedsettings>


RE: [RELEASE] Library watchdog - takoi - 2013-02-23

You have setup your device as a media source right? Because there is absolutely nothing printed to the log. I see only two ways that can happen: either there are no media sources to watch, or xbmc isn't even starting the addon.


Re: [RELEASE] Library watchdog - fernandovg - 2013-02-23

What I do is: turn my RPI on , when it finishes loading I plug my USB HDD
All my media is in \\SAMSUNG or /media/SAMSUNG (I guess is a symlink. Its on root.



What else can I provide?

UPDATE:
My videodb (MyVideos75) points to /media/SAMSUNG/... (tvshow table), column c16
also movie table, column c22: /media/SAMSUNG/....


RE: [RELEASE] Library watchdog - takoi - 2013-02-23

You didn't answer about the media sources. You are aware about Media sources (wiki) and Adding videos to the library (wiki) right?


RE: [RELEASE] Library watchdog - fernandovg - 2013-02-23

Yes, I'm aware. I added my USB HDD as a source. I'm using thetvdb as a scrapper and etc.

I only use the videolibrary. I dont use the file manager

Image



Will send you a new log. Just a sec.

http://pastebin.com/Ydw79uqa


RE: [RELEASE] Library watchdog - takoi - 2013-02-23

Just needed to know that's not it. It's really weird because the log says it's starting the script, and it clearly does, but the first debug line is never reached. It looks as if it stop in the middle of execution, which should be impossible. Have you tried only using a media source on the local filesystem if that works? If it doesn't either then it's definitely something wrong with xbmc..


RE: [RELEASE] Library watchdog - ICDeadPpl - 2013-02-23

(2013-02-23, 19:35)fernandovg Wrote: What I do is: turn my RPI on , when it finishes loading I plug my USB HDD
All my media is in \\SAMSUNG or /media/SAMSUNG (I guess is a symlink. Its on root.



What else can I provide?

UPDATE:
My videodb (MyVideos75) points to /media/SAMSUNG/... (tvshow table), column c16
also movie table, column c22: /media/SAMSUNG/....

Why don't you have the USB HDD plugged in when you turn on the RPi?
Maybe XBMC thinks there's no library when it doesn't have the drive plugged in during startup?


Re: [RELEASE] Library watchdog - fernandovg - 2013-02-23

What I did was create a media source pointed to the IP of my RPI (loop). I got the watchdog started but nothing new found.

How does the watchdog works?
How it detects that a new usb was connected?
Maybe theres not enought time so the hdd gets mounted.

(2013-02-23, 21:28)ICDeadPpl Wrote: Why don't you have the USB HDD plugged in when you turn on the RPi?
Maybe XBMC thinks there's no library when it doesn't have the drive plugged in during startup?

I keep my RPI always on. Just plug/unplug hdd. Ftp/samba speed to slow to copy to RPI. Prefer to copy files directly using my computer.

Yes, I rebooted after install it.


RE: [RELEASE] Library watchdog - takoi - 2013-02-23

I've checked with usb drives here myself and it works fine even if it's unplugged or I plug/unplug it in the middle. What kind of device, protocol it is or where it's located should be irrelevant. Xbmc handles all of that. As long as media sources is non-empty it should show on screen 'watching' or 'not watching'. Or at least crash. It doesn't even get to that.


Re: [RELEASE] Library watchdog - fernandovg - 2013-02-23

Did you tried with usb hdd instead of usb flash/drive?

mediasource.xml should not be empty?

Maybe is something related to RASPBMC, the Raspberry Pi OS

How watchdog detects a new usb HDD connected?


RE: [RELEASE] Library watchdog - labtopia - 2013-02-24

(2013-02-21, 12:14)jjmucker Wrote: Ive found recently that it doesnt always scan new media coming in. sometimes when i know something has been downloaded and should be in there, it isnt. i then have to manually update the library, anyone else had this?

YES I am seeing the same here, i thouight it might be the screensaver messing it up but disabled it. it will often not pickup on new files. im on windows32bit with auto indefinite subfolders setting.

dave


RE: [RELEASE] Library watchdog - jjmucker - 2013-02-24

I think I'm actually getting it again unfortunetly.