From de810e482e192f2e471b19b67e439db9a639828e Mon Sep 17 00:00:00 2001 From: Farooq Karimi Zadeh Date: Wed, 17 Apr 2019 18:21:51 +0430 Subject: [PATCH] list => tuple --- mumbleBot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mumbleBot.py b/mumbleBot.py index 1f601f9..bc0782c 100644 --- a/mumbleBot.py +++ b/mumbleBot.py @@ -511,7 +511,7 @@ class MumbleBot: else: ffmpeg_debug = "warning" - command = ["ffmpeg", '-v', ffmpeg_debug, '-nostdin', '-i', uri, '-ac', '1', '-f', 's16le', '-ar', '48000', '-'] + command = ("ffmpeg", '-v', ffmpeg_debug, '-nostdin', '-i', uri, '-ac', '1', '-f', 's16le', '-ar', '48000', '-') logging.info("FFmpeg command : " + " ".join(command)) self.thread = sp.Popen(command, stdout=sp.PIPE, bufsize=480) # The ffmpeg process is a thread self.is_playing = True