Kodi Community Forum
Is it now possible to change the order of library scanning - TV *first*, then movies - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Is it now possible to change the order of library scanning - TV *first*, then movies (/showthread.php?tid=356804)

Pages: 1 2


RE: Is it now possible to change the order of library scanning - TV *first*, then movies - Klojum - 2020-09-03

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.


RE: Is it now possible to change the order of library scanning - TV *first*, then movies - pkscout - 2020-09-03

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.


RE: Is it now possible to change the order of library scanning - TV *first*, then movies - bossanova808 - 2020-09-03

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.customlibraryscan


RE: Is it now possible to change the order of library scanning - TV *first*, then movies - bossanova808 - 2020-09-03

(ergh silly forum, get with the markdown trend already!!)