general: adding traypublisher host

This commit is contained in:
Jakub Jezek 2022-07-19 17:08:16 +02:00
parent 968cbe8b98
commit eff02322ef
No known key found for this signature in database
GPG key ID: 730D7C02726179A7
3 changed files with 5 additions and 7 deletions

View file

@ -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

View file

@ -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

View file

@ -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)