Skip to content

refactor(vb_export): remove the HAP v1 export - #454

Merged
KillerX merged 1 commit into
refactor/ffmpeg-run-jobfrom
refactor/remove-hap-v1
Aug 14, 2026
Merged

refactor(vb_export): remove the HAP v1 export#454
KillerX merged 1 commit into
refactor/ffmpeg-run-jobfrom
refactor/remove-hap-v1

Conversation

@KillerX

@KillerX KillerX commented Aug 13, 2026

Copy link
Copy Markdown
Member

15/n of a stack. Base: refactor/ffmpeg-run-job (#453).

VBExportToHippo produced HAP by copying the video into an Adobe Media Encoder watch folder on Isilon — system/transcodetemp/hippo/hapqhippo/in, or hapalphahippo/in for alpha — then polling the matching out folder with WaitForFile until AME had written something there.

VBExportToHippoV2 and VBExportToHippoHap do the same encode in process with TranscodeToHAPActivity. That is what v2's doc comment means by encoding "instead of putting it into a watch folder".

Removed: the workflow, the destination and its enum member and dispatch case, the four watch-folder paths, and the filter in cmd/trigger_ui/vb.go that hid the v1 destination from the form. Hiding it in the UI was the previous step in retiring it; there is nothing left to hide.

Also removed: the special case that excluded hippo from audio normalisation. v1 delivered no audio at all — AME's FlexRes output had none — so it was skipped. The two HAP flows that replace it carry audio, so they normalise like every other destination. Only CasparCG is excluded now.

One thing to be aware of: "hippo" is no longer a member of the Destination enum, so a caller still asking for it is rejected by VBExport rather than quietly running the watch-folder flow. The UI has not offered it for a while, so any remaining callers would be direct API calls.

activities.Util.WaitForFile stays — ImportAudioFileFromReaper still uses it.

make test green, go vet clean, and no reference to the AME watch folders remains anywhere in the tree.

🤖 Generated with Claude Code

@KillerX
KillerX force-pushed the refactor/remove-hap-v1 branch from 76719f0 to 563204f Compare August 13, 2026 08:49
@KillerX
KillerX force-pushed the refactor/remove-hap-v1 branch from 563204f to fe8b695 Compare August 13, 2026 13:26
@KillerX
KillerX force-pushed the refactor/remove-hap-v1 branch from fe8b695 to e007e12 Compare August 14, 2026 06:37
@KillerX
KillerX force-pushed the refactor/remove-hap-v1 branch from e007e12 to 41ea201 Compare August 14, 2026 07:15
@KillerX
KillerX force-pushed the refactor/remove-hap-v1 branch from 41ea201 to 05ef663 Compare August 14, 2026 08:16
@KillerX
KillerX force-pushed the refactor/remove-hap-v1 branch from 05ef663 to aaba51e Compare August 14, 2026 08:39
@KillerX
KillerX force-pushed the refactor/remove-hap-v1 branch from aaba51e to 598e839 Compare August 14, 2026 08:54
@KillerX
KillerX force-pushed the refactor/remove-hap-v1 branch from 598e839 to bb17a2f Compare August 14, 2026 09:18
@KillerX
KillerX force-pushed the refactor/remove-hap-v1 branch from bb17a2f to a4a9da0 Compare August 14, 2026 10:00
@KillerX
KillerX force-pushed the refactor/remove-hap-v1 branch from a4a9da0 to 9493970 Compare August 14, 2026 10:04
VBExportToHippo produced HAP by copying the video into an Adobe Media Encoder
watch folder on Isilon — system/transcodetemp/hippo/hapqhippo/in, or
hapalphahippo/in for alpha — and then polling the matching out folder with
WaitForFile until AME had written something there. VBExportToHippoV2 and
VBExportToHippoHap do the same encode in process with
TranscodeToHAPActivity, which is what the v2 doc comment means when it says it
encodes "instead of putting it into a watch folder".

Gone with it: the destination, its enum member and its dispatch case, the four
watch-folder paths, and the filter in cmd/trigger_ui that hid the v1
destination from the form — hiding it in the UI was the previous step in
retiring it, and there is nothing left to hide.

Also gone is the special case that excluded hippo from audio normalisation. v1
delivered no audio at all, since AME's FlexRes output had none; the two HAP
flows that replace it carry audio, so they normalise like everything else. Only
CasparCG is excluded now.

The destination string "hippo" is no longer a member of the enum, so a caller
still asking for it gets rejected by VBExport rather than quietly running the
watch-folder flow. The UI has not offered it for a while, so the remaining
callers would be direct API calls.

activities.Util.WaitForFile stays — ImportAudioFileFromReaper still uses it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@KillerX
KillerX force-pushed the refactor/remove-hap-v1 branch from 9493970 to 6f1f74e Compare August 14, 2026 10:44
@KillerX
KillerX merged commit dc8d15e into master Aug 14, 2026
@KillerX
KillerX deleted the refactor/remove-hap-v1 branch August 14, 2026 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant