Skip to content

Commit

Permalink
woops
Browse files Browse the repository at this point in the history
  • Loading branch information
nikooo777 committed Aug 10, 2022
1 parent c79e07c commit 77988c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/youtubeVideo.go
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ func (v *YoutubeVideo) downloadAndPublish(daemon *jsonrpc.Client, params SyncPar
}

buggedLivestream := v.youtubeInfo.LiveStatus == "post_live"
if buggedLivestream && dur < 2*time.Hour {
if buggedLivestream && dur >= 2*time.Hour {
return nil, errors.Err("livestream is likely bugged as it was recently published and has a length of %s which is more than 2 hours", dur.String())
}
for {
Expand Down

0 comments on commit 77988c1

Please sign in to comment.