# The Database Connection URL # # Default value: "sqlite://data.db?mode=rwc" #db_url = "sqlite://data.db?mode=rwc" # The path to the folder where the videos will be downloaded to. # # Default value: "/var/tmp/twba/videos/" #download_folder_path = "/var/tmp/twba/videos/" # How many videos should be downloaded at the same time. # # If this number is reached because the uploader can't keep up, the downloader will wait until # the number of downloads is below this number again. # # Set to 0 or leave empty to disable the limit. #maximum_downloaded_videos = [twitch] # The client ID for the Twitch API # # Required! This value must be specified. client_id = "YOUR_CLIENT_ID_HERE" # The client secret for the Twitch API # # Required! This value must be specified. client_secret = "YOUR_CLIENT_SECRET_HERE" # This is the Client-ID used for downloading videos. # # Default value: "kimne78kx3ncx6brgo4mv6wki5h1ko" #downloader_id = "kimne78kx3ncx6brgo4mv6wki5h1ko" # The number of threads to use for downloading videos. # # Default value: 50 #downloader_thread_count = 50 [google] # The path for the auth code file. # # This file will contain the response of the auth request. # # The file should be deleted after the auth response is used. # # Default value: "tmp/twba/auth/code.txt" #path_auth_code = "tmp/twba/auth/code.txt" # The path for the auth cache file for each user. '{user}' will be replaced with the user's login. # # Default value: "tmp/twba/auth/{user}.txt" #path_auth_cache = "tmp/twba/auth/{user}.txt" # Decides if the auth should go to the localhost or the public IP/Server # # Default value: false #local_auth_redirect = false # Decides if the auth-code should be stored in a file or be read by stdin # # Default value: true #use_file_auth_response = true # The frequency for reading the auth file in seconds # # Default value: 10 #auth_file_read_frequency = 10 # The timeout for reading the auth file in seconds # # Default value: 86400 #auth_file_read_timeout = 86400 # The project ID for the Google Cloud project # # Default value: "twitchbackup-1" #project_id = "twitchbackup-1" [google.youtube] # The path to the client secret file for the youtube API # # Default value: "auth/youtube_client_secret.json" #client_secret_path = "auth/youtube_client_secret.json" # The default tags to use for youtube videos. # # can be overridden per user # # Default value: [] #default_tags = [] # The default description template to use for youtube videos. # # can be overridden per user # # # Default value: "test description for \"$$video_title$$\"" #default_description_template = "test description for \"$$video_title$$\"" # The default for the targeted duration (in minutes) a youtube video should be. # # If the video is longer than the hard cap it will be split so # each part except for the last will have the length of the soft cap. # # can be overridden per user # # Default value: 300 #default_video_length_minutes_soft_cap = 300 # The default for the maximum duration (in minutes) a youtube video should be. # # If the video is longer than this, it will be split into multiple # videos (each besides the last the length of the soft cap). # # can be overridden per user # # Default value: 359 #default_video_length_minutes_hard_cap = 359 [google.bigquery] # The path to the service account file for the BigQuery API # # Default value: "auth/bigquery_service_account.json" #service_account_path = "auth/bigquery_service_account.json" # The dataset ID for the BigQuery dataset # # Default value: "backup_data" #dataset_id = "backup_data"