-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build of develop from Wed Nov 22 10:51:48 UTC 2023
- Loading branch information
1 parent
bacc9ff
commit 9922a84
Showing
5 changed files
with
10 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,11 @@ | ||
commit 9c2611ba28fc870a946574472e103ec380e9faff | ||
commit c3ee5228f635938f07709a8a005b54c4dfacd738 | ||
Author: Arne Wilken <[email protected]> | ||
Date: Wed Nov 22 10:56:59 2023 +0100 | ||
Date: Wed Nov 22 11:51:10 2023 +0100 | ||
|
||
Set publication variables in analyze-MP (#5419) | ||
Return ISO 639 language code for language detected by Whisper (#5351) | ||
|
||
Similar to #5243 except this creates variables that contain which | ||
publication channels are part of the media package. These new variables | ||
are not created by default. | ||
|
||
The use case for this was that I wanted to publish everything if the | ||
event wasn't published before, including encoding and all, but only | ||
merge specific assets into the publication if it existed. Here's a | ||
snippet if you want to test this for yourself: | ||
|
||
``` | ||
<operation | ||
id="include" | ||
description="Publish to Engage" | ||
if="NOT ${publication_engage_player_exists}"> | ||
<configurations> | ||
<configuration key="workflow-id">partial-publish</configuration> | ||
</configurations> | ||
</operation> | ||
|
||
<operation | ||
id="include" | ||
description="Update Engage publication" | ||
if="${publication_engage_player_exists}"> | ||
<configurations> | ||
<configuration key="workflow-id">partial-publish-generated-captions</configuration> | ||
</configurations> | ||
</operation> | ||
|
||
``` | ||
|
||
Since the other one went into 14.x I'm aiming this at that branch as | ||
well, but I can aim at develop instead if somebody disagrees. | ||
|
||
This also contains a small change to the docs that explains which WOHs | ||
can generate workflow variables, because I keep forgetting this. | ||
When Whisper uses language detection, it returns the language name in | ||
English instead of the ISO 639 code for some reason. But we need the | ||
latter for the language tag of the track. This makes an attempt to | ||
translate the language name in English to a matching two-letter language | ||
code using locales. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.