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:
MaddoScientisto 2026-02-11 17:44:34 +01:00
commit 0d3cdfd12c
6 changed files with 1128 additions and 23 deletions

View file

@ -13,6 +13,9 @@
"mergeChatLayout": "side-by-side",
"vodTimeout": 300,
"uploadCloud": true,
"uploadPreMergeVideo": true,
"uploadMergedVideo": true,
"uploadChatVideo": false,
"deleteFiles": false,
"onlyRaw": false,
"cleanRaw": true,

View file

@ -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,