feat(library): extract track duration via ffprobe #13
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
ffprobe(already in the container image) during scan to populateduration_msper track. Without this, scrubbing/seeking in clients is a no-op because every track is reported as 0ms.duration_ms=0so a single bad file doesn't sink the whole scan.duration_ms > 0, so existing libraries scanned before this change get backfilled on the next rescan rather than requiring a wipe.Test plan
go build ./...go test -short ./internal/library/...