mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
remove settings for not existing plugins
This commit is contained in:
parent
9457a82ce6
commit
87fa03bbb8
1 changed files with 0 additions and 39 deletions
|
|
@ -7,13 +7,6 @@ from ayon_server.settings import (
|
|||
)
|
||||
|
||||
|
||||
class CollectInstanceVersionModel(BaseSettingsModel):
|
||||
enabled: bool = SettingsField(
|
||||
True,
|
||||
title="Enabled"
|
||||
)
|
||||
|
||||
|
||||
class CollectClipEffectsDefModel(BaseSettingsModel):
|
||||
_layout = "expanded"
|
||||
name: str = SettingsField("", title="Name")
|
||||
|
|
@ -38,46 +31,14 @@ class CollectClipEffectsModel(BaseSettingsModel):
|
|||
return value
|
||||
|
||||
|
||||
class ExtractReviewCutUpVideoModel(BaseSettingsModel):
|
||||
enabled: bool = SettingsField(
|
||||
True,
|
||||
title="Enabled"
|
||||
)
|
||||
tags_addition: list[str] = SettingsField(
|
||||
default_factory=list,
|
||||
title="Additional tags"
|
||||
)
|
||||
|
||||
|
||||
class PublishPluginsModel(BaseSettingsModel):
|
||||
CollectInstanceVersion: CollectInstanceVersionModel = SettingsField(
|
||||
default_factory=CollectInstanceVersionModel,
|
||||
title="Collect Instance Version"
|
||||
)
|
||||
CollectClipEffects: CollectClipEffectsModel = SettingsField(
|
||||
default_factory=CollectClipEffectsModel,
|
||||
title="Collect Clip Effects"
|
||||
)
|
||||
"""# TODO: enhance settings with host api:
|
||||
Rename class name and plugin name
|
||||
to match title (it makes more sense)
|
||||
"""
|
||||
ExtractReviewCutUpVideo: ExtractReviewCutUpVideoModel = SettingsField(
|
||||
default_factory=ExtractReviewCutUpVideoModel,
|
||||
title="Exctract Review Trim"
|
||||
)
|
||||
|
||||
|
||||
DEFAULT_PUBLISH_PLUGIN_SETTINGS = {
|
||||
"CollectInstanceVersion": {
|
||||
"enabled": False,
|
||||
},
|
||||
"ExtractReviewCutUpVideo": {
|
||||
"enabled": True,
|
||||
"tags_addition": [
|
||||
"review"
|
||||
]
|
||||
},
|
||||
"CollectClipEffectsModel": {
|
||||
"effect_categories": []
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue