Refactor configuration values in global.json and global.schema.json to use boolean types for better clarity and consistency; update default values in twitch-archive.py accordingly.

This commit is contained in:
MaddoScientisto 2026-02-09 23:03:05 +01:00
commit efb320eb05
3 changed files with 292 additions and 144 deletions

View file

@ -4,25 +4,25 @@
"root_path": "archive",
"rclone_path": "remote:path/to/streams",
"refresh": 60.0,
"notifications": 0,
"downloadMETADATA": 1,
"downloadVOD": 1,
"downloadCHAT": 1,
"downloadLiveCHAT": 1,
"notifications": false,
"downloadMETADATA": true,
"downloadVOD": true,
"downloadCHAT": true,
"downloadLiveCHAT": true,
"vodTimeout": 300,
"uploadCloud": 1,
"deleteFiles": 0,
"onlyRaw": 0,
"cleanRaw": 1,
"uploadCloud": true,
"deleteFiles": false,
"onlyRaw": false,
"cleanRaw": true,
"hls_segments": 3,
"hls_segmentsVOD": 10,
"streamlink_ttvlol": 0,
"streamlink_ttvlol": false,
"ffmpeg_hwaccel": "auto",
"ffmpeg_threads": 0,
"ffmpeg_audio_codec": "aac",
"ffmpeg_audio_samplerate": 48000,
"ffmpeg_audio_bitrate": "192k",
"ffmpeg_error_recovery": 1,
"ffmpeg_faststart": 1,
"ffmpeg_progress": 0
"ffmpeg_error_recovery": true,
"ffmpeg_faststart": true,
"ffmpeg_progress": false
}