ynput / ayon-shotgrid

A Shotgrid Addon for the Ayon server.
Apache License 2.0
5 stars 8 forks source link

AY-6666_Shotgrid: sequence and shot folder grouping #125

Closed ynbot closed 1 week ago

ynbot commented 1 week ago

Please describe the enhancement you have in mind and explain what the current shortcomings are?

For the Assets, the Flow->Ayon sync creates them into folders based on the Asset type ("sg_asset_type"). Which is a good thing and leads to a hierarchy in ayon like that:

// But for the sequences (and I guess it will be the same for the shots at some point), Ayon creates them directly into the root, which leads to: / And we want: /sequence/ And for the shots we'll want: /shot/ Is there a way to do that by setting things into Ayon ? IMOO, the default behaviour in the code should be: Take the entity's Type in Flow (Asset, Sequence, Shot...) and use it as main folder For the Assets, use the sg_asset_type value with/instead (leading to /asset//, or // like it does now). ### How would you imagine the implementation of the enhancemenet? _No response_ ### Describe alternatives you've considered: _No response_ ### Additional context: link to discussion on [Discord]() _(might be a private channel)_ _This issue was automatically created from Clickup ticket [AY-6666](https://app.clickup.com/t/86c063myk)_