Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Is it now possible to change the order of library scanning - TV *first*, then movies
#16
If the "Update Library" command in the slide menu on the left would only activate the scan for the section it is in, movies or tvshows, that would already be quite helpful to me.
Reply
#17
Yea, I had that problem with scans being ignored because a scan was already going.  In my external script I just wait for Kodi to send the scan complete message to websocket and then trigger the next scan. Sounds like you figured out something similar.
Reply
#18
Yep - I'm just using a monitor with `onScanFinished` - I've found websockets to be not 100% reliable in the past, but haven't worked with them enough to know where the issue was - basically I just wrote a test listener, then did a bunch of stuff in Kodi, and noticed most messages were getting through, but a few were missed.  Probably a concurrency type thing, I guess.

The monitor approach is nice and easy, though.

I've whacked it here for now until I work out what I am doing with it - https://github.com/bossanova808/script.c...ibraryscan
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply
#19
(ergh silly forum, get with the markdown trend already!!)
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply

Logout Mark Read Team Forum Stats Members Help
Is it now possible to change the order of library scanning - TV *first*, then movies0