thibautbessone/DiscordBlueBot

No sounds found with BlueBot 2.2

Closed this issue · 2 comments

As the title states, using the same sounds and configuration as BlueBot 2.1, no sounds are found by BlueBot 2.2.

As a troubleshooting attempt, I tried deleting all files and starting fresh from the supplied release, copying in the sounds again, however they are still not found.

Additionally, if I copy the 2.1 bits over an 2.2 installation, functionality is restored. Does not seem to be a permissions issue; I confirmed the service account running BlueBot has full control over the folder and items, and again the same set of files works with the 2.1 bits.

log2018-10-15Time23-26-32.blue.txt

[11:26 PM] prenetic: !sound list
[11:26 PM] BOTResonance: No sounds available.
[11:26 PM] prenetic: !sound horn
[11:26 PM] BOTResonance: The sound horn doesn't exist.

Windows Server 2016
Java 1.8.0_181
Monocle 1.8.0_20
Server ID 185871254702522368
User ID 185870652996059136

Running as a registered service with "java.exe -jar -Xmx512m -Dtestfx.robot=glass -Dglass.platform=Monocle -Dmonocle.platform=Headless -Dprism.order=sw BlueBot.jar cmd"

The sound system changed a bit between the 2.1 & 2.2 versions, with the introduction of a dedicated soundboard per server system. This is most probably an issue with the folder your .mp3 files are in, as the log file you provided doesn't contain a sound related error.

Please take a look at this section on the README.md. You can also toggle between the general soundboard and the server dedicated one using the enable & disable commands, see their help for more info.

My apologies, that was certainly the issue. I must have completely glossed over that bullet point in the readme. Having said that, it may be helpful to call out that this "{server_id}" folder is supposed to be a child of the provided "soundboard" folder. Seems obvious, but I did try it the wrong way first this morning.