mvlog_worker: upload audio files to remote in-dir; update README

This commit is contained in:
hbrain 2026-05-29 08:05:23 +00:00
parent 0183b86031
commit a7d6a4e1ed
2 changed files with 49 additions and 2 deletions

View file

@ -164,6 +164,8 @@ The worker:
7. removes the old output if the regenerated filename changed
8. clears the web metadata cache
Note: The worker now also uploads audio files found in the local input directory back to the webserver's in-dir (the same job subdirectory) after rendering. It skips files that already exist on the server. Supported extensions include: .mp3, .wav, .m4a, .aac, .flac, .ogg, .opus, .wma, .aiff, .aif. When running against a remote host the worker uploads using scp (upload to a temporary filename then move into place); when run with --local it copies files into the remote path. Audio upload failures are reported as warnings and do not prevent publishing the generated MP4. After successful uploads the worker recomputes the job fingerprint and records it in the job state so subsequent runs avoid unnecessary re-rendering.
Run once:
```bash