Release Captail 0.1.7 - #18
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0909e746bf
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| { | ||
| string name = Path.GetFileName(path); | ||
| return name.EndsWith(".tmp", StringComparison.OrdinalIgnoreCase) || | ||
| name.Contains(".tmp.", StringComparison.OrdinalIgnoreCase) || |
There was a problem hiding this comment.
Match only generated temporary filenames
When a user has a legitimate supported video such as session.tmp.final.mp4 in the replay directory, this broad substring check classifies it as an internal working file and silently removes it from the library. Restrict the predicate to the exact temporary/replacement patterns generated by FfmpegAdapter so ordinary filenames containing .tmp. remain visible.
Useful? React with 👍 / 👎.
Summary
Validation