Closed Drapersniper closed 3 years ago
Please keep arguments off this topic. Thanks.
Given the size of queues and potential risk from it I will not remove the cooldown here unless there's a lot of push back. If there is then I'm removing the 3 scopes and making playlist only creatable by bot owners
Could you please go over the potential risks? We could also have it so the bot owner gets to bypass the cooldown with a prompt maybe.
Edit: Response in Discord:
in short, your bot can get ddosed and/or you could possibly corrupt your playlist files
I have already commented on this in support in the main server.
Songs when played with !local start are not pre-shuffled and always appear to start with the same song from the folder. Even though the bot is configured to !shuffle. The same !shuffle works fine for !play.
There is some probability that lavalink WS shutdown happens indefinitely, unless SIGKILL happens.
Approximate reproduce steps:
1. Run Red with audio with some usage for some time (probably let it play on some servers)
2. Run `await bot.shutdown(restart=True)`
3. [V3/edge]: Red will stop on `[INFO] red.Audio.WS.LLServer: Shutdown Lavalink WS.`
4. ^ that will continue indefinitely until SIGKILL is given:
[2021-04-04 00:39:53] [INFO] red.Audio.WS.LLServer: Shutdown Lavalink WS.
[2021-04-04 00:40:44] [INFO] red.main: Signals.SIGTERM received. Quitting...
[2021-04-04 00:40:44] [INFO] red.main: Shutting down with exit code: ExitCodes.SHUTDOWN
[2021-04-04 00:40:44] [INFO] red.main: Please wait, cleaning up a bit more
Apr 04 04:40:54 systemd[1]: kurisuv3.service: State 'stop-sigterm' timed out. Killing.
Apr 04 04:40:54 systemd[1]: kurisuv3.service: Killing process 7935 (python3.8) with signal SIGKILL.
Apr 04 04:40:54 systemd[1]: kurisuv3.service: Main process exited, code=killed, status=9/KILL
Apr 04 04:40:54 systemd[1]: kurisuv3.service: Failed with result 'timeout'.
There is some probability that lavalink WS shutdown happens indefinitely, unless SIGKILL happens.
Approximate reproduce steps:
1. Run Red with audio with some usage for some time (probably let it play on some servers) 2. Run `await bot.shutdown(restart=True)` 3. [V3/edge]: Red will stop on `[INFO] red.Audio.WS.LLServer: Shutdown Lavalink WS.` 4. ^ that will continue indefinitely until SIGKILL is given: [2021-04-04 00:39:53] [INFO] red.Audio.WS.LLServer: Shutdown Lavalink WS. [2021-04-04 00:40:44] [INFO] red.main: Signals.SIGTERM received. Quitting... [2021-04-04 00:40:44] [INFO] red.main: Shutting down with exit code: ExitCodes.SHUTDOWN [2021-04-04 00:40:44] [INFO] red.main: Please wait, cleaning up a bit more Apr 04 04:40:54 systemd[1]: kurisuv3.service: State 'stop-sigterm' timed out. Killing. Apr 04 04:40:54 systemd[1]: kurisuv3.service: Killing process 7935 (python3.8) with signal SIGKILL. Apr 04 04:40:54 systemd[1]: kurisuv3.service: Main process exited, code=killed, status=9/KILL Apr 04 04:40:54 systemd[1]: kurisuv3.service: Failed with result 'timeout'.
I meant here https://github.com/Cog-Creators/Red-DiscordBot/pull/4565 Fixator, but its fine. i just tested edge and no longer reproducing if the issue persist after the latest update give me a shout on the PR.
Just adding a link back to https://github.com/Cog-Creators/Red-DiscordBot/issues/3492 here as I saw it wasn't linked. I ran into this myself today where I missed the loading message where audio was loading in Spotify tracks.
It would be nice to be able to delete large amounts of tracks from the playlist. For example 40-50,52
or 40-50|52
. Might be better to use the bar to keep format with the current request for playing multiple tracks, but it feels most natural to use a comma for both.
Note to self: You fucking moron yes its jacks fault but you should make better usage on destination in the arg parse logic ... fix yo shit.
Add a possible way to toggle notify to a channel, example [p]audioset notify #testing
.
Add a possible way to toggle notify to a channel, example
[p]audioset notify #testing
.
This is already listed in the main description of this topic as "setting a lock on the audio set notify channel via this method".
Closing, this one is becoming ungodly; if i missed anything from #5075 feel free to bring it over there.
This issue is to gather features to be suggested for or worked on for Audio this supersedes and replaces #2494 due to the changes added by #2904
Open Issues:
TODO:
Requests:
[p]prev
Can go back multiple songs > This will be easier if #366 is addressed[p]play 1|2|3
for example[p]play
and[p]playlist append
commands to bulk enque multiple songsMaybe:
[p]makeplaylist
that enqueue n number of recently played tracks in the server[p]playstric <author> || <track name>
which would allow using Global Cache and JDA cache directly.Next Todo
In Edge
[p]audioset role
To accept a list of roles[p]mixplaylist <url>
command based on the newly discovered behaviour of youtube mix playlists - https://github.com/Cog-Creators/Red-DiscordBot/issues/2940#issuecomment-583879466Done
What about sfx?
Want to suggest something?