Set the process originally to avoid error's on failed source's cleanups
This commit is contained in:
parent
af8b3bcf29
commit
7c4c7facaa
|
@ -8,6 +8,7 @@ from .entry import get_header
|
||||||
|
|
||||||
class YoutubeDLSource(discord.FFmpegPCMAudio):
|
class YoutubeDLSource(discord.FFmpegPCMAudio):
|
||||||
def __init__(self, playlist, url):
|
def __init__(self, playlist, url):
|
||||||
|
self._process = None
|
||||||
self.playlist = playlist
|
self.playlist = playlist
|
||||||
self.loop = playlist.loop
|
self.loop = playlist.loop
|
||||||
self.downloader = playlist.downloader
|
self.downloader = playlist.downloader
|
||||||
|
|
Loading…
Reference in a new issue