mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
Fix FFmpegPCMAudio not working with spaces in filename.
This commit is contained in:
parent
1fc08bc5a2
commit
b4bc4dfd12
@ -138,7 +138,7 @@ class FFmpegPCMAudio(AudioSource):
|
||||
args.extend(shlex.split(before_options))
|
||||
|
||||
args.append('-i')
|
||||
args.append('-' if pipe else shlex.quote(source))
|
||||
args.append('-' if pipe else source)
|
||||
args.extend(('-f', 's16le', '-ar', '48000', '-ac', '2', '-loglevel', 'warning'))
|
||||
|
||||
if isinstance(options, str):
|
||||
|
Loading…
x
Reference in New Issue
Block a user