mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-03 00:47:53 +00:00
media_files - maybe_media_subtype column
This commit is contained in:
1 parent
e43580d627
commit
da4d7bea30
4 files changed
+20
-1
No files matched your search
@@ -0,0 +1,5 @@
|
||||
-- noinspection SqlDialectInspectionForFile
|
||||
-- noinspection SqlNoDataSourceInspectionForFile
|
||||
-- noinspection SqlResolveForFile
|
||||
|
||||
ALTER TABLE media_files DROP COLUMN maybe_media_subtype;
|
||||
@@ -0,0 +1,7 @@
|
||||
-- noinspection SqlDialectInspectionForFile
|
||||
-- noinspection SqlNoDataSourceInspectionForFile
|
||||
-- noinspection SqlResolveForFile
|
||||
|
||||
ALTER TABLE media_files
|
||||
ADD COLUMN maybe_media_subtype VARCHAR(32) DEFAULT NULL
|
||||
AFTER media_type;
|
||||
@@ -81,6 +81,12 @@ CREATE TABLE media_files (
|
||||
-- * 'video' for a variety of video types.
|
||||
media_type VARCHAR(16) NOT NULL,
|
||||
|
||||
-- A media file's possible subtype. Typically used for Storyteller Studio.
|
||||
-- * 'mixamo' for mixamo animations (eg. for BVH, GLB, FBX, etc. files)
|
||||
-- * 'mocap_net' for mocapnet animations (eg. for BVH files)
|
||||
-- * 'scene' for generic scenes (eg. for BVH, GLB, FBX, etc. files)
|
||||
maybe_media_subtype VARCHAR(32) DEFAULT NULL,
|
||||
|
||||
-- The file's mime type.
|
||||
maybe_mime_type VARCHAR(32) DEFAULT NULL,
|
||||
|
||||
|
||||
@@ -523,7 +523,8 @@ pub async fn process_job(args: ComfyProcessJobArgs<'_>) -> Result<JobSuccessResu
|
||||
}
|
||||
|
||||
if use_watermarked_file {
|
||||
final_finished_video_file = output_video_fs_path_watermark.clone();
|
||||
info!("Using watermark file: {:?}", output_video_fs_path_watermark);
|
||||
final_finished_video_file = output_video_fs_path_watermark;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user