Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Traypublisher: editorial avoid audio tracks processing #6038

Merged
merged 7 commits into from
Feb 7, 2024

Conversation

jakubjezek001
Copy link
Member

@jakubjezek001 jakubjezek001 commented Dec 11, 2023

Changelog Description

Avoiding audio tracks from EDL editorial publishing.

Additional info

  • Refactored the code to filter tracks based on their kind being "Video"
  • Added a comment to clarify the purpose of media_data variable
  • Added a comment to explain setting track name
  • Removed an unnecessary blank line

TODO:

  • Fix: missing otioReference on video clips once audio tracks are avoided

Testing notes:

  1. Test it on Simple Editorial workflow in Traypublisher
  2. make sure that each clip is having AA/V mark in tracks column.

- Refactored the code to filter tracks based on their kind being "Video"
- Added a comment to clarify the purpose of media_data variable
- Added a comment to explain setting track name
- Removed an unnecessary blank line
@ynbot ynbot added type: bug Something isn't working host: TrayPublisher size/XS Denotes a PR changes 0-99 lines, ignoring general files labels Dec 11, 2023
@iLLiCiTiT iLLiCiTiT changed the title Traypublisher: editoiral avoid audio tracks processing Traypublisher: editorial avoid audio tracks processing Dec 11, 2023
Copy link
Member

@iLLiCiTiT iLLiCiTiT left a comment

Choose a reason for hiding this comment

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

Code changes look reasonable.

iLLiCiTiT
iLLiCiTiT approved these changes Dec 21, 2023
- renaming variable to specify correctly value type
- Added a condition in `collect_shot_instances.py` to check if the parent kind is "Video" before collecting shot instances.
@jakubjezek001 jakubjezek001 marked this pull request as ready for review January 29, 2024 16:01
@jakubjezek001
Copy link
Member Author

@iLLiCiTiT iLLiCiTiT merged commit 0c37c0e into develop Feb 7, 2024
1 check passed
@iLLiCiTiT iLLiCiTiT deleted the bugfix/traypublish-editorial-avoid-audio-track branch February 7, 2024 10:20
@ynbot ynbot added this to the next-patch milestone Feb 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
host: TrayPublisher size/XS Denotes a PR changes 0-99 lines, ignoring general files target: AYON target: OpenPype type: bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants