From b0d191851e1e5e603184c58971c0b9071f256269 Mon Sep 17 00:00:00 2001 From: zen Date: Mon, 12 Feb 2024 21:21:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=81=E6=AD=A2=E5=85=A8=E9=83=A8=E6=9C=AC?= =?UTF-8?q?=E5=9C=B0alert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf.ini | 8 ++++---- processVideo/PAL.go | 2 -- processVideo/Resize.go | 2 -- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/conf.ini b/conf.ini index 54150aa..1c5b47f 100644 --- a/conf.ini +++ b/conf.ini @@ -1,7 +1,7 @@ [main] # mission = i&v -mission = video -# mission = OGG +# mission = video +mission = OGG # mission = audio # mission = image # mission = rotate @@ -32,14 +32,14 @@ txt = txt [root] folder = /Users/zen/git image = /Users/zen/Downloads/图片助手(ImageAssistant)_批量图片下载器/telegra.ph -audio = /Users/zen/container/useWget/柒柒音声/done/do +audio = /mnt/e/Virtual Machines video = /mnt/f/large/AV/other gif = /Users/zen/Downloads/Fugtrup collection/archive/webp txt = /Users/zen/Downloads/tele bilibili = /mnt/d/git/processAll/merge/downloads louder = E:\aac [thread] -threads = 5 +threads = 1 [rotate] direction = ToRight # direction = ToLeft diff --git a/processVideo/PAL.go b/processVideo/PAL.go index 4a41cea..983f085 100644 --- a/processVideo/PAL.go +++ b/processVideo/PAL.go @@ -5,7 +5,6 @@ import ( "os" "os/exec" "processAll/GetFileInfo" - "processAll/alert" "processAll/replace" "processAll/util" "strings" @@ -30,7 +29,6 @@ func Fix4x3(in GetFileInfo.BasicInfo, threads string) { defer func() { if err := recover(); err != nil { slog.Warn("错误", slog.String("文件信息", in.FullPath)) - alert.Customize("failed", alert.Ava) } }() diff --git a/processVideo/Resize.go b/processVideo/Resize.go index 859b7e5..d13e0a5 100644 --- a/processVideo/Resize.go +++ b/processVideo/Resize.go @@ -6,7 +6,6 @@ import ( "os" "os/exec" "processAll/GetFileInfo" - "processAll/alert" "processAll/mediaInfo" "processAll/replace" "processAll/util" @@ -52,7 +51,6 @@ func Resize(in GetFileInfo.BasicInfo, threads string, p string) { defer func() { if err := recover(); err != nil { slog.Warn("错误", slog.String("文件信息", in.FullPath)) - alert.Customize("failed", alert.Ava) } }() mi, ok := in.MediaInfo.(mediaInfo.VideoInfo)