update environment configuration, enhance setup guide, and align documentation with new domain structure
This commit is contained in:
1 parent
c484b463e3
commit
2e061dff28
13 files changed
+267
-46
No files matched your search
@@ -1,8 +1,7 @@
|
||||
FROM golang:1.23-alpine AS builder
|
||||
FROM golang:1.25-alpine AS builder
|
||||
|
||||
WORKDIR /app
|
||||
COPY src/ ./src/
|
||||
COPY go.mod go.sum ./
|
||||
|
||||
# Initialize Go module if not present
|
||||
RUN go mod init playout || true
|
||||
|
||||
@@ -75,7 +75,7 @@ func ValidateVideo(videoPath string) (VideoFile, error) {
|
||||
v := VideoFile{Path: videoPath}
|
||||
|
||||
cmd := exec.Command("ffprobe", "-v", "quiet", "-print_format", "json", "-show_format", "-show_streams", videoPath)
|
||||
output, err := cmd.Output()
|
||||
_, err := cmd.Output()
|
||||
if err != nil {
|
||||
v.Validation = "ffprobe failed: " + err.Error()
|
||||
return v, err
|
||||
|
||||
Reference in new issue
Block a user