From b349b14e8a6f3b2b694b53d3a1f72f1f6302894a Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Tue, 6 Oct 2026 21:26:02 +0100 Subject: [PATCH] Directory framework --- cmd/media-worker/main.go | 1 + concept.md | 5 +++++ container/Containerfile | 0 go.mod | 3 +++ 4 files changed, 9 insertions(+) create mode 100644 cmd/media-worker/main.go create mode 100644 concept.md create mode 100644 container/Containerfile create mode 100644 go.mod diff --git a/cmd/media-worker/main.go b/cmd/media-worker/main.go new file mode 100644 index 0000000..06ab7d0 --- /dev/null +++ b/cmd/media-worker/main.go @@ -0,0 +1 @@ +package main diff --git a/concept.md b/concept.md new file mode 100644 index 0000000..b268ae8 --- /dev/null +++ b/concept.md @@ -0,0 +1,5 @@ +Watches an output directory per media-type, not starting any processing until a directory hasn't changed in 60s. + +Applies transformations as required - transcode, replaygain, naming, directory nesting, etc. + +Copies the file to the output library for the media type, verifying the copy matches the source, before removing the source. \ No newline at end of file diff --git a/container/Containerfile b/container/Containerfile new file mode 100644 index 0000000..e69de29 diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..b59f03e --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module git.fjla.uk/fred.boniface/media-worker + +go 1.26.8