Skip to content

Long videos trigger repeated full packet scans during library scans #544

Closed

Description

@Quick104

Summary

Videos longer than 100,000 seconds can trigger a full video-packet scan during every full library scan, even when the container and primary video-stream durations agree.

Source

Internal Discord thread.

Steps to reproduce

  1. Add a valid video longer than 100,000 seconds to a movie library.
  2. Run a full library scan.
  3. Wait for the scanner to reach the long video.
  4. Run another full scan after the first completes.

Expected behavior

The scanner accepts a corroborated long duration and persists it. Subsequent unchanged scans do not probe the file again.

Actual behavior

The fixed 100,000-second ceiling rejects both the container and video-stream durations. Silo then scans every video packet, rejects the packet-derived duration against the same ceiling, and leaves the file eligible for probe repair during later scans.

For a large file this makes the scan appear stuck and repeatedly reads the complete file.

Scope

Owning project: Silo Server scanner.

Acceptance criteria

  • A long video whose container and primary video-stream durations closely agree is accepted without a packet scan.
  • A trustworthy packet-derived duration above 100,000 seconds can be persisted within a bounded hard limit.
  • Inconsistent or absurd duration metadata remains rejected.
  • An unchanged file with an accepted long duration is not scheduled for probe repair on later scans.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions