From b4bc4dfd1217ab1e1f8cfefb520830adbab65d50 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Tue, 18 Apr 2017 16:05:32 -0400 Subject: [PATCH] Fix FFmpegPCMAudio not working with spaces in filename. --- discord/player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/player.py b/discord/player.py index adda3584a..cfddd2c46 100644 --- a/discord/player.py +++ b/discord/player.py @@ -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):