Skip to content

Commit

Permalink
Fixed #66
Browse files Browse the repository at this point in the history
  • Loading branch information
YamiOdymel committed Aug 11, 2024
1 parent e9ec2b3 commit 9fb2916
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions chaturbate/channel_internal.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,9 @@ func (w *Channel) mergeSegments() {
<-time.After(1 * time.Second)
continue
}
w.bufferLock.Lock()
buf, ok := w.buffer[w.bufferIndex]
w.bufferLock.Unlock()
if !ok {
segmentRetries++
<-time.After(time.Duration(segmentRetries) * time.Second)
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const logo = `
func main() {
app := &cli.App{
Name: "chaturbate-dvr",
Version: "1.0.5",
Version: "1.0.6",
Usage: "Records your favorite Chaturbate stream 😎🫵",
Flags: []cli.Flag{
&cli.StringFlag{
Expand Down

0 comments on commit 9fb2916

Please sign in to comment.