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

[cuegui] Add support for multiple viewers #1513

Merged
merged 8 commits into from
Oct 1, 2024

Conversation

lithorus
Copy link
Contributor

@lithorus lithorus commented Sep 18, 2024

Summarize your change.
This adds support for multiple output viewers.
The cuegui.yaml option output_viewer_direct_cmd_call is still kept as a single viewer command.

It also changes the way that single frames are resolved. Instead of a hardcoded padding of 4, it will use the FileSequence and FrameSet classes to resolve the frame path.

Examples:
image
image

@lithorus lithorus marked this pull request as ready for review September 19, 2024 20:06
Copy link
Collaborator

@DiegoTavares DiegoTavares left a comment

Choose a reason for hiding this comment

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

Just a minor change.

pycue/opencue/wrappers/job.py Outdated Show resolved Hide resolved
@DiegoTavares DiegoTavares merged commit 380dbfe into AcademySoftwareFoundation:master Oct 1, 2024
12 checks passed
ramonfigueiredo added a commit to ramonfigueiredo/OpenCue that referenced this pull request Oct 24, 2024
- Revert changes in the PR 1513, since it was not possible to change to select and view multiple jobs using a player and it was not possible to view frames using the players
- See PR AcademySoftwareFoundation#1513
ramonfigueiredo added a commit to ramonfigueiredo/OpenCue that referenced this pull request Oct 25, 2024
This fixes the changes in PR: AcademySoftwareFoundation#1513

Changes:
- Fix multiple jobs and frames visualization with different viewers
- Updated JobMonitorTree.py and FrameMonitorTree.py to enable select multiple jobs and multiple frames and play using the players (e.g., OpenRV, RV, Itview = SPI viewer) configured in `cuegui.yaml`, options `output_viewers` and `output_viewer_direct_cmd_call`
- Enhanced cuegui.yaml to include configuration for multiple viewers.
- Fix unit tests in `FrameMonitorTree_tests.py` > `test_rightClickItem()` to ensure the job attribute is set

This change allows users to open multiple jobs (JobMonitorTree.py) and frames (FrameMonitorTree.py) using different configurable viewers. The option to open multiple layers (LayerMonitorTree.py) was working before and kept as it was.
ramonfigueiredo added a commit that referenced this pull request Oct 28, 2024
**Link the Issue(s) this Pull Request is related to.**
[cuegui] Cannot select and play multiple jobs and frames using viewers in OpenCue: #1558

**Summarize your change.**
This fixes the changes in PR: #1513

- Fix multiple jobs and frames visualization with different viewers
- Updated JobMonitorTree.py and FrameMonitorTree.py to enable select multiple jobs and multiple frames and play using the players (e.g., OpenRV, RV, Itview = SPI viewer) configured in `cuegui.yaml`, options `output_viewers` and `output_viewer_direct_cmd_call`
- Enhanced cuegui.yaml to include configuration for multiple viewers.
- Fix unit tests in `FrameMonitorTree_tests.py` >
`test_rightClickItem()` to ensure the job attribute is set

This change allows users to open multiple jobs (JobMonitorTree.py) and frames (FrameMonitorTree.py) using different configurable viewers. The option to open multiple layers (LayerMonitorTree.py) was working before and kept as it was.
@lithorus lithorus deleted the mutlviewers branch December 16, 2024 22:34
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