Save uncommitted changes
Build / Lint & Test (push) Successful in 43s

This commit is contained in:
PickleRick committed 2026-09-21 22:33:52 +02:00
1 parent 2cf22ef628
commit febd68973b
4 files changed
+71 -19

No files matched your search

+7 -4
View File
@@ -278,7 +278,9 @@ Performs 2-pass libx265 encoding using VBV parameters from `args.variables`.
**Category**: `utility` · **Step**: before transcode
Streams the source file to the worker's local `workDir`, verifies the byte count,
and reports throttled copy progress. It stores the original library path in
reports throttled copy progress, and retries failed writes twice after removing
the partial destination. It uses large buffered streams for better throughput
when the library is an SMB/CIFS mount. It stores the original library path in
`variables.originalLibraryFile` for `replaceOriginalFile`.
### 9. `replaceOriginalFile` — Replace Original File
@@ -295,9 +297,10 @@ additional progress reporting.
**Category**: `utility` · **Step**: after transcode
Streams the processed file to a temporary file beside the original, verifies its
size, then atomically replaces the original. An existing original is moved to
`.partial.old` during the operation and restored if replacement fails. The
processed work file is deleted after a successful replacement.
size, and retries failed or incomplete writes twice before giving up. It then
atomically replaces the original. An existing original is moved to `.partial.old`
during the operation and restored if replacement fails. The processed work file
is deleted after a successful replacement.
### 11. `finalizeMedia` — Finalize Media & Sidecars