summaryrefslogtreecommitdiff
path: root/internal/service/admin_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-03 20:18:26 +0300
committerPaul Buetow <paul@buetow.org>2026-05-03 20:18:26 +0300
commitdeba845a03de659b490452e00f7b7d501ba1fdb2 (patch)
treeeb719c2a629316fc166961560942508a4542d6d6 /internal/service/admin_test.go
parentdf8f3713abee8b5ec53b5751032200b53673e285 (diff)
refactor(api): extract Remuxer interface and move ffmpeg/MPEG-TS/mime logic to internal/probe
Move LooksLikeMPEGTS, MimeTypeForFilename and the ffmpeg remux path out of the api transport layer into a new internal/probe/remux.go package. This removes os/exec and mime tables from the api layer, satisfying the DIP principle. - New probe.Remuxer interface with FFRemuxer implementation - Server depends on probe.Remuxer, injected via NewServer - Updated cmd/mediaplayer wiring and all test helpers - All tests pass: go test ./... -race -cover
Diffstat (limited to 'internal/service/admin_test.go')
0 files changed, 0 insertions, 0 deletions