MusicBot icon indicating copy to clipboard operation
MusicBot copied to clipboard

PlayNext Command - Prepend Queue

Open Foxtrek64 opened this issue 8 years ago • 7 comments

I propose a new command be added:

!playnext <search terms> !playnext <URL>

Functionally, it would be identical to the existing !play function except that it prepends the song to the start of the queue instead of the end. This would guarantee that the selected song is played next, barring download failures or not having the song before the next one starts playing... the usual things.

Functionally this shouldn't be too hard to add.... you may have to create a new list in memory and dispose of the old one, but it shouldn't be too much of a hassle with the right helper functions.

Amendment: I don't use github for this too often.... can someone add the Feature Request label? I don't see where to do that...

Foxtrek64 avatar Dec 29 '16 21:12 Foxtrek64

#733

KingGold171 avatar Dec 30 '16 07:12 KingGold171

I'm treating #733 as a question and this as a request.

jayktaylor avatar Dec 30 '16 19:12 jayktaylor

#205 reference as well. Replacing this issue with the one currently in the playlists milestone for better wording.

ImthePeach avatar Jan 02 '17 06:01 ImthePeach

I actually implemented this command myself (along a couple others) a few weeks ago without much difficulty, and I don't have prior experience with Python, though I'm not new to coding (worked with C++/C#). If you take some time to read up on some online Python documentation and pay attention to how the authors wrote the bot, you should be able to do this yourself OP

Selkea avatar Feb 02 '17 03:02 Selkea

I came here to request this feature! this would be amazingly helpful!

Naitotchi avatar Aug 08 '17 08:08 Naitotchi

Commenting to definitely approve of this feature as well!

FlatlineTV avatar Feb 19 '18 08:02 FlatlineTV

Bumping. Please add this! Been waiting so long

FlatlineTV avatar Apr 03 '19 04:04 FlatlineTV