svioletg / lydian-discord-bot

A music-playing bot for Discord, written in Python.
GNU General Public License v3.0
0 stars 1 forks source link

Allow manipulating audio through commands while playing #3

Open svioletg opened 1 year ago

svioletg commented 1 year ago

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.

svioletg commented 2 months 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.