TwitchDownloader/config.sample.json
2026-02-09 21:29:47 +01:00

51 lines
2 KiB
JSON

{
"_comment": "Copy this file to config.json and edit with your settings",
"username": "your_twitch_username",
"_username_comment": "Twitch streamer username to monitor and archive",
"quality": "best",
"_quality_comment": "Quality options: best/source, high/720p, medium/540p, low/360p, audio_only",
"root_path": "archive",
"_root_path_comment": "Path where this script saves everything (livestream, VODs, chat, metadata)",
"rclone_path": "remote:path/to/streams",
"_rclone_path_comment": "Path to rclone remote storage (e.g., MyDrive:Backups/streams)",
"refresh": 60.0,
"_refresh_comment": "Time between checking in seconds (5.0 is recommended), avoid less than 1.0",
"streamlink_ttvlol": 0,
"_streamlink_ttvlol_comment": "0 = disable, 1 = enable blocking ads with ttvlol (DEPRECATED: --twitch-proxy-playlist removed in newer streamlink versions)",
"notifications": 0,
"_notifications_comment": "0 = disable, 1 = enable email notifications",
"downloadMETADATA": 1,
"_downloadMETADATA_comment": "0 = disable, 1 = enable metadata downloading",
"downloadVOD": 1,
"_downloadVOD_comment": "0 = disable, 1 = enable VOD downloading after stream finished",
"downloadCHAT": 1,
"_downloadCHAT_comment": "0 = disable, 1 = enable chat downloading and rendering",
"uploadCloud": 1,
"_uploadCloud_comment": "0 = disable, 1 = enable upload to remote cloud",
"deleteFiles": 0,
"_deleteFiles_comment": "0 = disable, 1 = enable deleting files after upload (BE CAREFUL WITH THIS OPTION)",
"onlyRaw": 0,
"_onlyRaw_comment": "0 = convert ts files to mp3/mp4, 1 = keep only raw ts files for recording",
"cleanRaw": 1,
"_cleanRaw_comment": "0 = keep raw .ts files, 1 = delete raw .ts files after processing",
"hls_segments": 3,
"_hls_segments_comment": "Number of threads for live stream downloading (1-10, recommended 2-3)",
"hls_segmentsVOD": 10,
"_hls_segmentsVOD_comment": "Number of threads for VOD downloading (1-10)"
}