feat: add upload options for pre-merge, merged, and standalone chat videos
- Updated global schema to include options for uploading original videos before merging, merged videos, and standalone chat videos. - Modified constants to set default values for new upload options. - Enhanced FileManager to handle new upload options, including conditional file uploads and deletions based on user configuration. - Introduced unit tests for command-line argument parsing, configuration loading, and merging logic, ensuring robust handling of new features. - Added tests for filtering logic, default configurations, and enabled streamer handling.
This commit is contained in:
parent
38d51636af
commit
0d3cdfd12c
6 changed files with 1128 additions and 23 deletions
|
|
@ -13,6 +13,9 @@
|
|||
"mergeChatLayout": "side-by-side",
|
||||
"vodTimeout": 300,
|
||||
"uploadCloud": true,
|
||||
"uploadPreMergeVideo": true,
|
||||
"uploadMergedVideo": true,
|
||||
"uploadChatVideo": false,
|
||||
"deleteFiles": false,
|
||||
"onlyRaw": false,
|
||||
"cleanRaw": true,
|
||||
|
|
|
|||
|
|
@ -74,6 +74,21 @@
|
|||
"default": true,
|
||||
"description": "Upload to rclone remote: false = disabled, true = enabled"
|
||||
},
|
||||
"uploadPreMergeVideo": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Upload original videos before merging with chat (LIVE and VOD files): false = skip, true = upload"
|
||||
},
|
||||
"uploadMergedVideo": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Upload merged videos (video + chat combined): false = skip, true = upload"
|
||||
},
|
||||
"uploadChatVideo": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Upload standalone chat video files: false = skip, true = upload"
|
||||
},
|
||||
"deleteFiles": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue