mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
* copied addons from 'ayon-addon-settings' * added AE, photoshop and harmony addon * moved openpype to subfolder * cleanup repository files * updated create package script and README.md * formatting fixes * added cli flags to be able keep server structure * print progress and output dir * another formatting fixes
68 lines
1.6 KiB
Python
68 lines
1.6 KiB
Python
from pydantic import Field
|
|
from ayon_server.settings import BaseSettingsModel
|
|
|
|
from .imageio import HarmonyImageIOModel
|
|
from .load import HarmonyLoadModel
|
|
from .publish_plugins import HarmonyPublishPlugins
|
|
|
|
|
|
class HarmonySettings(BaseSettingsModel):
|
|
"""Harmony Project Settings."""
|
|
|
|
imageio: HarmonyImageIOModel = Field(
|
|
default_factory=HarmonyImageIOModel,
|
|
title="OCIO config"
|
|
)
|
|
load: HarmonyLoadModel = Field(
|
|
default_factory=HarmonyLoadModel,
|
|
title="Loader plugins"
|
|
)
|
|
publish: HarmonyPublishPlugins = Field(
|
|
default_factory=HarmonyPublishPlugins,
|
|
title="Publish plugins"
|
|
)
|
|
|
|
|
|
DEFAULT_HARMONY_SETTING = {
|
|
"load": {
|
|
"ImageSequenceLoader": {
|
|
"family": [
|
|
"shot",
|
|
"render",
|
|
"image",
|
|
"plate",
|
|
"reference"
|
|
],
|
|
"representations": [
|
|
"jpeg",
|
|
"png",
|
|
"jpg"
|
|
]
|
|
}
|
|
},
|
|
"publish": {
|
|
"CollectPalettes": {
|
|
"allowed_tasks": [
|
|
".*"
|
|
]
|
|
},
|
|
"ValidateAudio": {
|
|
"enabled": True,
|
|
"optional": True,
|
|
"active": True
|
|
},
|
|
"ValidateContainers": {
|
|
"enabled": True,
|
|
"optional": True,
|
|
"active": True
|
|
},
|
|
"ValidateSceneSettings": {
|
|
"enabled": True,
|
|
"optional": True,
|
|
"active": True,
|
|
"frame_check_filter": [],
|
|
"skip_resolution_check": [],
|
|
"skip_timelines_check": []
|
|
}
|
|
}
|
|
}
|