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

feat: add setting to choose process stdin encoding #13

Merged
merged 2 commits into from
Nov 11, 2024

Conversation

Julusian
Copy link
Member

@Julusian Julusian commented Nov 7, 2024

About the Contributor

"This pull request is posted on behalf of the BBC

Type of Contribution

This is a: Bug fix / Feature

New Behavior

When using CasparCG 2.4, the 'send command' field does not work. This is because the process is expecting utf16 encoded messages, but the launcher is sending utf8.

Changing this breaks other processes (such as CasparCG 2.1). To avoid this, it has been added as a new field in the processes table. This also means it can be disabled for a process, hiding the useless field for the media-scanner.

Testing Instructions

This has been tested with CasparCG 2.1, CasparCG 2.4 and the latest media-scanner.

Other Information

This was not a trivial or fun change to make. This project is running very old dependencies (expecting node 12 to be used), and using vue which is not used elsewhere in the Sofie stack.
I understand that this is a known hazard of a simple tool that needs little development, someone at some point might want to look into updating to latest electron, and possibly switching the ui to react.

Status

  • PR is ready to be reviewed.
  • The functionality has been tested by the author.
  • Relevant unit tests has been added / updated.
  • Relevant documentation (code comments, system documentation) has been added / updated.

@nytamin nytamin merged commit 8f2da8b into nrkno:master Nov 11, 2024
@nytamin nytamin deleted the fix/casparcg-2.4 branch December 16, 2024 08:40
@nytamin
Copy link
Contributor

nytamin commented Dec 16, 2024

This is inclueded in version 1.2.0.

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.

2 participants