wrangle all audio files to 44.1k for proper crossfading

This commit is contained in:
Tomáš Mládek 2019-05-31 17:57:31 +02:00
parent 29dcef7e29
commit ff5526eeed

View file

@ -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