wrangle all audio files to 44.1k for proper crossfading
This commit is contained in:
parent
29dcef7e29
commit
ff5526eeed
1 changed files with 1 additions and 0 deletions
|
@ -189,6 +189,7 @@ class DelojzaBot:
|
||||||
'preferredcodec': 'mp3',
|
'preferredcodec': 'mp3',
|
||||||
'preferredquality': '256'
|
'preferredquality': '256'
|
||||||
}]
|
}]
|
||||||
|
ytdl['postprocessor_args'] = ['-ar', '44100']
|
||||||
filenames = []
|
filenames = []
|
||||||
with youtube_dl.YoutubeDL(ytdl) as ytdl:
|
with youtube_dl.YoutubeDL(ytdl) as ytdl:
|
||||||
attempts = 0
|
attempts = 0
|
||||||
|
|
Loading…
Reference in a new issue