Skip to content

Commit 22a2ec0

Browse files
authored
tweal yt-dlp options
1 parent 7d7cf87 commit 22a2ec0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/ytworker/download.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ func (yt *Download) download(ctx context.Context, id int64, outCh chan<- util.Ms
192192

193193
// Added 2025-01-18 after finding very poor quality audio from the dash settings above.
194194
// It seems Youtube has moved from 48kb/s to 32kb/s in their LQ files and it sounds awful!
195-
// yt-dlp doc: bestaudio*: Select the best quality format that contains audio. It may also contain video.
196-
"-f", "bestaudio*",
195+
// prefer best audio-only format, otherwise fallback to best any format
196+
"-f", "bestaudio/best",
197197
}
198198

199199
if yt.sponsorBlock {

0 commit comments

Comments
 (0)