From 06ea2a31b5caaed71ac0247c21959ac2593317ea Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Sun, 9 Feb 2020 17:25:49 -0800 Subject: [PATCH] add follow games to docker-compose.jsonnet --- docker-compose.jsonnet | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-compose.jsonnet b/docker-compose.jsonnet index 36ba4a4..9552af5 100644 --- a/docker-compose.jsonnet +++ b/docker-compose.jsonnet @@ -32,6 +32,7 @@ // Channels suffixed with a '!' are considered "important" and will be retried more aggressively // and warned about if they're not currently streaming. channels:: ["desertbus!", "db_chief", "db_high", "db_audio", "db_bus"], + follow_games:: ["Crypt of the Necrodancer"], // Stream qualities to capture qualities:: ["source", "480p"], @@ -189,8 +190,9 @@ [if $.enabled.downloader then "downloader"]: { image: "quay.io/ekimekim/wubloader-downloader:%s" % $.image_tag, // Args for the downloader: set channel and qualities - command: $.channels + - [ + command: $.channels + std.flattenArrays([ + ["--follow-game", game] for game in $.follow_games + ]) + [ "--base-dir", "/mnt", "--qualities", std.join(",", $.qualities), "--backdoor-port", std.toString($.backdoor_port),