Skip to content

Unify Attribute names #406

@mkolar

Description

@mkolar

During a bigger cleanup operation we ran into multiple inconsistencies in avalon-core when it comes to data member names.

In particular some of the key ones.

Maya uses edit_in and edit_out to set frame range, however loader expects startFrame and endFrame

There are a few key attributes without which many functions are either useless or don't work at all. We'd like to suggest unifying these and making them required on assets and project. On top of that adding functions for their retrieval that will make sure that if the attribute is not filled on the asset, the default value from project will be returned instead.

Based on client feedback and past year working with avalon we suggest these to be the required ones

resolutionWidth
resolutionHeight                  

handleStart
handleEnd

frameStart
frameEnd

fps

edit_in and edit_out are problematic, because they overlap with editorial metadata terminology and it became very confusing as soon as we had requests to collect edit specific information like sourceIn/Out and clipIn/Out

We'd also like to split handles to handleStart and handleEnd this is also client request coming from live action VFX show, where this happens quite often. Making this backwards compatible is trivial so I suppose it won't be an issue.

The questions is whether key attributes like this should remain in data or should be promoted to asset directly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions