Multithreaded video indexing

At the moment it seems Channels-DVR regenerates video index one by one. Sometimes I import entire seasons of TV shows or releases of movie franchises. (Recently bought a bunch of James Bond bluerays and ripped them) and it takes a few hours to go through them all and generate the Index.

I've noticed that my CPU has only 8% usage and that's for the whole server not just channels. I have 10 or so containers running. My request is to have an option to parallelise the indexing process so that multiple imports can be indexed at the same time, each using their own thread. I was thinking maybe 5 - 10 at a time? Maybe have an option to specify how many to do similar to the com skip thread count setting.

Apologies if this has already been requested, I did try searching but only found someone asking to disable it all together.

My CPU is a i5-11400 and I have 64 gigs of DDR4. realistically the storage would be the bottleneck for me, but I understand channels needs to be developed for low end and high end servers and so the ability to choose how many to do at a time would be appreciated, thanks in advanced!

Imported videos are completely watchable before they’re indexed. It’s just an optimization.

The limiting factor indexing is not CPU but disk IO. The indexer is reading as fast as the disk allows, so there would be little benefit for running multiple indexers at the same time and would likely swamp the system.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.