mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 13:24:54 +01:00
general: adding traypublisher host
This commit is contained in:
parent
968cbe8b98
commit
eff02322ef
3 changed files with 5 additions and 7 deletions
|
|
@ -23,7 +23,7 @@ class CollectOtioFrameRanges(pyblish.api.InstancePlugin):
|
|||
label = "Collect OTIO Frame Ranges"
|
||||
order = pyblish.api.CollectorOrder - 0.08
|
||||
families = ["shot", "clip"]
|
||||
hosts = ["resolve", "hiero", "flame"]
|
||||
hosts = ["resolve", "hiero", "flame", "traypublisher"]
|
||||
|
||||
def process(self, instance):
|
||||
# get basic variables
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ class CollectOtioSubsetResources(pyblish.api.InstancePlugin):
|
|||
label = "Collect OTIO Subset Resources"
|
||||
order = pyblish.api.CollectorOrder - 0.077
|
||||
families = ["clip"]
|
||||
hosts = ["resolve", "hiero", "flame"]
|
||||
hosts = ["resolve", "hiero", "flame", "traypublisher"]
|
||||
|
||||
def process(self, instance):
|
||||
|
||||
|
|
@ -198,7 +198,7 @@ class CollectOtioSubsetResources(pyblish.api.InstancePlugin):
|
|||
|
||||
if kwargs.get("collection"):
|
||||
collection = kwargs.get("collection")
|
||||
files = [f for f in collection]
|
||||
files = list(collection)
|
||||
ext = collection.format("{tail}")
|
||||
representation_data.update({
|
||||
"name": ext[1:],
|
||||
|
|
@ -220,7 +220,5 @@ class CollectOtioSubsetResources(pyblish.api.InstancePlugin):
|
|||
})
|
||||
|
||||
if kwargs.get("trim") is True:
|
||||
representation_data.update({
|
||||
"tags": ["trim"]
|
||||
})
|
||||
representation_data["tags"] = ["trim"]
|
||||
return representation_data
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ class ExtractOTIOTrimmingVideo(openpype.api.Extractor):
|
|||
order = api.ExtractorOrder
|
||||
label = "Extract OTIO trim longer video"
|
||||
families = ["trim"]
|
||||
hosts = ["resolve", "hiero", "flame"]
|
||||
hosts = ["resolve", "hiero", "flame", "traypublisher"]
|
||||
|
||||
def process(self, instance):
|
||||
self.staging_dir = self.staging_dir(instance)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue