Open BoKnowsCoding opened 6 years ago
Is it possible that you don't have any music in your music library on your PC?
Yeah that was the issue, but one more thing, do you know what's wrong with YoutubeExplode here?
[6/20/2018 5:00:04 PM, 19] YoutubeExplode.Exceptions.VideoNotAvailableException: Video [sFg2rYQj1SE] is not available and cannot be processed.
Error code: 2
Error reason: Invalid parameters.
at YoutubeExplode.YoutubeClient.<GetVideoAsync>d__34.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Search.SongRequest.<StreamUrl>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Mirai.Audio.Streamer.<StreamAsync>d__15.MoveNext() in C:\Users\bogar\Documents\GitHub\SlimMirai\Mirai\Audio\Streamer.cs:line 129
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Mirai.Audio.Streamer.<Start>d__12.MoveNext() in C:\Users\bogar\Documents\GitHub\SlimMirai\Mirai\Audio\Streamer.cs:line 54
Try updating the dependency, youtube is making a lot of changes
The bot boots up for me after compiling, and I make sure it has the necessary dlls and ffmpeg in the working directory, but I'm getting a System.FormatException every time the bot picks up anything on the mic.