2016-02-02, 17:43
When a third party app (like Sonarr) sends a library update request, this is what I see in the Kodi logs:
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?
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?