Skip to content

mkv-audit: an interrupted run keeps two kinds of converted source on the retry list one run too long #309

Backlog

Description

@robrich82

After an interrupted run, two cases keep a file on mkv-audit's retry list (failed_files.json) for one run longer than needed. The next run that isn't interrupted clears both, so neither loses work.

  1. A listed x.mp4 is converted to x.mkv, and the Ctrl+C lands before x.mkv is scanned. x.mp4 stays listed, though it no longer exists, and x.mkv doesn't take its place. The next retry skips x.mp4 because x.mkv already exists.
  2. A listed source whose conversion is skipped (unsupported container, or x.mkv already exists) stays listed after an interrupt. convertAll drops it, so it never reaches finished.

Both were already like this before #306. #306 keeps an earlier failure unless the run got that file through every step, and these two cases count as not done.

The fix would need convertAll to report its skipped and converted-but-unscanned sources, so the interrupt path in runner.go can drop or rename them.

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