RFC: Configurable error messages from Package Statuses #1349
Labels
Contribution from BBC
Contributions sponsored by BBC (bbc.co.uk)
Contribution
External contribution
RFC Concluded 👍
A conclusion has been reached. RFC will stay open while waiting for implementations, for visibility.
RFC
About Me
This RFC is posted on behalf of the BBC.
Use Case
Currently, the error messages from the Package Manager are quite limited and fail to provide useful information in setups where multiple playout servers are tied to a single timeline layer, such as studio screens.
For example, here’s a case where the current error messages fall short:
![image](https://private-user-images.githubusercontent.com/1327476/396866877-b4e147c0-c5f7-4a7f-89e9-b04336e61467.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NDg0NzIsIm5iZiI6MTczODk0ODE3MiwicGF0aCI6Ii8xMzI3NDc2LzM5Njg2Njg3Ny1iNGUxNDdjMC1jNWY3LTRhN2YtODllOS1iMDQzMzZlNjE0NjcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMTcwOTMyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWUwMTliZjQ5YWMwOTAwZGM0NzBhMDdmMDg5ODk5MGRjZmUyMjVjOTBhMDQxNThkOTAxZDdiYjI3YjBjMDYyMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.C34LmiptObRy_ASy1heG9SuF4oXYLtf3qXUGzDUBUQQ)
Proposal
Proposed solution allows error messages from Package Manager to be configurable with the goal to be able to show more helpful error messages to a user.
An example of a error message we would like to see is something like this:
MY_CLIP_NAME cannot be found on Caspar 01
This provides more helpful information as it details both the clip name and playout device, making troubleshooting easier.
Some possible solutions to this are:
Config fields
Add config fields to choose which messages are used. Perhaps to:
I suspect it will become very hard and messy to do this, to support every combination of functionality, especially when other broadcasters want something slightly different.
Blueprint driven
The blueprints could optionally provide something like Record<PackageStatusMessage, string> for any messages they want to override. Which core could utilise these instead of the default messages.
I think this is a better approach, it allows for granular overriding and gives more customisability.
For both solutions, is there a way we can get a 'nice' name for the playout device that is missing the clip?
Maybe this should be using the container name instead? The code knows what container it is missing from.
Process
The Sofie Team will evaluate this RFC and open up a discussion about it, usually within a week.
The text was updated successfully, but these errors were encountered: