解决部分已知bug

This commit is contained in:
2025-02-27 11:36:40 +08:00
parent 593d7758bf
commit 8780f8555e
14 changed files with 96 additions and 59 deletions

View File

@@ -64,7 +64,9 @@ func LinkAudio(link string) (bgm io.ReadCloser, err error) {
} else {
err = fmt.Errorf("不支持的链接协议: %v", u.String())
}
bgm = toSeeker(bgm)
if bgm != nil {
bgm = toSeeker(bgm)
}
}
return
}