Skip to content

Comments

feat: expose persistent playout state on LSG#1644

Open
Julusian wants to merge 3 commits intoSofie-Automation:mainfrom
bbc:feat/expose-persistent-playout-state
Open

feat: expose persistent playout state on LSG#1644
Julusian wants to merge 3 commits intoSofie-Automation:mainfrom
bbc:feat/expose-persistent-playout-state

Conversation

@Julusian
Copy link
Member

About the Contributor

This pull request is posted on behalf of the BBC

Type of Contribution

This is a: Feature

New Behavior

It would be useful to expose some arbitrary playout state via the LSG without having to insert (and then find it) in random pieces.

We already have this concept of PersistentPlayoutState within the blueprints, which is modifiable in the blueprint playout methods.
This expands that to have a 'public' and 'private' forms of that, similar to how we have publicData and privateData elsewhere.

The public version is then exposed via LSG, with the private one kept as before.

Because we have this BlueprintPlayoutPersistentStore wrapper around the state, to allow us to detect changes without a diff, instead of adding another property to blueprint methods, this has been expanded to wrap both versions of this state.

Testing

  • I have added one or more unit tests for this PR
  • I have updated the relevant unit tests
  • No unit test changes are needed for this PR

Affected areas

Time Frame

Other Information

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.

@Julusian Julusian requested a review from a team as a code owner February 10, 2026 14:20
@Julusian Julusian added the Contribution from BBC Contributions sponsored by BBC (bbc.co.uk) label Feb 10, 2026
@codecov
Copy link

codecov bot commented Feb 10, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Contribution from BBC Contributions sponsored by BBC (bbc.co.uk)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant