]> 127.0.0.1 Git - bili_danmu/.git/commitdiff
Fix 移除#以避免无法回放
authorqydysky <32743305+qydysky@users.noreply.github.com>
Sun, 26 Mar 2023 08:24:37 +0000 (16:24 +0800)
committerqydysky <32743305+qydysky@users.noreply.github.com>
Sun, 26 Mar 2023 08:24:37 +0000 (16:24 +0800)
Reply/stream.go

index d61df9d2d64898b736adf503538abc78e5679f2b..c6ec57cdd4f8ef0fe86ba33b744664c1076f6114 100644 (file)
@@ -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) +
                `/`