mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 08:09:19 +00:00
🎈pref:优化细节
This commit is contained in:
parent
afad8921cd
commit
16387b803f
@ -1956,7 +1956,7 @@ export class tools extends plugin {
|
|||||||
}
|
}
|
||||||
const path = this.getCurDownloadPath(e);
|
const path = this.getCurDownloadPath(e);
|
||||||
await checkAndRemoveFile(path + "/temp.mp4")
|
await checkAndRemoveFile(path + "/temp.mp4")
|
||||||
await checkAndRemoveFile(path + "/Thumbnail.png")
|
await checkAndRemoveFile(path + "/thumbnail.png")
|
||||||
await ytDlpGetThumbnail(path, url, isOversea, this.myProxy)
|
await ytDlpGetThumbnail(path, url, isOversea, this.myProxy)
|
||||||
const title = await ytDlpGetTilt(url, isOversea, this.myProxy).toString().replace(/\n/g, '');
|
const title = await ytDlpGetTilt(url, isOversea, this.myProxy).toString().replace(/\n/g, '');
|
||||||
// logger.info('标题------',title)
|
// logger.info('标题------',title)
|
||||||
|
@ -235,11 +235,11 @@ export function supportGuoba() {
|
|||||||
field: "tools.youtubeClipTime",
|
field: "tools.youtubeClipTime",
|
||||||
label: "YouTuBe截取时长",
|
label: "YouTuBe截取时长",
|
||||||
bottomHelpMessage:
|
bottomHelpMessage:
|
||||||
"超过时长会截取指定时间(单位:秒),保护魔法的流量,计算公式:3分钟 x 60秒 = 180秒,默认不开启,最好不超过5分钟",
|
"超过时长会截取指定时间(单位:秒),保护魔法的流量,计算公式:3分钟 x 60秒 = 180秒,默认不开启,最好不超过5分钟,0表无限or不开启",
|
||||||
component: "InputNumber",
|
component: "InputNumber",
|
||||||
required: false,
|
required: false,
|
||||||
componentProps: {
|
componentProps: {
|
||||||
placeholder: "请输入YouTuBe视频最大时长限制",
|
placeholder: "请输入截取时长",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user