better formats filtering
Marco Andronaco andronacomarco@gmail.com
Mon, 11 Nov 2024 10:57:59 +0100
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/music/queue.go
→
src/music/queue.go
@@ -77,7 +77,7 @@
q.nowPlaying = q.items[0] q.items = q.items[1:] - formats := q.nowPlaying.Formats.Type("opus") + formats := q.nowPlaying.Formats.Type("audio") if len(formats) == 0 { logger.Debug("no formats with audio channels available for video " + q.nowPlaying.ID) return q.PlayNext()