Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion client/ayon_kitsu/plugins/publish/integrate_kitsu_review.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class IntegrateKitsuReview(KitsuPublishInstancePlugin):
families = ["kitsu"]
optional = True

normalize_movie = True
match_version_number = True

def process(self, instance):
Expand Down Expand Up @@ -46,7 +47,7 @@ def process(self, instance):
task=task_id,
comment=comment_id,
preview_file_path=review_path,
normalize_movie=True,
normalize_movie=self.normalize_movie,
revision=(
instance.data["version"]
if self.match_version_number
Expand Down
8 changes: 8 additions & 0 deletions server/settings/publish_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,13 @@ class IntegrateKitsuNotes(BaseSettingsModel):
)

class IntegrateKitsuReviews(BaseSettingsModel):
normalize_movie: bool = SettingsField(
title="Normalize movie",
description=(
"When enabled, Kitsu will transcode uploaded movie previews"
" for web playback."
),
)
match_version_number: bool = SettingsField(
title="Match version number",
description=(
Expand Down Expand Up @@ -310,6 +317,7 @@ class PublishPlugins(BaseSettingsModel):
},
},
"IntegrateKitsuReview": {
"normalize_movie": True,
"match_version_number": True,
},
}
Loading