Skip to content

feat(loaders): emit internal event when sources are loaded#67

Merged
BigRoy merged 1 commit intodevelopfrom
fix-review-panel-refresh
Feb 9, 2026
Merged

feat(loaders): emit internal event when sources are loaded#67
BigRoy merged 1 commit intodevelopfrom
fix-review-panel-refresh

Conversation

@philippe-ynput
Copy link
Contributor

Changelog Description

Add "ayon-source-loaded" internal event dispatch to FramesLoader and MovLoader after successfully loading content. This enables other components to react when new sources are loaded into OpenRV.

Additional review information

None

Testing notes:

  1. You will need the second part of that fix in ayon-review-desktop

Add "ayon-source-loaded" internal event dispatch to FramesLoader and
MovLoader after successfully loading content. This enables other
components to react when new sources are loaded into OpenRV.

Signed-off-by: philippe-ynput <philippe@ynput.io>
@philippe-ynput philippe-ynput requested a review from BigRoy February 5, 2026 16:00
@philippe-ynput philippe-ynput self-assigned this Feb 5, 2026
@philippe-ynput philippe-ynput added the type: bug Something isn't working label Feb 5, 2026
@BigRoy
Copy link
Contributor

BigRoy commented Feb 5, 2026

Although this may work for explicitly loaded content, and I somewhat like it - but the review session from the web will open rv with rv.exe /path/to/otio.otio which does not go through to this load method and also had the failure that it wouldn't load it. So I'm not convinced this will solve all our issues.

Is there no way we can just respond to new nodes being created or sources being loaded in a generic fashion?

@philippe-ynput
Copy link
Contributor Author

This case is the easy one and we take the easy route.

When a node is loaded through OTIO, we already listen to a signal emitted when a new source node is created. There, I will check if OTIO metadata is present, update the node's ayon metadata with it and call for an update.

That will be my next PR.

Copy link
Contributor

@BigRoy BigRoy left a comment

Choose a reason for hiding this comment

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

LGTM

@BigRoy BigRoy merged commit b384c0b into develop Feb 9, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants