Pin static-ffmpeg to 9.0.2; drop duplicate stream error log
continuous-integration/drone/push Build is passing

- ffmpeg 7.1.1's HLS demuxer rejects segment extensions such as .ec3
  ("not in allowed_extensions"), so streams with E-AC-3 audio died a few
  seconds after starting. The image used to track :latest; pinning to
  7.1.1 regressed it. 9.0.2 includes ec3 in the default allow-list.
- The client loop logged the downloader's error a second time (shown as
  "FFMPEG error () - EC: 0") and bumped the error counter twice.
This commit is contained in:
nathan committed 2026-10-02 10:16:14 +10:00
1 parent 6a23996c38
commit e1a6956657
2 files changed
+5 -3

No files matched your search

+3 -1
View File
@@ -19,7 +19,9 @@ RUN XTEVE_VERSION="$(grep -m1 '^#### ' changelog-beta.md | cut -d' ' -f2 | sed '
# Static ffmpeg/ffprobe binaries. To bump, pick a tag from # Static ffmpeg/ffprobe binaries. To bump, pick a tag from
# https://hub.docker.com/r/mwader/static-ffmpeg/tags and change it here. # https://hub.docker.com/r/mwader/static-ffmpeg/tags and change it here.
FROM mwader/static-ffmpeg:7.1.1 AS ffmpeg # Do not go below 8.x: 7.1.1 rejects HLS segments with extensions such as .ec3
# ("not in allowed_extensions"), which breaks streams with E-AC-3 audio.
FROM mwader/static-ffmpeg:9.0.2 AS ffmpeg
FROM alpine:3.23 FROM alpine:3.23
+2 -2
View File
@@ -86,7 +86,7 @@ func bufferingStream(playlistID, streamingURL, channelName string, w http.Respon
return return
} }
if s.Err != nil { if s.Err != nil {
ShowError(s.Err, 0) // Already logged by the downloader that reported it.
return return
} }
if s.Status { if s.Status {
@@ -127,7 +127,7 @@ func bufferingStream(playlistID, streamingURL, channelName string, w http.Respon
return return
} }
if s.Err != nil { if s.Err != nil {
ShowError(s.Err, 0) // Already logged by the downloader that reported it.
return return
} }