From: qydysky <32743305+qydysky@users.noreply.github.com> Date: Sun, 26 Mar 2023 08:24:37 +0000 (+0800) Subject: Fix 移除#以避免无法回放 X-Git-Tag: v0.7.5~1 X-Git-Url: http://127.0.0.1:8081/?a=commitdiff_plain;h=b8dfc3b49fa2c720adea1d440e43908aad20f227;p=bili_danmu%2F.git Fix 移除#以避免无法回放 --- diff --git a/Reply/stream.go b/Reply/stream.go index d61df9d..c6ec57c 100644 --- a/Reply/stream.go +++ b/Reply/stream.go @@ -562,7 +562,7 @@ func (t *M4SStream) saveStream() (e error) { t.Current_save_path = t.config.save_path + "/" + time.Now().Format("2006_01_02-15_04_05") + "-" + strconv.Itoa(t.common.Roomid) + "-" + - strings.NewReplacer("\\", "", "\\/", "", ":", "", "*", "", "?", "", "\"", "", "<", "", ">", "", "|", "").Replace(t.common.Title) + "-" + + strings.NewReplacer("\\", "", "\\/", "", ":", "", "*", "", "?", "", "\"", "", "<", "", ">", "", "|", "", "#", "").Replace(t.common.Title) + "-" + t.common.Qn[t.common.Live_qn] + "-" + pstring.Rand(2, 3) + `/`