From 850ce3fc63e218f710a5b8e2814293b5de05d83a Mon Sep 17 00:00:00 2001 From: sharkitty Date: Thu, 15 Jan 2026 15:25:18 +0100 Subject: [PATCH 1/2] Fix: Product type naming --- client/ayon_harmony/plugins/create/create_template.py | 4 ++-- client/ayon_harmony/plugins/load/load_palette.py | 2 +- client/ayon_harmony/plugins/load/load_template.py | 2 +- client/ayon_harmony/plugins/publish/collect_instances.py | 2 +- client/ayon_harmony/plugins/publish/collect_palettes.py | 2 +- client/ayon_harmony/plugins/publish/extract_palette.py | 2 +- client/ayon_harmony/plugins/publish/extract_template.py | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/client/ayon_harmony/plugins/create/create_template.py b/client/ayon_harmony/plugins/create/create_template.py index 85ceefd6..c34290f5 100644 --- a/client/ayon_harmony/plugins/create/create_template.py +++ b/client/ayon_harmony/plugins/create/create_template.py @@ -11,8 +11,8 @@ class CreateTemplate(plugin.HarmonyCreator): identifier = "io.ayon.creators.harmony.template" label = "Template" - product_type = "harmony.template" - product_base_type = "harmony.template" + product_type = "harmony_template" + product_base_type = "harmony_template" icon = "cubes" def product_impl(self, name, instance_data: dict, pre_create_data: dict): diff --git a/client/ayon_harmony/plugins/load/load_palette.py b/client/ayon_harmony/plugins/load/load_palette.py index 192bf3a9..7f4266a1 100644 --- a/client/ayon_harmony/plugins/load/load_palette.py +++ b/client/ayon_harmony/plugins/load/load_palette.py @@ -13,7 +13,7 @@ class LinkPaletteLoader(load.LoaderPlugin): """ label = "Link Palette" - product_types = {"palette", "harmony.palette"} + product_types = {"palette", "harmony_palette"} representations = {"plt"} icon = "link" diff --git a/client/ayon_harmony/plugins/load/load_template.py b/client/ayon_harmony/plugins/load/load_template.py index 58dc9b79..cbc16294 100644 --- a/client/ayon_harmony/plugins/load/load_template.py +++ b/client/ayon_harmony/plugins/load/load_template.py @@ -11,7 +11,7 @@ class TemplateLoader(harmony.BackdropBaseLoader): """Load Harmony template as Backdrop container.""" - product_types = {"harmony.template"} + product_types = {"harmony_template"} representations = {"tpl"} label = "Load Template" icon = "gift" diff --git a/client/ayon_harmony/plugins/publish/collect_instances.py b/client/ayon_harmony/plugins/publish/collect_instances.py index 304ad2b9..7f6766dd 100644 --- a/client/ayon_harmony/plugins/publish/collect_instances.py +++ b/client/ayon_harmony/plugins/publish/collect_instances.py @@ -18,7 +18,7 @@ class CollectInstances(pyblish.api.InstancePlugin): product_type_mapping = { "render": [], - "harmony.template": [], + "harmony_template": [], "palette": ["palette"] } pair_media = True diff --git a/client/ayon_harmony/plugins/publish/collect_palettes.py b/client/ayon_harmony/plugins/publish/collect_palettes.py index fe7d5c49..22d8239a 100644 --- a/client/ayon_harmony/plugins/publish/collect_palettes.py +++ b/client/ayon_harmony/plugins/publish/collect_palettes.py @@ -43,7 +43,7 @@ def process(self, context): folder_path = context.data["folderPath"] - product_type = "harmony.palette" + product_type = "harmony_palette" for name, palette_id in palettes.items(): instance = context.create_instance(name) instance.data.update({ diff --git a/client/ayon_harmony/plugins/publish/extract_palette.py b/client/ayon_harmony/plugins/publish/extract_palette.py index 6118d314..140dec6c 100644 --- a/client/ayon_harmony/plugins/publish/extract_palette.py +++ b/client/ayon_harmony/plugins/publish/extract_palette.py @@ -14,7 +14,7 @@ class ExtractPalette(publish.Extractor): label = "Extract Palette" hosts = ["harmony"] - families = ["harmony.palette"] + families = ["harmony_palette"] def process(self, instance): """Plugin entry point.""" diff --git a/client/ayon_harmony/plugins/publish/extract_template.py b/client/ayon_harmony/plugins/publish/extract_template.py index f4d897e1..6400312f 100644 --- a/client/ayon_harmony/plugins/publish/extract_template.py +++ b/client/ayon_harmony/plugins/publish/extract_template.py @@ -12,7 +12,7 @@ class ExtractTemplate(publish.Extractor): label = "Extract Template" hosts = ["harmony"] - families = ["harmony.template"] + families = ["harmony_template"] def process(self, instance): """Plugin entry point.""" From 724ddad1eff5ff25121699bec6bbfab661da0c84 Mon Sep 17 00:00:00 2001 From: sharkitty Date: Fri, 6 Feb 2026 17:03:39 +0100 Subject: [PATCH 2/2] switch casing --- client/ayon_harmony/plugins/create/create_template.py | 4 ++-- client/ayon_harmony/plugins/load/load_palette.py | 2 +- client/ayon_harmony/plugins/load/load_template.py | 2 +- client/ayon_harmony/plugins/publish/collect_instances.py | 2 +- client/ayon_harmony/plugins/publish/collect_palettes.py | 2 +- client/ayon_harmony/plugins/publish/extract_palette.py | 2 +- client/ayon_harmony/plugins/publish/extract_template.py | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/client/ayon_harmony/plugins/create/create_template.py b/client/ayon_harmony/plugins/create/create_template.py index c34290f5..ba03f93c 100644 --- a/client/ayon_harmony/plugins/create/create_template.py +++ b/client/ayon_harmony/plugins/create/create_template.py @@ -11,8 +11,8 @@ class CreateTemplate(plugin.HarmonyCreator): identifier = "io.ayon.creators.harmony.template" label = "Template" - product_type = "harmony_template" - product_base_type = "harmony_template" + product_type = "harmonyTemplate" + product_base_type = "harmonyTemplate" icon = "cubes" def product_impl(self, name, instance_data: dict, pre_create_data: dict): diff --git a/client/ayon_harmony/plugins/load/load_palette.py b/client/ayon_harmony/plugins/load/load_palette.py index 7f4266a1..fd493f88 100644 --- a/client/ayon_harmony/plugins/load/load_palette.py +++ b/client/ayon_harmony/plugins/load/load_palette.py @@ -13,7 +13,7 @@ class LinkPaletteLoader(load.LoaderPlugin): """ label = "Link Palette" - product_types = {"palette", "harmony_palette"} + product_types = {"palette", "harmonyPalette"} representations = {"plt"} icon = "link" diff --git a/client/ayon_harmony/plugins/load/load_template.py b/client/ayon_harmony/plugins/load/load_template.py index cbc16294..300bace3 100644 --- a/client/ayon_harmony/plugins/load/load_template.py +++ b/client/ayon_harmony/plugins/load/load_template.py @@ -11,7 +11,7 @@ class TemplateLoader(harmony.BackdropBaseLoader): """Load Harmony template as Backdrop container.""" - product_types = {"harmony_template"} + product_types = {"harmonyTemplate"} representations = {"tpl"} label = "Load Template" icon = "gift" diff --git a/client/ayon_harmony/plugins/publish/collect_instances.py b/client/ayon_harmony/plugins/publish/collect_instances.py index 7f6766dd..232e4bb2 100644 --- a/client/ayon_harmony/plugins/publish/collect_instances.py +++ b/client/ayon_harmony/plugins/publish/collect_instances.py @@ -18,7 +18,7 @@ class CollectInstances(pyblish.api.InstancePlugin): product_type_mapping = { "render": [], - "harmony_template": [], + "harmonyTemplate": [], "palette": ["palette"] } pair_media = True diff --git a/client/ayon_harmony/plugins/publish/collect_palettes.py b/client/ayon_harmony/plugins/publish/collect_palettes.py index 22d8239a..cae2bad8 100644 --- a/client/ayon_harmony/plugins/publish/collect_palettes.py +++ b/client/ayon_harmony/plugins/publish/collect_palettes.py @@ -43,7 +43,7 @@ def process(self, context): folder_path = context.data["folderPath"] - product_type = "harmony_palette" + product_type = "harmonyPalette" for name, palette_id in palettes.items(): instance = context.create_instance(name) instance.data.update({ diff --git a/client/ayon_harmony/plugins/publish/extract_palette.py b/client/ayon_harmony/plugins/publish/extract_palette.py index 140dec6c..0657e71b 100644 --- a/client/ayon_harmony/plugins/publish/extract_palette.py +++ b/client/ayon_harmony/plugins/publish/extract_palette.py @@ -14,7 +14,7 @@ class ExtractPalette(publish.Extractor): label = "Extract Palette" hosts = ["harmony"] - families = ["harmony_palette"] + families = ["harmonyPalette"] def process(self, instance): """Plugin entry point.""" diff --git a/client/ayon_harmony/plugins/publish/extract_template.py b/client/ayon_harmony/plugins/publish/extract_template.py index 6400312f..cac27479 100644 --- a/client/ayon_harmony/plugins/publish/extract_template.py +++ b/client/ayon_harmony/plugins/publish/extract_template.py @@ -12,7 +12,7 @@ class ExtractTemplate(publish.Extractor): label = "Extract Template" hosts = ["harmony"] - families = ["harmony_template"] + families = ["harmonyTemplate"] def process(self, instance): """Plugin entry point."""