•   
  • 1
  • 51
  • 52
  • 53
  • 54
  • 55(current)
[RELEASE] Library watchdog
(2021-05-26, 21:50)inzzzomnia Wrote:
(2021-05-26, 12:37)phunkyfish Wrote:
(2021-05-26, 04:27)inzzzomnia Wrote: I just as @phunkyfish I have my stuff on a SMB share on a NAS, so it should work but non the less it doesn't.
I've tried "everything" but can't get it to work and now I'm beginning to think that it doesn't work if you use 'Local information only', can that be it?

What does local information only mean?

In the Kodi settings for each media where you choose content of the share and how to scrape it. I use 'Local information only' since I scrape and create the nfo and artwork myself in MediaElch.

Does it work if you switch that off?
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
(2021-05-26, 22:07)phunkyfish Wrote:
(2021-05-26, 21:50)inzzzomnia Wrote:
(2021-05-26, 12:37)phunkyfish Wrote: What does local information only mean?

In the Kodi settings for each media where you choose content of the share and how to scrape it. I use 'Local information only' since I scrape and create the nfo and artwork myself in MediaElch.

Does it work if you switch that off?

That's not something I'm willing to try, it will potentially scrape a lot of stuff not meant to be scraped.

I see that something happens though because the Trakt plugin is triggered to update so a scan of the library is performed in some way but nothing is added in Kodi. If I scan for new content manually it work so nothing wrong on that part.
Reply
(2021-05-26, 22:46)inzzzomnia Wrote:
(2021-05-26, 22:07)phunkyfish Wrote:
(2021-05-26, 21:50)inzzzomnia Wrote: In the Kodi settings for each media where you choose content of the share and how to scrape it. I use 'Local information only' since I scrape and create the nfo and artwork myself in MediaElch.

Does it work if you switch that off?

That's not something I'm willing to try, it will potentially scrape a lot of stuff not meant to be scraped.

I see that something happens though because the Trakt plugin is triggered to update so a scan of the library is performed in some way but nothing is added in Kodi. If I scan for new content manually it work so nothing wrong on that part.

If you can try installing kodi on another device to try it out.
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
(2021-05-26, 23:58)phunkyfish Wrote:
(2021-05-26, 22:46)inzzzomnia Wrote:
(2021-05-26, 22:07)phunkyfish Wrote: Does it work if you switch that off?

That's not something I'm willing to try, it will potentially scrape a lot of stuff not meant to be scraped.

I see that something happens though because the Trakt plugin is triggered to update so a scan of the library is performed in some way but nothing is added in Kodi. If I scan for new content manually it work so nothing wrong on that part.

If you can try installing kodi on another device to try it out.
I think I found it by enabling and diving into the logs.
Trakt was probably triggered by something else yesterday or maybe I since changed some settings I don't remember doing because now I couldn't manipulate it to happen like I could yesterday.
But when creating a thumb and NFO for a new episode to add it to Kodi I found this in the log:
Code:
2021-05-27 03:11:37.757 T:2692    DEBUG <general>: [service.librarywatchdog] [event] <created> <'smb://TheNAS/FBI Most Wanted/FBI Most Wanted.S02E14.Hustler-thumb.jpg'>
2021-05-27 03:11:37.758 T:2692    DEBUG <general>: [service.librarywatchdog] [event] skipping <created> <'smb://TheNAS/FBI Most Wanted/FBI Most Wanted.S02E14.Hustler-thumb.jpg'>
2021-05-27 03:11:37.758 T:2692    DEBUG <general>: [service.librarywatchdog] [event] <created> <'smb://TheNAS/FBI Most Wanted/FBI Most Wanted.S02E14.Hustler.nfo'>
2021-05-27 03:11:37.758 T:2692    DEBUG <general>: [service.librarywatchdog] [event] skipping <created> <'smb://TheNAS/FBI Most Wanted/FBI Most Wanted.S02E14.Hustler.nfo'>
The addon seem to only be interested in changes regarding movie files so when a NFO and thumb is added to an already present mkv the change is ignored and nothing happens.
So I guess it works with 'Local information only' if the NFO is created at the same time as the video but in my case where the video comes first and the NFO later on it doesn't since the creation of the NFO is ignored.
A change/option so it also get triggered by a created NFO would probably make it work.
My coding skills are very slim and when looking through it all I think I found what part to change ('_can_skip'?) but no idea into what Laugh

Can it be done?
Reply
@pkscout did you look at this before? I know you looked into the performance of the addon but I’m not sure if you looked at adding support for nfo files?
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
(2021-05-27, 08:11)phunkyfish Wrote: @pkscout did you look at this before? I know you looked into the performance of the addon but I’m not sure if you looked at adding support for nfo files?

It seemed like the performance issues just are what they are. I never actually dug into what changes might trigger a scan. That said, it might not matter. If Kodi has previously scanned a video file, I don't think it will scan it again with a new NFO file anyway. The only way I know of to update in that way is to add the NFO, bring up the InfoDialog, push the button to update, and then tell Kodi to use the local info.
Reply
(2021-05-27, 13:45)pkscout Wrote:
(2021-05-27, 08:11)phunkyfish Wrote: @pkscout did you look at this before? I know you looked into the performance of the addon but I’m not sure if you looked at adding support for nfo files?

It seemed like the performance issues just are what they are. I never actually dug into what changes might trigger a scan. That said, it might not matter. If Kodi has previously scanned a video file, I don't think it will scan it again with a new NFO file anyway. The only way I know of to update in that way is to add the NFO, bring up the InfoDialog, push the button to update, and then tell Kodi to use the local info.
I usually scan for new content and that works, just updating the library does nothing though if I remember correctly. But I have had issues with that "not scan it again"-thing you mention and tried to get help with it, can that feature be disabled?

But back to this, if you have the option to set it to only check for NFO, wouldn't that work around what you mention since it then would only scan the video connected to the NFO?
Reply
Can you try this:

1) move the movie to another location (not in the source)
2) add the nfo file
3) move the movie back

See if that works. Remember this is not related to a library scan. It’s a separate process that scans for new files and only looks for new or deleted files (I think). When it finds one it calls a manual insert or delete on the library.
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
Initially I thought it was the Bingie Netflix Mod, so have started with a clean install of Leia 18.9 and checked each addon

This is a great addon in principal but in use

Playing a film, TV show or idle

CPU 80-99% and Memory 45-75%

Addon disabled

CPU 0.4-2% and Memory 31%

I have scanned this thread and there doesn't appear to be a fix or have I missed it?
Reply
I have went through this post and every post I saw related to Watchdog (Library Watchdog) as it is called now.

Since I installed KODI 19.x and Watchdog is not working what so ever/

My setup is as follows.

My Movies and TV Shows are on a Windows Based SMB Share file server smb://192.168.x.x since more than 7 years now and all previous KODI setups worked normally on it.

I have several Computers / Cell Phones / Android TVs and TV Boxes accessing the videos using MySQL database method and all was working normally for years on all previous KODI setups.

I have one Old Physical Windows Laptop / Replaced by better specced Linux VM on my server to have KODI autologin upon start and it is the only one that has Library Updates enabled so not to have confusion between multiple devices trying to update at the same time. and all was working also on previous Editions of KODI.

For Several Months now (Since I upgraded to Kodi 19.x Library Watchdog is not working "Not doing what it is supposed to do" tried multiple settings with polling and auto. With it getting paths automatically or me setting them manually and still nothing.

Currently I am using another plugin that scans library on fixed timer but it is no way as good or efficient as Watchdog.

SO if anyone has a solution to my dilemma, please let me know.

How can I get Watchdog to work and if it won't then be there an alternate to Watchdog.

Thanks and have a great one.
Reply
(2021-09-01, 19:03)Raptordin Wrote: I have went through this post and every post I saw related to Watchdog (Library Watchdog) as it is called now.

Since I installed KODI 19.x and Watchdog is not working what so ever/

My setup is as follows.

My Movies and TV Shows are on a Windows Based SMB Share file server smb://192.168.x.x since more than 7 years now and all previous KODI setups worked normally on it.

I have several Computers / Cell Phones / Android TVs and TV Boxes accessing the videos using MySQL database method and all was working normally for years on all previous KODI setups.

I have one Old Physical Windows Laptop / Replaced by better specced Linux VM on my server to have KODI autologin upon start and it is the only one that has Library Updates enabled so not to have confusion between multiple devices trying to update at the same time. and all was working also on previous Editions of KODI.

For Several Months now (Since I upgraded to Kodi 19.x Library Watchdog is not working "Not doing what it is supposed to do" tried multiple settings with polling and auto. With it getting paths automatically or me setting them manually and still nothing.

Currently I am using another plugin that scans library on fixed timer but it is no way as good or efficient as Watchdog.

SO if anyone has a solution to my dilemma, please let me know.

How can I get Watchdog to work and if it won't then be there an alternate to Watchdog.

Thanks and have a great one.

Bumping once just in case if no one saw it.
Reply
I am sorry for duplication. I saw that I forgot to add my Logs so I attached latest log in the following link.  izafafucow.kodi (paste)

This log was generated from my latest installation. It is a new Hyper-V vm of ubuntu 21 installation.
Latest Kodi install and watchdog as usual fails to work and errors out as son as I start Kodi.

If you need to know why I have kodi installed on a VM here is a short summery of my situation.

I have all my movies and TV shows on my (RAID 10) array of 4 4 TBs Red HDDs and 8 TBs of storage on my Home Server on a windows standard server on an AMD A8 with 16 GBs of Ram.
I want a Kodi VM to be always running to Auto refresh whenever I add or remove a TV Show or a movie.
Since Kodi 19 Library WatchDog is not working for me and was using "Library Auto update" but I do not like it that much and its no way form or shape like Watchdog.
So that is my problem and would love your help.  Thanks.
Reply
  •   
  • 1
  • 51
  • 52
  • 53
  • 54
  • 55(current)



Logout Mark Read Team Forum Stats Members Help
[RELEASE] Library watchdog4
This forum uses Lukasz Tkacz MyBB addons.