Giter VIP home page Giter VIP logo

bottimus's Issues

Audio is disabled?

java.lang.UnsupportedOperationException: Sorry! Audio is disabled due to an internal JDA error! Contact Dev!
at net.dv8tion.jda.managers.AudioManager.openAudioConnection(AudioManager.java:76)
at com.flaiker.bottimus.services.AudioService.init(AudioService.java:83)
at com.flaiker.bottimus.listeners.CommandListener.onGuildMessageReceived(CommandListener.java:49)
at net.dv8tion.jda.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:140)
at net.dv8tion.jda.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:54)
at net.dv8tion.jda.handle.MessageReceivedHandler.handle(MessageReceivedHandler.java:45)
at net.dv8tion.jda.requests.WebSocketClient.onTextMessage(WebSocketClient.java:153)
at com.neovisionaries.ws.client.ListenerManager.callOnTextMessage(ListenerManager.java:352)
at com.neovisionaries.ws.client.ReadingThread.callOnTextMessage(ReadingThread.java:233)
at com.neovisionaries.ws.client.ReadingThread.callOnTextMessage(ReadingThread.java:211)
at com.neovisionaries.ws.client.ReadingThread.handleTextFrame(ReadingThread.java:910)
at com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:693)
at com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:102)
at com.neovisionaries.ws.client.ReadingThread.run(ReadingThread.java:61)

Obviously this is saying audio is disabled. I would like to be able to run this on my VM which has no audio software, or hardware, other than VLC. I'm tired of python bots crashing every ten minutes (Seriously, did they steal code from Windows ME?) and I can't for the life of me get anything else to run. I seen this bot today and was really hoping that it would work, especially as it uses VLC (LOVE IT! Been a VLC user since around 03 I believe!) Anyways, any help would really be appreciated! :)

Failed to get VLC installation directory

413 [main] WARN uk.co.caprica.vlcj.runtime.windows.WindowsRuntimeUtil - Failed to get VLC installation directory from the registry
com.sun.jna.platform.win32.Win32Exception: The system cannot find the file specified.
at com.sun.jna.platform.win32.Advapi32Util.registryGetStringValue(Advapi32Util.java:544)
at uk.co.caprica.vlcj.runtime.windows.WindowsRuntimeUtil.getVlcInstallDir(WindowsRuntimeUtil.java:64)
at uk.co.caprica.vlcj.discovery.windows.DefaultWindowsNativeDiscoveryStrategy.onGetDirectoryNames(DefaultWindowsNativeDiscoveryStrategy.java:56)
at uk.co.caprica.vlcj.discovery.StandardNativeDiscoveryStrategy.getDirectoryNames(StandardNativeDiscoveryStrategy.java:44)
at uk.co.caprica.vlcj.discovery.AbstractNativeDiscoveryStrategy.discover(AbstractNativeDiscoveryStrategy.java:59)
at uk.co.caprica.vlcj.discovery.NativeDiscovery.discover(NativeDiscovery.java:118)
at com.flaiker.bottimus.Main.main(Main.java:58)
470 [main] INFO uk.co.caprica.vlcj.discovery.NativeDiscovery - Discovery found libvlc at 'C:\Program Files (x86)\VideoLAN\VLC'
Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'libvlc': Native library (win32-x86-64/libvlc.dll) not found in resource path ([file:/C:/Program%20Files%20(x86)/VideoLAN/VLC/bottimus-v1.0.2.jar])
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:277)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:403)
at com.sun.jna.Library$Handler.(Library.java:147)
at com.sun.jna.Native.loadLibrary(Native.java:502)
at com.sun.jna.Native.loadLibrary(Native.java:481)
at uk.co.caprica.vlcj.binding.LibVlc.(LibVlc.java:115)
at com.flaiker.bottimus.Main.main(Main.java:59)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.