🎈pref:优化细节

This commit is contained in:
秋刀鱼 2024-10-18 10:50:12 +08:00
parent afad8921cd
commit 16387b803f
2 changed files with 3 additions and 3 deletions

View File

@ -1956,7 +1956,7 @@ export class tools extends plugin {
}
const path = this.getCurDownloadPath(e);
await checkAndRemoveFile(path + "/temp.mp4")
await checkAndRemoveFile(path + "/Thumbnail.png")
await checkAndRemoveFile(path + "/thumbnail.png")
await ytDlpGetThumbnail(path, url, isOversea, this.myProxy)
const title = await ytDlpGetTilt(url, isOversea, this.myProxy).toString().replace(/\n/g, '');
// logger.info('标题------',title)

View File

@ -235,11 +235,11 @@ export function supportGuoba() {
field: "tools.youtubeClipTime",
label: "YouTuBe截取时长",
bottomHelpMessage:
"超过时长会截取指定时间单位保护魔法的流量计算公式3分钟 x 60秒 = 180秒默认不开启最好不超过5分钟",
"超过时长会截取指定时间单位保护魔法的流量计算公式3分钟 x 60秒 = 180秒默认不开启最好不超过5分钟,0表无限or不开启",
component: "InputNumber",
required: false,
componentProps: {
placeholder: "请输入YouTuBe视频最大时长限制",
placeholder: "请输入截取时长",
},
},
{