summaryrefslogtreecommitdiff
path: root/recording
diff options
context:
space:
mode:
Diffstat (limited to 'recording')
-rw-r--r--recording/runner.go3
-rw-r--r--recording/watcher.go4
2 files changed, 4 insertions, 3 deletions
diff --git a/recording/runner.go b/recording/runner.go
index 9e5f83c..9be78c9 100644
--- a/recording/runner.go
+++ b/recording/runner.go
@@ -12,6 +12,7 @@ import (
"fmt"
"github.com/keuin/slbr/bilibili"
errs "github.com/keuin/slbr/bilibili/errors"
+ "github.com/keuin/slbr/common"
"github.com/keuin/slbr/common/files"
"github.com/keuin/slbr/common/myurl"
"github.com/keuin/slbr/logging"
@@ -128,7 +129,7 @@ func tryRunTask(t *RunningTask) error {
dmInfo.BUVID3,
liveStatusChecker,
t.logger,
- &bi,
+ bi,
)
// the context is cancelled
if errors.Is(err, context.Canceled) {
diff --git a/recording/watcher.go b/recording/watcher.go
index ff9bde1..269869b 100644
--- a/recording/watcher.go
+++ b/recording/watcher.go
@@ -4,8 +4,8 @@ import (
"context"
"encoding/base64"
"encoding/json"
- errs "github.com/keuin/slbr/bilibili"
- "github.com/keuin/slbr/bilibili/errors"
+ "github.com/keuin/slbr/bilibili"
+ errs "github.com/keuin/slbr/bilibili/errors"
"github.com/keuin/slbr/danmaku"
"github.com/keuin/slbr/danmaku/dmmsg"
"github.com/keuin/slbr/danmaku/dmpkg"