Mirai点歌插件
-
@whx-prog 后台也没显示有反应
-
-
语音在手机上正常,在pc端是红色感叹号,控制台无报错。
-
能否支持随机分享歌曲
-
大佬救命 自定义了命令然后一直报错也没有用语音点歌呀
附配置ffmpeg_path: "ffmpeg" silkenc_path: "silk_v3_encoder" adddefault: false amrqualityshift: false amrwb: true use_custom_ffmpeg_command: false custom_ffmpeg_command: "ffmpeg -i %input% -ab 23.85k -ar 16000 -ac 1 -acodec amr_wb -y %output%" enable_local: false verbose: true hintsongnotfound: "无法找到歌曲。" hintcarderror: "分享歌曲失败。" hintnotemplate: "无法找到卡片。" hintsourcenotfound: "无法找到来源。" admins: - 0 extracommands: "点歌": source: all card: Mirai "网易云": source: 网易 card: Mirai "QQ音乐": source: QQ音乐 card: Mirai "酷狗": source: 酷狗 card: Mirai "bilibili": source: Bilibili card: Mirai
下面是报错日志:
2022-05-21 00:23:10 E/点歌插件: java.util.NoSuchElementException: ffmpeg_path java.util.NoSuchElementException: ffmpeg_path at net.mamoe.yamlkt.YamlMap.getOrFail(YamlElement.kt:292) at net.mamoe.yamlkt.YamlMap.getString(YamlElement.kt:305) at com.khjxiaogu.MiraiSongPlugin.MiraiSongPlugin.reload(MiraiSongPlugin.java:437) at com.khjxiaogu.MiraiSongPlugin.MiraiSongPlugin.onEnable(MiraiSongPlugin.java:276) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:117) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:164) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:36) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:47) at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:135) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:177) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:202) at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:392) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:156) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:155) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:47) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.itxtech.mcl.Utility.bootMirai(Utility.java:83) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138) at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1013) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:412) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3578) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:107) at org.mozilla.javascript.ArrowFunction.call(ArrowFunction.java:43) at org.mozilla.javascript.InterfaceAdapter.invokeImpl(InterfaceAdapter.java:155) at org.mozilla.javascript.InterfaceAdapter.lambda$invoke$0(InterfaceAdapter.java:105) at org.mozilla.javascript.Context.call(Context.java:554) at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:522) at org.mozilla.javascript.InterfaceAdapter.invoke(InterfaceAdapter.java:105) at org.mozilla.javascript.jdk18.VMBridge_jdk18$1.invoke(VMBridge_jdk18.java:126) at com.sun.proxy.$Proxy4.run(Unknown Source) at org.itxtech.mcl.script.ScriptManager.phaseBoot(ScriptManager.java:106) at org.itxtech.mcl.Loader.lambda$start$3(Loader.java:176) at org.itxtech.mcl.Loader.tryCatching(Loader.java:145) at org.itxtech.mcl.Loader.start(Loader.java:176) at org.itxtech.mcl.Loader.main(Loader.java:68)
-
-
在mac下不了libavcodec-extra
-
在mac上下载不了libavcodec-extra
-
@whx-prog 挖坟,请问你最终解决了么。。
-
大佬 QQ音乐的点歌好像无了 什么都搜不到了
-
@khjxiaogu 佬,权限怎么弄啊。。。。没理解明白。想弄成机器人是管理或者群主的群里所有人允许使用。不允许qq好友使用,不允许群私聊使用,应该怎么填写啊。。。
-
请问大佬,有没有办法提高输出的音频质量,或是解除amrqualityshift中1M大小的限制呢?
-
大佬,机器人发的语音听不了咋搞qwq
-
@Gump 我也是
-
赞,目前用过最好的点歌插件!
求教lz
请问那个amrwb模式是将歌曲通过什么转换才能双端播放的?
我一直被mirainative的jre32无法使用mirai-silk-convert困扰,也就是pc只能看到1s的感叹号空白语音,手机才听得到那种(时间显示也是错误的)
本地语音一直如此,环境里ffmpeg也有 -
如果可以使用用户自己的平台vip就更好了
-
@DianJiu 你好我除了#音乐能给个b站链接其他都是搜不到,有办法解决吗