-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]使用amr时显示当前状态不支持音频 #14
Comments
补充:已经使用提供的三个文件并置于mirai项目同目录下 |
请把配置文件中的ffmpeg路径设置为绝对路径。 |
已经照做了,但输出仍然是 ffmpeg_path: "D:\Program Files(Non-inst)\mirairobot\old-mirai-console-launcher\ffmpeg.exe" "#搜歌": |
mirai目录下是否有一个名为temp的文件夹? |
请把路径配置改为:"D:\\Program Files(Non-inst)\\mirairobot\\old-mirai-console-launcher\\ffmpeg.exe"再试试 |
可能是github的转义导致“\\”显示成了\,我在一开始的时候就是写"\\"的 |
有可能是ffmpeg安装问题,请准备一个音频文件并打开命令行输入 |
|
请不要使用cd,请直接按照命令行执行。 |
|
描述bug问题
就跟题目一样
如何重现
就是普通输入#点歌 网易 AMR hello
你希望的修复后结果
能够正常使用,输出相关信息
截屏/报错信息
2021-01-01 21:39:55 W/stderr: java.io.FileNotFoundException: .\temp\wv1609508394741.amr (系统找不到指定的文件。) 2021-01-01 21:39:55 W/stderr: at java.io.FileInputStream.open0(Native Method) 2021-01-01 21:39:55 W/stderr: at java.io.FileInputStream.open(Unknown Source) 2021-01-01 21:39:55 W/stderr: at java.io.FileInputStream.<init>(Unknown Source) 2021-01-01 21:39:55 W/stderr: at com.khjxiaogu.MiraiSongPlugin.cardprovider.AmrVoiceProvider.process(AmrVoiceProvider.java:71) 2021-01-01 21:39:55 W/stderr: at com.khjxiaogu.MiraiSongPlugin.MiraiSongPlugin.lambda$onEnable$4(MiraiSongPlugin.java:230) 2021-01-01 21:39:55 W/stderr: at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 2021-01-01 21:39:55 W/stderr: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 2021-01-01 21:39:55 W/stderr: at java.lang.Thread.run(Unknown Source)
The text was updated successfully, but these errors were encountered: