mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
✨ feat:适配油管音频
1. 适配油管音频 2. 提取部分内联函数
This commit is contained in:
parent
cb3ebc32cd
commit
1fe6e87db6
@ -1958,7 +1958,7 @@ export class tools extends plugin {
|
||||
if (url.includes("music")) {
|
||||
e.reply([
|
||||
segment.image(`${path}/thumbnail.png`),
|
||||
`${this.identifyPrefix}识别:油管音乐,视频时长超限 \n视频标题:${title}`
|
||||
`${this.identifyPrefix}识别:油管音乐\n视频标题:${title}`
|
||||
]);
|
||||
await ytDlpHelper(path, url, isOversea, this.myProxy, this.videoDownloadConcurrency, true, graphics, timeRange);
|
||||
e.reply(segment.record(`${ path }/temp.mp3`));
|
||||
|
Loading…
x
Reference in New Issue
Block a user