this is actually necessary

This commit is contained in:
Niko Storni 2022-08-16 02:14:33 +02:00
parent 68132c65a9
commit ea3315d1d6

View file

@ -217,6 +217,13 @@ func getVideos(channelID string, videoIDs []string, stopChan stop.Chan, ipPool *
default:
}
state, err := config.VideoState(videoID)
if err != nil {
return nil, errors.Err(err)
}
if state == "published" {
continue
}
video, err := downloader.GetVideoInformation(videoID, stopChan, ipPool)
if err != nil {
errSDK := config.MarkVideoStatus(shared.VideoStatus{