aboutsummaryrefslogtreecommitdiff
path: root/scripts/complete_from_files.md
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-05-23 14:12:20 +0200
committermetamuffin <metamuffin@disroot.org>2025-05-23 14:12:20 +0200
commit4b139e88a1879c8e4add31480bb254cd4e08181f (patch)
tree50b149daa8d4788380cd98635626e739febce8bf /scripts/complete_from_files.md
parent339e37135212600284d2df67dce393c01f60cdf0 (diff)
downloadisda-4b139e88a1879c8e4add31480bb254cd4e08181f.tar
isda-4b139e88a1879c8e4add31480bb254cd4e08181f.tar.bz2
isda-4b139e88a1879c8e4add31480bb254cd4e08181f.tar.zst
documentation for some workers
Diffstat (limited to 'scripts/complete_from_files.md')
-rw-r--r--scripts/complete_from_files.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/complete_from_files.md b/scripts/complete_from_files.md
new file mode 100644
index 0000000..0884979
--- /dev/null
+++ b/scripts/complete_from_files.md
@@ -0,0 +1,11 @@
+# Complete From Files
+
+This is a oneshot worker that marks tasks as completed based on files existing.
+
+Provide the path to the directory of interest as the second argument. It will be
+traversed recursively.
+
+Currently only two file/task patterns are recognized:
+
+- `___________.mkv`: `youtube:___________`
+- `some title [___________].mkv`: `youtube:___________`