Skip to content

Commit

Permalink
禁止全部本地alert
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyiming748 committed Feb 12, 2024
1 parent e870ae8 commit b0d1918
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
8 changes: 4 additions & 4 deletions conf.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[main]
# mission = i&v
mission = video
# mission = OGG
# mission = video
mission = OGG
# mission = audio
# mission = image
# mission = rotate
Expand Down Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions processVideo/PAL.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"os"
"os/exec"
"processAll/GetFileInfo"
"processAll/alert"
"processAll/replace"
"processAll/util"
"strings"
Expand All @@ -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)
}
}()

Expand Down
2 changes: 0 additions & 2 deletions processVideo/Resize.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"os"
"os/exec"
"processAll/GetFileInfo"
"processAll/alert"
"processAll/mediaInfo"
"processAll/replace"
"processAll/util"
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit b0d1918

Please sign in to comment.