download only in real time

This commit is contained in:
zuckerberg 2021-10-03 15:11:25 -04:00
parent 514318311e
commit eb95b31089

View File

@ -126,7 +126,7 @@ class DirectDownloader(Thread, StreamSource):
self.exit = False
self.process = ( ffmpeg
.input(url)
.input(url, re=None)
.output('pipe:', format='mp3')
.run_async(pipe_stdout=True, pipe_stderr=True)
)