Add option to prevent interrupt during playback
This commit is contained in:
parent
c5c49dadf3
commit
32a1277225
|
@ -45,6 +45,7 @@ class Music(commands.Cog):
|
|||
'source_address': '0.0.0.0' # bind to ipv4 since ipv6 addresses cause issues sometimes
|
||||
}
|
||||
self._ffmpeg_options = {
|
||||
'before_options': '-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5',
|
||||
'options': '-vn'
|
||||
}
|
||||
self._ytdl = youtube_dl.YoutubeDL(self._ytdl_params)
|
||||
|
|
Loading…
Reference in New Issue