From ff5526eeed5c4ad3ec0ceda34d9724b3f7f1bd36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Fri, 31 May 2019 17:57:31 +0200 Subject: [PATCH] wrangle all audio files to 44.1k for proper crossfading --- delojza.py | 1 + 1 file changed, 1 insertion(+) diff --git a/delojza.py b/delojza.py index 01854b5..689efd9 100755 --- a/delojza.py +++ b/delojza.py @@ -189,6 +189,7 @@ class DelojzaBot: 'preferredcodec': 'mp3', 'preferredquality': '256' }] + ytdl['postprocessor_args'] = ['-ar', '44100'] filenames = [] with youtube_dl.YoutubeDL(ytdl) as ytdl: attempts = 0