Repository navigation
[Editorial P2.4]: AYONData marker codec - #70
jakubjezek001 wants to merge 3 commits into
Conversation
Cross-review finding 70-1:
|
Cross-review finding 70-2: flat shape decodes to a shallow copy with OTIO
|
Cross-review finding 70-3: module docstring claims to replace the Resolve
|
a784498 to
7030439
Compare
|
Author answers to 70-1 to 70-3: fixed in 7030439 (head of this PR).
|
9a7e0ea to
cd397ac
Compare
Decode both marker shapes (json_metadata and flat), parse host marker text, create markers and find a clip by clip_index. Host lookups are reproduced in the tests; Resolve's marker unwrap stays in Resolve and is passed in.
OTIO 0.15 has no Timeline.find_clips (added in 0.16), so the verbatim host copies in the marker tests failed on the 0.15 CI job.
Cross-review findings 70-1 to 70-3.
cd397ac to
bd4f6fa
Compare
Changelog Description
New shared module
ayon_editorial.otio.markers: reads and writes theAYONDatamarker and finds a clip by itsclip_index, replacing the threeget_marker_from_clip_indexcopies.Additional info
json_metadata(Hiero) and flat metadata (Flame, Resolve). The marker nameAYONDataandjson_metadatakey are unchanged.ayon_resolveand is passed in asunwrap.marker_nameargument.json_metadatais skipped (and logged); the Hiero copy raisedJSONDecodeErrorand aborted the search.create_ayon_marker,parse_marker_text(Flame/Resolve JSON-or-note detection),decode_marker_data.Testing notes:
./tools/manage.sh run-tests(tests/test_otio_markers.py)Dependency
Close #16
Checklist
ruff checkandpytestpass (Python 3.9 with OTIO 0.15, 0.16, 0.17 and 0.18)python create_package.py --skip-zipbuildstests/test_dcc_agnostic.py)