Keep Original Language
This flow element will keep only the original language and any additional languages the user defines.
All other language streams will be removed/marked for deletion.
This flow element requires a Meta flow element to be run first to set the variable OriginalLanguage
.
See Movie Lookup, TV Show Lookup, TV Episode Lookup
Or you can set this variable yourself via other means.
Type
The type of tracks that should be updated
Additional Languages
An optional list of additional language codes to set on the tracks with missing languages.
It is recommended that an ISO 639-2 language code are used.
Keep Only First
When enabled only the first track of each language would be kept.
For example if there were 2 English tracks, 3 Spanish tracks and 1 German track. The original language was Spanish, additional languages was set to eng
, then the result would be 1 English track and 1 Spanish track, the rest would be removed.
First If None
When enabled, this ensures at least one track is kept. If no tracks matching the original language and no tracks matching the additional languages are found, the first track will be kept regardless.
This avoids any issues of no audio left on the video.
Treat Empty As Original
When enabled, any track that has no language set, will be treated as if it were the original language.
For example, original language is Maori, and a track has no language set on it, it will be treated as Maori.
Outputs
- Tracks have been modified
- No tracks have been changed