title: How do you suppress "Error in the pull function" messages to stdout?
body: <p>I am working on making my Discord bot into a music player using <a href="https://github.com/ytdl-org/youtube-dl/tree/7f41a598b3fba1bcab2817de64a08941200aa3c8" rel="nofollow noreferrer">youtube-dl</a>. I got past the <a href="https://stackoverflow.com/questions/58892635/discord-py-and-youtube-dl-read-error-and-the-session-has-been-invalidated-fo">common problem</a> of music being interrupted from an &quot;Error in the pull function&quot; by having ffmpeg reconnect upon this error. However, I cannot figure out how to suppress the error messages being sent to stdout anyway:</p>
  <pre><code>[tls @ 0000023ea3564e80] Error in the pull function.
  [https @ 0000023ea3560d80] Will reconnect at 327680 in 0 second(s), error=I/O error.
  </code></pre>
  <p>My ytdl options and ffmpeg options are as follows:</p>
  <pre><code>YTDL_OPTIONS = \
  {&quot;format&quot;: &quot;bestaudio&quot;,
   &quot;noplaylist&quot;: True,
   &quot;quiet&quot;: True}
  FFMPEG_OPTIONS = \
  {&quot;before_options&quot;: &quot;-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5&quot;,
   &quot;options&quot;: &quot;-vn&quot;}
  </code></pre>
  <p>I experimented with various YTDL options like <code>&quot;no_warnings&quot;: False</code>, <code>&quot;debug_printtraffic&quot;: False</code>, <code>&quot;progress_hooks&quot;: []</code>, etc. However, none of these additions worked. To be honest, I don't even know the source of these messages (youtube-dl or discord.py itself). Is there a way to suppress these messages?</p>