MusicBot
MusicBot copied to clipboard
[Bug Report] FreeBSD doesn't have native libraries for changing volume
Bug Description
java.lang.IllegalArgumentException: Unknown operating system: FreeBSD
Steps to Reproduce
- play a song
Expected Result
play music
Debug Output
[10:27:20] [INFO] [NativeLibraryLoader]: Native library libmpg123-0: loading with filter com.sedmelluq.discord.lavaplayer.natives.ConnectorNativeLibLoader$$Lambda$289/0x000000081d304418@44783e26 [10:27:20] [INFO] [NativeLibraryLoader]: Native library libmpg123-0: could not detect sytem type, but system filter is com.sedmelluq.discord.lavaplayer.natives.ConnectorNativeLibLoader$$Lambda$289/0x000000081d304418@44783e26 - assuming it does not match and skipping library. [10:27:20] [INFO] [NativeLibraryLoader]: Native library connector: loading with filter null [10:27:20] [ERROR] [NativeLibraryLoader]: Native library connector: loading failed. java.lang.IllegalArgumentException: Unknown operating system: FreeBSD at com.sedmelluq.lava.common.natives.architecture.DefaultOperatingSystemTypes.detect(DefaultOperatingSystemTypes.java:46) at com.sedmelluq.lava.common.natives.architecture.SystemType.detect(SystemType.java:44) at com.sedmelluq.lava.common.natives.NativeLibraryLoader.detectMatchingSystemType(NativeLibraryLoader.java:180)
Additional Info
I've been using this bot on this operating system for about 5 months
FreeBSD freebsd 11.2-RELEASE-p3 FreeBSD 11.2-RELEASE-p3 #0: Thu Sep 6 07:14:16 UTC 2018 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64
EDIT--
root@freebsd:/home/tiago # cat serversettings.json { "693196163922264065": {}, "690643625524068412": {}, "690649853327310850": {}, "689485187729719450": {"volume": 45} }root@freebsd:/home/tiago # vi serversettings.json { "693196163922264065": {}, "690643625524068412": {}, "690649853327310850": {}, }
after I deleted the volume directive the bot started working again
Checklist
- [X] I have looked for information about this within the documentation
- [X] I have searched for similar issues on the issues page
- [X] I am running the latest version of the bot:
Changing the volume requires JMusicBot to perform audio manipulation. It uses native libraries for this. JMusicBot doesn't have these libraries for FreeBSD at the moment.
In the meantime, keep the bot's volume to 100% with the volume
command, and use the volume slider on Discord.
Changing the volume requires JMusicBot to perform audio manipulation. It uses native libraries for this. JMusicBot doesn't have these libraries for FreeBSD at the moment.
In the meantime, keep the bot's volume to 100% with the
volume
command, and use the volume slider on Discord.
Nice, i keep the volume in 100% and work for me :) thx
You can't play local MP3s because of this issue as well. Exact same error.