Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOF-1824 Add 1/2 audio track to ingested EVS #235

Merged
merged 2 commits into from
Mar 19, 2024

Conversation

LindvedKrvang
Copy link

After the changes to have an "audio track" on the EVS in #231, the ingested EVS from iNews could no longer find the correct sourceLayer.
This is solved by adding 1/2 to the EVS id.

Copy link

@vivanov90 vivanov90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will not approve this, because I don't have enough expertise on the project, but the changes look good to me.

@@ -675,7 +675,7 @@ export function getSourceDefinition(typeStr: string): SourceDefinition | undefin
}
} else if (EVS_RED_TEXT.test(typeStr)) {
const strippedToken = typeStr.match(EVS_RED_TEXT)
const id = `EVS ${strippedToken![1].toUpperCase()}`
const id = `EVS ${strippedToken![1].toUpperCase()} 1/2`

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will find the correct configuration, but will give the incorrect piece name. When EVS 1 is written in iNews, the corresponding piece name should be EVS 1 as well. It is only action pieces that should show the audio track suffix.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch.
I have updated it so the name does not get the audio track (the 1/2).

@LindvedKrvang LindvedKrvang merged commit 5c2495e into develop Mar 19, 2024
5 checks passed
@LindvedKrvang LindvedKrvang deleted the SOF-1824/evsIsIngestedIncorrectly branch March 19, 2024 07:25
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.

4 participants