Skip to content

Implement "Open in RV" web action for published workfiles + media#78

Open
BigRoy wants to merge 14 commits into
developfrom
77-yn-0546-open-review-workfile-with-ocio-context
Open

Implement "Open in RV" web action for published workfiles + media#78
BigRoy wants to merge 14 commits into
developfrom
77-yn-0546-open-review-workfile-with-ocio-context

Conversation

@BigRoy
Copy link
Copy Markdown
Member

@BigRoy BigRoy commented Mar 9, 2026

Changelog Description

Implement "Open RV workfile" web action for published workfiles

Additional review information

  • Opens the workfile in the context of the folder and task to ensure e.g. OCIO is set accordingly
  • Allows to pick rv app variant if multiple are configured
  • After open directly unsets the session filename when opening RV files to ensure user does not save into published file.
  • Also allows opening media (any image/video extension) directly to RV.

Fix #77
Fix #81

Testing notes:

  1. Publish an OpenRV workfile
  2. You should be able to open the OpenRV workfile from the version on the web frontend.
  3. It should open the session with correct OCIO, etc.
  4. The session file should be marked "unsaved" (pressing CTRL+S should show a Save As dialog) to avoid saving over the published file.
image

- Opens the workfile in the context of the folder and task to ensure e.g. OCIO is set accordingly
- Allows to pick rv app variant if multiple are configured
- After open directly unsets the session filename to ensure user does not save into published file.
@BigRoy BigRoy self-assigned this Mar 9, 2026
@BigRoy BigRoy added type: enhancement Improvement of existing functionality or minor addition sponsored This is directly sponsored by a client or community member labels Mar 9, 2026
@BigRoy BigRoy changed the title Implement "Open RV workfile" web action for published workfiles Implement "Open in RV" web action for published workfiles + media Apr 9, 2026
Comment thread server/action.py
return await Postgres.fetch(query, version_id, list(MEDIA_EXTENSIONS))


async def _get_openrv_app_options(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This will not work with project bundles and will break apart if we change settings structure.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This will not work with project bundles and will break apart if we change settings structure.

Any recommendation on how to do this instead?

Comment thread client/ayon_openrv/addon.py Outdated
folder_path,
task_name,
app_name=app,
# Used by pre_ftrackdata prelaunch hook to load on launch
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What, pre_ftrackdata? That doesn't sound right.

Copy link
Copy Markdown
Member Author

@BigRoy BigRoy Apr 28, 2026

Choose a reason for hiding this comment

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

It's unfortunately? an existing prelaunch hook that I was a little bit afraid to touch see here.

But perhaps, renaming that hook itself is the best approach now.

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

Labels

sponsored This is directly sponsored by a client or community member type: enhancement Improvement of existing functionality or minor addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

YN-0609: Add MOV/media file support to the web action for opening files in Desktop Review YN-0546: Open review workfile with OCIO context

2 participants