Open svioletg opened 1 year ago
It looks like pydub
won't use m4a
files, I think converting the file with ffmpeg while audio is playing will take up too many resources, so I'm going to try and restrict the yt-dlp downloads to only certain formats to begin with. Or, at least convert them before playing.
As far as I can tell, FFmpeg has no native way of handling this, nor does discord.py. I've seen bots have this functionality before, albeit I don't know if they were written with Python - not sure how much that affects things - but I'm sure there's a way to get this working.
As a side note to this, I may consider adding options to the config to toggle individual commands on and off - a command like this you may want turned off for your server.