Library not updated by third party apps
#1
When a third party app (like Sonarr) sends a library update request, this is what I see in the Kodi logs:

Quote:20:29:38 T:139645065086720 DEBUG: webserver: request received for /jsonrpc
20:29:38 T:139645065086720 DEBUG: JSONRPC: Value does not match any of the enum values in type
20:29:38 T:139645065086720 DEBUG: webserver: request received for /jsonrpc
20:29:38 T:139646858397568 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
20:29:38 T:139645090264832 NOTICE: Thread JobWorker start, auto delete: true
20:29:38 T:139645090264832 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/ImageLib-x86_64-linux.so)
20:29:38 T:139645090264832 DEBUG: Loading: /usr/lib/kodi/system/ImageLib-x86_64-linux.so
20:29:38 T:139645065086720 DEBUG: RunQuery took 42 ms for 183 items query: SELECT * FROM tvshow_view
20:29:38 T:139645065086720 DEBUG: webserver: request received for /jsonrpc
20:29:38 T:139646858397568 DEBUG: ------ Window Init (DialogExtendedProgressBar.xml) ------
20:29:38 T:139645090264832 NOTICE: VideoInfoScanner: Starting scan ..
20:29:38 T:139645090264832 DEBUG: CAnnouncementManager - Announcement: OnScanStarted from xbmc
20:29:38 T:139645090264832 DEBUG: GOT ANNOUNCEMENT, type: 16, from xbmc, message OnScanStarted
20:29:38 T:139645090264832 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:00
20:29:38 T:139645090264832 DEBUG: CAnnouncementManager - Announcement: OnScanFinished from xbmc
20:29:38 T:139645090264832 DEBUG: GOT ANNOUNCEMENT, type: 16, from xbmc, message OnScanFinished
20:29:38 T:139646858397568 DEBUG: ------ Window Deinit (DialogExtendedProgressBar.xml) ------

Note the 00:00. It doesn't seem to actually be doing anything, and new files that are present are not added to the library. If I manually start a library scan from Kodi itself, new files are picked up immediately and the scan takes ~00:05. The debug log when the scan is run manually has hundreds of lines of skipping due to no change (fasthash) as well as lines for when new files are found and added to the library.

Kodi is set up with both local sources for Movies and TV as well as a MySQL database on a remote server (same LAN) in advancedsettings. The local sources were necessary as the library clean function did not work properly without them.

What could cause this?
Reply
#2
Anyone? Anyone? Bueller?
Reply
#3
Sonaar works for me to update kodi. Do you have it set to update the whole library or just the show? I think i have mine set to do the whole library

Cheers!
Reply
#4
Can't really help out with your main issue, but:

Quote:The local sources were necessary as the library clean function did not work properly without them.

Doesn't sound good, that should not be the case.
Reply
#5
(2016-02-05, 20:49)helta Wrote: Can't really help out with your main issue, but:

Quote:The local sources were necessary as the library clean function did not work properly without them.

Doesn't sound good, that should not be the case.

I never had any local sources until recently. After upgrading to Isengard I found that the clean library function no longer worked, and it would prompt me to remove all items from my library as the source couldn't be found. I found this thread that stated local sources had to be present in Isengard regardless of if you're using a MySQL library or not. Sure enough, after adding local sources clean library started functioning again. But now this issue with library scans has arisen.
Reply

Logout Mark Read Team Forum Stats Members Help
Library not updated by third party apps0