From 78ee337ee9a0880146fd663c084e5d3de7f86c76 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 19 May 2025 18:22:08 +0200 Subject: central config + download profiles + filter flags + other stuff --- scripts/config.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 scripts/config.ts (limited to 'scripts/config.ts') diff --git a/scripts/config.ts b/scripts/config.ts new file mode 100644 index 0000000..1068c92 --- /dev/null +++ b/scripts/config.ts @@ -0,0 +1,20 @@ + +export interface Config { + enqueue: EnqueueTask[] + ytdlp_flatten: { + filters: { [key: string]: string } + } + ytdlp_download: { + output: string, + profiles: { [key: string]: string[] } + } +} + +export interface EnqueueTask { + list_file: string + kind: string, + interval: number, + filter?: string, + oneshot?: boolean, + data: { [key: string]: unknown } +} -- cgit v1.2.3-70-g09d2