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