- 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.
33 lines
854 B
JSON
33 lines
854 B
JSON
{
|
|
"$schema": "./global.schema.json",
|
|
"quality": "best",
|
|
"root_path": "archive",
|
|
"rclone_path": "remote:path/to/streams",
|
|
"refresh": 60.0,
|
|
"notifications": false,
|
|
"downloadMETADATA": true,
|
|
"downloadVOD": true,
|
|
"downloadCHAT": true,
|
|
"downloadLiveCHAT": true,
|
|
"mergeVideoChat": true,
|
|
"mergeChatLayout": "side-by-side",
|
|
"vodTimeout": 300,
|
|
"uploadCloud": true,
|
|
"uploadPreMergeVideo": true,
|
|
"uploadMergedVideo": true,
|
|
"uploadChatVideo": false,
|
|
"deleteFiles": false,
|
|
"onlyRaw": false,
|
|
"cleanRaw": true,
|
|
"hls_segments": 3,
|
|
"hls_segmentsVOD": 10,
|
|
"streamlink_ttvlol": false,
|
|
"ffmpeg_hwaccel": "auto",
|
|
"ffmpeg_threads": 0,
|
|
"ffmpeg_audio_codec": "aac",
|
|
"ffmpeg_audio_samplerate": 48000,
|
|
"ffmpeg_audio_bitrate": "192k",
|
|
"ffmpeg_error_recovery": true,
|
|
"ffmpeg_faststart": true,
|
|
"ffmpeg_progress": false
|
|
}
|