Timeline indexer: periodically scans each camera’s recordings directory, turning closed segment files into rows in the segments table (the timeline index) and detecting gaps.
segments