2021-03-05, 16:21
Hey Team Kodi!
You know when you tell yourself "Surely one of the devs will implement this because it makes sense" but then realize maybe nobody else is experiencing this?
I have assumed that, eventually, sending a call to update the library would be added to a queue if there was already scanning/cleaning going on but sadly this seems to still not be a thing in Matrix.
Problem:
Having a very very large Kodi library and extremely fast internet causes a problem when using automated tools like Sonarr.
Say i just finished copying movies to a hard drive and now i start scanning for new items. While Kodi is scanning for new movies, Sonarr finds and downloads an episode in about 30 seconds. It then moves it to the proper drive and sends a call to only scan that show's folder. Now the movie scanning gets cancelled AND the show's folder doesn't get scanned sometimes (i think it may depend on if it was still scanning or was in cleaning stage).
This also happens if Sonarr is adding a full season:
Download, Move & Scan for Episode 1
Download, Move & Scan for Episode 2 but Episode 1 didn't finish scanning cause download is only a few seconds. It cancels previous scan
Now you have 2 episodes in limbo
Download, Move & Scan for Episode 3.
All 3 episodes are added but if there was episode 4 and nothing else, it would have cancelled the previous one and would only see all 4 episodes after the next Full Scan (Uninterrupted) or the next time a single episode is added.
Yes, I have thought about excluding certain paths from library scans to shorten the scan time but it would be way too hard to manage as i am constantly moving things around between drives.
So in my mind, the simple fix would be to add library update requests to a queue if a scan or cleaning operation is currently under way.
-Pr.
You know when you tell yourself "Surely one of the devs will implement this because it makes sense" but then realize maybe nobody else is experiencing this?
I have assumed that, eventually, sending a call to update the library would be added to a queue if there was already scanning/cleaning going on but sadly this seems to still not be a thing in Matrix.
Problem:
Having a very very large Kodi library and extremely fast internet causes a problem when using automated tools like Sonarr.
Say i just finished copying movies to a hard drive and now i start scanning for new items. While Kodi is scanning for new movies, Sonarr finds and downloads an episode in about 30 seconds. It then moves it to the proper drive and sends a call to only scan that show's folder. Now the movie scanning gets cancelled AND the show's folder doesn't get scanned sometimes (i think it may depend on if it was still scanning or was in cleaning stage).
This also happens if Sonarr is adding a full season:
Download, Move & Scan for Episode 1
Download, Move & Scan for Episode 2 but Episode 1 didn't finish scanning cause download is only a few seconds. It cancels previous scan
Now you have 2 episodes in limbo
Download, Move & Scan for Episode 3.
All 3 episodes are added but if there was episode 4 and nothing else, it would have cancelled the previous one and would only see all 4 episodes after the next Full Scan (Uninterrupted) or the next time a single episode is added.
Yes, I have thought about excluding certain paths from library scans to shorten the scan time but it would be way too hard to manage as i am constantly moving things around between drives.
So in my mind, the simple fix would be to add library update requests to a queue if a scan or cleaning operation is currently under way.
-Pr.