Skip to content

Commit

Permalink
Merge pull request #38 from Zibbp/live-fix
Browse files Browse the repository at this point in the history
fix(archive): continue live video post-process if no chat
  • Loading branch information
Zibbp authored Sep 13, 2022
2 parents e117c77 + abb3174 commit d00ae2d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/archive/archive.go
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,9 @@ func (s *Service) TaskLiveVideoDownload(ch *ent.Channel, v *ent.Vod, q *ent.Queu
}

// Send kill command to chat download
busC <- true
if q.TaskChatDownload != utils.Success {
busC <- true
}

q.Update().SetTaskVideoDownload(utils.Success).SaveX(context.Background())

Expand Down

0 comments on commit d00ae2d

Please sign in to comment.