pwhodges

Results 7 comments of pwhodges

I misinterpreted something; it is the !np command which is causing the exception to be thrown, even when the file is tagged (though the tags are in Japanese).

The code assumes that the uri is a YouTube URL. I simplified the output format and removed that assumption for my own use, replacing "onGuildMessageReceived" with: ``` public void onGuildMessageReceived(GuildMessageReceivedEvent...

I would rather a command to force a reload - the process is too long to do every time.

This is rather typical of stock random functions, unfortunately. I've seen it in many programs (such as the Apache rewrite functionality for outputting a random file from a list).

I had in mind something similar - moving the playlist to a new copy randomly to shuffle it, then playing through the list in order, repeating the shuffle before playing...

I did it similarly to your idea. I added "AutoDone" which is declared identically to "AutoPlay", and then replaced "getRandomSong" with: ``` private String getRandomSong() { synchronized (RANDOM) { if...