aboutsummaryrefslogtreecommitdiff
path: root/scripts/config.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-05-19 18:22:08 +0200
committermetamuffin <metamuffin@disroot.org>2025-05-19 18:22:08 +0200
commit78ee337ee9a0880146fd663c084e5d3de7f86c76 (patch)
tree661783e09292d82ef6f4c5243dcc9ce726d766da /scripts/config.ts
parent51819226e6d4eb122d70b9b1897d6ce935434998 (diff)
downloadisda-78ee337ee9a0880146fd663c084e5d3de7f86c76.tar
isda-78ee337ee9a0880146fd663c084e5d3de7f86c76.tar.bz2
isda-78ee337ee9a0880146fd663c084e5d3de7f86c76.tar.zst
central config + download profiles + filter flags + other stuff
Diffstat (limited to 'scripts/config.ts')
-rw-r--r--scripts/config.ts20
1 files changed, 20 insertions, 0 deletions
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 }
+}