wrangle all audio files to 44.1k for proper crossfading

neu
Tomáš Mládek 2019-05-31 17:57:31 +02:00
parent 29dcef7e29
commit ff5526eeed
1 changed files with 1 additions and 0 deletions

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